It seems that adb get-state could be flake after a device is reboot. Attached log is the get-state output for every second after a device is rebooted.
You can see that the value is very flake after the device is first up and starts showing value "device". The problem is that, after the device is considered to be up, that is, get-state reads as device, autotest will try to run test through adb command. The flake may lead to adb command failure.
Will it be reasonable to force checking adb get-state for at least 10 or 30s. The device is only considered to be up after all checks return "device". We can force the logic only for checks after the dut is rebooted.
|
Deleted:
get-state.txt
10.9 KB
|
Comment 1 by krisr@chromium.org
, Mar 10 2016