canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #05869
[Bug 2091318] Re: upstream test misconfigures pin-priority for trigger packages
With autopkgtest upstream (HEAD at 8c8368c074 at time of writing), I get
this behavior:
autopkgtest cmdline: /home/nr/ubuntu/code/autopkgtest/runner/autopkgtest
systemd --shell-fail -U --test-name upstream --apt-
pocket=proposed=src:nftables -- qemu /home/nr/ubuntu/autopkgtest-
testbeds/autopkgtest-plucky-amd64.img
Inside the VM:
ubuntu@autopkgtest:~$ apt install -s nftables
NOTE: This is only a simulation!
apt needs root privileges for real execution.
Keep also in mind that locking is deactivated,
so don't depend on the relevance to the real current situation!
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
Unsatisfied dependencies:
nftables : Depends: libnftables1 (= 1.1.1-1build1) but 1.1.0-2 is to be installed
Error: Unable to correct problems, you have held broken packages.
ubuntu@autopkgtest:~$ apt policy libnftables1
libnftables1:
Installed: 1.1.0-2
Candidate: 1.1.1-1build1
Version table:
1.1.1-1build1 995
100 http://archive.ubuntu.com/ubuntu plucky-proposed/main amd64 Packages
*** 1.1.0-2 500
500 http://archive.ubuntu.com/ubuntu plucky/main amd64 Packages
100 /var/lib/dpkg/status
ubuntu@autopkgtest:~$ apt policy nftables
nftables:
Installed: 1.1.0-2
Candidate: 1.1.1-1build1
Version table:
1.1.1-1build1 995
100 http://archive.ubuntu.com/ubuntu plucky-proposed/main amd64 Packages
*** 1.1.0-2 500
500 http://archive.ubuntu.com/ubuntu plucky/main amd64 Packages
100 /var/lib/dpkg/status
ubuntu@autopkgtest:~$ cat /etc/apt/preferences.d/autopkgtest-zz-plucky-proposed-baseline.pref
Package: *
Pin: release plucky-proposed
Pin-Priority: 500
ubuntu@autopkgtest:~$ cat /etc/apt/preferences.d/autopkgtest-plucky-proposed.pref
Package: *
Pin: release plucky-proposed
Pin-Priority: 100
Package: src:nftables:any
Pin: release plucky-proposed
Pin-Priority: 995
** Summary changed:
- upstream test misconfigures pin-priority for trigger packages
+ misconfigured pin-priority for trigger packages in systemd upstream test
** Also affects: autopkgtest (Ubuntu)
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.
Matching subscriptions: ubuntu-qa-bugs
https://bugs.launchpad.net/bugs/2091318
Title:
misconfigured pin-priority for trigger packages in systemd upstream
test
Status in autopkgtest package in Ubuntu:
New
Status in nftables package in Ubuntu:
New
Status in systemd package in Ubuntu:
New
Bug description:
In this test for example[1], where nftables is a trigger, we see:
4476s Some packages could not be installed. This may mean that you have
4476s requested an impossible situation or if you are using the unstable
4476s distribution that some required packages have not yet been created
4476s or been moved out of Incoming.
4476s The following information may help to resolve the situation:
4476s
4476s The following packages have unmet dependencies:
4476s dnsmasq : Depends: dnsmasq-base
4476s nftables : Depends: libnftables1 (= 1.1.1-1build1) but it is not installable
4476s E: Unable to correct problems, you have held broken packages.
4476s ‣ "apt-get -o APT::Architecture=amd64 -o APT::Architectures=amd64 -o APT::Install-Recommends=false -o APT::Immediate-Configure=off -o APT::Get::Assume-Yes=true -o APT::Get::AutomaticRemove=true -o APT::Get::Allow-Change-Held-Packages=true -o APT::Get::Allow-Remove-Essential=true -o APT::Sandbox::User=root -o Acquire::AllowReleaseInfoChange=true -o Acquire::Check-Valid-Until=false -o Dir::Cache=/var/cache/apt -o Dir::State=/var/lib/apt -o Dir::Log=/var/log/apt -o Dir::State::Status=/buildroot/var/lib/dpkg/status -o Dir::Bin::DPkg=/usr/bin/dpkg -o Debug::NoLocking=true -o DPkg::Options::=--root=/buildroot -o DPkg::Options::=--force-unsafe-io -o DPkg::Options::=--force-architecture -o DPkg::Options::=--force-depends -o DPkg::Options::=--no-debsig -o DPkg::Use-Pty=false -o DPkg::Install::Recursive::Minimum=1000 -o pkgCacheGen::ForceEssential=, -o Acquire::http::Proxy=http://squid.internal:3128 -o Acquire::https::Proxy=http://squid.internal:3128 install acl attr bash-completion binutils coreutils curl diffutils dnsmasq dosfstools e2fsprogs findutils gdb grep gzip jq kbd kexec-tools kmod less llvm lvm2 man mdadm mtools nano nftables nvme-cli opensc openssl p11-kit pciutils python3 radvd rsync sed socat strace tar tmux tree util-linux valgrind which wireguard-tools xfsprogs zsh zstd btrfs-progs apt bind9-dnsutils cryptsetup-bin dbus-broker dbus-user-session dmsetup erofs-utils f2fs-tools fdisk git-core gnutls-bin iproute2 iputils-ping isc-dhcp-server knot libcap-ng-utils locales login man-db multipath-tools ncat open-iscsi openssh-client openssh-server passwd polkitd procps psmisc python3-pexpect python3-psutil qrencode quota softhsm2 squashfs-tools stress-ng tgt tpm2-tools tzdata xxd sbsigntool systemd-boot systemd-boot-efi linux-image-generic linux-tools-common linux-tools-virtual" returned non-zero exit code 100.
4477s FAILED: .
4477s /tmp/autopkgtest.hyNPWm/autopkgtest_tmp/mkosi/bin/mkosi --directory /tmp/autopkgtest.hyNPWm/build.eKH/src --output-dir /var/tmp/integration-tests.ydrgguHbfg/btrfs/build/mkosi.output --cache-dir /var/tmp/integration-tests.ydrgguHbfg/btrfs/build/mkosi.cache --build-dir /var/tmp/integration-tests.ydrgguHbfg/btrfs/build/mkosi.builddir --extra-search-path /var/tmp/integration-tests.ydrgguHbfg/btrfs/build --force build
4477s ninja: build stopped: subcommand failed.
4477s INFO: autodetecting backend as ninja
4477s INFO: calculating backend command to run: /usr/bin/ninja -C /var/tmp/integration-tests.ydrgguHbfg/btrfs/build .
4477s + cleanup
4477s + [ -f /var/tmp/integration-tests.ydrgguHbfg/btrfs/build/meson-logs/testlog.txt ]
4477s + [ -d /var/tmp/integration-tests.ydrgguHbfg/btrfs/build/test/journal ]
4477s + [ -n /var/tmp/integration-tests.ydrgguHbfg ]
4477s + umount /var/tmp/integration-tests.ydrgguHbfg/btrfs
4477s + losetup --detach /dev/loop0
4477s + rm -rf /var/tmp/integration-tests.ydrgguHbfg
4477s autopkgtest [23:55:05]: test upstream: -----------------------]
4478s autopkgtest [23:55:06]: test upstream: - - - - - - - - - - results - - - - - - - - - -
I think this is because of upstream's apt pinning for the "mkosi"
archive that gets copied into images, but further investigation is
needed.
[1] https://autopkgtest.ubuntu.com/results/autopkgtest-
plucky/plucky/amd64/s/systemd/20241206_235527_6d460@/log.gz
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/2091318/+subscriptions