[Pkg-libvirt-maintainers] Bug#840853: FTBFS on amd64 - recipe for target 'quickcheck' failed

Neil Williams codehelp at debian.org
Sun Oct 16 14:27:19 UTC 2016


severity 840853 serious
retitle 840853 FTBFS with QEMU 2.7 - recipe for target 'quickcheck' failed
thanks

To try to debug the original problem, I tried to rebuild libguestfs with
pbuilder and schroot. The first failure is with cryptsetup which failed
to install with pbuilder and sbuild. (Build log attached as
libguestfs_1.32.7-1_amd64-2016-10-16T13:05:42Z.build.)

Working around that by installing cryptsetup inside the chroot with
DEBCONF_FRONTEND=noninteractive, libguestfs itself fails to build with
QEMU 2.7 using sbuild. Compressed build log attached as
libguestfs_1.32.7-1_amd64-2016-10-16T13:17:30Z.build.gz)

Each build was attempted with build dependencies from current unstable.
Get:525 http://mirror.bytemark.co.uk/debian sid/main amd64 qemu-system-x86 amd64 1:2.7+dfsg-1 [4433 kB]

The tail of the second log:

supermin: ext2: creating empty ext2 filesystem '/<<PKGBUILDDIR>>/debian/build-default/tmp/.guestfs-1000/appliance.d.m0uegekx/root'
ext2fs_check_if_mount: Can't check if filesystem is mounted due to missing mtab file while determining whether /<<PKGBUILDDIR>>/debian/build-default/tmp/.guestfs-1000/appliance.d.m0uegekx/root is mounted.
supermin: ext2: populating from base image
supermin: ext2: copying files from host filesystem
supermin: ext2: copying kernel modules
supermin: ext2: creating minimal initrd '/<<PKGBUILDDIR>>/debian/build-default/tmp/.guestfs-1000/appliance.d.m0uegekx/initrd'
supermin: ext2: wrote 28 modules to minimal initrd
supermin: renaming /<<PKGBUILDDIR>>/debian/build-default/tmp/.guestfs-1000/appliance.d.m0uegekx to /<<PKGBUILDDIR>>/debian/build-default/tmp/.guestfs-1000/appliance.d
libguestfs: [03094ms] finished building supermin appliance
libguestfs: [03094ms] begin testing qemu features
libguestfs: command: run: /usr/bin/qemu-system-x86_64
libguestfs: command: run: \ -display none
libguestfs: command: run: \ -help
libguestfs: command: run: /usr/bin/qemu-system-x86_64
libguestfs: command: run: \ -display none
libguestfs: command: run: \ -version
libguestfs: qemu version 2.7
libguestfs: command: run: /usr/bin/qemu-system-x86_64
libguestfs: command: run: \ -display none
libguestfs: command: run: \ -machine accel=kvm:tcg
libguestfs: command: run: \ -device ?
libguestfs: [03260ms] finished testing qemu features
libguestfs: command: run: dmesg | grep -Eoh 'lpj=[[:digit:]]+'
libguestfs: read_lpj_from_dmesg: external command exited with error status 1
libguestfs: read_lpj_from_files: no boot messages files are readable
[03279ms] /usr/bin/qemu-system-x86_64 \
    -global virtio-blk-pci.scsi=off \
    -nodefconfig \
    -enable-fips \
    -nodefaults \
    -display none \
    -machine accel=kvm:tcg \
    -m 500 \
    -no-reboot \
    -rtc driftfix=slew \
    -no-hpet \
    -global kvm-pit.lost_tick_policy=discard \
    -kernel /<<PKGBUILDDIR>>/debian/build-default/tmp/.guestfs-1000/appliance.d/kernel \
    -initrd /<<PKGBUILDDIR>>/debian/build-default/tmp/.guestfs-1000/appliance.d/initrd \
    -device virtio-scsi-pci,id=scsi \
    -drive file=/<<PKGBUILDDIR>>/debian/build-default/tmp/libguestfsd6kTqz/scratch.1,cache=unsafe,format=raw,id=hd0,if=none \
    -device scsi-hd,drive=hd0 \
    -drive file=/<<PKGBUILDDIR>>/debian/build-default/tmp/.guestfs-1000/appliance.d/root,snapshot=on,id=appliance,cache=unsafe,if=none,format=raw \
    -device scsi-hd,drive=appliance \
    -device virtio-serial-pci \
    -serial stdio \
    -device sga \
    -chardev socket,path=/<<PKGBUILDDIR>>/debian/build-default/tmp/libguestfsd6kTqz/guestfsd.sock,id=channel0 \
    -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
    -append 'panic=1 console=ttyS0 udevtimeout=6000 udev.event-timeout=6000 no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm'
Could not access KVM kernel module: No such file or directory
failed to initialize KVM: No such file or directory
Back to tcg accelerator.
Could not open option rom 'linuxboot_dma.bin': No such file or directory
Could not open option rom 'sgabios.bin': No such file or directory
Makefile:2348: recipe for target 'quickcheck' failed
make[2]: *** [quickcheck] Alarm clock
make[2]: Leaving directory '/<<PKGBUILDDIR>>/debian/build-default'
debian/rules:114: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:157: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
--------------------------------------------------------------------------------
Build finished at 2016-10-16T14:03:39Z

Finished
--------


+------------------------------------------------------------------------------+
| Cleanup                                                                      |
+------------------------------------------------------------------------------+

Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use
E: 10mount: umount: /run/schroot/mount/sid-amd64-sbuild-d2262f80-1f64-4588-a923-02699c2af701/build: target is busy
E: 10mount:         (In some cases useful info about processes that
E: 10mount:          use the device is found by lsof(8) or fuser(1).)
E: sid-amd64-sbuild-d2262f80-1f64-4588-a923-02699c2af701: Chroot setup failed: stage=setup-stop
Chroot cleanup failed
E: Build failure (dpkg-buildpackage died)

+------------------------------------------------------------------------------+
| Summary                                                                      |
+------------------------------------------------------------------------------+

Build Architecture: amd64
Build-Space: 0
Build-Time: 2414
Distribution: unstable
Fail-Stage: build
Host Architecture: amd64
Install-Time: 350
Job: /home/neil/code/debian/guestfs/libguestfs_1.32.7-1.dsc
Machine Architecture: amd64
Package: libguestfs
Package-Time: 2769
Source-Version: 1:1.32.7-1
Space: 0
Status: failed
Version: 1:1.32.7-1
--------------------------------------------------------------------------------
Finished at 2016-10-16T14:03:39Z
Build needed 00:00:00, 0k disc space
E: Build failure (dpkg-buildpackage died)

It looks like the same problem, the build generates a command line to
QEMU (judging from the activity reported by htop near the end of the
build) which simply fails.

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: libguestfs_1.32.7-1_amd64-2016-10-16T13:05:42Z.build
Type: application/octet-stream
Size: 224522 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20161016/c3378119/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libguestfs_1.32.7-1_amd64-2016-10-16T13:17:30Z.build.gz
Type: application/gzip
Size: 299191 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20161016/c3378119/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20161016/c3378119/attachment-0001.sig>


More information about the Pkg-libvirt-maintainers mailing list