[Libvirt-cim] [PATCH] [TEST] Adding verification for DestroySystem() of the domain

Deepti B Kalakeri deeptik at linux.vnet.ibm.com
Mon Sep 14 18:09:54 UTC 2009



Deepti B Kalakeri wrote:
>
>
> Kaitlin Rupert wrote:
>> Deepti B. Kalakeri wrote:
>>> # HG changeset patch
>>> # User Deepti B. Kalakeri <deeptik at linux.vnet.ibm.com>
>>> # Date 1252590021 14400
>>> # Node ID 53b05fc42fbc04ce45eea4a09ad84881fbcf6d3e
>>> # Parent 30196cc506c07d81642c94a01fc65b34421c0714
>>> [TEST] Adding verification for DestroySystem() of the domain.
>>>
>>> Tested with KVM and current sources on SLES11.
>>> Signed-off-by: Deepti B. Kalakeri <deeptik at linux.vnet.ibm.com>
>>>
>>> diff -r 30196cc506c0 -r 53b05fc42fbc 
>>> suites/libvirt-cim/cimtest/VirtualSystemManagementService/02_destroysystem.py 
>>>
>>
>> I get the following failure:
>>
>> Starting test suite: libvirt-cim
>> Cleaned log files.
>>
>> Testing KVM hypervisor
>> --------------------------------------------------------------------
>> VirtualSystemManagementService - 02_destroysystem.py: FAIL
>> ERROR - CS instance not returned for test_domain.
>> ERROR - RequestedState for dom 'test_domain' is not '3'
>> Referenced domain `test_domain' does not exist: Domain not found
>> Referenced domain `test_domain' does not exist: Domain not found
>> Referenced domain `test_domain' does not exist: Domain not found
>> Referenced domain `test_domain' does not exist: Domain not found
>> Referenced domain `test_domain' does not exist: Domain not found
>> Referenced domain `test_domain' does not exist: Domain not found
>> Referenced domain `test_domain' does not exist: Domain not found
>> Referenced domain `test_domain' does not exist: Domain not found
>> Referenced domain `test_domain' does not exist: Domain not found
>> Referenced domain `test_domain' does not exist: Domain not found
>> Referenced domain `test_domain' does not exist: Domain not found
>> Referenced domain `test_domain' does not exist: Domain not found
>> Referenced domain `test_domain' does not exist: Domain not found
>> Referenced domain `test_domain' does not exist: Domain not found
>> Referenced domain `test_domain' does not exist: Domain not found
>> Referenced domain `test_domain' does not exist: Domain not found
>> Referenced domain `test_domain' does not exist: Domain not found
>> Referenced domain `test_domain' does not exist: Domain not found
>> Referenced domain `test_domain' does not exist: Domain not found
>> Referenced domain `test_domain' does not exist: Domain not found
>> Referenced domain `test_domain' does not exist: Domain not found
>> Referenced domain `test_domain' does not exist: Domain not found
>> Referenced domain `test_domain' does not exist: Domain not found
>> Referenced domain `test_domain' does not exist: Domain not found
>> Referenced domain `test_domain' does not exist: Domain not found
>> Referenced domain `test_domain' does not exist: Domain not found
>> Referenced domain `test_domain' does not exist: Domain not found
>> Referenced domain `test_domain' does not exist: Domain not found
>> Referenced domain `test_domain' does not exist: Domain not found
>> Referenced domain `test_domain' does not exist: Domain not found
>> --------------------------------------------------------------------
>>
>>
>> However, the test passes for me if the patch isn't applied.
> Yes! This test fails with the changes, this is because the 
> DestroySystem() is not just destroying the domain but also undefining it.
> The VSMS/15*py tc with the new changes also fails for the same reason. 
> I am not sure if you got chance to look at the comments to "#2 Add try 
> / except to VSMS 15" patch.
> Should I make a note of this in the libvirt.org and XFAIL this test ?
>
Any further comments on this ?

-- 
Thanks and Regards,
Deepti B. Kalakeri
IBM Linux Technology Center
deeptik at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list