Kashyap Chamarthy
2013-May-20 04:20 UTC
[Libguestfs] "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
Richard W.M. Jones
2013-May-20 07:48 UTC
[Libguestfs] "make check" hangs after running for a little while
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.imgDid 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#)
Seemingly Similar Threads
- [PATCH] build: Choose a virtual directory for the daemon which is not a symlink.
- [REPOST] guestfsd core capture, and virt-rescue clean shutdown
- Generate coredumps of the guestfs appliance
- W/ commit 4d2c63a9bc3accd7b852b1c8b2089c6296fee156: supermin fails to create temporary dir
- building a supermin appliance with febootstrap...