<div dir="ltr">Hi all,<div><br></div><div>This email content might be duplicated with other thread posted in other</div><div>places that I do not know yet where to find or search (please let me know</div><div>if it is true). I am working on a small bug of virsh domxml-to-native. </div><div>Before I made any changes to the code in order to fix the bug, I 'make</div><div> test'-ed and 'valgrind test'-ed the code, encountered four failures in </div><div>'make test' and 19 failures in 'make -C tests valgrind'. What I did today </div><div>was the following:</div><div><br></div><div>git checkout master</div><div>git pull</div><div>./autogen.sh --prefix=$(pwd)/build</div><div>make</div>make install<br># So far so good, no errors ; however<br><br>make check VIR_TEST_EXPENSIVE=1<div># generated the following test-suite.log</div><div><div>=========================================</div><div>   libvirt 3.2.0: tests/test-suite.log</div><div>=========================================</div><div><br></div><div># TOTAL: 115</div><div># PASS:  111</div><div># SKIP:  0</div><div># XFAIL: 0</div><div># FAIL:  4</div><div># XPASS: 0</div><div># ERROR: 0</div><div><br></div><div>.. contents:: :depth: 2</div><div><br></div><div>FAIL: virfirewalltest</div><div>=====================</div><div><br></div><div>TEST: virfirewalltest</div><div>      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 40  FAIL</div><div>FAIL virfirewalltest (exit status: 1)</div><div><br></div><div>FAIL: networkxml2firewalltest</div><div>=============================</div><div><br></div><div>TEST: networkxml2firewalltest</div><div>                                         0   FAIL</div><div>FAIL networkxml2firewalltest (exit status: 1)</div><div><br></div><div>FAIL: nwfilterebiptablestest</div><div>============================</div><div><br></div><div>TEST: nwfilterebiptablestest</div><div>                                         0   FAIL</div><div>FAIL nwfilterebiptablestest (exit status: 1)</div><div><br></div><div>FAIL: nwfilterxml2firewalltest</div><div>==============================</div><div><br></div><div>TEST: nwfilterxml2firewalltest</div><div>                                         0   FAIL</div><div>FAIL nwfilterxml2firewalltest (exit status: 1)</div><div><br></div></div><div><br></div><div><br></div><div>make syntax-check VIR_TEST_EXTENSIVE=1</div><div># I did not paste the result here and I do not understand what it means.</div><div># available upon request</div><div><br></div><div>Finally, </div><div>make -C tests valgrind</div><div># generated file was attached. </div><div><br></div><div>It seems most of the valgrind failures were false positives, I can only tell </div><div>by comparing the log file with the examples in the HACKING page. But I </div><div>do not have the knowledge to determine.</div><div><br></div><div>Could anyone tell me if I am missing something? Having those test failures</div><div>is a problem or not? Which ones can be safely ignored? Is there any easier </div><div>way to avoid the false positives? I am concerned because I also need to </div><div>run the test when I make changes to the code. On the other hand, I would </div><div>also like to learn the right way to do the testing or whatever it takes to make</div><div>things right.</div><div><br></div><div>I am running linux using vmware Workstation Pro 12 on Windows 10. </div><div>Linux version 4.4.55-1-MANJARO (builduser@manjaro) (gcc version 6.3.1 20170306 (GCC) ) #1 SMP PREEMPT</div><div><br></div><div><br></div><div><br></div><div>Dan</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>