[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] RH EL5 test failure on interfaceshematest and xencapstest



Sorry to reply to my own post. I found more info regarding xencapstest. It seems that this
is failing because the virConnectPtr is NULL in xencapstest.c, line 50:

 if (!(caps = xenHypervisorMakeCapabilitiesInternal(NULL, hostmachine, fp1, fp2)))

This in turn calls src/xen/xend_internal.c  xenDaemonNodeGetTopology() with the NULL
virConnectPtr.

I guess the test needs a mock virConnect.

Regards,

	Andy

On 11/06/2010 02:30 PM, Andy Howell wrote:
> 
> I'm trying to build a new RPM for libvirt-0.8.5. Two tests are failing:
> 
>   interfaceschematest
>   xencapstest
> 
> Are these known errors? Any work-arounds?
> 
> Thanks,
> 
> 	Andy
> 
>  ./interfaceschematest
>   1) interfaceschemadata/bridge.xml                               ... FAILED
> xmllint --relaxng /usr/src/redhat/BUILD/libvirt-0.8.5/tests/../docs/schemas/interface.rng
> --noout /usr/src/redhat/BUILD/libvirt-0.8.5/tests/interfaceschemadata/bridge.xml
> /usr/src/redhat/BUILD/libvirt-0.8.5/tests/interfaceschemadata/bridge.xml:8: element
> interface: Relax-NG validity error : Element interface failed to validate attributes
> /usr/src/redhat/BUILD/libvirt-0.8.5/tests/interfaceschemadata/bridge.xml:9: element mac:
> Relax-NG validity error : Did not expect element mac there
> /usr/src/redhat/BUILD/libvirt-0.8.5/tests/interfaceschemadata/bridge.xml:11: element
> interface: Relax-NG validity error : Element interface failed to validate attributes
> /usr/src/redhat/BUILD/libvirt-0.8.5/tests/interfaceschemadata/bridge.xml:11: element
> interface: Relax-NG validity error : Expecting an element , got nothing
> /usr/src/redhat/BUILD/libvirt-0.8.5/tests/interfaceschemadata/bridge.xml:3: element mtu:
> Relax-NG validity error : Expecting element bridge, got mtu
> /usr/src/redhat/BUILD/libvirt-0.8.5/tests/interfaceschemadata/bridge.xml fails to validate
>   2) interfaceschemadata/vlan.xml                                 ... OK
>   3) interfaceschemadata/ipv6-dhcp.xml                            ... OK
>   4) interfaceschemadata/bond-arp.xml                             ... OK
>   5) interfaceschemadata/ipv6-autoconf-dhcp.xml                   ... OK
>   6) interfaceschemadata/ethernet-static.xml                      ... OK
>   7) interfaceschemadata/ipv6-autoconf.xml                        ... OK
>   8) interfaceschemadata/bridge-vlan.xml                          ... FAILED
> xmllint --relaxng /usr/src/redhat/BUILD/libvirt-0.8.5/tests/../docs/schemas/interface.rng
> --noout /usr/src/redhat/BUILD/libvirt-0.8.5/tests/interfaceschemadata/bridge-vlan.xml
> /usr/src/redhat/BUILD/libvirt-0.8.5/tests/interfaceschemadata/bridge-vlan.xml:7: element
> interface: Relax-NG validity error : Element interface failed to validate attributes
> /usr/src/redhat/BUILD/libvirt-0.8.5/tests/interfaceschemadata/bridge-vlan.xml:8: element
> vlan: Relax-NG validity error : Did not expect element vlan there
> /usr/src/redhat/BUILD/libvirt-0.8.5/tests/interfaceschemadata/bridge-vlan.xml:1: element
> interface: Relax-NG validity error : Element interface failed to validate content
> /usr/src/redhat/BUILD/libvirt-0.8.5/tests/interfaceschemadata/bridge-vlan.xml:3: element
> protocol: Relax-NG validity error : Expecting element bond, got protocol
> /usr/src/redhat/BUILD/libvirt-0.8.5/tests/interfaceschemadata/bridge-vlan.xml:3: element
> protocol: Relax-NG validity error : Expecting element vlan, got protocol
> /usr/src/redhat/BUILD/libvirt-0.8.5/tests/interfaceschemadata/bridge-vlan.xml fails to
> validate
>   9) interfaceschemadata/bridge-no-address.xml                    ... FAILED
> xmllint --relaxng /usr/src/redhat/BUILD/libvirt-0.8.5/tests/../docs/schemas/interface.rng
> --noout /usr/src/redhat/BUILD/libvirt-0.8.5/tests/interfaceschemadata/bridge-no-address.xml
> /usr/src/redhat/BUILD/libvirt-0.8.5/tests/interfaceschemadata/bridge-no-address.xml:5:
> element interface: Relax-NG validity error : Element interface failed to validate attributes
> /usr/src/redhat/BUILD/libvirt-0.8.5/tests/interfaceschemadata/bridge-no-address.xml:6:
> element mac: Relax-NG validity error : Did not expect element mac there
> /usr/src/redhat/BUILD/libvirt-0.8.5/tests/interfaceschemadata/bridge-no-address.xml:8:
> element interface: Relax-NG validity error : Element interface failed to validate attributes
> /usr/src/redhat/BUILD/libvirt-0.8.5/tests/interfaceschemadata/bridge-no-address.xml:8:
> element interface: Relax-NG validity error : Expecting an element , got nothing
> /usr/src/redhat/BUILD/libvirt-0.8.5/tests/interfaceschemadata/bridge-no-address.xml:1:
> element interface: Relax-NG validity error : Element interface failed to validate content
> /usr/src/redhat/BUILD/libvirt-0.8.5/tests/interfaceschemadata/bridge-no-address.xml fails
> to validate
>  10) interfaceschemadata/ethernet-static-no-prefix.xml            ... OK
>  11) interfaceschemadata/bridge42.xml                             ... FAILED
> xmllint --relaxng /usr/src/redhat/BUILD/libvirt-0.8.5/tests/../docs/schemas/interface.rng
> --noout /usr/src/redhat/BUILD/libvirt-0.8.5/tests/interfaceschemadata/bridge42.xml
> /usr/src/redhat/BUILD/libvirt-0.8.5/tests/interfaceschemadata/bridge42.xml:5: element
> interface: Relax-NG validity error : Element interface failed to validate attributes
> /usr/src/redhat/BUILD/libvirt-0.8.5/tests/interfaceschemadata/bridge42.xml:5: element
> interface: Relax-NG validity error : Expecting an element , got nothing
> /usr/src/redhat/BUILD/libvirt-0.8.5/tests/interfaceschemadata/bridge42.xml:1: element
> interface: Relax-NG validity error : Element interface failed to validate content
> /usr/src/redhat/BUILD/libvirt-0.8.5/tests/interfaceschemadata/bridge42.xml:1: element
> interface: Relax-NG validity error : Element interface failed to validate attributes
> /usr/src/redhat/BUILD/libvirt-0.8.5/tests/interfaceschemadata/bridge42.xml fails to validate
>  12) interfaceschemadata/bridge-empty.xml                         ... OK
>  13) interfaceschemadata/ipv6-local.xml                           ... OK
>  14) interfaceschemadata/ipv6-static-multi.xml                    ... OK
>  15) interfaceschemadata/ethernet-dhcp.xml                        ... OK
>  16) interfaceschemadata/bridge-bond.xml                          ... FAILED
> xmllint --relaxng /usr/src/redhat/BUILD/libvirt-0.8.5/tests/../docs/schemas/interface.rng
> --noout /usr/src/redhat/BUILD/libvirt-0.8.5/tests/interfaceschemadata/bridge-bond.xml
> /usr/src/redhat/BUILD/libvirt-0.8.5/tests/interfaceschemadata/bridge-bond.xml:1: element
> interface: Relax-NG validity error : Element interface failed to validate content
> /usr/src/redhat/BUILD/libvirt-0.8.5/tests/interfaceschemadata/bridge-bond.xml:1: element
> interface: Relax-NG validity error : Element interface failed to validate attributes
> /usr/src/redhat/BUILD/libvirt-0.8.5/tests/interfaceschemadata/bridge-bond.xml fails to
> validate
>  17) interfaceschemadata/bond.xml                                 ... OK
>  18) interfaceschemadata/ipv6-static.xml                          ... OK
> 
> ./xencapstest
> TEST: xencapstest
>  1) Capabilities for i686, no PAE, no HVM                             ... FAILED
>  2) Capabilities for i686, PAE, no HVM                                ... FAILED
>  3) Capabilities for i686, PAE, HVM                                   ... FAILED
>  4) Capabilities for x86_64, no HVM                                   ... FAILED
>  5) Capabilities for x86_64, HVM                                      ... FAILED
>  6) Capabilities for ia64, no HVM, LE                                 ... FAILED
>  7) Capabilities for ia64, HVM, LE                                    ... FAILED
>  8) Capabilities for ia64, no HVM, BE                                 ... FAILED
>  9) Capabilities for ia64, HVM, BE                                    ... FAILED
> 10) Capabilities for ppc64                                            ... FAILED
> 
> 
> 
> 
> --
> libvir-list mailing list
> libvir-list redhat com
> https://www.redhat.com/mailman/listinfo/libvir-list

begin:vcard
fn:Andy Howell
n:Howell;Andy
email;internet:andy gamubaru com
tel;work:+1-512-402-9970
tel;home:+1-512-402-9970
tel;cell:+1-512-923-9220
x-mozilla-html:FALSE
version:2.1
end:vcard


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]