Performing further verification on Jammy.
We will start by reproducing the bug for Noble and Oracular images.
$ apt policy autopkgtest
autopkgtest:
Installed: 5.32ubuntu3~22.04.1
Candidate: 5.32ubuntu3~22.04.1
Version table:
5.37ubuntu3~22.04.1 400
400 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages
400 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
First we reproduce the bug for a Noble image:
$ autopkgtest-buildvm-ubuntu-cloud -a amd64 -r noble
Downloading
https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img...
582.6/585.5 MB (100%)
Download successful.
Resizing image, adding 20G...
Image resized.
Building seed image...
Booting image to run cloud-init...
qemu-system-x86_64: -drive
index=1,file=/tmp/autopkgtest-buildvm-ubuntu-cloudofybbc2_/autopkgtest.seed,format=raw,if=virtio,discard=unmap,readonly:
warning: short-form boolean option 'readonly' deprecated
Please use readonly=on instead
Moving image into final destination ./autopkgtest-noble-amd64.img
$ autopkgtest -BU gzip -- qemu -c 1 --ram 1024 autopkgtest-noble-amd64.img
autopkgtest [15:09:22]: starting date and time: 2024-07-26 15:09:22-0700
autopkgtest [15:09:22]: version 5.32ubuntu3~22.04.1
autopkgtest [15:09:22]: host autopkgtest-sru-jammy-amd64; command line:
/usr/bin/autopkgtest -BU gzip -- qemu -c 1 --ram 1024
autopkgtest-noble-amd64.img
autopkgtest [15:09:54]: testbed dpkg architecture: amd64
autopkgtest [15:09:54]: testbed apt version: 2.7.14build2
autopkgtest [15:09:54]: @@@@@@@@@@@@@@@@@@@@ test bed setup
(truncated for brevity)
autopkgtest [15:10:23]: testbed running kernel: Linux 6.8.0-39-generic
#39-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 5 21:49:14 UTC 2024
autopkgtest [15:10:23]: @@@@@@@@@@@@@@@@@@@@ apt-source gzip
blame: gzip
badpkg: apt-cache showsrc didn't succeed: E: You must put some 'deb-src' URIs
in your sources.list
autopkgtest [15:10:23]: ERROR: erroneous package: apt-cache showsrc
didn't succeed: E: You must put some 'deb-src' URIs in your sources.list
So the bug is replicated. Now we reproduce it for an Oracular image:
$ autopkgtest-buildvm-ubuntu-cloud -a amd64 -r oracular
Downloading
https://cloud-images.ubuntu.com/oracular/current/oracular-server-cloudimg-amd64.img...
494.9/497.4 MB (100%)
Download successful.
Resizing image, adding 20G...
Image resized.
Building seed image...
Booting image to run cloud-init...
qemu-system-x86_64: -drive
index=1,file=/tmp/autopkgtest-buildvm-ubuntu-cloudv0213a3p/autopkgtest.seed,format=raw,if=virtio,discard=unmap,readonly:
warning: short-form boolean option 'readonly' deprecated
Please use readonly=on instead
Moving image into final destination ./autopkgtest-oracular-amd64.img
$ autopkgtest -BU gzip -- qemu -c 1 --ram 1024 autopkgtest-oracular-amd64.img
autopkgtest [15:22:12]: starting date and time: 2024-07-26 15:22:12-0700
autopkgtest [15:22:12]: version 5.32ubuntu3~22.04.1
autopkgtest [15:22:12]: host autopkgtest-sru-jammy-amd64; command line:
/usr/bin/autopkgtest -BU gzip -- qemu -c 1 --ram 1024
autopkgtest-oracular-amd64.img
autopkgtest [15:22:35]: testbed dpkg architecture: amd64
autopkgtest [15:22:35]: testbed apt version: 2.9.6
autopkgtest [15:22:35]: @@@@@@@@@@@@@@@@@@@@ test bed setup
(truncated for brevity)
autopkgtest [15:23:15]: rebooting testbed after setup commands that affected
boot
autopkgtest [15:23:45]: testbed running kernel: Linux 6.8.0-31-generic
#31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024
autopkgtest [15:23:49]: @@@@@@@@@@@@@@@@@@@@ apt-source gzip
blame: gzip
badpkg: apt-cache showsrc didn't succeed: E: You must put some 'deb-src' URIs
in your sources.list
autopkgtest [15:23:49]: ERROR: erroneous package: apt-cache showsrc
didn't succeed: E: You must put some 'deb-src' URIs in your sources.list
So the bug is replicated for both Noble and Oracular.
Now we verify the fix:
$ apt policy autopkgtest
autopkgtest:
Installed: 5.37ubuntu3~22.04.1
Candidate: 5.37ubuntu3~22.04.1
Version table:
*** 5.37ubuntu3~22.04.1 400
400 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages
400 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
First we will rebuild the Noble image and rerun the test:
autopkgtest-buildvm-ubuntu-cloud -a amd64 -r noble
Downloading
https://cloud-images.ubuntu.com/minimal/daily/noble/current/noble-minimal-cloudimg-amd64.img...
238.7/239.9 MB (100%)
Download successful.
Resizing image, adding 20G...
Image resized.
Building seed image...
Booting image to run cloud-init...
Moving image into final destination ./autopkgtest-noble-amd64.img
uralt@autopkgtest-sru-jammy-amd64:~$ autopkgtest -BU gzip -- qemu -c 1 --ram
1024 autopkgtest-noble-amd64.img
autopkgtest [15:38:38]: starting date and time: 2024-07-26 15:38:38-0700
autopkgtest [15:38:38]: version 5.37ubuntu3~22.04.1
autopkgtest [15:38:38]: host autopkgtest-sru-jammy-amd64; command line:
/usr/bin/autopkgtest -BU gzip -- qemu -c 1 --ram 1024
autopkgtest-noble-amd64.img
autopkgtest [15:38:56]: testbed dpkg architecture: amd64
autopkgtest [15:38:56]: testbed apt version: 2.7.14build2
autopkgtest [15:38:56]: @@@@@@@@@@@@@@@@@@@@ test bed setup
(truncated for brevity)
autopkgtest [15:39:13]: test simple-gzip: - - - - - - - - - - results - - - -
- - - - - -
simple-gzip PASS
autopkgtest [15:39:14]: @@@@@@@@@@@@@@@@@@@@ summary
simple-gzip PASS
So we have verified the fix for Noble.
Now we rebuild the Oracular image and rerun the tests:
$ autopkgtest-buildvm-ubuntu-cloud -a amd64 -r oracular
Downloading
https://cloud-images.ubuntu.com/minimal/daily/oracular/current/oracular-minimal-cloudimg-amd64.img...
239.3/240.5 MB (100%)
Download successful.
Resizing image, adding 20G...
Image resized.
Building seed image...
Booting image to run cloud-init...
Moving image into final destination ./autopkgtest-oracular-amd64.img
$ autopkgtest -BU gzip -- qemu -c 1 --ram 1024 autopkgtest-oracular-amd64.img
autopkgtest [15:43:07]: starting date and time: 2024-07-26 15:43:07-0700
autopkgtest [15:43:07]: version 5.37ubuntu3~22.04.1
autopkgtest [15:43:07]: host autopkgtest-sru-jammy-amd64; command line:
/usr/bin/autopkgtest -BU gzip -- qemu -c 1 --ram 1024
autopkgtest-oracular-amd64.img
autopkgtest [15:43:25]: testbed dpkg architecture: amd64
autopkgtest [15:43:25]: testbed apt version: 2.9.6
autopkgtest [15:43:25]: @@@@@@@@@@@@@@@@@@@@ test bed setup
(truncated for brevity)
autopkgtest [15:43:40]: test simple-gzip: -----------------------]
autopkgtest [15:43:41]: test simple-gzip: - - - - - - - - - - results - - - -
- - - - - -
simple-gzip PASS
autopkgtest [15:43:41]: @@@@@@@@@@@@@@@@@@@@ summary
simple-gzip PASS
So images built with the new version of autopkgtest will successfully
run tests.
This concludes the verification for Jammy.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2052639
Title:
deb822 sources are not supported (was: cannot create a local noble lxd
runner)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/2052639/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs