[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [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.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#)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]