canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #04400
[Bug 2060187] Re: autopkgtest-build-qemu fails to build Ubuntu images
I am also affected, cannot build an Noble Ubuntu image on Noble host
using the following command:
$ sudo autopkgtest-build-qemu noble noble.img
http://fr.archive.ubuntu.com/ubuntu
Error log:
2024-06-19 11:31:31 DEBUG STDOUT: Reading package lists...
2024-06-19 11:31:31 DEBUG STDOUT: Building dependency tree...
2024-06-19 11:31:31 DEBUG STDOUT: Reading state information...
2024-06-19 11:31:31 DEBUG STDOUT: Package ifupdown is not available, but is referred to by another package.
2024-06-19 11:31:31 DEBUG STDERR: E: Package 'ifupdown' has no installation candidate
2024-06-19 11:31:31 DEBUG STDOUT: This may mean that the package is missing, has been obsoleted, or
2024-06-19 11:31:31 DEBUG STDOUT: is only available from another source
2024-06-19 11:31:31 DEBUG STDOUT:
2024-06-19 11:31:31 ERROR Program failed: 100
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/vmdb/app.py", line 245, in run_steps_helper
method(values, settings, state)
File "/usr/lib/python3/dist-packages/vmdb/plugins/apt_plugin.py", line 48, in run
self.install_packages(mount_point, ["eatmydata"], recommends, packages)
File "/usr/lib/python3/dist-packages/vmdb/plugins/apt_plugin.py", line 66, in install_packages
vmdb.runcmd_chroot(
File "/usr/lib/python3/dist-packages/vmdb/runcmd.py", line 101, in runcmd_chroot
return runcmd(full_argv, *argvs, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/vmdb/runcmd.py", line 95, in runcmd
raise RuncmdError("Program failed: {}".format(p.returncode))
vmdb.runcmd.RuncmdError: Program failed: 100
2024-06-19 11:31:31 ERROR RuncmdError('Program failed: 100')
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/vmdb/app.py", line 245, in run_steps_helper
method(values, settings, state)
File "/usr/lib/python3/dist-packages/vmdb/plugins/apt_plugin.py", line 48, in run
self.install_packages(mount_point, ["eatmydata"], recommends, packages)
File "/usr/lib/python3/dist-packages/vmdb/plugins/apt_plugin.py", line 66, in install_packages
vmdb.runcmd_chroot(
File "/usr/lib/python3/dist-packages/vmdb/runcmd.py", line 101, in runcmd_chroot
return runcmd(full_argv, *argvs, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/vmdb/runcmd.py", line 95, in runcmd
raise RuncmdError("Program failed: {}".format(p.returncode))
vmdb.runcmd.RuncmdError: Program failed: 100
** Also affects: autopkgtest (Ubuntu Noble)
Importance: Undecided
Status: New
** Also affects: autopkgtest (Ubuntu Focal)
Importance: Undecided
Status: New
** Also affects: autopkgtest (Ubuntu Bionic)
Importance: Undecided
Status: New
** Also affects: autopkgtest (Ubuntu Jammy)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of
Canonical's Ubuntu QA, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/2060187
Title:
autopkgtest-build-qemu fails to build Ubuntu images
Status in autopkgtest package in Ubuntu:
Fix Committed
Status in autopkgtest source package in Bionic:
New
Status in autopkgtest source package in Focal:
New
Status in autopkgtest source package in Jammy:
New
Status in autopkgtest source package in Noble:
New
Bug description:
Normally autopkgtest-buildvm-ubuntu-cloud is a better tool to build
Ubuntu images to be used with autopkgtest-virt-qemu, however we should
also be able to use autopkgtest-build-qemu, which builds an image from
scratch using debootstrap. This currently fails:
- When building >= Focal images, autopkgtest-virt-qemu fails as it
tries to install ifupdown on the testbed, which is not available in
main (the only enabled component during debootstrap). We should stop
installing ifupdown in >= Focal or more probably >= Bionic (when
netplan has been made the default).
- Issues with setup-testbed installing rng-tools have been reported
[1].
Note: at the moment autopkgtest-build-qemu is also failing to build
noble images because the release pocket is currently missing binaries.
[1] https://salsa.debian.org/ci-team/autopkgtest/-/merge_requests/310
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/2060187/+subscriptions
References