ssh runner: hook_wait_reboot sometimes times out after package upgrades
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autopkgtest (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt |
Bug Description
I noticed this with several tmpfail runs in the cloud, e. g.
https:/
https:/
adt-run [15:19:50]: rebooting testbed after setup commands that affected boot
invalid command wait-reboot
Exit request sent.
sudo: /tmp/adt-
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']
Changed in autopkgtest (Ubuntu): | |
importance: | Undecided → High |
status: | New → In Progress |
assignee: | nobody → Martin Pitt (pitti) |
Changed in autopkgtest (Ubuntu): | |
status: | In Progress → Triaged |
tags: | added: autopkgtest-cloud |
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) Timeout:
VirtSubpro c.bomb( 'timed out waiting for testbed to reboot')
except VirtSubproc.
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.