Comment 5 for bug 874270

Revision history for this message
Yongqin Liu (liuyq0307) wrote :

For this problem, the process did as below:
1. boot_linaro_android_image action was successfull

2. executed action lava_android_test_install
     a. use wait_home_screen method as one step to check android status
         this step spent 1 hour, use the default timeout value 3600s

3. executed action lava_android_test_run 0xbench
     a. use wait_home_screen method as one step to check android status
         this step spent 1 hour, use the default timeout value 3600s

4. executed action lava_android_test_run monkey
     a. use wait_home_screen method as one step to check android status
         this step spent 1 hour, use the default timeout value 3600s

So all the time spent on timeout is 3hours.

within method wait_home_screen of android_client.py,
it uses [self.proc.expect('stopped')] to check the android status, because the timeout is not specified here, so it use the timeout of proc(is set to 3600s).
for this problem, specified the timeout to 2s or specified the timeout to None is ok I think.

And there was a android bug: after 2 hours, the value of "getprop init.svc.bootanim" still was "running".
I report it as https://bugs.launchpad.net/linaro-android/+bug/880810