[libvirt] make check fails on CentOS 5

Hi. I'm using libvirt on a CentOS 5.4 x86_64 host without issue, until libvirt 0.8.1. I usually just rebuild the available src rpm with the following args: --without xen --without xen-proxy \ --without lxc --without vbox --without esx \ --without phyp --without one --without avahi \ --without openvz --without uml (I only use KVM) But, with libvirt 0.8.1, the buiild process now include make check, and one of the check fails: interfaceschematest Attached is the full build log, you can see the failure line 1841. I really don't know how to debug this. For now, I've just added interfaceschematest to the list of check to skip in the spec file (for i in nodeinfotest daemon-conf seclabeltest interfaceschematest). With this modification, everything works, and I'm actually using it this way. Anybody knows why this test fails ? Regards, Daniel -- Daniel Berteaud FIREWALL-SERVICES SARL. Société de Services en Logiciels Libres Technopôle Montesquieu 33650 MARTILLAC Tel : 05 56 64 15 32 Fax : 05 56 64 15 32 Mail: daniel@firewall-services.com Web : http://www.firewall-services.com

On 05/11/2010 08:03 AM, Daniel Berteaud wrote:
But, with libvirt 0.8.1, the buiild process now include make check, and one of the check fails: interfaceschematest
Attached is the full build log, you can see the failure line 1841.
I really don't know how to debug this.
Per HACKING, have you tried 'VIR_TEST_DEBUG=2 ./interfaceschematest' from within the tests dir? Posting that output may give us more hints of what to look at next. -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org

Le mardi 11 mai 2010 à 08:24 -0600, Eric Blake a écrit :
Per HACKING, have you tried 'VIR_TEST_DEBUG=2 ./interfaceschematest' from within the tests dir? Posting that output may give us more hints of what to look at next.
Thanks for your reply, attached is the result. Looks like bridge42.xml, bridge-bond.xml, bridge-vlan.xml, bridge-no-address.xml and bridge.xml cannot be validated. Could this be an issue with my xmllint version ? CentOS 5.4 comes with libxml2-2.6.26-2.1.2.8 Regards, Daniel -- Daniel Berteaud FIREWALL-SERVICES SARL. Société de Services en Logiciels Libres Technopôle Montesquieu 33650 MARTILLAC Tel : 05 56 64 15 32 Fax : 05 56 64 15 32 Mail: daniel@firewall-services.com Web : http://www.firewall-services.com

On Tue, May 11, 2010 at 11:19:26PM +0200, Daniel Berteaud wrote:
Le mardi 11 mai 2010 à 08:24 -0600, Eric Blake a écrit :
Per HACKING, have you tried 'VIR_TEST_DEBUG=2 ./interfaceschematest' from within the tests dir? Posting that output may give us more hints of what to look at next.
Thanks for your reply, attached is the result.
Looks like bridge42.xml, bridge-bond.xml, bridge-vlan.xml, bridge-no-address.xml and bridge.xml cannot be validated.
Could this be an issue with my xmllint version ?
CentOS 5.4 comes with libxml2-2.6.26-2.1.2.8
Old mail, but yes that's likely a problem with an older libxml2. Some of the relaxng schemas for libvirt exposed at least one bug in libxml2, so that would not be surprizing. Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/
participants (3)
-
Daniel Berteaud
-
Daniel Veillard
-
Eric Blake