[PATCH 0 of 2] [TEST] Cleanup XFAIL tests.

# HG changeset patch # User Kaitlin Rupert <karupert@us.ibm.com> # Date 1211404094 25200 # Node ID 471755570c60cb47caa18d3c2f2b609cdd0e37bc # Parent f8e46a162b44e421f2638035aa98f8861f846455 [TEST] Remove stale bug numbers. These bug numbers were in the suite before the suite went open. These are being replaced with bug numbers defined on the libvirt wiki. Signed-off-by: Kaitlin Rupert <karupert@us.ibm.com> diff -r f8e46a162b44 -r 471755570c60 suites/libvirt-cim/cimtest/ComputerSystem/05_activate_defined_start.py --- a/suites/libvirt-cim/cimtest/ComputerSystem/05_activate_defined_start.py Wed May 21 05:34:39 2008 -0700 +++ b/suites/libvirt-cim/cimtest/ComputerSystem/05_activate_defined_start.py Wed May 21 14:08:14 2008 -0700 @@ -53,7 +53,7 @@ sup_types = ['Xen', 'KVM', 'XenFV'] test_dom = "DomST1" mem = 128 # MB -bug_no = "85769" +bug_no = "00002" START_STATE = 3 FINAL_STATE = 2 REQUESTED_STATE = FINAL_STATE diff -r f8e46a162b44 -r 471755570c60 suites/libvirt-cim/cimtest/ComputerSystem/06_paused_active_suspend.py --- a/suites/libvirt-cim/cimtest/ComputerSystem/06_paused_active_suspend.py Wed May 21 05:34:39 2008 -0700 +++ b/suites/libvirt-cim/cimtest/ComputerSystem/06_paused_active_suspend.py Wed May 21 14:08:14 2008 -0700 @@ -56,7 +56,7 @@ mem = 128 # MB # Keeping the bug no for future reference # bug_no_req_change_method = "90559" -bug_no_req_change_prop = "85769" +bug_no_req_change_prop = "00002" START_STATE = 2 FINAL_STATE = 9 REQUESTED_STATE = FINAL_STATE diff -r f8e46a162b44 -r 471755570c60 suites/libvirt-cim/cimtest/ComputerSystem/23_suspend_suspend.py --- a/suites/libvirt-cim/cimtest/ComputerSystem/23_suspend_suspend.py Wed May 21 05:34:39 2008 -0700 +++ b/suites/libvirt-cim/cimtest/ComputerSystem/23_suspend_suspend.py Wed May 21 14:08:14 2008 -0700 @@ -52,7 +52,7 @@ ACTIVE_STATE = 2 SUSPND_STATE = 9 -bug = "91410" +bug = "00001" default_dom = 'test_domain' TIME = "00000000000000.000000:000" diff -r f8e46a162b44 -r 471755570c60 suites/libvirt-cim/cimtest/ComputerSystem/32_start_reboot.py --- a/suites/libvirt-cim/cimtest/ComputerSystem/32_start_reboot.py Wed May 21 05:34:39 2008 -0700 +++ b/suites/libvirt-cim/cimtest/ComputerSystem/32_start_reboot.py Wed May 21 14:08:14 2008 -0700 @@ -51,7 +51,7 @@ ACTIVE_STATE = 2 REBOOT_STATE = 10 -bug = "91410" +bug = "00001" default_dom = 'test_domain' TIME = "00000000000000.000000:000" diff -r f8e46a162b44 -r 471755570c60 suites/libvirt-cim/cimtest/ComputerSystem/33_suspend_reboot.py --- a/suites/libvirt-cim/cimtest/ComputerSystem/33_suspend_reboot.py Wed May 21 05:34:39 2008 -0700 +++ b/suites/libvirt-cim/cimtest/ComputerSystem/33_suspend_reboot.py Wed May 21 14:08:14 2008 -0700 @@ -54,7 +54,7 @@ SUSPND_STATE = 9 REBOOT_STATE = 10 -bug = "91410" +bug = "00001" default_dom = 'test_domain' TIME = "00000000000000.000000:000" diff -r f8e46a162b44 -r 471755570c60 suites/libvirt-cim/cimtest/ComputerSystem/35_start_reset.py --- a/suites/libvirt-cim/cimtest/ComputerSystem/35_start_reset.py Wed May 21 05:34:39 2008 -0700 +++ b/suites/libvirt-cim/cimtest/ComputerSystem/35_start_reset.py Wed May 21 14:08:14 2008 -0700 @@ -52,7 +52,7 @@ ACTIVE_STATE = 2 RESET_STATE = 11 -bug = "91410" +bug = "00001" default_dom = 'test_domain' TIME = "00000000000000.000000:000" diff -r f8e46a162b44 -r 471755570c60 suites/libvirt-cim/cimtest/ComputerSystem/40_RSC_start.py --- a/suites/libvirt-cim/cimtest/ComputerSystem/40_RSC_start.py Wed May 21 05:34:39 2008 -0700 +++ b/suites/libvirt-cim/cimtest/ComputerSystem/40_RSC_start.py Wed May 21 14:08:14 2008 -0700 @@ -43,7 +43,7 @@ from CimTest.ReturnCodes import PASS, FAIL, XFAIL_RC sup_types = ['Xen', 'KVM', 'XenFV'] -bug = "91410" +bug = "00001" default_dom = 'test_domain' REQUESTED_STATE = 2

# HG changeset patch # User Kaitlin Rupert <karupert@us.ibm.com> # Date 1211403918 25200 # Node ID d1fa24f720402a3fb1263e4f7f93556579e450dd # Parent 471755570c60cb47caa18d3c2f2b609cdd0e37bc [TEST] Remove XFAIL from tests that aren't failing due to a provider bug. This change will cause VirtualSystemManagementService 08_modifyresource.py to fail. This is because the test is attempting to modify the mac address of the network adapter, which isn't a valid attribute to modify. Will follow-up with a patch to fix this issue. Signed-off-by: Kaitlin Rupert <karupert@us.ibm.com> diff -r 471755570c60 -r d1fa24f72040 suites/libvirt-cim/cimtest/NetworkPort/01_netport.py --- a/suites/libvirt-cim/cimtest/NetworkPort/01_netport.py Wed May 21 14:08:14 2008 -0700 +++ b/suites/libvirt-cim/cimtest/NetworkPort/01_netport.py Wed May 21 14:05:18 2008 -0700 @@ -45,8 +45,6 @@ test_dom = "test_domain" test_mac = "00:11:22:33:44:55" -bug = "90844" - @do_main(sup_types) def main(): options = main.options @@ -69,7 +67,7 @@ except Exception, detail: logger.error("Exception: %s" % detail) vsxml.undefine(options.ip) - return XFAIL_RC(bug) + return FAIL if dev.DeviceID == None: logger.error("Error retrieving instance for devid %s" % devid) diff -r 471755570c60 -r d1fa24f72040 suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/05_AddResourcesToResourcePool.py --- a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/05_AddResourcesToResourcePool.py Wed May 21 14:08:14 2008 -0700 +++ b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/05_AddResourcesToResourcePool.py Wed May 21 14:05:18 2008 -0700 @@ -53,8 +53,8 @@ from CimTest.Globals import do_main, platform_sup from XenKvmLib.classes import get_typed_class -cim_errno = pywbem.CIM_ERR_NOT_SUPPORTED -cim_desc = "The requested operation is not supported" +cim_errno = pywbem.CIM_ERR_FAILED +cim_desc = "Unknown Method" cim_mname = "AddResourcesToResourcePool" bug = 92173 @@ -74,6 +74,7 @@ else: logger.error("Unexpected rc code %s and description %s\n" \ %(err_no, desc)) + print desc return XFAIL_RC(bug) logger.error("The execution should not have reached here!!") diff -r 471755570c60 -r d1fa24f72040 suites/libvirt-cim/cimtest/VirtualSystemManagementService/08_modifyresource.py --- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/08_modifyresource.py Wed May 21 14:08:14 2008 -0700 +++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/08_modifyresource.py Wed May 21 14:05:18 2008 -0700 @@ -39,7 +39,6 @@ nmem = 78 bug_cpu = '90079' -bug_net = '90853' @do_main(sup_types) def main(): @@ -94,7 +93,7 @@ except Exception, details: logger.error('Error invoking ModifyRS') logger.error(details) - return XFAIL_RC(bug_net) + return FAIL cxml.undefine(options.ip) if rc == -1:

+1 -- Dan Smith IBM Linux Technology Center Open Hypervisor Team email: danms@us.ibm.com
participants (2)
-
Dan Smith
-
Kaitlin Rupert