On 08/12/22 13:25, Marc Haber wrote:
On Thu, Dec 08, 2022 at 01:17:34PM +0100, Gioele Barabucci wrote:
On 08/12/22 13:11, Marc Haber wrote:
As of 2022-12-08 this can be reproduced with the following commands:

$ sudo autopkgtest-build-lxc debian sid
$ autopkgtest . -- lxc --sudo autopkgtest-sid

I have never used lxc, but this looks like erroring out:

[14/4914]mh@salida:~ $ sudo autopkgtest-build-lxc debian sid
lxc-create: autopkgtest-sid.new: ../src/lxc/storage/btrfs.c: btrfs_create: 938 
Inappropriate ioctl for device - Failed to create btrfs subvolume 
"/var/lib/lxc/autopkgtest-sid.new/rootfs"
lxc-create: autopkgtest-sid.new: ../src/lxc/storage/zfs.c: zfs_create: 735 Failed to 
create zfs dataset "zfs:lxc/autopkgtest-sid.new": lxc-create: 
autopkgtest-sid.new: ../src/lxc/utils.c: run_command_internal: 1609 Failed to exec command
lxc-create: autopkgtest-sid.new: ../src/lxc/storage/lvm.c: do_lvm_create: 165 Failed to create 
logical volume "autopkgtest-sid.new":   Volume group "lxc" not found
   Cannot process volume group lxc
lxc-create: autopkgtest-sid.new: ../src/lxc/storage/lvm.c: lvm_create: 623 Error creating new 
logical volume "lvm:/dev/lxc/autopkgtest-sid.new" of size "1073741824 bytes"
debootstrap is /usr/sbin/debootstrap
Checking cache download in /var/cache/lxc/debian/rootfs-sid-amd64 ...
Downloading debian minimal ...
I: Retrieving InRelease

I think this is the normal behavior: `autopkgtest-build-lxc` is cycling through all lxc-create backends. At the end it (silently) settles on "dir": the basic backend that stores lxc images in plain directories. After that it starts downloading all needed files.

If you ignore the initial warnings and let it finish, autopkgtest-build-lxc will (should...) eventually create the base image.

Regards,

--
Gioele Barabucci

Reply via email to