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@xxxxxxxxxxxxxxxxxxxxx Web : http://www.firewall-services.com
1) interfaceschemadata/ipv6-static-multi.xml ... OK 2) interfaceschemadata/ipv6-autoconf.xml ... OK 3) interfaceschemadata/vlan.xml ... OK 4) interfaceschemadata/bridge42.xml ... FAILED xmllint --relaxng /root/localdev/libvirt/work/libvirt-0.8.1/tests/../docs/schemas/interface.rng --noout /root/localdev/libvirt/work/libvirt-0.8.1/tests/interfaceschemadata/bridge42.xml /root/localdev/libvirt/work/libvirt-0.8.1/tests/interfaceschemadata/bridge42.xml:5: element interface: Relax-NG validity error : Element interface failed to validate attributes /root/localdev/libvirt/work/libvirt-0.8.1/tests/interfaceschemadata/bridge42.xml:5: element interface: Relax-NG validity error : Expecting an element , got nothing /root/localdev/libvirt/work/libvirt-0.8.1/tests/interfaceschemadata/bridge42.xml:1: element interface: Relax-NG validity error : Element interface failed to validate content /root/localdev/libvirt/work/libvirt-0.8.1/tests/interfaceschemadata/bridge42.xml:1: element interface: Relax-NG validity error : Element interface failed to validate attributes /root/localdev/libvirt/work/libvirt-0.8.1/tests/interfaceschemadata/bridge42.xml fails to validate 5) interfaceschemadata/bond-arp.xml ... OK 6) interfaceschemadata/ipv6-local.xml ... OK 7) interfaceschemadata/bridge-empty.xml ... OK 8) interfaceschemadata/ipv6-autoconf-dhcp.xml ... OK 9) interfaceschemadata/bridge-bond.xml ... FAILED xmllint --relaxng /root/localdev/libvirt/work/libvirt-0.8.1/tests/../docs/schemas/interface.rng --noout /root/localdev/libvirt/work/libvirt-0.8.1/tests/interfaceschemadata/bridge-bond.xml /root/localdev/libvirt/work/libvirt-0.8.1/tests/interfaceschemadata/bridge-bond.xml:1: element interface: Relax-NG validity error : Element interface failed to validate content /root/localdev/libvirt/work/libvirt-0.8.1/tests/interfaceschemadata/bridge-bond.xml:1: element interface: Relax-NG validity error : Element interface failed to validate attributes /root/localdev/libvirt/work/libvirt-0.8.1/tests/interfaceschemadata/bridge-bond.xml fails to validate 10) interfaceschemadata/bond.xml ... OK 11) interfaceschemadata/ipv6-static.xml ... OK 12) interfaceschemadata/ipv6-dhcp.xml ... OK 13) interfaceschemadata/ethernet-static-no-prefix.xml ... OK 14) interfaceschemadata/ethernet-static.xml ... OK 15) interfaceschemadata/bridge-vlan.xml ... FAILED xmllint --relaxng /root/localdev/libvirt/work/libvirt-0.8.1/tests/../docs/schemas/interface.rng --noout /root/localdev/libvirt/work/libvirt-0.8.1/tests/interfaceschemadata/bridge-vlan.xml /root/localdev/libvirt/work/libvirt-0.8.1/tests/interfaceschemadata/bridge-vlan.xml:7: element interface: Relax-NG validity error : Element interface failed to validate attributes /root/localdev/libvirt/work/libvirt-0.8.1/tests/interfaceschemadata/bridge-vlan.xml:8: element vlan: Relax-NG validity error : Did not expect element vlan there /root/localdev/libvirt/work/libvirt-0.8.1/tests/interfaceschemadata/bridge-vlan.xml:1: element interface: Relax-NG validity error : Element interface failed to validate content /root/localdev/libvirt/work/libvirt-0.8.1/tests/interfaceschemadata/bridge-vlan.xml:3: element protocol: Relax-NG validity error : Expecting element bond, got protocol /root/localdev/libvirt/work/libvirt-0.8.1/tests/interfaceschemadata/bridge-vlan.xml:3: element protocol: Relax-NG validity error : Expecting element vlan, got protocol /root/localdev/libvirt/work/libvirt-0.8.1/tests/interfaceschemadata/bridge-vlan.xml fails to validate 16) interfaceschemadata/bridge-no-address.xml ... FAILED xmllint --relaxng /root/localdev/libvirt/work/libvirt-0.8.1/tests/../docs/schemas/interface.rng --noout /root/localdev/libvirt/work/libvirt-0.8.1/tests/interfaceschemadata/bridge-no-address.xml /root/localdev/libvirt/work/libvirt-0.8.1/tests/interfaceschemadata/bridge-no-address.xml:5: element interface: Relax-NG validity error : Element interface failed to validate attributes /root/localdev/libvirt/work/libvirt-0.8.1/tests/interfaceschemadata/bridge-no-address.xml:6: element mac: Relax-NG validity error : Did not expect element mac there /root/localdev/libvirt/work/libvirt-0.8.1/tests/interfaceschemadata/bridge-no-address.xml:8: element interface: Relax-NG validity error : Element interface failed to validate attributes /root/localdev/libvirt/work/libvirt-0.8.1/tests/interfaceschemadata/bridge-no-address.xml:8: element interface: Relax-NG validity error : Expecting an element , got nothing /root/localdev/libvirt/work/libvirt-0.8.1/tests/interfaceschemadata/bridge-no-address.xml:1: element interface: Relax-NG validity error : Element interface failed to validate content /root/localdev/libvirt/work/libvirt-0.8.1/tests/interfaceschemadata/bridge-no-address.xml fails to validate 17) interfaceschemadata/ethernet-dhcp.xml ... OK 18) interfaceschemadata/bridge.xml ... FAILED xmllint --relaxng /root/localdev/libvirt/work/libvirt-0.8.1/tests/../docs/schemas/interface.rng --noout /root/localdev/libvirt/work/libvirt-0.8.1/tests/interfaceschemadata/bridge.xml /root/localdev/libvirt/work/libvirt-0.8.1/tests/interfaceschemadata/bridge.xml:8: element interface: Relax-NG validity error : Element interface failed to validate attributes /root/localdev/libvirt/work/libvirt-0.8.1/tests/interfaceschemadata/bridge.xml:9: element mac: Relax-NG validity error : Did not expect element mac there /root/localdev/libvirt/work/libvirt-0.8.1/tests/interfaceschemadata/bridge.xml:11: element interface: Relax-NG validity error : Element interface failed to validate attributes /root/localdev/libvirt/work/libvirt-0.8.1/tests/interfaceschemadata/bridge.xml:11: element interface: Relax-NG validity error : Expecting an element , got nothing /root/localdev/libvirt/work/libvirt-0.8.1/tests/interfaceschemadata/bridge.xml:3: element mtu: Relax-NG validity error : Expecting element bridge, got mtu /root/localdev/libvirt/work/libvirt-0.8.1/tests/interfaceschemadata/bridge.xml fails to validate
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list