[Bug 1984669] Re: Traceback in autopkgtest-virt-lxd
Paride Legovini
1984669 at bugs.launchpad.net
Fri Sep 2 07:54:22 UTC 2022
By looking at the code this can happen if running
lxc exec container_name -- cat /proc/uptime
fails (returns nonzero). If autopkgtest-virt-lxd believes the container
is up but that command fails I think it's fair to bail out, but it
should be done more gracefully (not with a Traceback).
--
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/1984669
Title:
Traceback in autopkgtest-virt-lxd
Status in autopkgtest package in Ubuntu:
New
Bug description:
When investigating a failed lxd-armhf worker unit I noticed the
following in its log file:
autopkgtest [01:47:47]: test test-systemd.py: [-----------------------
Killed
autopkgtest [01:47:55]: test process requested preparation for reboot with marker InstallOnShutdown
autopkgtest-virt-lxd [01:48:00]: state saved, waiting for testbed to reboot...
Unexpected error:
Traceback (most recent call last):
File "/home/ubuntu/autopkgtest/lib/VirtSubproc.py", line 740, in mainloop
command()
File "/home/ubuntu/autopkgtest/lib/VirtSubproc.py", line 669, in command
r = f(c, ce)
File "/home/ubuntu/autopkgtest/lib/VirtSubproc.py", line 364, in cmd_reboot
caller.hook_wait_reboot(**wait_reboot_args)
File "/home/ubuntu/autopkgtest/virt/autopkgtest-virt-lxd", line 229, in hook_wait_reboot
if current_uptime < initial_uptime:
TypeError: '<' not supported between instances of 'float' and 'NoneType'
autopkgtest [01:48:14]: ERROR: testbed failure: cannot send to testbed: [Errno 32] Broken pipe
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1984669/+subscriptions
More information about the foundations-bugs
mailing list