[libvirt] [PATCH] tests: Fix virnetdaemontest to be skipped in non-yajl environment

Prerna saxenap.ltc at gmail.com
Fri Oct 23 16:19:28 UTC 2015


Here is the more verbose failure snippet :

..[snip]
TEST: virnetdaemontest
 1) ExecRestart initial-nomdns                                        ...
libvirt:  error : internal error: No JSON parser implementation is available
libvirt:  error : internal error: No JSON parser implementation is available
FAILED
 2) ExecRestart anon-clients                                          ...
libvirt:  error : internal error: No JSON parser implementation is available
libvirt:  error : internal error: No JSON parser implementation is available
FAILED
 3) ExecRestart anon-clients                                          ...
libvirt:  error : internal error: No JSON parser implementation is available
FAILED
 4) ExecRestart admin-nomdns                                          ...
libvirt:  error : internal error: No JSON parser implementation is available
libvirt:  error : internal error: No JSON parser implementation is available
FAILED
FAIL: virnetdaemontest
...

On Fri, Oct 23, 2015 at 5:54 PM, Peter Krempa <pkrempa at redhat.com> wrote:

> On Fri, Oct 23, 2015 at 15:38:25 +0530, Prerna wrote:
> > When libvirt is compiled without yajl-devel, virnetdaemontest fails.
> > This causes 'make check' to fail with nondescript errors, such as
> following:
> > [snip]...............................
> > PASS: read-bufsiz
> > PASS: read-non-seekable
> > PASS: start
> > TEST: virsh-uriprecedence
> >        ....                                     4   OK
> > PASS: virsh-uriprecedence
> > PASS: vcpupin
> > /home/prerna/trees/libvirt/tests/virsh-all: skipping test:
> > This test is very expensive, so it is disabled by default.
> > To run it anyway, rerun: make check VIR_TEST_EXPENSIVE=1
> >
> > SKIP: virsh-all
> > PASS: virsh-optparse
> > PASS: virsh-schedinfo
> > PASS: virsh-synopsis
> > PASS: virsh-undefine
> > =======================================
> > 1 of 108 tests failed
> > (7 tests were not run)
> > Please report to libvir-list at redhat.com
> > =======================================
> > make[2]: *** [check-TESTS] Error 1
> > make[2]: Leaving directory `/home/prerna/build/libvirt/tests'
> > make[1]: *** [check-am] Error 2
> > make[1]: Leaving directory `/home/prerna/build/libvirt/tests'
> > make: *** [check-recursive] Error 1
>
> The above output does not contain the actual failure. Please post the
> relevant part.
>
> Peter
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20151023/eacba079/attachment-0001.htm>


More information about the libvir-list mailing list