<html><body>
<p>+1<br>
<br>
Sharad Mishra<br>
Open Virtualization<br>
Linux Technology Center<br>
IBM<br>
<br>
<img width="16" height="16" src="cid:1__=08BBFD8BDFCACD528f9e8a93df938@us.ibm.com" border="0" alt="Inactive hide details for Deepti B Kalakeri ---04/30/2010 03:09:29 AM---Sharad Mishra wrote:"><font color="#424282">Deepti B Kalakeri ---04/30/2010 03:09:29 AM---Sharad Mishra wrote:</font><br>
<br>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td style="background-image:url(cid:2__=08BBFD8BDFCACD528f9e8a93df938@us.ibm.com); background-repeat: no-repeat; " width="40%">
<ul>
<ul>
<ul>
<ul><b><font size="2">Deepti B Kalakeri <deeptik@linux.vnet.ibm.com></font></b><font size="2"> </font><br>
<font size="2">Sent by: libvirt-cim-bounces@redhat.com</font>
<p><font size="2">04/30/10 03:07 AM</font>
<table border="1">
<tr valign="top"><td width="168" bgcolor="#FFFFFF"><div align="center"><font size="2">Please respond to<br>
List for discussion and development of libvirt CIM      <libvirt-cim@redhat.com></font></div></td></tr>
</table>
</ul>
</ul>
</ul>
</ul>
</td><td width="60%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:3__=08BBFD8BDFCACD528f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<div align="right"><font size="2">To</font></div></td><td width="100%"><img width="1" height="1" src="cid:3__=08BBFD8BDFCACD528f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">List for discussion and development of libvirt CIM <libvirt-cim@redhat.com></font></td></tr>

<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:3__=08BBFD8BDFCACD528f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<div align="right"><font size="2">cc</font></div></td><td width="100%"><img width="1" height="1" src="cid:3__=08BBFD8BDFCACD528f9e8a93df938@us.ibm.com" border="0" alt=""><br>
</td></tr>

<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:3__=08BBFD8BDFCACD528f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<div align="right"><font size="2">Subject</font></div></td><td width="100%"><img width="1" height="1" src="cid:3__=08BBFD8BDFCACD528f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">Re: [Libvirt-cim] [PATCH] [TEST] Fixing RPCS/10*py to work for libvirt_cim changes <  1032 revision</font></td></tr>
</table>

<table border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="58"><img width="1" height="1" src="cid:3__=08BBFD8BDFCACD528f9e8a93df938@us.ibm.com" border="0" alt=""></td><td width="336"><img width="1" height="1" src="cid:3__=08BBFD8BDFCACD528f9e8a93df938@us.ibm.com" border="0" alt=""></td></tr>
</table>
</td></tr>
</table>
<br>
<tt><br>
<br>
Sharad Mishra wrote:<br>
><br>
> Deepti,<br>
><br>
> This test is failing on rev 1032. Have you been able to find out why?<br>
><br>
The test passed for me with the changes in this patch for Libvirt-CIM <br>
1032 as well.<br>
What error did you see ?<br>
><br>
><br>
> Thanks<br>
> Sharad Mishra<br>
> Open Virtualization<br>
> Linux Technology Center<br>
> IBM<br>
><br>
> Inactive hide details for "Deepti B. Kalakeri" ---04/26/2010 12:44:02 <br>
> AM---# HG changeset patch"Deepti B. Kalakeri" ---04/26/2010 12:44:02 <br>
> AM---# HG changeset patch<br>
><br>
>                         *"Deepti B. Kalakeri"<br>
>                         <deeptik@linux.vnet.ibm.com>*<br>
>                         Sent by: libvirt-cim-bounces@redhat.com<br>
><br>
>                         04/26/2010 12:40 AM<br>
>                         Please respond to<br>
>                         List for discussion and development of libvirt<br>
>                         CIM <libvirt-cim@redhat.com><br>
><br>
>             <br>
><br>
> To<br>
>             <br>
> libvirt-cim@redhat.com<br>
><br>
> cc<br>
>             <br>
><br>
> Subject<br>
>             <br>
> [Libvirt-cim] [PATCH] [TEST] Fixing RPCS/10*py to work for libvirt_cim <br>
> changes < 1032 revision<br>
><br>
>             <br>
><br>
><br>
> # HG changeset patch<br>
> # User Deepti B. Kalakeri<deeptik@linux.vnet.ibm.com><br>
> # Date 1272267529 25200<br>
> # Node ID 3d5bb69edc67ab8097a61cff09927fdf4c5d3f4b<br>
> # Parent  456106b86cf4572684877cc923f3af991b4b65bb<br>
> [TEST] Fixing RPCS/10*py to work for libvirt_cim changes < 1032 revision<br>
><br>
><br>
> The test has been verified with KVM and libvirt-cim rpm for rev<1032<br>
> Signed-off-by: Deepti B. Kalakeri <deeptik@linux.vnet.ibm.com><br>
><br>
> diff -r 456106b86cf4 -r 3d5bb69edc67 <br>
> suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py<br>
> --- <br>
> a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py <br>
> Mon Mar 15 09:16:15 2010 -0400<br>
> +++ <br>
> b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py <br>
> Mon Apr 26 00:38:49 2010 -0700<br>
> @@ -45,6 +45,7 @@<br>
><br>
> pool_attr = { 'Path' : _image_dir }<br>
> vol_name = "cimtest-vol.img"<br>
> +libvirt_stovol_instance_id=1032<br>
><br>
> def get_template_rasd_from_sdc(virt, server, dp_inst_id):<br>
>     rasd = None<br>
> @@ -231,7 +232,8 @@<br>
>             if res[0] != PASS:<br>
>                 raise Exception("Failed to create the Vol %s" % vol_name)<br>
><br>
> -            if res[1]['Resource']['InstanceID'] != exp_vol_path:<br>
> +            if res[1]['Resource']['InstanceID'] != exp_vol_path and \<br>
> +               cim_rev >= libvirt_stovol_instance_id:<br>
>                 raise Exception("Incorrect InstanceID")<br>
>             else:<br>
>                 status = PASS<br>
> @@ -252,6 +254,8 @@<br>
>        <br>
>         except Exception, details:<br>
>             logger.error("Exception details: %s", details)<br>
> +            cleanup_pool_vol(server, virt, pool_name,<br>
> +                             clean_pool, exp_vol_path)<br>
>             status = FAIL<br>
><br>
>     return status<br>
><br>
> _______________________________________________<br>
> Libvirt-cim mailing list<br>
> Libvirt-cim@redhat.com<br>
> </tt><tt><a href="https://www.redhat.com/mailman/listinfo/libvirt-cim">https://www.redhat.com/mailman/listinfo/libvirt-cim</a></tt><tt><br>
><br>
> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> Libvirt-cim mailing list<br>
> Libvirt-cim@redhat.com<br>
> </tt><tt><a href="https://www.redhat.com/mailman/listinfo/libvirt-cim">https://www.redhat.com/mailman/listinfo/libvirt-cim</a></tt><tt><br>
<br>
-- <br>
Thanks and Regards,<br>
Deepti B. Kalakeri<br>
IBM Linux Technology Center<br>
deeptik@linux.vnet.ibm.com<br>
<br>
_______________________________________________<br>
Libvirt-cim mailing list<br>
Libvirt-cim@redhat.com<br>
</tt><tt><a href="https://www.redhat.com/mailman/listinfo/libvirt-cim">https://www.redhat.com/mailman/listinfo/libvirt-cim</a></tt><tt><br>
</tt><br>
</body></html>