[Libvirt-cim] [PATCH] [TEST] LXC support for ComputerSystem.01, 02, 04, 05, 06, 22 & 23
Zhengang Li
zli at linux.vnet.ibm.com
Thu May 29 01:55:24 UTC 2008
Kaitlin Rupert wrote:
>> diff -r af35c2dcc8c5 -r 03df2f209f12
>> suites/libvirt-cim/cimtest/ComputerSystem/04_defineStartVS.py
>> --- a/suites/libvirt-cim/cimtest/ComputerSystem/04_defineStartVS.py
>> Fri May 30 00:24:45 2008 +0800
>> +++ b/suites/libvirt-cim/cimtest/ComputerSystem/04_defineStartVS.py
>> Fri May 30 00:26:15 2008 +0800
>> @@ -38,7 +38,7 @@
>> from CimTest.Globals import do_main
>> from CimTest.ReturnCodes import PASS, FAIL
>>
>> -sup_types = ['Xen', 'KVM', 'XenFV']
>> +sup_types = ['Xen', 'KVM', 'XenFV', 'LXC']
>> test_dom = "domguest"
>>
>> @do_main(sup_types)
>
> This failed for me with the following:
>
> ComputerSystem - 04_defineStartVS.py: FAIL
> ERROR - Error: property values are not set for VS domguest
>
>> diff -r af35c2dcc8c5 -r 03df2f209f12
>> suites/libvirt-cim/cimtest/ComputerSystem/06_paused_active_suspend.py
>> ---
>> a/suites/libvirt-cim/cimtest/ComputerSystem/06_paused_active_suspend.py
>> Fri May 30 00:24:45 2008 +0800
>> +++
>> b/suites/libvirt-cim/cimtest/ComputerSystem/06_paused_active_suspend.py
>> Fri May 30 00:26:15 2008 +0800
>> @@ -51,7 +51,7 @@
>> from XenKvmLib.common_util import call_request_state_change
>> from CimTest.ReturnCodes import PASS, FAIL, XFAIL_RC
>>
>> -sup_types = ['Xen', 'KVM', 'XenFV']
>> +sup_types = ['Xen', 'KVM', 'XenFV', 'LXC']
>> test_dom = "DomST1"
>> mem = 128 # MB
>> # Keeping the bug no for future reference
>
> This also failed:
>
> ComputerSystem - 06_paused_active_suspend.py: FAIL
> ERROR - Exception: (1, u'CIM_ERR_FAILED: Domain not running')
> ERROR - Unable to suspend dom DomST1 using RequestedStateChange()
>
>> diff -r af35c2dcc8c5 -r 03df2f209f12
>> suites/libvirt-cim/cimtest/ComputerSystem/23_suspend_suspend.py
>> ---
>> a/suites/libvirt-cim/cimtest/ComputerSystem/23_suspend_suspend.py
>> Fri May 30 00:24:45 2008 +0800
>> +++
>> b/suites/libvirt-cim/cimtest/ComputerSystem/23_suspend_suspend.py
>> Fri May 30 00:26:15 2008 +0800
>> @@ -47,7 +47,7 @@
>> from XenKvmLib.common_util import create_using_definesystem
>> from XenKvmLib.common_util import call_request_state_change
>>
>> -sup_types = ['Xen', 'XenFV']
>> +sup_types = ['Xen', 'XenFV', 'LXC']
>>
>> ACTIVE_STATE = 2
>> SUSPND_STATE = 9
>>
>
> This one too:
>
> ComputerSystem - 23_suspend_suspend.py: FAIL
> ERROR - Error invoke method `DefineSystem'. name
> 'LXC_VirtualSystemSettingData' is not defined
> ERROR - Unable to define domain test_domain using DefineSystem()
>
>
> This one looks like it's dependent on the DefineSystems patch. Are the
> others as well?
>
Yup, Sorry for the trouble. I'll clear them out and send out different
patches.
--
- Zhengang
More information about the Libvirt-cim
mailing list