Performing the verification on Jammy.
First, we check if we can reproduce the problem.
$ apt policy autopkgtest
autopkgtest:
Installed: 5.32ubuntu3~22.04.1
Candidate: 5.38ubuntu1~22.04.1
Version table:
5.38ubuntu1~22.04.1 500
500 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages
500 http://archive.ubuntu.com/ubuntu jammy-proposed/main i386 Packages
*** 5.32ubuntu3~22.04.1 500
500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
500 http://archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages
100 /var/lib/dpkg/status
5.20 500
500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
500 http://archive.ubuntu.com/ubuntu jammy/main i386 Packages
After creating a Noble image we run the reproducer:
$ autopkgtest -U -ddd hello*.dsc -- qemu ../autopkgtest-noble-amd64.img
autopkgtest: DBG: autopkgtest options: Namespace(override_control=None,
only_tests=[], skip_tests=None, built_binaries=True, architecture=None,
packages=['hello_2.10-3build2.dsc'], output_dir=None)
autopkgtest: DBG: virt-runner arguments: ['qemu',
'../autopkgtest-noble-amd64.img']
autopkgtest: DBG: actions: [('source', 'hello_2.10-3build2.dsc', True)]
autopkgtest: DBG: build binaries: True
autopkgtest: DBG: testbed init
autopkgtest [20:52:54]: starting date and time: 2024-10-21 20:52:54+0100
autopkgtest [20:52:54]: version 5.32ubuntu3~22.04.1
autopkgtest [20:52:54]: host clean-jammy-amd64; command line:
/usr/bin/autopkgtest -U -ddd hello_2.10-3build2.dsc -- qemu
../autopkgtest-noble-amd64.img
(truncated for brevity)
autopkgtest: DBG: sending command to testbed: copydown
/tmp/autopkgtest.output.cbb3dd47/tests-tree/
/tmp/autopkgtest.ShBCzZ/build.DY9/src/
autopkgtest: DBG: got reply from testbed: timeout
autopkgtest: DBG: sending command to testbed: auxverb_debug_fail
autopkgtest: DBG: got reply from testbed: ok
autopkgtest: DBG: TestbedFailure sent `auxverb_debug_fail', got `timeout',
expected `ok...'
autopkgtest: DBG: testbed stop
autopkgtest: DBG: testbed close, scratch=/tmp/autopkgtest.ShBCzZ
autopkgtest: DBG: sending command to testbed: close
qemu-system-x86_64: terminating on signal 15 from pid 4744 (/usr/bin/python3)
autopkgtest: DBG: got reply from testbed: ok
autopkgtest: DBG: sending command to testbed: quit
autopkgtest [21:02:35]: ERROR: testbed failure: sent `auxverb_debug_fail', got
`timeout', expected `ok...'
The testbed hung until timeout during copydown, so the bug is verified.
Now we verify the fix.
$ apt policy autopkgtest
autopkgtest:
Installed: 5.38ubuntu1~22.04.1
Candidate: 5.38ubuntu1~22.04.1
Version table:
*** 5.38ubuntu1~22.04.1 500
500 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages
500 http://archive.ubuntu.com/ubuntu jammy-proposed/main i386 Packages
100 /var/lib/dpkg/status
5.32ubuntu3~22.04.1 500
500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
500 http://archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages
5.20 500
500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
500 http://archive.ubuntu.com/ubuntu jammy/main i386 Packages
$ autopkgtest -U hello*.dsc -- qemu ../autopkgtest-noble-amd64.img
autopkgtest [21:29:25]: starting date and time: 2024-10-21 21:29:25+0100
autopkgtest [21:29:25]: version 5.38ubuntu1~22.04.1
autopkgtest [21:29:25]: host clean-jammy-amd64; command line:
/usr/bin/autopkgtest -U hello_2.10-3build2.dsc -- qemu
../autopkgtest-noble-amd64.img
autopkgtest [21:29:41]: testbed dpkg architecture: amd64
autopkgtest [21:29:41]: testbed apt version: 2.7.14build2
autopkgtest [21:29:41]: @@@@@@@@@@@@@@@@@@@@ test bed setup
(truncated for brevity)
autopkgtest [21:31:32]: test upstream-tests: [-----------------------
Testing greeting-1 ...
Testing hello-1 ...
Testing last-1 ...
Testing traditional-1 ...
autopkgtest [21:31:33]: test upstream-tests: -----------------------]
autopkgtest [21:31:34]: test upstream-tests: - - - - - - - - - - results - - -
- - - - - - -
upstream-tests PASS
autopkgtest [21:31:34]: @@@@@@@@@@@@@@@@@@@@ summary
command1 PASS
upstream-tests PASS
So the test was completed without a timeout.
This concludes the verification for Jammy.
** Tags added: verification-done-jammy verification-done-noble
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2056461
Title:
autopkgtest-virt-qemu on noble images sometimes hangs doing copydown
To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/2056461/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs