On Wed, Mar 29, 2017 at 1:01 AM, D L <srwx4096@xxxxxxxxx> wrote:
Hi all,This email content might be duplicated with other thread posted in otherplaces that I do not know yet where to find or search (please let me knowif it is true). I am working on a small bug of virsh domxml-to-native.Before I made any changes to the code in order to fix the bug, I 'maketest'-ed and 'valgrind test'-ed the code, encountered four failures in'make test' and 19 failures in 'make -C tests valgrind'. What I did todaywas the following:git checkout mastergit pull./autogen.sh --prefix=$(pwd)/buildmakemake install
# So far so good, no errors ; however
make check VIR_TEST_EXPENSIVE=1# generated the following test-suite.log========================================= libvirt 3.2.0: tests/test-suite.log========================================= # TOTAL: 115# PASS: 111# SKIP: 0# XFAIL: 0# FAIL: 4# XPASS: 0# ERROR: 0.. contents:: :depth: 2FAIL: virfirewalltest=====================TEST: virfirewalltest!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 40 FAIL FAIL virfirewalltest (exit status: 1)FAIL: networkxml2firewalltest=============================TEST: networkxml2firewalltest0 FAILFAIL networkxml2firewalltest (exit status: 1)FAIL: nwfilterebiptablestest============================TEST: nwfilterebiptablestest0 FAILFAIL nwfilterebiptablestest (exit status: 1)FAIL: nwfilterxml2firewalltest==============================TEST: nwfilterxml2firewalltest0 FAILFAIL nwfilterxml2firewalltest (exit status: 1)make syntax-check VIR_TEST_EXTENSIVE=1# I did not paste the result here and I do not understand what it means.# available upon requestFinally,make -C tests valgrind# generated file was attached.It seems most of the valgrind failures were false positives, I can only tellby comparing the log file with the examples in the HACKING page. But Ido not have the knowledge to determine.Could anyone tell me if I am missing something? Having those test failuresis a problem or not? Which ones can be safely ignored? Is there any easierway to avoid the false positives? I am concerned because I also need torun the test when I make changes to the code. On the other hand, I wouldalso like to learn the right way to do the testing or whatever it takes to makethings right.I am running linux using vmware Workstation Pro 12 on Windows 10.Linux version 4.4.55-1-MANJARO (builduser@manjaro) (gcc version 6.3.1 20170306 (GCC) ) #1 SMP PREEMPTDan
On ubuntu16 and ubuntu14, ebtables were pre-installed. But on
Archlinux and Debian, ebtables have to be installed explicitly in order to pass
all test cases in 'make check'. I found out this after I enabled debugging checking
$ make check VIR_TEST_DEBUG=2 VIR_TEST_EXPENSIVE=1
For the valgrind testing with 'make -C tests valgrind', the errors were *mostly* due to
"FATAL: can't open suppressions file "./.valgrind.supp". I am using valgrind 3.12.0.
Dan
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list