[Bug 1414939] Re: adt wait-for-device doesn't timeout in a reboot test
Martin Pitt
martin.pitt at ubuntu.com
Tue Jan 27 12:20:04 UTC 2015
Fixed:
http://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/commit/?id=f02e183
** Changed in: autopkgtest (Ubuntu)
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1414939
Title:
adt wait-for-device doesn't timeout in a reboot test
Status in autopkgtest package in Ubuntu:
Fix Committed
Bug description:
From fginther:
Experimenting with a test known to fail the reboot on the phone, 'apt-
get remove -y --force-yes lxc'.
adt-run does not timeout by default in a short enough time period.
Experimenting now with setting specific values:
--timeout-test=300 : adt-run did not abort after running for 18
minutes. Possibly the reboot is not considered during the timeout?
So it appears that adt-run is using 'adb wait-for-device' after a
reboot to wait for the device to come up (see ssh-setup/adb
wait_booted()).
There is no timeout around this and I don't see one at any of the
callers (but I could be missing it).
Short term solution is to use 'timeout 600 adt-run ...'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1414939/+subscriptions
More information about the foundations-bugs
mailing list