
FYI - It's getting close to creating a new release and I'd like to get libvirt-cim and cimtest in sync. With the latest upstream libvirt-cim and cimtest, I'm seeing the follow unexpected[1] errors in cimtest: 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 -------------------------------------------------------------------- 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 -------------------------------------------------------------------- VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL ERROR - Exception: CreateSnapshot failed to return a CIM job inst ERROR - Failed to remove snapshot file for snapshot_vm A very quick peek at the code shows this message occurs when one tries to add a disk device with the same names as one that already exists. This is a no-no in cim. I'll dig into the root cause tomorrow and provide an update. [1] - I see several other typical errors that are either known issues or side-effects of a non-pristine system. Sadly, cimtest considers the default RHEL 6.1+ config not pristine and falsely fails due to some pre-configured pools. I plan to address this soon. -- Chip Vincent Open Virtualization IBM Linux Technology Center cvincent@linux.vnet.ibm.com

I ran cimtest on a RHEL 6 machine with latest libvirt-cim and cimtests. Following 2 tests failed - 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 VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL ERROR - Exception: CreateSnapshot failed to return a CIM job inst ERROR - Failed to remove snapshot file for snapshot_vm Will do some investigation to figure out why they are failing. Regards, Sharad Mishra Open Virtualization Linux Technology Center IBM libvirt-cim-bounces@redhat.com wrote on 11/01/2011 05:36:44 PM:
Chip Vincent <cvincent@linux.vnet.ibm.com> Sent by: libvirt-cim-bounces@redhat.com
11/01/11 05:36 PM
Please respond to List for discussion and development of libvirt CIM <libvirt-cim@redhat.com>
To
libvirt-cim@redhat.com
cc
Subject
[Libvirt-cim] cimtest errors
FYI -
It's getting close to creating a new release and I'd like to get libvirt-cim and cimtest in sync. With the latest upstream libvirt-cim and cimtest, I'm seeing the follow unexpected[1] errors in cimtest:
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 -------------------------------------------------------------------- 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 -------------------------------------------------------------------- VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL ERROR - Exception: CreateSnapshot failed to return a CIM job inst ERROR - Failed to remove snapshot file for snapshot_vm
A very quick peek at the code shows this message occurs when one tries to add a disk device with the same names as one that already exists. This is a no-no in cim. I'll dig into the root cause tomorrow and provide an update.
[1] - I see several other typical errors that are either known issues or side-effects of a non-pristine system. Sadly, cimtest considers the default RHEL 6.1+ config not pristine and falsely fails due to some pre-configured pools. I plan to address this soon. --
Chip Vincent Open Virtualization IBM Linux Technology Center cvincent@linux.vnet.ibm.com
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim

Another data point: VirtualSystemManagementService - 11_define_memrasdunits.py: FAIL Worked for me on my RHEL6 box :-) VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL This one fails for me too. - G Dr. Gareth S. Bestor IBM Senior Software Engineer Systems & Technology Group - Systems Management Standards 971-285-6375 (mobile) bestor@us.ibm.com Re: [Libvirt-cim] cimtest errors Sharad Mishra to: List for discussion and development of libvirt CIM 11/02/11 09:47 AM Sent by: libvirt-cim-bounces@redhat.com Please respond to List for discussion and development of libvirt CIM I ran cimtest on a RHEL 6 machine with latest libvirt-cim and cimtests. Following 2 tests failed - 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 VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL ERROR - Exception: CreateSnapshot failed to return a CIM job inst ERROR - Failed to remove snapshot file for snapshot_vm Will do some investigation to figure out why they are failing. Regards, Sharad Mishra Open Virtualization Linux Technology Center IBM libvirt-cim-bounces@redhat.com wrote on 11/01/2011 05:36:44 PM:
Chip Vincent <cvincent@linux.vnet.ibm.com> Sent by: libvirt-cim-bounces@redhat.com
11/01/11 05:36 PM
Please respond to List for discussion and development of libvirt CIM <libvirt-cim@redhat.com>
To
libvirt-cim@redhat.com
cc
Subject
[Libvirt-cim] cimtest errors
FYI -
It's getting close to creating a new release and I'd like to get libvirt-cim and cimtest in sync. With the latest upstream libvirt-cim and cimtest, I'm seeing the follow unexpected[1] errors in cimtest:
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 -------------------------------------------------------------------- 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 -------------------------------------------------------------------- VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL ERROR - Exception: CreateSnapshot failed to return a CIM job inst ERROR - Failed to remove snapshot file for snapshot_vm
A very quick peek at the code shows this message occurs when one tries to add a disk device with the same names as one that already exists. This is a no-no in cim. I'll dig into the root cause tomorrow and provide an update.
[1] - I see several other typical errors that are either known issues or side-effects of a non-pristine system. Sadly, cimtest considers the default RHEL 6.1+ config not pristine and falsely fails due to some pre-configured pools. I plan to address this soon. --
Chip Vincent Open Virtualization IBM Linux Technology Center cvincent@linux.vnet.ibm.com
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim

My bad. I pulled latest cimtest in one xterm and opened a new xterm and ran cimtest from it. New xterm was pointing to an older cimtest. Ignore my earlier cimtest results. Here are the one from latest cimtest - FAIL Test Summary: FilterList - 03_create.py: FAIL VirtualSystemManagementService - 09_procrasd_persist.py: FAIL VirtualSystemManagementService - 11_define_memrasdunits.py: FAIL VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL FilterList - 03_create.py: FAIL ERROR - Caught exception: (1, u'CIM_ERR_FAILED: Failed to update device') 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 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 VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL ERROR - Exception: CreateSnapshot failed to return a CIM job inst ERROR - Failed to remove snapshot file for snapshot_vm Looks like "FilterList - 03_create.py" and "VirtualSystemManagementService - 09_procrasd_persist.py" are new failures. Regards, Sharad Mishra Open Virtualization Linux Technology Center IBM libvirt-cim-bounces@redhat.com wrote on 11/02/2011 09:43:55 AM:
Sharad Mishra/Beaverton/IBM@IBMUS Sent by: libvirt-cim-bounces@redhat.com
11/02/11 09:43 AM
Please respond to List for discussion and development of libvirt CIM <libvirt-cim@redhat.com>
To
List for discussion and development of libvirt CIM <libvirt-cim@redhat.com>
cc
Subject
Re: [Libvirt-cim] cimtest errors
I ran cimtest on a RHEL 6 machine with latest libvirt-cim and cimtests. Following 2 tests failed -
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
VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL ERROR - Exception: CreateSnapshot failed to return a CIM job inst ERROR - Failed to remove snapshot file for snapshot_vm
Will do some investigation to figure out why they are failing.
Regards, Sharad Mishra Open Virtualization Linux Technology Center IBM
libvirt-cim-bounces@redhat.com wrote on 11/01/2011 05:36:44 PM:
Chip Vincent <cvincent@linux.vnet.ibm.com> Sent by: libvirt-cim-bounces@redhat.com
11/01/11 05:36 PM
Please respond to List for discussion and development of libvirt CIM <libvirt-cim@redhat.com>
To
libvirt-cim@redhat.com
cc
Subject
[Libvirt-cim] cimtest errors
FYI -
It's getting close to creating a new release and I'd like to get libvirt-cim and cimtest in sync. With the latest upstream libvirt-cim and cimtest, I'm seeing the follow unexpected[1] errors in cimtest:
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 -------------------------------------------------------------------- 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 -------------------------------------------------------------------- VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL ERROR - Exception: CreateSnapshot failed to return a CIM job inst ERROR - Failed to remove snapshot file for snapshot_vm
A very quick peek at the code shows this message occurs when one tries to add a disk device with the same names as one that already exists. This is a no-no in cim. I'll dig into the root cause tomorrow and provide an update.
[1] - I see several other typical errors that are either known issues or side-effects of a non-pristine system. Sadly, cimtest considers the default RHEL 6.1+ config not pristine and falsely fails due to some pre-configured pools. I plan to address this soon. --
Chip Vincent Open Virtualization IBM Linux Technology Center cvincent@linux.vnet.ibm.com
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim

On 11/02/2011 03:09 PM, Sharad Mishra wrote:
My bad. I pulled latest cimtest in one xterm and opened a new xterm and ran cimtest from it. New xterm was pointing to an older cimtest. Ignore my earlier cimtest results. Here are the one from latest cimtest -
FAIL Test Summary: FilterList - 03_create.py: FAIL VirtualSystemManagementService - 09_procrasd_persist.py: FAIL VirtualSystemManagementService - 11_define_memrasdunits.py: FAIL VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL
Patch that fixesx 09 and 11 has been submitted to the list already. I have also pushed it to the 'for-review' branch of my cimtest clone in gitorious. https://www.redhat.com/archives/libvirt-cim/2011-October/msg00065.html Best regards, Eduardo -- Eduardo de Barros Lima Software Engineer, Open Virtualization Linux Technology Center - IBM/Brazil eblima@br.ibm.com

"Eduardo Lima (Etrunko)" <eblima@linux.vnet.ibm.com> 11/03/2011 05:15 AM
Please respond to eblima@br.ibm.com
To
List for discussion and development of libvirt CIM <libvirt-cim@redhat.com>
cc
Sharad Mishra/Beaverton/IBM@IBMUS
Subject
Re: [Libvirt-cim] cimtest errors
On 11/02/2011 03:09 PM, Sharad Mishra wrote:
My bad. I pulled latest cimtest in one xterm and opened a new xterm and ran cimtest from it. New xterm was pointing to an older cimtest. Ignore my earlier cimtest results. Here are the one from latest cimtest -
FAIL Test Summary: FilterList - 03_create.py: FAIL VirtualSystemManagementService - 09_procrasd_persist.py: FAIL VirtualSystemManagementService - 11_define_memrasdunits.py: FAIL
After applying Eduardo's patch for 09_ and 11_, VSMS cimtests passed. But I still see both 03_ tests from FilterList and VirtaulSystemSanpshotService failing on RHEL 6 with latest upstream libvirt-cim. -Sharad
VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL
Patch that fixesx 09 and 11 has been submitted to the list already. I have also pushed it to the 'for-review' branch of my cimtest clone in gitorious.
https://www.redhat.com/archives/libvirt-cim/2011-October/msg00065.html
Best regards, Eduardo
-- Eduardo de Barros Lima Software Engineer, Open Virtualization Linux Technology Center - IBM/Brazil eblima@br.ibm.com

On 11/03/2011 02:44 PM, Sharad Mishra wrote: [snip]
After applying Eduardo's patch for 09_ and 11_, VSMS cimtests passed. But I still see both 03_ tests from FilterList and VirtaulSystemSanpshotService failing on RHEL 6 with latest upstream libvirt-cim.
Hooray! FilterList 03 is expected, Chip is taking care of it. I will take a look on the VirtualSystemSnapshotService to see if I can find something. Best regards -- Eduardo de Barros Lima Software Engineer, Open Virtualization Linux Technology Center - IBM/Brazil eblima@br.ibm.com

"Eduardo Lima (Etrunko)" <eblima@linux.vnet.ibm.com> 11/03/2011 10:52 AM
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 errors
On 11/03/2011 02:44 PM, Sharad Mishra wrote: [snip]
After applying Eduardo's patch for 09_ and 11_, VSMS cimtests passed. But I still see both 03_ tests from FilterList and VirtaulSystemSanpshotService failing on RHEL 6 with latest upstream libvirt-cim.
Hooray! FilterList 03 is expected, Chip is taking care of it. I will take a look on the VirtualSystemSnapshotService to see if I can find something.
Yep, We are getting there. -Sharad
Best regards
-- Eduardo de Barros Lima Software Engineer, Open Virtualization Linux Technology Center - IBM/Brazil eblima@br.ibm.com
participants (4)
-
Chip Vincent
-
Eduardo Lima (Etrunko)
-
Gareth S Bestor
-
Sharad Mishra