[Libvirt-cim] Re: CimTest Report on XenFV 07-08-2008

Deepti B Kalakeri deeptik at linux.vnet.ibm.com
Thu Aug 7 11:38:10 UTC 2008



Deepti B Kalakeri wrote:
> ======================================
> CIM Test Report for XenFV
> ======================================
> Distro        : RHEL 5.2 Beta
> Kernel        : 2.6.18-88.el5xen
> Xen version   : 3.1.2-88.el5
> Libvirt       : libvirt-0.3.3-7.el5
> CIMOM         : pegasus
> PyWBEM        : pywbem-3.14
> CIM Schema    : cimv216Experimental
> LibCMPIutil   :  83
> LibVirtCIM    : 660
> CIMTEST       : 287
> ======================================
> PASS          : 114
> TOTAL FAILED  :   9 [5 test cases passed when ran manually]
> ACTUAL FAILED :   4
> XFAIL         :   3
> SKIP          :   7 [1 tc passed when run manually]
> ACTUAL SKIPPED:   6
> -------------------
> Total         : 133
> ======================================
>
> List of tc that are failing:
>
>
ComputerSystem - 06_paused_active_suspend.py: FAIL
ComputerSystem - 35_start_reset.py: FAIL

These test case are failing intermittently to execute even when the VS 
are in the valid state to be able to move to different state.
I tried inserting delay between the state transition and they passed.
For ex:
For 06_paused_active_suspend.py;

For the above tc it is valid to move the VS from RUNNING/BLOCKED to SUSPEND.
But, even though the VS was in the BLOCKED state it was failing with the 
following error when tried to SUSPEND:
ERROR   - Exception: (1, u'CIM_ERR_FAILED: Domain not running')
ERROR   - Unable to suspend dom 'DomST1' using RequestedStateChange()
InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Domain not running

I verified the EnabledState Value to be appropriately set to 2 [BLOCKED] 
before moving to SUSPEND.
I tried putting some debug statement in the Virt_ComputerSystem.c in 
state_change_pause() function:
Here is the debug msg, which shows value of *0* instead of *2*:

std_invokemethod.c(279): Method `RequestStateChange' execution attempted
std_invokemethod.c(230): Method parameter `RequestedState' validated 
type 0x90
std_invokemethod.c(230): Method parameter `TimeoutPeriod' validated type 
0x1800
std_invokemethod.c(303): Executing handler for method `RequestStateChange'
misc_util.c(72): Connecting to libvirt with uri `xen'
*Virt_ComputerSystem.c(815): Debug: info->state 0*
infostore.c(88): Path is /etc/libvirt/cim/Xen_DomST1
infostore.c(353): Creating new node reqstate=9


The other tc ComputerSystem - 35_start_reset.py also passed when a delay 
was introduced between STARTING the domain and before RESETTING .
Any thoughts what can be the proper way of fixing these tc ?
The above tc had passed when I submitted the fix last time.

ResourceAllocationFromPool - 01_forward.py: FAIL
ResourceAllocationFromPool - 02_reverse.py: FAIL

Fix for the above are under review.

Thanks and Regards,
Deepti.




More information about the Libvirt-cim mailing list