Hi Simon, thanks for checking and reporting this. On Sat, 10 Aug 2024 Simon McVittie <s...@debian.org> wrote: > In my autopkgtest-virt-qemu test environment (in a sid VM), > debian/tests/lxc-old-testbed can no longer create an Ubuntu 14.04 'trusty' > container and is therefore skipped: > > > autopkgtest [15:34:53]: test lxc-old-testbed: [----------------------- > > Using http://192.168.122.1:3142 as container proxy > > lxc-create: autopkgtest-trusty-amd64: ../src/lxc/storage/btrfs.c: > > btrfs_create: 938 Inappropriate ioctl for device - Failed to create btrfs > > subvolume "/var/lib/lxc/autopkgtest-trusty-amd64/rootfs" > > lxc-create: autopkgtest-trusty-amd64: ../src/lxc/storage/zfs.c: zfs_create: > > 742 Failed to create zfs dataset "zfs:lxc/autopkgtest-trusty-amd64": > > lxc-create: autopkgtest-trusty-amd64: > > lxc-create: autopkgtest-trusty-amd64: ../src/lxc/storage/lvm.c: > > do_lvm_create: 165 Failed to create logical volume > > "autopkgtest-trusty-amd64": lxc-create: autopkgtest-trusty-amd64: > > ../src/lxc/utils.c: run_command_internal: 1813 Failed to exec command > > lxc-create: autopkgtest-trusty-amd64: ../src/lxc/storage/lvm.c: lvm_create: > > 623 Error creating new logical volume > > "lvm:/dev/lxc/autopkgtest-trusty-amd64" of size "1073741824 bytes" > > Checking cache download in /var/cache/lxc/trusty/rootfs-amd64 ... > > Installing packages in template: eatmydata,language-pack-en > > Downloading ubuntu trusty minimal ... > > W: Cannot check Release signature; keyring file not available > > /usr/share/keyrings/ubuntu-archive-removed-keys.gpg > > I: Retrieving InRelease > > I: Retrieving Release > > lxc-create: autopkgtest-trusty-amd64: E: Failed getting release file > > http://archive.ubuntu.com/ubuntu/dists/trusty/Release > > SKIP: Unable to build autopkgtest-trusty-amd64 container > > ../src/lxc/lxccontainer.c: create_run_template: 1589 Failed to create > > container from template > > lxc-create: autopkgtest-trusty-amd64: ../src/lxc/tools/lxc_create.c: > > lxc_create_main: 318 Failed to create container autopkgtest-trusty-amd64 > > autopkgtest [15:34:54]: test lxc-old-testbed: -----------------------] > > I believe this is because lxc-templates uses > /usr/share/keyrings/ubuntu-archive-removed-keys.gpg to get the > archive-signing key that was current at the time that Ubuntu 14.04 was > fully-supported, but ubuntu-keyring no longer ships that file since > 2023.11.28.1-0.1.
We have this job running in autopkgtest CI, and it passes fine while still printing the: W: Cannot check Release signature; keyring file not available /usr/share/keyrings/ubuntu-archive-removed-keys.gpg warning. I tried reproducing the issue you describe locally on a clean sid VM, and I am able to build the LXC trusty image after installing the test deps for the "lxc" d/t/control test. Again the "Cannot check Release signature" warning doesn't appear to be a blocker. Terminal log excerpt: ------------------------------------------------------------------ root@debian-sid:~# dpkg-query -W autopkgtest autopkgtest 5.39 root@debian-sid:~# autopkgtest-build-lxc ubuntu trusty amd64 lxc-create: autopkgtest-trusty-amd64: ../src/lxc/storage/btrfs.c: btrfs_create: 938 Inappropriate ioctl for device - Failed to create btrfs subvolume "/var/lib/lxc/autopkgtest-trusty-amd64/rootfs" lxc-create: autopkgtest-trusty-amd64: ../src/lxc/storage/zfs.c: zfs_create: 742 Failed to create zfs dataset "zfs:lxc/autopkgtest-trusty-amd64": lxc-create: autopkgtest-trusty-amd64: ../src/lxc/utils.c: run_command_internal: 1813 Failed to exec command lxc-create: autopkgtest-trusty-amd64: ../src/lxc/storage/lvm.c: do_lvm_create: 165 Failed to create logical volume "autopkgtest-trusty-amd64": lxc-create: autopkgtest-trusty-amd64: ../src/lxc/utils.c: run_command_internal: 1813 Failed to exec command lxc-create: autopkgtest-trusty-amd64: ../src/lxc/storage/lvm.c: lvm_create: 623 Error creating new logical volume "lvm:/dev/lxc/autopkgtest-trusty-amd64" of size "1073741824 bytes" Checking cache download in /var/cache/lxc/trusty/rootfs-amd64 ... Installing packages in template: eatmydata,language-pack-en Downloading ubuntu trusty minimal ... W: Cannot check Release signature; keyring file not available /usr/share/keyrings/ubuntu-archive-removed-keys.gpg I: Retrieving InRelease I: Retrieving Release I: Retrieving Packages I: Validating Packages I: Retrieving Packages I: Validating Packages I: Resolving dependencies of required packages... I: Resolving dependencies of base packages... I: Checking component main on http://archive.ubuntu.com/ubuntu... I: Retrieving adduser 3.113+nmu3ubuntu3 [...] Unpacking linux-headers-generic (3.13.0.170.181) ... Setting up linux-headers-3.13.0-170 (3.13.0-170.220) ... Setting up linux-headers-3.13.0-170-generic (3.13.0-170.220) ... Setting up linux-headers-generic (3.13.0.170.181) ... root@debian-sid:~# echo $? 0 ------------------------------------------------------------------ The autopkgtest-build-lxc tool tries to do some proxy autoconfiguration, the logic is in lib/build-lxc.sh. I remember you mentioning using apt-cacher-ng, and having issues reaching archive.ubuntu.com with that, despite /var/lib/apt-cacher-ng/backends_ubuntu.default allowing access to archive.ubuntu.com by default. My guess is that the culprit is in this area. -- Paride