[Libvirt-cim] [PATCH] [TEST] Fix CSI to call handle_sub, sub_ind, and poll_for_ind from ind module
Deepti B Kalakeri
deeptik at linux.vnet.ibm.com
Mon Dec 14 12:53:24 UTC 2009
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 at linux.vnet.ibm.com
More information about the Libvirt-cim
mailing list