Public bug reported:

>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 ...'

** Affects: autopkgtest (Ubuntu)
     Importance: High
     Assignee: Martin Pitt (pitti)
         Status: In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1414939

Title:
  adt wait-for-device doesn't timeout in a reboot test

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1414939/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to