On 20.07.2011 04:33, Taku Izumi wrote: > > I could't build with this patchset applied in my environment. > It seems that some tests failed. > Did I make a mistake? > > ... > make check-TESTS > make[2]: Entering directory `/root/rpmbuild/BUILD/libvirt-0.9.3/tests' > TEST: virshtest > ........................................ 40 > ....... 47 OK > PASS: virshtest > TEST: nodeinfotest > ...... 6 OK > PASS: nodeinfotest > TEST: qparamtest > ................................ 32 OK > PASS: qparamtest > TEST: virbuftest > .. 2 OK > PASS: virbuftest > TEST: sockettest > ...................................... 38 OK > PASS: sockettest > TEST: commandtest > .................... 20 OK > PASS: commandtest > PASS: seclabeltest > TEST: hashtest > ............ 12 OK > PASS: hashtest > TEST: virnetmessagetest > ..... 5 OK > PASS: virnetmessagetest > TEST: virnetsockettest > ............. 13 OK > PASS: virnetsockettest > TEST: utiltest > ... 3 OK > PASS: utiltest > TEST: capabilityschematest > ............ 12 OK > PASS: capabilityschematest > TEST: interfaceschematest > .................. 18 OK > PASS: interfaceschematest > TEST: networkschematest > !!!!!!!!!!!!!!!!! 17 FAILED > FAIL: networkschematest > TEST: storagepoolschematest > ........................ 24 OK > PASS: storagepoolschematest > TEST: storagevolschematest > ............ 12 OK > PASS: storagevolschematest > TEST: domainschematest > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 40 > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 80 > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 120 > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 160 > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 200 > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 240 > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 280 > !!!!!!!!!!!!!!!! 296 FAILED > FAIL: domainschematest > TEST: nodedevschematest > .............. 14 OK > PASS: nodedevschematest > TEST: nwfilterschematest > ................................. 33 OK > PASS: nwfilterschematest > TEST: domainsnapshotschematest > ........ 8 OK > PASS: domainsnapshotschematest > TEST: test_conf.sh > .. 2 OK > PASS: test_conf.sh > PASS: cpuset > PASS: daemon-conf > PASS: define-dev-segfault > PASS: int-overflow > PASS: libvirtd-fail > PASS: libvirtd-pool > PASS: read-bufsiz > PASS: read-non-seekable > PASS: start > PASS: undefine > PASS: vcpupin > TEST: virsh-all > ........................................ 40 > ........................................ 80 > ........................................ 120 > ........................................ 160 OK > PASS: virsh-all > PASS: virsh-optparse > PASS: virsh-schedinfo > PASS: virsh-synopsis > TEST: jsontest > .... 4 OK > PASS: jsontest > TEST: xml2sexprtest > ........................................ 40 > ............. 53 OK > PASS: xml2sexprtest > TEST: sexpr2xmltest > ........................................ 40 > .......... 50 OK > PASS: sexpr2xmltest > TEST: xmconfigtest > ........................................ 40 > .......................... 66 OK > PASS: xmconfigtest > TEST: xencapstest > .......... 10 OK > PASS: xencapstest > TEST: reconnect > SKIP: reconnect > TEST: statstest > SKIP: statstest > TEST: qemuxml2argvtest > ........................................ 40 > ........................................ 80 > ........................................ 120 > ........................... 147 OK > PASS: qemuxml2argvtest > TEST: qemuxml2xmltest > ........................................ 40 > ................................ 72 OK > PASS: qemuxml2xmltest > TEST: qemuargv2xmltest > ........................................ 40 > ...................... 62 OK > PASS: qemuargv2xmltest > TEST: qemuhelptest > ............ 12 OK > PASS: qemuhelptest > TEST: nwfilterxml2xmltest > ................................. 33 OK > PASS: nwfilterxml2xmltest > TEST: openvzutilstest > .. 2 OK > PASS: openvzutilstest > TEST: esxutilstest > .... 4 OK > PASS: esxutilstest > TEST: vmx2xmltest > ........................................ 40 > ...... 46 OK > PASS: vmx2xmltest > TEST: xml2vmxtest > ........................................ 40 > . 41 OK > PASS: xml2vmxtest > TEST: eventtest > ............... 15 OK > PASS: eventtest > TEST: networkxml2xmltest > ........ 8 OK > PASS: networkxml2xmltest > TEST: networkxml2argvtest > ....... 7 OK > PASS: networkxml2argvtest > TEST: storagevolxml2xmltest > ...... 6 OK > PASS: storagevolxml2xmltest > TEST: storagepoolxml2xmltest > ............ 12 OK > PASS: storagepoolxml2xmltest > TEST: nodedevxml2xmltest > ............. 13 OK > PASS: nodedevxml2xmltest > TEST: interfacexml2xmltest > ................... 19 OK > PASS: interfacexml2xmltest > TEST: cputest > ........................................ 40 > ................. 57 OK > PASS: cputest > ======================================= > 2 of 58 tests failed > (2 tests were not run) > Please report to libvir-list@xxxxxxxxxx > ======================================= > make[2]: *** [check-TESTS] Error 1 > make[2]: Leaving directory `/root/rpmbuild/BUILD/libvirt-0.9.3/tests' > make[1]: *** [check-am] Error 2 > make[1]: Leaving directory `/root/rpmbuild/BUILD/libvirt-0.9.3/tests' > error: Bad exit status from /var/tmp/rpm-tmp.VfChp7 (%check) > > > RPM build errors: > Bad exit status from /var/tmp/rpm-tmp.VfChp7 (%check) > make: *** [rpm] エラー 1 > > That's strange. Works for me. Can you please run: cd tests; VIR_TEST_DEBUG=1 ./domainschematest or ./networkschematest It should help me to trace error. Btw: I suppose current master runs without these errors for you. Michal -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list