"make check" hangs after running for a little while
That's what I issued and hit the hay last night. $ make -k check LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1 |& tee /tmp/log I woke up to see the tests still hung like that on stdout -------------------------- [...] make -C ../src guestfs_protocol.c [0/9008] make[3]: Entering directory `/home/kashyap/src/libguestfs/src' ! test -f ../generator/Makefile || \ make -C ../generator stamp-generator make[4]: Entering directory `/home/kashyap/src/libguestfs/generator' make[4]: `stamp-generator' is up to date. make[4]: Leaving directory `/home/kashyap/src/libguestfs/generator' make[3]: Leaving directory `/home/kashyap/src/libguestfs/src' make -C ../src guestfs_protocol.h make[3]: Entering directory `/home/kashyap/src/libguestfs/src' ! test -f ../generator/Makefile || \ make -C ../generator stamp-generator make[4]: Entering directory `/home/kashyap/src/libguestfs/generator' make[4]: `stamp-generator' is up to date. make[4]: Leaving directory `/home/kashyap/src/libguestfs/generator' make[3]: Leaving directory `/home/kashyap/src/libguestfs/src' ! test -f ../generator/Makefile || \ make -C ../generator stamp-generator make[3]: Entering directory `/home/kashyap/src/libguestfs/generator' make[3]: `stamp-generator' is up to date. make[3]: Leaving directory `/home/kashyap/src/libguestfs/generator' make[2]: Leaving directory `/home/kashyap/src/libguestfs/daemon' make[1]: Leaving directory `/home/kashyap/src/libguestfs/daemon' Making check in appliance make[1]: Entering directory `/home/kashyap/src/libguestfs/appliance' rm -f supermin.d/udev-rules.img supermin.d/udev-rules.img-t rm -rf tmp-u mkdir -p tmp-u/etc/udev/rules.d for f in 99-guestfs-serial.rules; do ln $f tmp-u/etc/udev/rules.d/$(basename $f); done ( cd tmp-u && find | cpio --quiet -o -H newc ) > supermin.d/udev-rules.img-t rm -rf tmp-u mv supermin.d/udev-rules.img-t supermin.d/udev-rules.img rm -f supermin.d/daemon.img supermin.d/daemon.img-t rm -rf tmp-d mkdir -p tmp-d/usr/sbin tmp-d/etc ln ../daemon/guestfsd tmp-d/usr/sbin/guestfsd ln ./guestfsd.suppressions tmp-d/etc/guestfsd.suppressions ( cd tmp-d && find | cpio --quiet -o -H newc ) > supermin.d/daemon.img-t rm -rf tmp-d mv supermin.d/daemon.img-t supermin.d/daemon.img make[1]: Leaving directory `/home/kashyap/src/libguestfs/appliance' Making check in tests/qemu make[1]: Entering directory `/home/kashyap/src/libguestfs/tests/qemu' make check-TESTS make[2]: Entering directory `/home/kashyap/src/libguestfs/tests/qemu' -------------------------- I haven't investigated further, but just posting here, if someone has any known quirks or some such. -------------------------- $ git describe 1.21.39-8-g95ed494 -------------------------- Thanks. -- /kashyap
On Mon, May 20, 2013 at 09:50:04AM +0530, Kashyap Chamarthy wrote:
That's what I issued and hit the hay last night.
$ make -k check LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1 |& tee /tmp/log
I woke up to see the tests still hung like that on stdout
-------------------------- [...] make -C ../src guestfs_protocol.c
[0/9008] make[3]: Entering directory `/home/kashyap/src/libguestfs/src' ! test -f ../generator/Makefile || \ make -C ../generator stamp-generator make[4]: Entering directory `/home/kashyap/src/libguestfs/generator' make[4]: `stamp-generator' is up to date. make[4]: Leaving directory `/home/kashyap/src/libguestfs/generator' make[3]: Leaving directory `/home/kashyap/src/libguestfs/src' make -C ../src guestfs_protocol.h make[3]: Entering directory `/home/kashyap/src/libguestfs/src' ! test -f ../generator/Makefile || \ make -C ../generator stamp-generator make[4]: Entering directory `/home/kashyap/src/libguestfs/generator' make[4]: `stamp-generator' is up to date. make[4]: Leaving directory `/home/kashyap/src/libguestfs/generator' make[3]: Leaving directory `/home/kashyap/src/libguestfs/src' ! test -f ../generator/Makefile || \ make -C ../generator stamp-generator make[3]: Entering directory `/home/kashyap/src/libguestfs/generator' make[3]: `stamp-generator' is up to date. make[3]: Leaving directory `/home/kashyap/src/libguestfs/generator' make[2]: Leaving directory `/home/kashyap/src/libguestfs/daemon' make[1]: Leaving directory `/home/kashyap/src/libguestfs/daemon' Making check in appliance make[1]: Entering directory `/home/kashyap/src/libguestfs/appliance' rm -f supermin.d/udev-rules.img supermin.d/udev-rules.img-t rm -rf tmp-u mkdir -p tmp-u/etc/udev/rules.d for f in 99-guestfs-serial.rules; do ln $f tmp-u/etc/udev/rules.d/$(basename $f); done ( cd tmp-u && find | cpio --quiet -o -H newc ) > supermin.d/udev-rules.img-t rm -rf tmp-u mv supermin.d/udev-rules.img-t supermin.d/udev-rules.img rm -f supermin.d/daemon.img supermin.d/daemon.img-t rm -rf tmp-d mkdir -p tmp-d/usr/sbin tmp-d/etc ln ../daemon/guestfsd tmp-d/usr/sbin/guestfsd ln ./guestfsd.suppressions tmp-d/etc/guestfsd.suppressions ( cd tmp-d && find | cpio --quiet -o -H newc ) > supermin.d/daemon.img-t rm -rf tmp-d mv supermin.d/daemon.img-t supermin.d/daemon.img
Did you run 'make' before 'make check'? It seems to be building the appliance here which wouldn't be expected if 'make' had finished completely before 'make check' started.
make[1]: Leaving directory `/home/kashyap/src/libguestfs/appliance' Making check in tests/qemu make[1]: Entering directory `/home/kashyap/src/libguestfs/tests/qemu' make check-TESTS make[2]: Entering directory `/home/kashyap/src/libguestfs/tests/qemu' --------------------------
This is failing on the very first test. Look in the tmp/ subdirectory for a file (or the latest file) called run-* and see what it contains. You can also try running 'make quickcheck' which will test if things are basically working or not. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
ln ../daemon/guestfsd tmp-d/usr/sbin/guestfsd ln ./guestfsd.suppressions tmp-d/etc/guestfsd.suppressions ( cd tmp-d && find | cpio --quiet -o -H newc ) > supermin.d/daemon.img-t rm -rf tmp-d mv supermin.d/daemon.img-t supermin.d/daemon.img
Did you run 'make' before 'make check'? It seems to be building the appliance here which wouldn't be expected if 'make' had finished completely before 'make check' started.
That's the sequence I ran ./autogen.sh make make -k check LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1 |& tee /tmp/log Let me do a "make clean" and retry.
This is failing on the very first test. Look in the tmp/ subdirectory for a file (or the latest file) called run-* and see what it contains.
You can also try running 'make quickcheck' which will test if things are basically working or not.
Ok, first I should read what are the make targets available :). Thanks, Rich. -- /kashyap
Now, "make check" is running, will report once it's done.
Investigation in progress, meantime, that's what "make quickcheck" throws: ============================================ . . . libguestfs: [17520ms] finished testing qemu features [17521ms] /bin/qemu-kvm \ -global virtio-blk-pci.scsi=off \ -nodefconfig \ -nodefaults \ -nographic \ -device virtio-scsi-pci,id=scsi \ -drive file=/tmp/libguestfs-test-tool-sda-ObsSCG,format=raw,id=hd0,if=none \ -device scsi-hd,drive=hd0 \ -drive file=/home/kashyap/src/libguestfs/tmp/.guestfs-1000/root.31887,snapshot=on,id=appliance,if=none,cache=unsafe \ -device scsi-hd,drive=appliance \ -machine accel=kvm:tcg \ -m 500 \ -no-reboot \ -no-hpet \ -device virtio-serial \ -serial stdio \ -device sga \ -chardev socket,path=/home/kashyap/src/libguestfs/tmp/libguestfsXWytVi/guestfsd.sock,id=channel0 \ -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ -kernel /home/kashyap/src/libguestfs/tmp/.guestfs-1000/kernel.31887 \ -initrd /home/kashyap/src/libguestfs/tmp/.guestfs-1000/initrd.31887 \ -append 'panic=1 console=ttyS0 udevtimeout=600 no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=screen'\x1b[1;256r\x1b[256;256H\x1b[6n Google, Inc. Serial Graphics Adapter 02/18/13 SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (mockbuild@) Mon Feb 18 08:29:02 UTC 2013 Term: ============================================ This is on bare-metal. seabios-bin-1.7.2-1.fc19.noarch -- /kashyap
On 05/20/2013 03:44 PM, Kashyap Chamarthy wrote:
Now, "make check" is running, will report once it's done.
Investigation in progress, meantime,
that's what "make quickcheck" throws: ============================================ . . . libguestfs: [17520ms] finished testing qemu features [17521ms] /bin/qemu-kvm \ -global virtio-blk-pci.scsi=off \ -nodefconfig \ -nodefaults \ -nographic \ -device virtio-scsi-pci,id=scsi \ -drive file=/tmp/libguestfs-test-tool-sda-ObsSCG,format=raw,id=hd0,if=none \ -device scsi-hd,drive=hd0 \ -drive file=/home/kashyap/src/libguestfs/tmp/.guestfs-1000/root.31887,snapshot=on,id=appliance,if=none,cache=unsafe \ -device scsi-hd,drive=appliance \ -machine accel=kvm:tcg \ -m 500 \ -no-reboot \ -no-hpet \ -device virtio-serial \ -serial stdio \ -device sga \ -chardev socket,path=/home/kashyap/src/libguestfs/tmp/libguestfsXWytVi/guestfsd.sock,id=channel0 \ -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ -kernel /home/kashyap/src/libguestfs/tmp/.guestfs-1000/kernel.31887 \ -initrd /home/kashyap/src/libguestfs/tmp/.guestfs-1000/initrd.31887 \ -append 'panic=1 console=ttyS0 udevtimeout=600 no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=screen'\x1b[1;256r\x1b[256;256H\x1b[6n Google, Inc. Serial Graphics Adapter 02/18/13 SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (mockbuild@) Mon Feb 18 08:29:02 UTC 2013 Term: ============================================
This is on bare-metal.
seabios-bin-1.7.2-1.fc19.noarch
Issue reported here - https://bugzilla.redhat.com/show_bug.cgi?id=872831 Thanks Rich, for all your help. -- /kashyap
Issue reported here - https://bugzilla.redhat.com/show_bug.cgi?id=872831
Crap, that's wrong bz, here's is the correct one - https://bugzilla.redhat.com/show_bug.cgi?id=965108 -- /kashyap
participants (2)
-
Kashyap Chamarthy -
Richard W.M. Jones