[Libvirt-cim] [PATCH 5 of 9] [TEST] Update HostSystem tests to expect an instance from get_host_info()

Deepti B Kalakeri deeptik at linux.vnet.ibm.com
Fri Nov 21 06:38:03 UTC 2008



Kaitlin Rupert wrote:
>>> diff -r 59a6bdb3083b -r 5466028a8060 
>>> suites/libvirt-cim/cimtest/HostSystem/03_hs_to_settdefcap.py
>> This tc fails with the sblim-base-provider installed:
>> --------------------------------------------------------------------
>> HostSystem - 03_hs_to_settdefcap.py: FAIL
>> ERROR - 'Xen_HostedResourcePool' has returned 0 instances, expected 4 
>> instances
>> CIM_ERR_INVALID_PARAMETER: Xen_HostedResourcePool
>> --------------------------------------------------------------------
>>
>
>>> diff -r 59a6bdb3083b -r 5466028a8060 
>>> suites/libvirt-cim/cimtest/HostSystem/04_hs_to_EAPF.py
>>> --- a/suites/libvirt-cim/cimtest/HostSystem/04_hs_to_EAPF.py Fri Nov 
>>> 14 15:30:50 2008 -0800
>>> +++ b/suites/libvirt-cim/cimtest/HostSystem/04_hs_to_EAPF.py Fri Nov 
>>> 14 15:30:50 2008 -0800
>> This tc fails with the sblim-base-provider installed:
>> --------------------------------------------------------------------
>> HostSystem - 04_hs_to_EAPF.py: FAIL
>> ERROR - DEBUG host_name is elm3b43.beaverton.ibm.com
>> ERROR - Xen_HostedResourcePool returned 0 Device Pool objects
>> CIM_ERR_INVALID_PARAMETER: Xen_HostedResourcePool
>> --------------------------------------------------------------------
>>
>
> These also are a registration issue. Can you verify your registration 
> and then retest? Thanks!

Ya the problem was due to the provider registration.
But the tc is now failing bcs of the following error:
--------------------------------------------------------------------
HostSystem - 04_hs_to_EAPF.py: FAIL
ERROR - DEBUG host_name is elm3b41
ERROR - KeyError : u'KVM_GraphicsPool'
Traceback (most recent call last):
File "./lib/XenKvmLib/const.py", line 129, in do_try
File "04_hs_to_EAPF.py", line 248, in main
in_pllist = pool_init_list(virt, pool, net_name, default_pool_name)
File "04_hs_to_EAPF.py", line 102, in pool_init_list
if exp_pllist[CName] == InstID:
KeyError: u'KVM_GraphicsPool'
ERROR - None
--------------------------------------------------------------------


This error is listed in the wiki and needs to be fixed.
This error occurs with and without sblim-base-provider.

Thanks and Regards,
Deepti.




More information about the Libvirt-cim mailing list