No problem Eduardo.
In my eagerness to close a defect I have posted patches without first running all cimtests. So, this was a reminder to me too.

Regards,
Sharad Mishra
Open Virtualization
Linux Technology Center
IBM

"Eduardo Lima (Etrunko)" <eblima@linux.vnet.ibm.com> wrote on 10/27/2011 01:16:38 PM:

> "Eduardo Lima (Etrunko)" <eblima@linux.vnet.ibm.com>

> 10/27/2011 01:16 PM
>
> Please respond to
> eblima@br.ibm.com

>
> To

>
> Sharad Mishra/Beaverton/IBM@IBMUS

>
> cc

>
> eblima@br.ibm.com, List for discussion and development of libvirt
> CIM <libvirt-cim@redhat.com>

>
> Subject

>
> Re: [Libvirt-cim] cimtest results.

>
> 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
>