[Bug 1414939] [NEW] adt wait-for-device doesn't timeout in a reboot test

Vincent Ladeuil 1414939 at bugs.launchpad.net
Tue Jan 27 08:32:53 UTC 2015


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
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:
  In Progress

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