It can get stuck during different stages, but AFAICT always during "copydown" operations, log excerpts follow. It may be a coincidence, but this started happening around the time linux-image-6.8.0-11-generic (6.8.0-11.11) migrated to noble. The testbeds I used booted 6.6 but then rebooted into that 6.8 kernel after being upgraded by autopkgtest.
autopkgtest- virt-qemu sometimes hangs when running tests on noble images. Originally reported by schopin, who also provided a reproducer:
pull-lp-source -d hello buildvm- ubuntu- cloud -r noble noble-amd64. img
autopkgtest-
autopkgtest -U hello*.dsc -- qemu ./autopkgtest-
I've been able to reproduce it with debugging enabled:
autopkgtest -ddd -U hello_2.10-3.dsc -- qemu --debug --show-boot /path/to/image
It can get stuck during different stages, but AFAICT always during "copydown" operations, log excerpts follow. It may be a coincidence, but this started happening around the time linux-image- 6.8.0-11- generic (6.8.0-11.11) migrated to noble. The testbeds I used booted 6.6 but then rebooted into that 6.8 kernel after being upgraded by autopkgtest.
-- logs --
Removing autopkgtest-satdep (0) ... virt-qemu: DBG: executing copydown /tmp/autopkgtes t.output. g8v75e8g/ tests-tree/ /t/ virt-qemu: DBG: ['cmdls', "(['tar', '--directory', '/tmp/autopkgte st.output. g8v75e] virt-qemu: DBG: ['srcstdin', "<_io.BufferedR eader name='/dev/null'>", 'deststdout'] virt-qemu: DBG: +< tar --directory /tmp/autopkgtes t.output. g8v75e8g/ tests-tree/ -- virt-qemu: DBG: +> /tmp/autopkgtes t-qemu. ztmr6f5k/ runcmd sh -ec if ! test -d /tmp- virt-qemu: DBG: +>?
[...]
autopkgtest-
autopkgtest-
autopkgtest-
autopkgtest-
autopkgtest-
autopkgtest-
-- or --
autopkgtest: DBG: sending command to testbed: copydown /tmp/autopkgtes t.output. c9utq3bx/ tests-tree/ /tmp/autopkgtes t.H8NDfW/ build.DLR/ src/ virt-qemu: DBG: executing copydown /tmp/autopkgtes t.output. c9utq3bx/ tests-tree/ /tmp/autopkgtes t.H8NDfW/ build.DLR/ src/ virt-qemu: DBG: ['cmdls', "(['tar', '--directory', '/tmp/autopkgte st.output. c9utq3bx/ tests-tree/ ', '--warning=none', '-c', '.', '-f', '-'], ['/tmp/ autopkgtest- qemu.qtkcgg5l/ runcm] virt-qemu: DBG: ['srcstdin', "<_io.BufferedR eader name='/dev/null'>", 'deststdout', "<_io.BufferedR eader name='/dev/null'>", 'devnull_read', <_io.BufferedReader name='/dev/null'>] virt-qemu: DBG: +< tar --directory /tmp/autopkgtes t.output. c9utq3bx/ tests-tree/ --warning=none -c . -f - virt-qemu: DBG: +> /tmp/autopkgtes t-qemu. qtkcgg5l/ runcmd sh -ec if ! test -d /tmp/autopkgtes t.H8NDfW/ build.DLR/ src/; then mkdir -- /tmp/autopkgtes t.H8NDfW/ build.DLR/ src/; fi; cd- virt-qemu: DBG: +>?
autopkgtest-
autopkgtest-
autopkgtest-
autopkgtest-
autopkgtest-
autopkgtest-