This test gives a false positive:
Starting test suite: libvirt-cim
Cleaned log files.
Testing KVM hypervisor
--------------------------------------------------------------------
ComputerSystemIndication - 01_created_indication.py: PASS
--------------------------------------------------------------------
[cimtest]# cat
suites/libvirt-cim/cimtest/ComputerSystemIndication/cimtest.log Mon, 14
Dec 2009 04:47:48:TEST LOG:INFO - ====01_created_indication.py Log====
Mon, 14 Dec 2009 04:47:48:TEST LOG:INFO - Watching for
ComputerSystemDeletedIndication
Mon, 14 Dec 2009 04:47:49:TEST LOG:INFO - Watching for
ComputerSystemModifiedIndication
Mon, 14 Dec 2009 04:47:49:TEST LOG:INFO - Watching for
ComputerSystemCreatedIndication
Mon, 14 Dec 2009 04:47:49:TEST LOG:ERROR - Got CIM error
CIM_ERR_NOT_FOUND: Referenced domain `domU' does not exist: Domain not
found with return code 6
Mon, 14 Dec 2009 04:47:49:TEST LOG:ERROR - Unable to destroy domU
Mon, 14 Dec 2009 04:47:49:TEST LOG:ERROR - Exception: Unable to generate
indication
Mon, 14 Dec 2009 04:47:49:TEST LOG:ERROR - Failed to start domain: domU
Mon, 14 Dec 2009 04:47:49:TEST LOG:ERROR - Exception: Unable to generate
indication
Mon, 14 Dec 2009 04:47:49:TEST LOG:INFO - Cancelling subscription for
KVM_ComputerSystemCreatedIndication
Mon, 14 Dec 2009 04:47:49:TEST LOG:INFO - Great, got 'define' indication
successfully
Mon, 14 Dec 2009 04:48:20:TEST LOG:INFO - Cancelling subscription for
KVM_ComputerSystemDeletedIndication
Mon, 14 Dec 2009 04:48:20:TEST LOG:INFO - Cancelling subscription for
KVM_ComputerSystemCreatedIndication
Mon, 14 Dec 2009 04:48:20:TEST LOG:INFO - Cancelling subscription for
KVM_ComputerSystemModifiedIndication
The test needs to fail as there is an exception while destroying the
domain. The order in which the define, destroy, start is not proper
because of which the test fails.
--
Thanks and Regards,
Deepti B. Kalakeri
IBM Linux Technology Center
deeptik(a)linux.vnet.ibm.com