Package: autopkgtest
Version: 5.12.1
Severity: important

Hello,

I'm no longer able to create an image for autopkgtest with

# autopkgtest-build-qemu unstable ./autopkgtest.img
Load spec file /tmp/tmp.r8ug3ZCECh
ERROR: No runner implements step with keys device, set

It seems to be because of this part of autopkgtest-build-qemu script,
that was added with commit adc0aa94 [1]

 - set: flag
    device: "{{ image }}"

The above error disappear if I remove that part from the script,
and the process goes ahead. Not sure if it's a bug in autopkgtest
or in vmbd2.
However, even with the autopkgtest-build-qemu script modified, 
the creation of the image fails with another error

autopkgtest-build-qemu unstable ../autopkgtest.img
Load spec file /tmp/tmp.GYgpSOLAo0
Exec: ['qemu-img', 'create', '-f', 'raw', '../autopkgtest.img.raw', '25G']
Exec: ['parted', '-s', '../autopkgtest.img.raw', 'mklabel', 'gpt']
Exec: ['parted', '-m', '../autopkgtest.img.raw', 'print']
Exec: ['parted', '-s', '../autopkgtest.img.raw', 'mkpart', 'primary', 'ext2', 
'0%', '5%']
Exec: ['parted', '-m', '../autopkgtest.img.raw', 'print']
Exec: ['parted', '-s', '../autopkgtest.img.raw', 'mkpart', 'primary', 'ext2', 
'5%', '100%']
Exec: ['kpartx', '-asv', '../autopkgtest.img.raw']
remembering /dev/mapper/loop1p1 as boot
remembering /dev/mapper/loop1p2 as root
Exec: ['/sbin/mkfs', '-t', 'ext4', '/dev/mapper/loop1p2']
Exec: ['mount', '/dev/mapper/loop1p2', '/tmp/tmpmgw2bhok']
Exec: ['debootstrap', '--variant', '-', 'unstable', '/tmp/tmpmgw2bhok', 
'http://deb.debian.org/debian']
mounting proc: ['chroot', '/tmp/tmpmgw2bhok', 'mount', '-t', 'proc', 'proc', 
'/proc']
Exec: ['chroot', '/tmp/tmpmgw2bhok', 'apt-get', 'update']
unmounting proc: ['chroot', '/tmp/tmpmgw2bhok', 'umount', '/proc']
mounting proc: ['chroot', '/tmp/tmpmgw2bhok', 'mount', '-t', 'proc', 'proc', 
'/proc']
Exec: ['chroot', '/tmp/tmpmgw2bhok', 'apt-get', 'update']
unmounting proc: ['chroot', '/tmp/tmpmgw2bhok', 'umount', '/proc']
mounting proc: ['chroot', '/tmp/tmpmgw2bhok', 'mount', '-t', 'proc', 'proc', 
'/proc']
Exec: ['chroot', '/tmp/tmpmgw2bhok', 'apt-get', '-y', '--no-show-progress', 
'install', 'eatmydata']
unmounting proc: ['chroot', '/tmp/tmpmgw2bhok', 'umount', '/proc']
mounting proc: ['chroot', '/tmp/tmpmgw2bhok', 'mount', '-t', 'proc', 'proc', 
'/proc']
Exec: ['chroot', '/tmp/tmpmgw2bhok', 'eatmydata', 'apt-get', 'update']
unmounting proc: ['chroot', '/tmp/tmpmgw2bhok', 'umount', '/proc']
mounting proc: ['chroot', '/tmp/tmpmgw2bhok', 'mount', '-t', 'proc', 'proc', 
'/proc']
Exec: ['chroot', '/tmp/tmpmgw2bhok', 'eatmydata', 'apt-get', '-y', 
'--no-show-progress', 'install', 'linux-image-amd64', 'ifupdown']
unmounting proc: ['chroot', '/tmp/tmpmgw2bhok', 'umount', '/proc']
mounting proc: ['chroot', '/tmp/tmpmgw2bhok', 'mount', '-t', 'proc', 'proc', 
'/proc']
Exec: ['chroot', '/tmp/tmpmgw2bhok', 'apt-get', 'clean']
unmounting proc: ['chroot', '/tmp/tmpmgw2bhok', 'umount', '/proc']
Installing GRUB for BIOS
Exec: ['mount', '--bind', '/dev', '/tmp/tmpmgw2bhok/dev']
Exec: ['mount', '--bind', '/sys', '/tmp/tmpmgw2bhok/sys']
mounting proc: ['chroot', '/tmp/tmpmgw2bhok', 'mount', '-t', 'proc', 'proc', 
'/proc']
Exec: ['chroot', '/tmp/tmpmgw2bhok', 'apt-get', '-y', '--no-show-progress', 
'install', 'grub-pc']
unmounting proc: ['chroot', '/tmp/tmpmgw2bhok', 'umount', '/proc']
mounting proc: ['chroot', '/tmp/tmpmgw2bhok', 'mount', '-t', 'proc', 'proc', 
'/proc']
Exec: ['chroot', '/tmp/tmpmgw2bhok', 'grub-mkconfig', '-o', 
'/boot/grub/grub.cfg']
unmounting proc: ['chroot', '/tmp/tmpmgw2bhok', 'umount', '/proc']
mounting proc: ['chroot', '/tmp/tmpmgw2bhok', 'mount', '-t', 'proc', 'proc', 
'/proc']
Exec: ['chroot', '/tmp/tmpmgw2bhok', 'grub-install', '--target=i386-pc', 
'--no-nvram', '--force-extra-removable', '--no-floppy', '--modules=part_msdos 
part_gpt', '--grub-mkdevicemap=/boot/grub/device.map', '/dev/loop1']
unmounting proc: ['chroot', '/tmp/tmpmgw2bhok', 'umount', '/proc']
unmounting proc: ['chroot', '/tmp/tmpmgw2bhok', 'umount', '/proc']
umount: /proc: not mounted.
ERROR: Command '['chroot', '/tmp/tmpmgw2bhok', 'umount', '/proc']' returned 
non-zero exit status 32.
ERROR: CalledProcessError(32, ['chroot', '/tmp/tmpmgw2bhok', 'umount', '/proc'])
Something went wrong, cleaning up!
Exec: ['umount', '/tmp/tmpmgw2bhok/dev']
Exec: ['umount', '/tmp/tmpmgw2bhok/sys']
Exec: ['umount', '/tmp/tmpmgw2bhok']
Exec: ['kpartx', '-dsv', '../autopkgtest.img.raw']


and I'm not able to work around this; any ideas?

Regards,
Lorenzo

[1] 
https://salsa.debian.org/ci-team/autopkgtest/-/commit/adc0aa941cd31c7ccb90f4ca030d6c15973af9f5



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.3.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: runit (via /run/runit.stopit)

Versions of packages autopkgtest depends on:
ii  apt-utils       2.0.2
ii  libdpkg-perl    1.19.7
ii  procps          2:3.3.16-4
ii  python3         3.8.2-3
ii  python3-debian  0.1.37

Versions of packages autopkgtest recommends:
ii  autodep8  0.22

Versions of packages autopkgtest suggests:
pn  lxc               <none>
pn  lxd               <none>
ii  ovmf              0.0~20200229-2
ii  qemu-efi-aarch64  0.0~20200229-2
pn  qemu-efi-arm      <none>
pn  qemu-system       <none>
ii  qemu-utils        1:4.2-3
ii  schroot           1.6.10-9
ii  vmdb2             0.14.1-1

-- no debconf information

Reply via email to