
On 10/27/2011 04:25 PM, Sharad Mishra wrote:
Here are the short logs on failures.
I would suggest running cimtest with latest upstream + patches on list and make sure that these patches are not breaking existing tests. In general, before posting any patch, complete cimtest should be run and it should be verified that new patch is not breaking any cimtest.
Sorry, I will pay more attention on this from now on. I am using the latest HEAD plus patches I've sent to revert the changes on XenKvmLib/vxml.py. Those patches are in the branch for-review of my cimtest tree in gitorious. git://gitorious.org/~eblima/libvirt-cim/etrunko-cimtest.git
++++++++++++++++
VirtualSystemManagementService - 09_procrasd_persist.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: ResourceSettings Error: VirtualDevice property must be unique for each DiskResourceAllocationSettingData in a single guest with return code 1 ERROR - Unable to define procrasd_persist_dom InvokeMethod(DefineSystem): CIM_ERR_FAILED: ResourceSettings Error: VirtualDevice property must be unique for each DiskResourceAllocationSettingData in a single guest
In my case this one fails with a different message: ====09_procrasd_persist.py Log==== Limit is None, expected 512
VirtualSystemManagementService - 11_define_memrasdunits.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: ResourceSettings Error: VirtualDevice property must be unique for each DiskResourceAllocationSettingData in a single guest with return code 1 ERROR - DefineSystem with (KiloBytes) units failed InvokeMethod(DefineSystem): CIM_ERR_FAILED: ResourceSettings Error: VirtualDevice property must be unique for each DiskResourceAllocationSettingData in a single guest
This one matches: ====11_define_memrasdunits.py Log==== Defining with Bytes = 2147483648 Verified 2097152 KB Defining with KiloBytes = 2097152 Got CIM error CIM_ERR_FAILED: ResourceSettings Error: VirtualDevice property must be unique for each DiskResourceAllocationSettingData in a single guest with return code 1 DefineSystem with (KiloBytes) units failed This test worked fine until the patch that introduced the changes in XenKvmLib/vxml.py was integrated. What is really weird is that even reverting those changes it still fails. :/
VirtualSystemManagementService - 31_unset_netrasd.py: FAIL ERROR - Current 'virtio' and expected '' ResourceSubType differ
VirtualSystemManagementService - 32_modify_cdrom_media.py: FAIL ERROR - New media '/dev/null' does not match expected '' ERROR - TypeError : 'NoneType' object is unsubscriptable Traceback (most recent call last): File "/home/cimtest/suites/libvirt-cim/lib/XenKvmLib/const.py", line 141, in do_try rc = f() File "32_modify_cdrom_media.py", line 223, in main inst = modify_media(cim, inst, media_path) File "32_modify_cdrom_media.py", line 114, in modify_media val = set_device_addr(inst, addr) File "32_modify_cdrom_media.py", line 97, in set_device_addr inst["InstanceID"], TypeError: 'NoneType' object is unsubscriptable ERROR - None
31 and 32 expose a bug in pegasus version 2.10 and 2.11.0. Make sure you have either 2.9 or 2.11.1.
VirtualSystemManagementService - 08_modifyresource.py: FAIL ERROR - (4, u'CIM_ERR_INVALID_PARAMETER: Missing InstanceID in RASD') ERROR - Error invoking ModifyRS: mod_disk_res ERROR - ModifyResourceSettings call failed InvokeMethod(ModifyResourceSettings): CIM_ERR_INVALID_PARAMETER: Missing InstanceID in RASD
This one works for me.... :/ Would be nice to have results from the others as well. I am investigating and will post a fix asap. Sorry for -- Eduardo de Barros Lima Software Engineer, Open Virtualization Linux Technology Center - IBM/Brazil eblima@br.ibm.com