[Libvirt-cim] [PATCH] [TEST] Fixing RPCS/10*py to work for libvirt_cim changes < 1032 revision
Sharad Mishra
snmishra at us.ibm.com
Mon May 3 16:15:39 UTC 2010
+1
Sharad Mishra
Open Virtualization
Linux Technology Center
IBM
Deepti B Kalakeri
<deeptik at linux.vn
et.ibm.com> To
Sent by: List for discussion and development
libvirt-cim-bounc of libvirt CIM
es at redhat.com <libvirt-cim at redhat.com>
cc
04/30/10 03:07 AM Subject
Re: [Libvirt-cim] [PATCH] [TEST]
Fixing RPCS/10*py to work for
Please respond to libvirt_cim changes < 1032
List for revision
discussion and
development of
libvirt CIM
<libvirt-cim at redh
at.com>
Sharad Mishra wrote:
>
> Deepti,
>
> This test is failing on rev 1032. Have you been able to find out why?
>
The test passed for me with the changes in this patch for Libvirt-CIM
1032 as well.
What error did you see ?
>
>
> Thanks
> Sharad Mishra
> Open Virtualization
> Linux Technology Center
> IBM
>
> Inactive hide details for "Deepti B. Kalakeri" ---04/26/2010 12:44:02
> AM---# HG changeset patch"Deepti B. Kalakeri" ---04/26/2010 12:44:02
> AM---# HG changeset patch
>
> *"Deepti B. Kalakeri"
> <deeptik at linux.vnet.ibm.com>*
> Sent by: libvirt-cim-bounces at redhat.com
>
> 04/26/2010 12:40 AM
> Please respond to
> List for discussion and development of libvirt
> CIM <libvirt-cim at redhat.com>
>
>
>
> To
>
> libvirt-cim at redhat.com
>
> cc
>
>
> Subject
>
> [Libvirt-cim] [PATCH] [TEST] Fixing RPCS/10*py to work for libvirt_cim
> changes < 1032 revision
>
>
>
>
> # HG changeset patch
> # User Deepti B. Kalakeri<deeptik at linux.vnet.ibm.com>
> # Date 1272267529 25200
> # Node ID 3d5bb69edc67ab8097a61cff09927fdf4c5d3f4b
> # Parent 456106b86cf4572684877cc923f3af991b4b65bb
> [TEST] Fixing RPCS/10*py to work for libvirt_cim changes < 1032 revision
>
>
> The test has been verified with KVM and libvirt-cim rpm for rev<1032
> Signed-off-by: Deepti B. Kalakeri <deeptik at linux.vnet.ibm.com>
>
> diff -r 456106b86cf4 -r 3d5bb69edc67
>
suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py
> ---
>
a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py
> Mon Mar 15 09:16:15 2010 -0400
> +++
>
b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py
> Mon Apr 26 00:38:49 2010 -0700
> @@ -45,6 +45,7 @@
>
> pool_attr = { 'Path' : _image_dir }
> vol_name = "cimtest-vol.img"
> +libvirt_stovol_instance_id=1032
>
> def get_template_rasd_from_sdc(virt, server, dp_inst_id):
> rasd = None
> @@ -231,7 +232,8 @@
> if res[0] != PASS:
> raise Exception("Failed to create the Vol %s" % vol_name)
>
> - if res[1]['Resource']['InstanceID'] != exp_vol_path:
> + if res[1]['Resource']['InstanceID'] != exp_vol_path and \
> + cim_rev >= libvirt_stovol_instance_id:
> raise Exception("Incorrect InstanceID")
> else:
> status = PASS
> @@ -252,6 +254,8 @@
>
> except Exception, details:
> logger.error("Exception details: %s", details)
> + cleanup_pool_vol(server, virt, pool_name,
> + clean_pool, exp_vol_path)
> status = FAIL
>
> return status
>
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim
--
Thanks and Regards,
Deepti B. Kalakeri
IBM Linux Technology Center
deeptik at linux.vnet.ibm.com
_______________________________________________
Libvirt-cim mailing list
Libvirt-cim at redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-cim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20100503/f8638fc7/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20100503/f8638fc7/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic13015.gif
Type: image/gif
Size: 1255 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20100503/f8638fc7/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20100503/f8638fc7/attachment-0002.gif>
More information about the Libvirt-cim
mailing list