[Bug 1470209] Re: ssh runner: reboot sometimes fails with "sudo: /tmp/adt-run-wrapper: command not found"

Martin Pitt martin.pitt at ubuntu.com
Tue Jun 30 19:17:43 UTC 2015


I can reproduce that with autopkgtest/tests/testpkg-simple/. After

  invalid command wait-reboot
  Exit request sent.

there is a long hang, from ssh's hook_wait_reboot():

       try:
            wait_port_down(sshconfig['hostname'], port, 300)
        except VirtSubproc.Timeout:
            VirtSubproc.bomb('timed out waiting for testbed to reboot')

The subsequent "/tmp/adt-run-wrapper: command not found" is just
followup from cleanup, but as it never saw the rebooted testbed it
doesn't get re-prepared for autopkgtest.

** Summary changed:

- ssh runner: reboot sometimes fails with "sudo: /tmp/adt-run-wrapper: command not found"
+ ssh runner: hook_wait_reboot sometimes times out after package upgrades

-- 
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/1470209

Title:
  ssh runner: hook_wait_reboot sometimes times out after package
  upgrades

Status in autopkgtest package in Ubuntu:
  In Progress

Bug description:
  I noticed this with several tmpfail runs in the cloud, e. g.

  https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-wily/wily/i386/g/glibc/20150630_152453@/log.gz
  https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-wily/wily/amd64/s/systemd/20150625_131953@/log.gz

  adt-run [15:19:50]: rebooting testbed after setup commands that affected boot
  invalid command wait-reboot
  Exit request sent.
  sudo: /tmp/adt-run-wrapper: command not found
  Exit request sent.
  <VirtSubproc>: failure: timed out waiting for testbed to reboot
  adt-run [15:24:53]: ERROR: testbed failed: cannot send to testbed: ['BrokenPipeError: [Errno 32] Broken pipe\n']

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



More information about the foundations-bugs mailing list