
Guo Lian Yun wrote:
# HG changeset patch # User Guolian Yun <yunguol@cn.ibm.com> # Date 1208767952 -28800 # Node ID 36ef9e7fdfc53a20e5a248257b57723ab8ae85dc # Parent 0d31dff13ae341fd6515dc844ee98c7b5300b71d [TEST] Update ComputerSystemIndication.01 for all three of lifecycle indications support
This test fails for me on F9. Here's the errors I see: F9 current sources: elm3b41.beaverton.ibm.com - - [25/Apr/2008 15:09:17] code 501, message Unsupported method ('GET') elm3b41.beaverton.ibm.com - - [25/Apr/2008 15:09:17] "GET /xend/node/ HTTP/1.1" 501 - ERROR - No valid indications received ERROR - Received indication error or wait too long ERROR - OSError : [Errno 3] No such process F9 release rpm: ERROR - BadStatusLine : Do you see either of these errors?
Signed-off-by: Guolian Yun <yunguol@cn.ibm.com>
diff -r 0d31dff13ae3 -r 36ef9e7fdfc5 suites/libvirt-cim/cimtest/ComputerSystemIndication/01_created_indication.py
else: + # Create domain create_using_definesystem(test_dom, options.ip, None, None, options.virt)
I know this is existing code, but we should check to make sure the create call succeeds. If it fails, and indication won't be generated and we should return an error.
+ time.sleep(10) + + # Modify mem settings + service = vsms.get_vsms_class(options.virt)(options.ip) + cxml = vxml.get_class(options.virt)(test_dom) + masd = vsms.get_masd_class(options.virt)(megabytes=nmem, name=test_dom) + service.ModifyResourceSettings(ResourceSettings=[str(masd)])
Can you catch the return here to see if the modify succeeds?
+ cxml.dumpxml(options.ip) + mem = cxml.xml_get_mem() + if mem != '%i' % (nmem * 1024): + logger.error('Error changing rs for mem') + time.sleep(10) + + # Delete domain + cxml.destroy(options.ip) + cxml.undefine(options.ip) + for i in range(0,100):
-- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com