From kaitlin at linux.vnet.ibm.com Thu Oct 1 17:36:18 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 01 Oct 2009 17:36:18 -0000 Subject: [Libvirt-cim] [PATCH] [TEST] #3 Add try / except to VSMS 15 Message-ID: <34e7c36ffd8acbb3d5ae.1254418578@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1252002019 25200 # Node ID 34e7c36ffd8acbb3d5ae5b60653e646f40a1793d # Parent 215cbc24f8f95f95543a24ecc7e3b1d80594ecdd [TEST] #3 Add try / except to VSMS 15 Tested on Fedora 11 with KVM This will catch any unexpected exceptions. Otherwise, the exception isn't caught and the guest may not be properly undefined Updates from 2 to 3: -Replace cxml.start() with cxml.cim_start() -Don't attempt to undefine the guest after calling cim_destroy(), since DestroySystem() also does an undefine Updates from 1 to 2: -Fix Exception() calls to use % instead of a , when specifying arguments -Remove import of default_network_name -Replace destroy() with cim_destroy() Signed-off-by: Kaitlin Rupert diff -r 215cbc24f8f9 -r 34e7c36ffd8a suites/libvirt-cim/cimtest/VirtualSystemManagementService/15_mod_system_settings.py --- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/15_mod_system_settings.py Tue Sep 22 14:32:25 2009 -0700 +++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/15_mod_system_settings.py Thu Sep 03 11:20:19 2009 -0700 @@ -26,11 +26,12 @@ from XenKvmLib import vxml from CimTest.Globals import logger from CimTest.ReturnCodes import PASS, FAIL, XFAIL_RC -from XenKvmLib.const import do_main, default_network_name +from XenKvmLib.const import do_main, CIM_DISABLE from XenKvmLib.classes import get_typed_class, inst_to_mof from XenKvmLib.enumclass import GetInstance from XenKvmLib.common_util import poll_for_state_change from XenKvmLib.const import get_provider_version +from XenKvmLib.xm_virt_util import domain_list, active_domain_list sup_types = ['Xen', 'KVM', 'XenFV', 'LXC'] default_dom = 'rstest_domain' @@ -42,10 +43,6 @@ libvirt_f9_revision=613 libvirt_modify_setting_changes = 694 -def cleanup_env(ip, cxml): - cxml.cim_destroy(ip) - cxml.undefine(ip) - def get_vssd(ip, virt, get_cim_inst): cn = get_typed_class(virt, "VirtualSystemSettingData") inst = None @@ -74,72 +71,75 @@ cxml = vxml.get_class(options.virt)(default_dom, vcpus=cpu) service = vsms.get_vsms_class(options.virt)(options.ip) - for case in test_cases: - #Each time through, define guest using a default XML - cxml.undefine(options.ip) - cxml = vxml.get_class(options.virt)(default_dom, vcpus=cpu) - ret = cxml.cim_define(options.ip) - if not ret: - logger.error("Failed to define the dom: %s", default_dom) - cleanup_env(options.ip, cxml) - return FAIL + try: - if case == "start": - ret = cxml.start(options.ip) + for case in test_cases: + #Each time through, define guest using a default XML + cxml.undefine(options.ip) + cxml = vxml.get_class(options.virt)(default_dom, vcpus=cpu) + ret = cxml.cim_define(options.ip) if not ret: - logger.error("Failed to start %s", default_dom) - cleanup_env(options.ip, cxml) - return FAIL + raise Exception("Failed to define the dom: %s" % default_dom) - status, inst = get_vssd(options.ip, options.virt, True) - if status != PASS: - logger.error("Failed to get the VSSD instance for %s", default_dom) - cleanup_env(options.ip, cxml) - return FAIL + if case == "start": + ret = cxml.cim_start(options.ip) + if ret: + raise Exception("Failed to start %s" % default_dom) - inst['AutomaticRecoveryAction'] = pywbem.cim_types.Uint16(RECOVERY_VAL) - vssd = inst_to_mof(inst) + status, inst = get_vssd(options.ip, options.virt, True) + if status != PASS: + raise Expcetion("Failed to get the VSSD instance for %s" % \ + default_dom) - ret = service.ModifySystemSettings(SystemSettings=vssd) - curr_cim_rev, changeset = get_provider_version(options.virt, options.ip) - if curr_cim_rev >= libvirt_modify_setting_changes: - if ret[0] != 0: - logger.error("Failed to modify dom: %s", default_dom) - cleanup_env(options.ip, cxml) - return FAIL + val = pywbem.cim_types.Uint16(RECOVERY_VAL) + inst['AutomaticRecoveryAction'] = val + vssd = inst_to_mof(inst) - if case == "start": - #This should be replaced with a RSC to shutdownt he guest - cxml.destroy(options.ip) - status, cs = poll_for_state_change(options.ip, options.virt, - default_dom, DEFINED_STATE) + ret = service.ModifySystemSettings(SystemSettings=vssd) + curr_cim_rev, changeset = get_provider_version(options.virt, + options.ip) + if curr_cim_rev >= libvirt_modify_setting_changes: + if ret[0] != 0: + raise Exception("Failed to modify dom: %s" % default_dom) + + if case == "start": + status = cxml.cim_disable(options.ip) + if status != PASS: + raise Exception("Failed to disable %s" % default_dom) + + status, cs = poll_for_state_change(options.ip, options.virt, + default_dom, CIM_DISABLE) + if status != PASS: + raise Exception("Failed to destroy %s" % default_dom) + + status, inst = get_vssd(options.ip, options.virt, False) if status != PASS: - logger.error("Failed to destroy %s", default_dom) - cleanup_env(options.ip, cxml) - return FAIL + raise Exception("Failed to get the VSSD instance for %s" % \ + default_dom) - status, inst = get_vssd(options.ip, options.virt, False) - if status != PASS: - logger.error("Failed to get the VSSD instance for %s", default_dom) - cleanup_env(options.ip, cxml) - return FAIL + if inst.AutomaticRecoveryAction != RECOVERY_VAL: + logger.error("Exp AutomaticRecoveryAction=%d, got %d", + RECOVERY_VAL, inst.AutomaticRecoveryAction) + raise Exception("%s not updated properly" % default_dom) - if inst.AutomaticRecoveryAction != RECOVERY_VAL: - logger.error("%s not updated properly.", default_dom) - logger.error("Exp AutomaticRecoveryAction=%d, got %d", RECOVERY_VAL, - inst.AutomaticRecoveryAction) - cleanup_env(options.ip, cxml) - curr_cim_rev, changeset = get_provider_version(options.virt, options.ip) - if curr_cim_rev <= libvirt_f9_revision and options.virt == "KVM": - return XFAIL_RC(f9_bug) + status = PASS - if options.virt == "LXC": - return XFAIL_RC(bug) - return FAIL + except Exception, details: + logger.error(details) + status = FAIL - cleanup_env(options.ip, cxml) + defined_domains = domain_list(options.ip, options.virt) + if default_dom in defined_domains: + cxml.cim_destroy(options.ip) - return PASS + curr_cim_rev, changeset = get_provider_version(options.virt, options.ip) + if curr_cim_rev <= libvirt_f9_revision and options.virt == "KVM": + return XFAIL_RC(f9_bug) + + if options.virt == "LXC": + return XFAIL_RC(bug) + + return status if __name__ == "__main__": sys.exit(main()) From kaitlin at linux.vnet.ibm.com Thu Oct 1 21:45:17 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 01 Oct 2009 14:45:17 -0700 Subject: [Libvirt-cim] [PATCH] [TEST] Add timestamps to main.py to calculate run time of tests In-Reply-To: <4AAA3E32.3030003@linux.vnet.ibm.com> References: <2d852ba88fd24102ec98.1252022739@elm3b151.beaverton.ibm.com> <4AAA3E32.3030003@linux.vnet.ibm.com> Message-ID: <4AC522ED.6050505@linux.vnet.ibm.com> Sorry for the slow response on this. >> + >> + testsuite.debug(" Execution time: %sh %smin %ssec %smsec" % >> + (h, m, s, msec)) > You can remove the blank space from the above log, so that the message > is aligned with the test case log messages. Is it alright if I leave it as is? I actually prefer it that way, as I think it makes it easier to read. But if you think it's too busy, I can remove the spaces. > You can also include some delimiters between the time values to make > more clear, also we can print the hr , min, sec in H, MIN, SEC would be > good. > something like this: > > testsuite.debug(" ---------------------------") Oh funny, I also think this makes it more difficult to read. > testsuite.debug("Execution time: %sh | %smin |%ssec |%smsec|" % > (h, m, s, msec)) I really like this though. How about I include this change and once its in stream, we can get feedback about how readable it is. Maybe other people can chime in. > > This will print the information in the following format. > Starting test suite: libvirt-cim > > -------------------------------------------------------------------- > ComputerSystem - 04_defineStartVS.py: PASS > --------------------------- > Execution time: 0H | 0MIN |1SEC |638MSEC| > -------------------------------------------------------------------- > > Total test execution: > --------------------------- > Execution time: 0H | 0MIN |1SEC |638MSEC| > Testing KVM hypervisor > -------------------------------------------------------------------- > ComputerSystem - 04_defineStartVS.py: PASS > --------------------------- > Execution time: 0h | 0min |1sec |663msec| > -------------------------------------------------------------------- > > Total test execution: > --------------------------- > Execution time: 0h | 0min |1sec |663msec| > > Do we require milliseconds information ? I'd like to keep the milliseconds for now. It's probably not needed, but it can always be removed later on. > Can we print the total time as part of the Summary information in the > test run report, otherwise we will have to go to the bottom of the > results to know the total time details. > Excellent idea - I will add that as well. -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Thu Oct 1 18:19:34 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 01 Oct 2009 18:19:34 -0000 Subject: [Libvirt-cim] [PATCH] [TEST] #2 Add timestamps to main.py to calculate run time of tests Message-ID: # HG changeset patch # User Kaitlin Rupert # Date 1254421148 25200 # Node ID d7e6caafb254ada1c41307ed218e753f781cf512 # Parent e627b9efe5ebdb776baef0c504706fb03d1ac0e0 [TEST] #2 Add timestamps to main.py to calculate run time of tests Updates: -Add deliniation between mins, sec, etc. -Add total execution time to top of test report These changes allow the user to specify the --print-exec-time flag, which will print the execution time of each test. If this flag isn't specified, the total run time of the test is still printed. Signed-off-by: Kaitlin Rupert diff -r e627b9efe5eb -r d7e6caafb254 suites/libvirt-cim/lib/XenKvmLib/reporting.py --- a/suites/libvirt-cim/lib/XenKvmLib/reporting.py Thu Oct 01 10:37:39 2009 -0700 +++ b/suites/libvirt-cim/lib/XenKvmLib/reporting.py Thu Oct 01 11:19:08 2009 -0700 @@ -125,7 +125,9 @@ fd = open(log_file, "r") + exec_time = "Unknown" run_output = "" + for line in fd.xreadlines(): for type, val in rvals.iteritems(): if type in line: @@ -133,11 +135,14 @@ continue rvals[type] += 1 tstr[type] += "%s" % line + + if line.find("Total test execution") >= 0: + exec_time = line run_output += line fd.close() - return rvals, tstr, run_output + return rvals, tstr, run_output, exec_time def build_report_body(rvals, tstr, div): results = "" @@ -168,13 +173,13 @@ divider = "=================================================\n" - rvals, tstr, run_output = parse_run_output(log_file) + rvals, tstr, run_output, exec_time = parse_run_output(log_file) res, res_total, test_block = build_report_body(rvals, tstr, divider) - report = divider + heading + "\n" + divider + sys_env + divider + res \ - + res_total + divider + test_block + "Full report:\n" \ - + run_output + report = divider + heading + "\n" + divider + sys_env + exec_time \ + + divider + res + res_total + divider + test_block \ + + "Full report:\n" + run_output fd = open(log_file, "w") rc = fd.write(report) diff -r e627b9efe5eb -r d7e6caafb254 suites/libvirt-cim/main.py --- a/suites/libvirt-cim/main.py Thu Oct 01 10:37:39 2009 -0700 +++ b/suites/libvirt-cim/main.py Thu Oct 01 11:19:08 2009 -0700 @@ -22,6 +22,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +from time import time from optparse import OptionParser import os import sys @@ -64,6 +65,9 @@ help="Duplicate the output to stderr") parser.add_option("--report", dest="report", help="Send report using mail info: --report=") +parser.add_option("--print-exec-time", action="store_true", + dest="print_exec_time", + help="Print execution time of each test") TEST_SUITE = 'cimtest' CIMTEST_RCFILE = '%s/.cimtestrc' % os.environ['HOME'] @@ -146,6 +150,30 @@ return PASS +def print_exec_time(testsuite, exec_time, prefix=None): + + #Convert run time from seconds to hours + tmp = exec_time / (60 * 60) + h = int(tmp) + + #Subtract out hours and convert remainder to minutes + tmp = (tmp - h) * 60 + m = int(tmp) + + #Subtract out minutes and convert remainder to seconds + tmp = (tmp - m) * 60 + s = int(tmp) + + #Subtract out seconds and convert remainder to milliseconds + tmp = (tmp - s) * 1000 + msec = int(tmp) + + if prefix is None: + prefix = " " + + testsuite.debug("%s %sh | %smin | %ssec | %smsec" % + (prefix, h, m, s, msec)) + def main(): (options, args) = parser.parse_args() to_addr = None @@ -213,6 +241,8 @@ print "\nTesting " + options.virt + " hypervisor" + test_run_time_total = 0 + for test in test_list: testsuite.debug(div) t_path = os.path.join(TEST_SUITE, test['group']) @@ -222,13 +252,24 @@ options.virt, dbg, options.t_url) cmd = cdto + ' && ' + ' ' + run + start_time = time() status, output = commands.getstatusoutput(cmd) + end_time = time() os_status = os.WEXITSTATUS(status) testsuite.print_results(test['group'], test['test'], os_status, output) + exec_time = end_time - start_time + test_run_time_total = test_run_time_total + exec_time + + if options.print_exec_time: + print_exec_time(testsuite, exec_time, " Test execution time:") + testsuite.debug("%s\n" % div) + print_exec_time(testsuite, test_run_time_total, "Total test execution:") + testsuite.debug("\n") + testsuite.finish() status = cleanup_env(options.ip, options.virt) From pratyusha.d at in.ibm.com Thu Oct 1 22:32:59 2009 From: pratyusha.d at in.ibm.com (Pratyusha Doddapaneni1) Date: Fri, 2 Oct 2009 04:02:59 +0530 Subject: [Libvirt-cim] AUTO: Pratyusha Doddapaneni1 is out of the office (returning 10/04/2009) Message-ID: I am out of the office until 10/04/2009. Note: This is an automated response to your message "[Libvirt-cim] [PATCH] [TEST] #3 Add try / except to VSMS 15" sent on 10/1/09 23:06:18. This is the only notification you will receive while this person is away. From kaitlin at linux.vnet.ibm.com Fri Oct 2 21:39:53 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 2 Oct 2009 17:39:53 -0400 Subject: [Libvirt-cim] Test Run Summary (Oct 02 2009): Xen on Red Hat Enterprise Linux Server release 5.4 (Tikanga) with Pegasus Message-ID: <200910022139.n92LdrfH007244@d01av04.pok.ibm.com> ================================================= Test Run Summary (Oct 02 2009): Xen on Red Hat Enterprise Linux Server release 5.4 (Tikanga) with Pegasus ================================================= Distro: Red Hat Enterprise Linux Server release 5.4 (Tikanga) Kernel: 2.6.18-164.el5xen libvirt: 0.6.3 Hypervisor: Xen 3.1.0 CIMOM: Pegasus 2.7.2 Libvirt-cim revision: 853 Libvirt-cim changeset: 8bb1100e5bd2 Cimtest revision: 790 Cimtest changeset: d7e6caafb254 Total test execution: 0h | 11min | 41sec | 761msec ================================================= FAIL : 18 XFAIL : 3 SKIP : 12 PASS : 142 ----------------- Total : 175 ================================================= FAIL Test Summary: ComputerSystem - 34_start_disable.py: FAIL ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: FAIL ResourcePoolConfigurationService - 07_DeleteResourcePool.py: FAIL ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: FAIL ResourcePoolConfigurationService - 10_create_storagevolume.py: FAIL ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: FAIL ResourcePoolConfigurationService - 13_delete_storagevolume.py: FAIL ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: FAIL VSSD - 05_set_uuid.py: FAIL VirtualSystemManagementService - 06_addresource.py: FAIL VirtualSystemManagementService - 14_define_sys_disk.py: FAIL VirtualSystemManagementService - 15_mod_system_settings.py: FAIL VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: FAIL VirtualSystemMigrationService - 01_migratable_host.py: FAIL VirtualSystemMigrationService - 02_host_migrate_type.py: FAIL VirtualSystemMigrationService - 06_remote_live_migration.py: FAIL VirtualSystemMigrationService - 07_remote_offline_migration.py: FAIL VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: FAIL ================================================= XFAIL Test Summary: ComputerSystem - 33_suspend_reboot.py: XFAIL VirtualSystemManagementService - 16_removeresource.py: XFAIL VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL ================================================= SKIP Test Summary: ComputerSystem - 02_nosystems.py: SKIP LogicalDisk - 02_nodevs.py: SKIP NetworkPort - 03_user_netport.py: SKIP RASD - 06_parent_net_pool.py: SKIP RASD - 07_parent_disk_pool.py: SKIP RASDIndications - 01_guest_states_rasd_ind.py: SKIP RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: SKIP ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP ResourcePoolConfigurationService - 09_DeleteDiskPool.py: SKIP ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: SKIP VSSD - 06_duplicate_uuid.py: SKIP VirtualSystemManagementService - 20_verify_vnc_password.py: SKIP ================================================= Full report: -------------------------------------------------------------------- AllocationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- AllocationCapabilities - 02_alloccap_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 01_enum.py: PASS -------------------------------------------------------------------- ComputerSystem - 02_nosystems.py: SKIP -------------------------------------------------------------------- ComputerSystem - 03_defineVS.py: PASS -------------------------------------------------------------------- ComputerSystem - 04_defineStartVS.py: PASS -------------------------------------------------------------------- ComputerSystem - 05_activate_defined_start.py: PASS -------------------------------------------------------------------- ComputerSystem - 06_paused_active_suspend.py: PASS -------------------------------------------------------------------- ComputerSystem - 22_define_suspend.py: PASS -------------------------------------------------------------------- ComputerSystem - 23_pause_pause.py: PASS -------------------------------------------------------------------- ComputerSystem - 27_define_pause_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 32_start_reboot.py: PASS -------------------------------------------------------------------- ComputerSystem - 33_suspend_reboot.py: XFAIL ERROR - Got CIM error CIM_ERR_NOT_SUPPORTED: State not supported with return code 7 ERROR - Exception: Unable Suspend dom 'test_domain' InvokeMethod(RequestStateChange): CIM_ERR_NOT_SUPPORTED: State not supported Bug:<00012> -------------------------------------------------------------------- ComputerSystem - 34_start_disable.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Exception: Unable disable dom 'cs_test_domain' -------------------------------------------------------------------- ComputerSystem - 35_start_reset.py: PASS -------------------------------------------------------------------- ComputerSystem - 40_RSC_start.py: PASS -------------------------------------------------------------------- ComputerSystem - 41_cs_to_settingdefinestate.py: PASS -------------------------------------------------------------------- ComputerSystem - 42_cs_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystemIndication - 01_created_indication.py: PASS -------------------------------------------------------------------- ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: FAIL ERROR - Error invoke 'CheckVirtualSystemIsMigratableToHost'. ERROR - (1, u'CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system)') ERROR - Exception in local_remote_migrate() ERROR - Exception details Failed to verify Migration support on host 'localhost' ERROR - Exception: Unable to generate indication InvokeMethod(CheckVirtualSystemIsMigratableToHost): CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system) -------------------------------------------------------------------- ElementAllocatedFromPool - 01_forward.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 02_reverse.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 03_reverse_errs.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 04_forward_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- ElementCapabilities - 02_reverse.py: PASS -------------------------------------------------------------------- ElementCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 05_hostsystem_cap.py: PASS -------------------------------------------------------------------- ElementConforms - 01_forward.py: PASS -------------------------------------------------------------------- ElementConforms - 02_reverse.py: PASS -------------------------------------------------------------------- ElementConforms - 03_ectp_fwd_errs.py: PASS -------------------------------------------------------------------- ElementConforms - 04_ectp_rev_errs.py: PASS -------------------------------------------------------------------- ElementSettingData - 01_forward.py: PASS -------------------------------------------------------------------- ElementSettingData - 03_esd_assoc_with_rasd_errs.py: PASS -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: PASS -------------------------------------------------------------------- HostSystem - 01_enum.py: PASS -------------------------------------------------------------------- HostSystem - 02_hostsystem_to_rasd.py: PASS -------------------------------------------------------------------- HostSystem - 03_hs_to_settdefcap.py: PASS -------------------------------------------------------------------- HostSystem - 04_hs_to_EAPF.py: PASS -------------------------------------------------------------------- HostSystem - 05_hs_gi_errs.py: PASS -------------------------------------------------------------------- HostSystem - 06_hs_to_vsms.py: PASS -------------------------------------------------------------------- HostedAccessPoint - 01_forward.py: PASS -------------------------------------------------------------------- HostedAccessPoint - 02_reverse.py: PASS -------------------------------------------------------------------- HostedDependency - 01_forward.py: PASS -------------------------------------------------------------------- HostedDependency - 02_reverse.py: PASS -------------------------------------------------------------------- HostedDependency - 03_enabledstate.py: PASS -------------------------------------------------------------------- HostedDependency - 04_reverse_errs.py: PASS -------------------------------------------------------------------- HostedResourcePool - 01_forward.py: PASS -------------------------------------------------------------------- HostedResourcePool - 02_reverse.py: PASS -------------------------------------------------------------------- HostedResourcePool - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedResourcePool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- HostedService - 01_forward.py: PASS -------------------------------------------------------------------- HostedService - 02_reverse.py: PASS -------------------------------------------------------------------- HostedService - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedService - 04_reverse_errs.py: PASS -------------------------------------------------------------------- KVMRedirectionSAP - 01_enum_KVMredSAP.py: PASS -------------------------------------------------------------------- LogicalDisk - 01_disk.py: PASS -------------------------------------------------------------------- LogicalDisk - 02_nodevs.py: SKIP ERROR - System has defined domains; unable to run -------------------------------------------------------------------- LogicalDisk - 03_ld_gi_errs.py: PASS -------------------------------------------------------------------- Memory - 01_memory.py: PASS -------------------------------------------------------------------- Memory - 02_defgetmem.py: PASS -------------------------------------------------------------------- Memory - 03_mem_gi_errs.py: PASS -------------------------------------------------------------------- NetworkPort - 01_netport.py: PASS -------------------------------------------------------------------- NetworkPort - 02_np_gi_errors.py: PASS -------------------------------------------------------------------- NetworkPort - 03_user_netport.py: SKIP -------------------------------------------------------------------- Processor - 01_processor.py: PASS -------------------------------------------------------------------- Processor - 02_definesys_get_procs.py: PASS -------------------------------------------------------------------- Processor - 03_proc_gi_errs.py: PASS -------------------------------------------------------------------- Profile - 01_enum.py: PASS -------------------------------------------------------------------- Profile - 02_profile_to_elec.py: PASS -------------------------------------------------------------------- Profile - 03_rprofile_gi_errs.py: PASS -------------------------------------------------------------------- RASD - 01_verify_rasd_fields.py: PASS -------------------------------------------------------------------- RASD - 02_enum.py: PASS -------------------------------------------------------------------- RASD - 03_rasd_errs.py: PASS -------------------------------------------------------------------- RASD - 04_disk_rasd_size.py: PASS -------------------------------------------------------------------- RASD - 05_disk_rasd_emu_type.py: PASS -------------------------------------------------------------------- RASD - 06_parent_net_pool.py: SKIP ERROR - NetworkPool template RASDs not supported. Supported in version 867. -------------------------------------------------------------------- RASD - 07_parent_disk_pool.py: SKIP ERROR - DiskPool template RASDs not supported. Supported in version 863. -------------------------------------------------------------------- RASDIndications - 01_guest_states_rasd_ind.py: SKIP -------------------------------------------------------------------- RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: SKIP -------------------------------------------------------------------- RedirectionService - 01_enum_crs.py: PASS -------------------------------------------------------------------- RedirectionService - 02_enum_crscap.py: PASS -------------------------------------------------------------------- RedirectionService - 03_RedirectionSAP_errs.py: PASS -------------------------------------------------------------------- ReferencedProfile - 01_verify_refprof.py: PASS -------------------------------------------------------------------- ReferencedProfile - 02_refprofile_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 01_forward.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 02_reverse.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 03_forward_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 05_RAPF_err.py: PASS -------------------------------------------------------------------- ResourcePool - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePool - 02_rp_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 02_rcps_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 03_CreateResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP ERROR - NetworkPool template RASDs not supported. Supported in version 867. ERROR - Error in networkpool creation -------------------------------------------------------------------- ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 07_DeleteResourcePool.py: FAIL ERROR - Need to give different bridge name since it already exists ERROR - SystemExit : 2 Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 139, in do_try File "07_DeleteResourcePool.py", line 92, in main status = create_pool(options.ip, options.virt, test_pool, pool_attr) File "/xen-data/users/kaitlin/sandbox/cimtest/suites/libvirt-cim/lib/XenKvmLib/pool.py", line 224, in create_pool File "./lib/XenKvmLib/vxml.py", line 217, in __init__ SystemExit: 2 ERROR - None -------------------------------------------------------------------- ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: FAIL ERROR - DiskPool template RASDs not supported. Supported in version 863. ERROR - Exception details: Failed to create 'DISK_POOL_DIR' type diskpool 'DISK_POOL_DIR' -------------------------------------------------------------------- ResourcePoolConfigurationService - 09_DeleteDiskPool.py: SKIP ERROR - DiskPool template RASDs not supported. Supported in version 863. ERROR - Failed to create diskpool 'dp_pool' -------------------------------------------------------------------- ResourcePoolConfigurationService - 10_create_storagevolume.py: FAIL ERROR - Exception details: (1, u'CIM_ERR_FAILED: Unknown Method') InvokeMethod(CreateResourceInPool): CIM_ERR_FAILED: Unknown Method -------------------------------------------------------------------- ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: FAIL ERROR - Failed to get the error message 'Unable to create storage volume' ERROR - In main() Exception details: Failed to verify the Invlaid 'DUP_VOL_PATH' InvokeMethod(CreateResourceInPool): CIM_ERR_FAILED: Unknown Method -------------------------------------------------------------------- ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: SKIP ERROR - DiskPool template RASDs not supported. Supported in version 863. ERROR - Failed to create pool 'NETFS_POOL' -------------------------------------------------------------------- ResourcePoolConfigurationService - 13_delete_storagevolume.py: FAIL ERROR - Exception details: (1, u'CIM_ERR_FAILED: Unknown Method') InvokeMethod(CreateResourceInPool): CIM_ERR_FAILED: Unknown Method -------------------------------------------------------------------- ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: FAIL ERROR - Exception details: (1, u'CIM_ERR_FAILED: Unknown Method') InvokeMethod(CreateResourceInPool): CIM_ERR_FAILED: Unknown Method -------------------------------------------------------------------- ServiceAccessBySAP - 01_forward.py: PASS -------------------------------------------------------------------- ServiceAccessBySAP - 02_reverse.py: PASS -------------------------------------------------------------------- ServiceAffectsElement - 01_forward.py: PASS -------------------------------------------------------------------- ServiceAffectsElement - 02_reverse.py: PASS -------------------------------------------------------------------- SettingsDefine - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefine - 02_reverse.py: PASS -------------------------------------------------------------------- SettingsDefine - 03_sds_fwd_errs.py: PASS -------------------------------------------------------------------- SettingsDefine - 04_sds_rev_errs.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 04_forward_vsmsdata.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 05_reverse_vsmcap.py: PASS -------------------------------------------------------------------- SystemDevice - 01_forward.py: PASS -------------------------------------------------------------------- SystemDevice - 02_reverse.py: PASS -------------------------------------------------------------------- SystemDevice - 03_fwderrs.py: PASS -------------------------------------------------------------------- VSSD - 01_enum.py: PASS -------------------------------------------------------------------- VSSD - 02_bootldr.py: PASS -------------------------------------------------------------------- VSSD - 03_vssd_gi_errs.py: PASS -------------------------------------------------------------------- VSSD - 04_vssd_to_rasd.py: PASS -------------------------------------------------------------------- VSSD - 05_set_uuid.py: FAIL ERROR - 'uuid' -------------------------------------------------------------------- VSSD - 06_duplicate_uuid.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 01_definesystem_name.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 02_destroysystem.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 03_definesystem_ess.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 04_definesystem_ers.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 05_destroysystem_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 06_addresource.py: FAIL ERROR - Need to give different bridge name since it already exists ERROR - Exception: In fn create_netpool_conf(): 2 ERROR - Unable to create network pool -------------------------------------------------------------------- VirtualSystemManagementService - 07_addresource_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 08_modifyresource.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 09_procrasd_persist.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 10_hv_version.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 11_define_memrasdunits.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 12_referenced_config.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 13_refconfig_additional_devs.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 14_define_sys_disk.py: FAIL Traceback (most recent call last): File "14_define_sys_disk.py", line 38, in ? from XenKvmLib.const import do_main, _image_dir, get_provider_version ImportError: cannot import name _image_dir -------------------------------------------------------------------- VirtualSystemManagementService - 15_mod_system_settings.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Failed to disable rstest_domain -------------------------------------------------------------------- VirtualSystemManagementService - 16_removeresource.py: XFAIL ERROR - 0 RASD insts for domain/mouse:xen CIM_ERR_NOT_FOUND: No such instance (no device domain/mouse:xen) Bug:<00014> -------------------------------------------------------------------- VirtualSystemManagementService - 17_removeresource_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 18_define_sys_bridge.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 19_definenetwork_ers.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 20_verify_vnc_password.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 21_createVS_verifyMAC.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL ERROR - Got 99:aa:bb:cc:ee:ff, exp 99:aa:bb:cc:ee:ff. Got None, exp my_network1. ERROR - Error invoking AddRS: add_net_res ERROR - Error adding rs for net mac ERROR - Failed to destroy Virtual Network 'my_network1' Bug:<00015> -------------------------------------------------------------------- VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: FAIL ERROR - IP address is in use by a different network ERROR - Failed to create Virtual Network 'cimtest-networkpool28' ERROR - Unable to create network pool -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationService - 01_migratable_host.py: FAIL ERROR - Error invoke 'CheckVirtualSystemIsMigratableToHost'. ERROR - (1, u'CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system)') Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="dom_migrate" InvokeMethod(CheckVirtualSystemIsMigratableToHost): CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system) -------------------------------------------------------------------- VirtualSystemMigrationService - 02_host_migrate_type.py: FAIL ERROR - Error invoke 'CheckVirtualSystemIsMigratableToHost'. ERROR - (1, u'CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system)') InvokeMethod(CheckVirtualSystemIsMigratableToHost): CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system) -------------------------------------------------------------------- VirtualSystemMigrationService - 05_migratable_host_errs.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationService - 06_remote_live_migration.py: FAIL ERROR - Error invoke 'CheckVirtualSystemIsMigratableToHost'. ERROR - (1, u'CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system)') ERROR - Exception in local_remote_migrate() ERROR - Exception details Failed to verify Migration support on host 'localhost' InvokeMethod(CheckVirtualSystemIsMigratableToHost): CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system) -------------------------------------------------------------------- VirtualSystemMigrationService - 07_remote_offline_migration.py: FAIL ERROR - Error invoke 'CheckVirtualSystemIsMigratableToHost'. ERROR - (1, u'CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system)') ERROR - Exception in local_remote_migrate() ERROR - Exception details Failed to verify Migration support on host 'localhost' InvokeMethod(CheckVirtualSystemIsMigratableToHost): CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system) -------------------------------------------------------------------- VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: FAIL ERROR - Error invoke 'CheckVirtualSystemIsMigratableToHost'. ERROR - (1, u'CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system)') ERROR - Exception in local_remote_migrate() ERROR - Exception details Failed to verify Migration support on host 'localhost' ERROR - Error invoke 'CheckVirtualSystemIsMigratableToHost'. ERROR - (1, u'CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system)') ERROR - Exception in local_remote_migrate() ERROR - Exception details Failed to verify Migration support on host 'localhost' ERROR - Restart migration 1 ERROR - Resume migration 1 InvokeMethod(CheckVirtualSystemIsMigratableToHost): CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system) InvokeMethod(CheckVirtualSystemIsMigratableToHost): CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system) -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 01_forward.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 02_reverse.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 03_create_snapshot.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: PASS -------------------------------------------------------------------- Total test execution: 0h | 11min | 41sec | 761msec From kaitlin at linux.vnet.ibm.com Fri Oct 2 18:53:55 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 02 Oct 2009 18:53:55 -0000 Subject: [Libvirt-cim] [PATCH] [TEST] Fix RPCS tests to work with older provider versions Message-ID: <9e5c87bfe7c61fe8e713.1254509635@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1254509610 25200 # Node ID 9e5c87bfe7c61fe8e713790398ce5f5a8039809c # Parent 9dcdf8704e8907185daa46df76507f768a69ad69 [TEST] Fix RPCS tests to work with older provider versions. Signed-off-by: Kaitlin Rupert diff -r 9dcdf8704e89 -r 9e5c87bfe7c6 suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/08_CreateDiskResourcePool.py --- a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/08_CreateDiskResourcePool.py Fri Oct 02 10:53:38 2009 -0700 +++ b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/08_CreateDiskResourcePool.py Fri Oct 02 11:53:30 2009 -0700 @@ -145,10 +145,12 @@ status = PASS except Exception, details: + if status == PASS: + status = FAIL + logger.error("Exception details: %s", details) if key == 'DISK_POOL_NETFS': netfs_cleanup(server, pool_attr) - return FAIL return status diff -r 9dcdf8704e89 -r 9e5c87bfe7c6 suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py --- a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py Fri Oct 02 10:53:38 2009 -0700 +++ b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py Fri Oct 02 11:53:30 2009 -0700 @@ -173,7 +173,7 @@ libvirt_ver = virsh_version(server, virt) cim_rev, changeset = get_provider_version(virt, server) - if libvirt_ver < "0.4.1" and cim_rev < libvirt_rasd_storagepool_changes: + if libvirt_ver < "0.4.1" or cim_rev < libvirt_rasd_storagepool_changes: logger.info("Storage Volume creation support is available with Libvirt" "version >= 0.4.1 and Libvirt-CIM rev '%s'", libvirt_rasd_storagepool_changes) diff -r 9dcdf8704e89 -r 9e5c87bfe7c6 suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/11_create_dir_storagevolume_errs.py --- a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/11_create_dir_storagevolume_errs.py Fri Oct 02 10:53:38 2009 -0700 +++ b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/11_create_dir_storagevolume_errs.py Fri Oct 02 11:53:30 2009 -0700 @@ -125,7 +125,7 @@ libvirt_ver = virsh_version(server, virt) cim_rev, changeset = get_provider_version(virt, server) - if libvirt_ver < "0.4.1" and cim_rev < libvirt_rasd_storagepool_changes: + if libvirt_ver < "0.4.1" or cim_rev < libvirt_rasd_storagepool_changes: logger.info("Storage Volume creation support is available with Libvirt" "version >= 0.4.1 and Libvirt-CIM rev '%s'", libvirt_rasd_storagepool_changes) diff -r 9dcdf8704e89 -r 9e5c87bfe7c6 suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/13_delete_storagevolume.py --- a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/13_delete_storagevolume.py Fri Oct 02 10:53:38 2009 -0700 +++ b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/13_delete_storagevolume.py Fri Oct 02 11:53:30 2009 -0700 @@ -50,7 +50,7 @@ libvirt_ver = virsh_version(server, virt) cim_rev, changeset = get_provider_version(virt, server) - if libvirt_ver < "0.4.1" and cim_rev < libvirt_rasd_spool_del_changes: + if libvirt_ver < "0.4.1" or cim_rev < libvirt_rasd_spool_del_changes: logger.info("Storage Volume deletion support is available with Libvirt" "version >= 0.4.1 and Libvirt-CIM rev '%s'", libvirt_rasd_spool_del_changes) diff -r 9dcdf8704e89 -r 9e5c87bfe7c6 suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/14_delete_storagevolume_errs.py --- a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/14_delete_storagevolume_errs.py Fri Oct 02 10:53:38 2009 -0700 +++ b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/14_delete_storagevolume_errs.py Fri Oct 02 11:53:30 2009 -0700 @@ -119,7 +119,7 @@ libvirt_ver = virsh_version(server, virt) cim_rev, changeset = get_provider_version(virt, server) - if libvirt_ver < "0.4.1" and cim_rev < libvirt_rasd_spool_del_changes: + if libvirt_ver < "0.4.1" or cim_rev < libvirt_rasd_spool_del_changes: logger.info("Storage Volume deletion support is available with Libvirt" "version >= 0.4.1 and Libvirt-CIM rev '%s'", libvirt_rasd_spool_del_changes) From kaitlin at linux.vnet.ibm.com Fri Oct 2 19:00:54 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 02 Oct 2009 19:00:54 -0000 Subject: [Libvirt-cim] [PATCH] [TEST] Make VSSD 05 test SKIP is providers are older tha 837 Message-ID: <061f37113f9294f83a46.1254510054@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1254510041 25200 # Node ID 061f37113f9294f83a4695d18b78e0abac5cb711 # Parent 9e5c87bfe7c61fe8e713790398ce5f5a8039809c [TEST] Make VSSD 05 test SKIP is providers are older tha 837. The UUID attribute wasn't available in the VSSD mof prior to that. Signed-off-by: Kaitlin Rupert diff -r 9e5c87bfe7c6 -r 061f37113f92 suites/libvirt-cim/cimtest/VSSD/05_set_uuid.py --- a/suites/libvirt-cim/cimtest/VSSD/05_set_uuid.py Fri Oct 02 11:53:30 2009 -0700 +++ b/suites/libvirt-cim/cimtest/VSSD/05_set_uuid.py Fri Oct 02 12:00:41 2009 -0700 @@ -27,14 +27,15 @@ from XenKvmLib import vsms from XenKvmLib import vxml from CimTest.Globals import logger -from CimTest.ReturnCodes import PASS, FAIL -from XenKvmLib.const import do_main +from CimTest.ReturnCodes import PASS, FAIL, SKIP +from XenKvmLib.const import do_main, get_provider_version from XenKvmLib.classes import get_typed_class from XenKvmLib.enumclass import GetInstance sup_types = ['Xen', 'KVM', 'XenFV', 'LXC'] default_dom = 'uuid_domain' uuid = set_uuid() +uuid_changes = 873 def get_vssd(ip, virt, get_cim_inst): cn = get_typed_class(virt, "VirtualSystemSettingData") @@ -60,6 +61,12 @@ def main(): options = main.options + cim_rev, changeset = get_provider_version(options.virt, options.ip) + if cim_rev < uuid_changes: + logger.info("UUID attribute added VSSD in libvirt-cim version '%s'", + uuid_changes) + return SKIP + service = vsms.get_vsms_class(options.virt)(options.ip) cxml = vxml.get_class(options.virt)(default_dom, uuid=uuid) From kaitlin at linux.vnet.ibm.com Fri Oct 2 22:56:15 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 02 Oct 2009 15:56:15 -0700 Subject: [Libvirt-cim] Test Run Summary (Oct 02 2009): Xen on Red Hat Enterprise Linux Server release 5.4 (Tikanga) with Pegasus In-Reply-To: <200910022139.n92LdrfH007244@d01av04.pok.ibm.com> References: <200910022139.n92LdrfH007244@d01av04.pok.ibm.com> Message-ID: <4AC6850F.60006@linux.vnet.ibm.com> > -------------------------------------------------------------------- > ComputerSystem - 34_start_disable.py: FAIL > ERROR - Unable to check guest state > ERROR - Exception: EnabledState is 2, expected 3. > ERROR - Unable to check guest state This is because the guest isn't starting properly on the system. Need to investigate why this is... > -------------------------------------------------------------------- > ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: FAIL > ERROR - Error invoke 'CheckVirtualSystemIsMigratableToHost'. > ERROR - (1, u'CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system)') > ERROR - Exception in local_remote_migrate() > ERROR - Exception details Failed to verify Migration support on host 'localhost' > ERROR - Exception: Unable to generate indication > InvokeMethod(CheckVirtualSystemIsMigratableToHost): CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system) This was an system setup problem - system wasn't configured to allow Xen migration. > -------------------------------------------------------------------- > ResourcePoolConfigurationService - 07_DeleteResourcePool.py: FAIL > ERROR - Need to give different bridge name since it already exists > ERROR - SystemExit : 2 > Traceback (most recent call last): > File "./lib/XenKvmLib/const.py", line 139, in do_try > File "07_DeleteResourcePool.py", line 92, in main > status = create_pool(options.ip, options.virt, test_pool, pool_attr) > File "/xen-data/users/kaitlin/sandbox/cimtest/suites/libvirt-cim/lib/XenKvmLib/pool.py", line 224, in create_pool > File "./lib/XenKvmLib/vxml.py", line 217, in __init__ > SystemExit: 2 > ERROR - None Wasn't able to reproduce this failure - looks as if a previous test didn't clean up appropriately. > -------------------------------------------------------------------- > ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: FAIL > ERROR - DiskPool template RASDs not supported. Supported in version 863. > ERROR - Exception details: Failed to create 'DISK_POOL_DIR' type diskpool 'DISK_POOL_DIR' > -------------------------------------------------------------------- > ResourcePoolConfigurationService - 10_create_storagevolume.py: FAIL > ERROR - Exception details: (1, u'CIM_ERR_FAILED: Unknown Method') > InvokeMethod(CreateResourceInPool): CIM_ERR_FAILED: Unknown Method > -------------------------------------------------------------------- > ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: FAIL > ERROR - Failed to get the error message 'Unable to create storage volume' > ERROR - In main() Exception details: Failed to verify the Invlaid 'DUP_VOL_PATH' > InvokeMethod(CreateResourceInPool): CIM_ERR_FAILED: Unknown Method > -------------------------------------------------------------------- > ResourcePoolConfigurationService - 13_delete_storagevolume.py: FAIL > ERROR - Exception details: (1, u'CIM_ERR_FAILED: Unknown Method') > InvokeMethod(CreateResourceInPool): CIM_ERR_FAILED: Unknown Method > -------------------------------------------------------------------- > ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: FAIL > ERROR - Exception details: (1, u'CIM_ERR_FAILED: Unknown Method') > InvokeMethod(CreateResourceInPool): CIM_ERR_FAILED: Unknown Method > -------------------------------------------------------------------- These are all test case issues - they should SKIP. A patch to fix this issue has been submitted. > -------------------------------------------------------------------- > VSSD - 05_set_uuid.py: FAIL > ERROR - 'uuid' Test case issue - a patch to fix this issue has been submitted. > -------------------------------------------------------------------- > VirtualSystemManagementService - 15_mod_system_settings.py: FAIL > ERROR - Unable to check guest state > ERROR - Exception: EnabledState is 2, expected 3. > ERROR - Failed to disable rstest_domain This is due the guest not starting properly. > -------------------------------------------------------------------- > VirtualSystemMigrationService - 01_migratable_host.py: FAIL > ERROR - Error invoke 'CheckVirtualSystemIsMigratableToHost'. > ERROR - (1, u'CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system)') > Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="dom_migrate" > InvokeMethod(CheckVirtualSystemIsMigratableToHost): CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system) > -------------------------------------------------------------------- > VirtualSystemMigrationService - 02_host_migrate_type.py: FAIL > ERROR - Error invoke 'CheckVirtualSystemIsMigratableToHost'. > ERROR - (1, u'CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system)') > InvokeMethod(CheckVirtualSystemIsMigratableToHost): CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system) > VirtualSystemMigrationService - 06_remote_live_migration.py: FAIL > ERROR - Error invoke 'CheckVirtualSystemIsMigratableToHost'. > ERROR - (1, u'CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system)') > ERROR - Exception in local_remote_migrate() > ERROR - Exception details Failed to verify Migration support on host 'localhost' > InvokeMethod(CheckVirtualSystemIsMigratableToHost): CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system) > -------------------------------------------------------------------- > VirtualSystemMigrationService - 07_remote_offline_migration.py: FAIL > ERROR - Error invoke 'CheckVirtualSystemIsMigratableToHost'. > ERROR - (1, u'CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system)') > ERROR - Exception in local_remote_migrate() > ERROR - Exception details Failed to verify Migration support on host 'localhost' > InvokeMethod(CheckVirtualSystemIsMigratableToHost): CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system) > -------------------------------------------------------------------- > VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: FAIL > ERROR - Error invoke 'CheckVirtualSystemIsMigratableToHost'. > ERROR - (1, u'CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system)') > ERROR - Exception in local_remote_migrate() > ERROR - Exception details Failed to verify Migration support on host 'localhost' > ERROR - Error invoke 'CheckVirtualSystemIsMigratableToHost'. > ERROR - (1, u'CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system)') > ERROR - Exception in local_remote_migrate() > ERROR - Exception details Failed to verify Migration support on host 'localhost' > ERROR - Restart migration 1 > ERROR - Resume migration 1 > InvokeMethod(CheckVirtualSystemIsMigratableToHost): CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system) > InvokeMethod(CheckVirtualSystemIsMigratableToHost): CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system) The system wasn't setup to allow Xen migration. -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Fri Oct 2 23:24:16 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 02 Oct 2009 16:24:16 -0700 Subject: [Libvirt-cim] Test Run Summary (Oct 02 2009): Xen on Red Hat Enterprise Linux Server Message-ID: <4AC68BA0.70307@linux.vnet.ibm.com> ================================================= Test Run Summary (Oct 02 2009): Xen on Red Hat Enterprise Linux Server release 5.4 (Tikanga) with Pegasus ================================================= Distro: Red Hat Enterprise Linux Server release 5.4 (Tikanga) Kernel: 2.6.18-164.el5xen libvirt: 0.6.3 Hypervisor: Xen 3.1.0 CIMOM: Pegasus 2.7.2 Libvirt-cim revision: 853 Libvirt-cim changeset: 8bb1100e5bd2 Cimtest revision: 792 Cimtest changeset: 061f37113f92 Total test execution: 0h | 19min | 3sec | 464msec ================================================= FAIL : 4 XFAIL : 3 SKIP : 19 PASS : 147 ----------------- Total : 175 ================================================= FAIL Test Summary: ComputerSystem - 34_start_disable.py: FAIL VirtualSystemManagementService - 14_define_sys_disk.py: FAIL VirtualSystemManagementService - 15_mod_system_settings.py: FAIL VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: FAIL ================================================= XFAIL Test Summary: ComputerSystem - 33_suspend_reboot.py: XFAIL VirtualSystemManagementService - 16_removeresource.py: XFAIL VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL ================================================= SKIP Test Summary: ComputerSystem - 02_nosystems.py: SKIP LogicalDisk - 02_nodevs.py: SKIP NetworkPort - 03_user_netport.py: SKIP RASD - 06_parent_net_pool.py: SKIP RASD - 07_parent_disk_pool.py: SKIP RASDIndications - 01_guest_states_rasd_ind.py: SKIP RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: SKIP ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP ResourcePoolConfigurationService - 07_DeleteResourcePool.py: SKIP ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: SKIP ResourcePoolConfigurationService - 09_DeleteDiskPool.py: SKIP ResourcePoolConfigurationService - 10_create_storagevolume.py: SKIP ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: SKIP ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: SKIP ResourcePoolConfigurationService - 13_delete_storagevolume.py: SKIP ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: SKIP VSSD - 05_set_uuid.py: SKIP VSSD - 06_duplicate_uuid.py: SKIP VirtualSystemManagementService - 20_verify_vnc_password.py: SKIP ================================================= Full report: -------------------------------------------------------------------- AllocationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- AllocationCapabilities - 02_alloccap_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 01_enum.py: PASS -------------------------------------------------------------------- ComputerSystem - 02_nosystems.py: SKIP -------------------------------------------------------------------- ComputerSystem - 03_defineVS.py: PASS -------------------------------------------------------------------- ComputerSystem - 04_defineStartVS.py: PASS -------------------------------------------------------------------- ComputerSystem - 05_activate_defined_start.py: PASS -------------------------------------------------------------------- ComputerSystem - 06_paused_active_suspend.py: PASS -------------------------------------------------------------------- ComputerSystem - 22_define_suspend.py: PASS -------------------------------------------------------------------- ComputerSystem - 23_pause_pause.py: PASS -------------------------------------------------------------------- ComputerSystem - 27_define_pause_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 32_start_reboot.py: PASS -------------------------------------------------------------------- ComputerSystem - 33_suspend_reboot.py: XFAIL ERROR - Got CIM error CIM_ERR_NOT_SUPPORTED: State not supported with return code 7 ERROR - Exception: Unable Suspend dom 'test_domain' InvokeMethod(RequestStateChange): CIM_ERR_NOT_SUPPORTED: State not supported Bug:<00012> -------------------------------------------------------------------- ComputerSystem - 34_start_disable.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Exception: Unable disable dom 'cs_test_domain' -------------------------------------------------------------------- ComputerSystem - 35_start_reset.py: PASS -------------------------------------------------------------------- ComputerSystem - 40_RSC_start.py: PASS -------------------------------------------------------------------- ComputerSystem - 41_cs_to_settingdefinestate.py: PASS -------------------------------------------------------------------- ComputerSystem - 42_cs_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystemIndication - 01_created_indication.py: PASS -------------------------------------------------------------------- ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 01_forward.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 02_reverse.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 03_reverse_errs.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 04_forward_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- ElementCapabilities - 02_reverse.py: PASS -------------------------------------------------------------------- ElementCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 05_hostsystem_cap.py: PASS -------------------------------------------------------------------- ElementConforms - 01_forward.py: PASS -------------------------------------------------------------------- ElementConforms - 02_reverse.py: PASS -------------------------------------------------------------------- ElementConforms - 03_ectp_fwd_errs.py: PASS -------------------------------------------------------------------- ElementConforms - 04_ectp_rev_errs.py: PASS -------------------------------------------------------------------- ElementSettingData - 01_forward.py: PASS -------------------------------------------------------------------- ElementSettingData - 03_esd_assoc_with_rasd_errs.py: PASS -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: PASS -------------------------------------------------------------------- HostSystem - 01_enum.py: PASS -------------------------------------------------------------------- HostSystem - 02_hostsystem_to_rasd.py: PASS -------------------------------------------------------------------- HostSystem - 03_hs_to_settdefcap.py: PASS -------------------------------------------------------------------- HostSystem - 04_hs_to_EAPF.py: PASS -------------------------------------------------------------------- HostSystem - 05_hs_gi_errs.py: PASS -------------------------------------------------------------------- HostSystem - 06_hs_to_vsms.py: PASS -------------------------------------------------------------------- HostedAccessPoint - 01_forward.py: PASS -------------------------------------------------------------------- HostedAccessPoint - 02_reverse.py: PASS -------------------------------------------------------------------- HostedDependency - 01_forward.py: PASS -------------------------------------------------------------------- HostedDependency - 02_reverse.py: PASS -------------------------------------------------------------------- HostedDependency - 03_enabledstate.py: PASS -------------------------------------------------------------------- HostedDependency - 04_reverse_errs.py: PASS -------------------------------------------------------------------- HostedResourcePool - 01_forward.py: PASS -------------------------------------------------------------------- HostedResourcePool - 02_reverse.py: PASS -------------------------------------------------------------------- HostedResourcePool - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedResourcePool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- HostedService - 01_forward.py: PASS -------------------------------------------------------------------- HostedService - 02_reverse.py: PASS -------------------------------------------------------------------- HostedService - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedService - 04_reverse_errs.py: PASS -------------------------------------------------------------------- KVMRedirectionSAP - 01_enum_KVMredSAP.py: PASS -------------------------------------------------------------------- LogicalDisk - 01_disk.py: PASS -------------------------------------------------------------------- LogicalDisk - 02_nodevs.py: SKIP ERROR - System has defined domains; unable to run -------------------------------------------------------------------- LogicalDisk - 03_ld_gi_errs.py: PASS -------------------------------------------------------------------- Memory - 01_memory.py: PASS -------------------------------------------------------------------- Memory - 02_defgetmem.py: PASS -------------------------------------------------------------------- Memory - 03_mem_gi_errs.py: PASS -------------------------------------------------------------------- NetworkPort - 01_netport.py: PASS -------------------------------------------------------------------- NetworkPort - 02_np_gi_errors.py: PASS -------------------------------------------------------------------- NetworkPort - 03_user_netport.py: SKIP -------------------------------------------------------------------- Processor - 01_processor.py: PASS -------------------------------------------------------------------- Processor - 02_definesys_get_procs.py: PASS -------------------------------------------------------------------- Processor - 03_proc_gi_errs.py: PASS -------------------------------------------------------------------- Profile - 01_enum.py: PASS -------------------------------------------------------------------- Profile - 02_profile_to_elec.py: PASS -------------------------------------------------------------------- Profile - 03_rprofile_gi_errs.py: PASS -------------------------------------------------------------------- RASD - 01_verify_rasd_fields.py: PASS -------------------------------------------------------------------- RASD - 02_enum.py: PASS -------------------------------------------------------------------- RASD - 03_rasd_errs.py: PASS -------------------------------------------------------------------- RASD - 04_disk_rasd_size.py: PASS -------------------------------------------------------------------- RASD - 05_disk_rasd_emu_type.py: PASS -------------------------------------------------------------------- RASD - 06_parent_net_pool.py: SKIP ERROR - NetworkPool template RASDs not supported. Supported in version 867. -------------------------------------------------------------------- RASD - 07_parent_disk_pool.py: SKIP ERROR - DiskPool template RASDs not supported. Supported in version 863. -------------------------------------------------------------------- RASDIndications - 01_guest_states_rasd_ind.py: SKIP -------------------------------------------------------------------- RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: SKIP -------------------------------------------------------------------- RedirectionService - 01_enum_crs.py: PASS -------------------------------------------------------------------- RedirectionService - 02_enum_crscap.py: PASS -------------------------------------------------------------------- RedirectionService - 03_RedirectionSAP_errs.py: PASS -------------------------------------------------------------------- ReferencedProfile - 01_verify_refprof.py: PASS -------------------------------------------------------------------- ReferencedProfile - 02_refprofile_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 01_forward.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 02_reverse.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 03_forward_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 05_RAPF_err.py: PASS -------------------------------------------------------------------- ResourcePool - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePool - 02_rp_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 02_rcps_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 03_CreateResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP ERROR - NetworkPool template RASDs not supported. Supported in version 867. ERROR - Error in networkpool creation -------------------------------------------------------------------- ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 07_DeleteResourcePool.py: SKIP ERROR - NetworkPool template RASDs not supported. Supported in version 867. ERROR - Error in networkpool creation -------------------------------------------------------------------- ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: SKIP ERROR - DiskPool template RASDs not supported. Supported in version 863. ERROR - Exception details: Failed to create 'DISK_POOL_DIR' type diskpool 'DISK_POOL_DIR' -------------------------------------------------------------------- ResourcePoolConfigurationService - 09_DeleteDiskPool.py: SKIP ERROR - DiskPool template RASDs not supported. Supported in version 863. ERROR - Failed to create diskpool 'dp_pool' -------------------------------------------------------------------- ResourcePoolConfigurationService - 10_create_storagevolume.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: SKIP ERROR - DiskPool template RASDs not supported. Supported in version 863. ERROR - Failed to create pool 'NETFS_POOL' -------------------------------------------------------------------- ResourcePoolConfigurationService - 13_delete_storagevolume.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: SKIP -------------------------------------------------------------------- ServiceAccessBySAP - 01_forward.py: PASS -------------------------------------------------------------------- ServiceAccessBySAP - 02_reverse.py: PASS -------------------------------------------------------------------- ServiceAffectsElement - 01_forward.py: PASS -------------------------------------------------------------------- ServiceAffectsElement - 02_reverse.py: PASS -------------------------------------------------------------------- SettingsDefine - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefine - 02_reverse.py: PASS -------------------------------------------------------------------- SettingsDefine - 03_sds_fwd_errs.py: PASS -------------------------------------------------------------------- SettingsDefine - 04_sds_rev_errs.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 04_forward_vsmsdata.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 05_reverse_vsmcap.py: PASS -------------------------------------------------------------------- SystemDevice - 01_forward.py: PASS -------------------------------------------------------------------- SystemDevice - 02_reverse.py: PASS -------------------------------------------------------------------- SystemDevice - 03_fwderrs.py: PASS -------------------------------------------------------------------- VSSD - 01_enum.py: PASS -------------------------------------------------------------------- VSSD - 02_bootldr.py: PASS -------------------------------------------------------------------- VSSD - 03_vssd_gi_errs.py: PASS -------------------------------------------------------------------- VSSD - 04_vssd_to_rasd.py: PASS -------------------------------------------------------------------- VSSD - 05_set_uuid.py: SKIP -------------------------------------------------------------------- VSSD - 06_duplicate_uuid.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 01_definesystem_name.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 02_destroysystem.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 03_definesystem_ess.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 04_definesystem_ers.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 05_destroysystem_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 06_addresource.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 07_addresource_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 08_modifyresource.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 09_procrasd_persist.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 10_hv_version.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 11_define_memrasdunits.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 12_referenced_config.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 13_refconfig_additional_devs.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 14_define_sys_disk.py: FAIL Traceback (most recent call last): File "14_define_sys_disk.py", line 38, in ? from XenKvmLib.const import do_main, _image_dir, get_provider_version ImportError: cannot import name _image_dir -------------------------------------------------------------------- VirtualSystemManagementService - 15_mod_system_settings.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state -------------------------------------------------------------------- VirtualSystemManagementService - 16_removeresource.py: XFAIL ERROR - 0 RASD insts for domain/mouse:xen CIM_ERR_NOT_FOUND: No such instance (no device domain/mouse:xen) Bug:<00014> -------------------------------------------------------------------- VirtualSystemManagementService - 17_removeresource_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 18_define_sys_bridge.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 19_definenetwork_ers.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 20_verify_vnc_password.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 21_createVS_verifyMAC.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL ERROR - Got 99:aa:bb:cc:ee:ff, exp 99:aa:bb:cc:ee:ff. Got None, exp my_network1. ERROR - Error invoking AddRS: add_net_res ERROR - Error adding rs for net mac ERROR - Failed to destroy Virtual Network 'my_network1' Bug:<00015> -------------------------------------------------------------------- VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: FAIL ERROR - Need to give different bridge name since it already exists ERROR - Exception: In fn create_netpool_conf(): 2 ERROR - Unable to create network pool -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationService - 01_migratable_host.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationService - 02_host_migrate_type.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationService - 05_migratable_host_errs.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationService - 06_remote_live_migration.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationService - 07_remote_offline_migration.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: FAIL ERROR - JobStatus for dom 'VM_frm_elm3b25.beaverton.ibm.com' has 'Domain must be running for live or resume migration' instead of 'Completed' ERROR - Cleanup failed after 'resume' migration ERROR - Restart migration 0 ERROR - Resume migration 1 -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 01_forward.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 02_reverse.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 03_create_snapshot.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: PASS -------------------------------------------------------------------- Total test execution: 0h | 19min | 3sec | 464msec -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From deeptik at linux.vnet.ibm.com Tue Oct 6 11:01:31 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Tue, 06 Oct 2009 16:31:31 +0530 Subject: [Libvirt-cim] Test Run Summary (Oct 06 2009): KVM on Red Hat Enterprise Linux Server release 5.4 Beta (Tikanga) with Pegasus Message-ID: <4ACB238B.6080109@linux.vnet.ibm.com> ================================================= Test Run Summary (Oct 06 2009): KVM on Red Hat Enterprise Linux Server release 5.4 Beta (Tikanga) with Pegasus ================================================= Distro: Red Hat Enterprise Linux Server release 5.4 Beta (Tikanga) Kernel: 2.6.18-158.el5 libvirt: 0.6.3 Hypervisor: QEMU 0.9.1 CIMOM: Pegasus 2.9.0 Libvirt-cim revision: 987 Libvirt-cim changeset: 906a78ecf9f3 Cimtest revision: Cimtest changeset: ================================================= FAIL : 2 XFAIL : 4 SKIP : 8 PASS : 161 ----------------- Total : 175 ================================================= FAIL Test Summary: ResourcePoolConfigurationService - 07_DeleteResourcePool.py: FAIL VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL ================================================= XFAIL Test Summary: ComputerSystem - 32_start_reboot.py: XFAIL ComputerSystem - 33_suspend_reboot.py: XFAIL VirtualSystemManagementService - 16_removeresource.py: XFAIL VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL ================================================= SKIP Test Summary: ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP VSSD - 02_bootldr.py: SKIP VirtualSystemMigrationService - 01_migratable_host.py: SKIP VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: SKIP ================================================= Full report: -------------------------------------------------------------------- AllocationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- AllocationCapabilities - 02_alloccap_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 01_enum.py: PASS -------------------------------------------------------------------- ComputerSystem - 02_nosystems.py: PASS -------------------------------------------------------------------- ComputerSystem - 03_defineVS.py: PASS -------------------------------------------------------------------- ComputerSystem - 04_defineStartVS.py: PASS -------------------------------------------------------------------- ComputerSystem - 05_activate_defined_start.py: PASS -------------------------------------------------------------------- ComputerSystem - 06_paused_active_suspend.py: PASS -------------------------------------------------------------------- ComputerSystem - 22_define_suspend.py: PASS -------------------------------------------------------------------- ComputerSystem - 23_pause_pause.py: PASS -------------------------------------------------------------------- ComputerSystem - 27_define_pause_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 32_start_reboot.py: XFAIL ERROR - Got CIM error CIM_ERR_FAILED: Unable to reboot domain: this function is not supported by the hypervisor: virDomainReboot with return code 1 ERROR - Exception: Unable reboot dom 'cs_test_domain' InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to reboot domain: this function is not supported by the hypervisor: virDomainReboot Bug:<00005> -------------------------------------------------------------------- ComputerSystem - 33_suspend_reboot.py: XFAIL ERROR - Got CIM error CIM_ERR_NOT_SUPPORTED: State not supported with return code 7 ERROR - Exception: Unable Suspend dom 'test_domain' InvokeMethod(RequestStateChange): CIM_ERR_NOT_SUPPORTED: State not supported Bug:<00012> -------------------------------------------------------------------- ComputerSystem - 34_start_disable.py: PASS -------------------------------------------------------------------- ComputerSystem - 35_start_reset.py: PASS -------------------------------------------------------------------- ComputerSystem - 40_RSC_start.py: PASS -------------------------------------------------------------------- ComputerSystem - 41_cs_to_settingdefinestate.py: PASS -------------------------------------------------------------------- ComputerSystem - 42_cs_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystemIndication - 01_created_indication.py: PASS -------------------------------------------------------------------- ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP -------------------------------------------------------------------- ElementAllocatedFromPool - 01_forward.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 02_reverse.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 03_reverse_errs.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 04_forward_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- ElementCapabilities - 02_reverse.py: PASS -------------------------------------------------------------------- ElementCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 05_hostsystem_cap.py: PASS -------------------------------------------------------------------- ElementConforms - 01_forward.py: PASS -------------------------------------------------------------------- ElementConforms - 02_reverse.py: PASS -------------------------------------------------------------------- ElementConforms - 03_ectp_fwd_errs.py: PASS -------------------------------------------------------------------- ElementConforms - 04_ectp_rev_errs.py: PASS -------------------------------------------------------------------- ElementSettingData - 01_forward.py: PASS -------------------------------------------------------------------- ElementSettingData - 03_esd_assoc_with_rasd_errs.py: PASS -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: PASS -------------------------------------------------------------------- HostSystem - 01_enum.py: PASS -------------------------------------------------------------------- HostSystem - 02_hostsystem_to_rasd.py: PASS -------------------------------------------------------------------- HostSystem - 03_hs_to_settdefcap.py: PASS -------------------------------------------------------------------- HostSystem - 04_hs_to_EAPF.py: PASS -------------------------------------------------------------------- HostSystem - 05_hs_gi_errs.py: PASS -------------------------------------------------------------------- HostSystem - 06_hs_to_vsms.py: PASS -------------------------------------------------------------------- HostedAccessPoint - 01_forward.py: PASS -------------------------------------------------------------------- HostedAccessPoint - 02_reverse.py: PASS -------------------------------------------------------------------- HostedDependency - 01_forward.py: PASS -------------------------------------------------------------------- HostedDependency - 02_reverse.py: PASS -------------------------------------------------------------------- HostedDependency - 03_enabledstate.py: PASS -------------------------------------------------------------------- HostedDependency - 04_reverse_errs.py: PASS -------------------------------------------------------------------- HostedResourcePool - 01_forward.py: PASS -------------------------------------------------------------------- HostedResourcePool - 02_reverse.py: PASS -------------------------------------------------------------------- HostedResourcePool - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedResourcePool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- HostedService - 01_forward.py: PASS -------------------------------------------------------------------- HostedService - 02_reverse.py: PASS -------------------------------------------------------------------- HostedService - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedService - 04_reverse_errs.py: PASS -------------------------------------------------------------------- KVMRedirectionSAP - 01_enum_KVMredSAP.py: PASS -------------------------------------------------------------------- LogicalDisk - 01_disk.py: PASS -------------------------------------------------------------------- LogicalDisk - 02_nodevs.py: PASS -------------------------------------------------------------------- LogicalDisk - 03_ld_gi_errs.py: PASS -------------------------------------------------------------------- Memory - 01_memory.py: PASS -------------------------------------------------------------------- Memory - 02_defgetmem.py: PASS -------------------------------------------------------------------- Memory - 03_mem_gi_errs.py: PASS -------------------------------------------------------------------- NetworkPort - 01_netport.py: PASS -------------------------------------------------------------------- NetworkPort - 02_np_gi_errors.py: PASS -------------------------------------------------------------------- NetworkPort - 03_user_netport.py: PASS -------------------------------------------------------------------- Processor - 01_processor.py: PASS -------------------------------------------------------------------- Processor - 02_definesys_get_procs.py: PASS -------------------------------------------------------------------- Processor - 03_proc_gi_errs.py: PASS -------------------------------------------------------------------- Profile - 01_enum.py: PASS -------------------------------------------------------------------- Profile - 02_profile_to_elec.py: PASS -------------------------------------------------------------------- Profile - 03_rprofile_gi_errs.py: PASS -------------------------------------------------------------------- RASD - 01_verify_rasd_fields.py: PASS -------------------------------------------------------------------- RASD - 02_enum.py: PASS -------------------------------------------------------------------- RASD - 03_rasd_errs.py: PASS -------------------------------------------------------------------- RASD - 04_disk_rasd_size.py: PASS -------------------------------------------------------------------- RASD - 05_disk_rasd_emu_type.py: PASS -------------------------------------------------------------------- RASD - 06_parent_net_pool.py: PASS -------------------------------------------------------------------- RASD - 07_parent_disk_pool.py: PASS -------------------------------------------------------------------- RASDIndications - 01_guest_states_rasd_ind.py: PASS -------------------------------------------------------------------- RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: PASS -------------------------------------------------------------------- RedirectionService - 01_enum_crs.py: PASS -------------------------------------------------------------------- RedirectionService - 02_enum_crscap.py: PASS -------------------------------------------------------------------- RedirectionService - 03_RedirectionSAP_errs.py: PASS -------------------------------------------------------------------- ReferencedProfile - 01_verify_refprof.py: PASS -------------------------------------------------------------------- ReferencedProfile - 02_refprofile_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 01_forward.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 02_reverse.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 03_forward_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 05_RAPF_err.py: PASS -------------------------------------------------------------------- ResourcePool - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePool - 02_rp_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 02_rcps_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 03_CreateResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 07_DeleteResourcePool.py: FAIL ERROR - Exception in create_pool() ERROR - Exception details: (1, u'CIM_ERR_FAILED: Pool with that name already exists') ERROR - Error in networkpool creation InvokeMethod(CreateChildResourcePool): CIM_ERR_FAILED: Pool with that name already exists -------------------------------------------------------------------- ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 09_DeleteDiskPool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 10_create_storagevolume.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 13_delete_storagevolume.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: PASS -------------------------------------------------------------------- ServiceAccessBySAP - 01_forward.py: PASS -------------------------------------------------------------------- ServiceAccessBySAP - 02_reverse.py: PASS -------------------------------------------------------------------- ServiceAffectsElement - 01_forward.py: PASS -------------------------------------------------------------------- ServiceAffectsElement - 02_reverse.py: PASS -------------------------------------------------------------------- SettingsDefine - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefine - 02_reverse.py: PASS -------------------------------------------------------------------- SettingsDefine - 03_sds_fwd_errs.py: PASS -------------------------------------------------------------------- SettingsDefine - 04_sds_rev_errs.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 04_forward_vsmsdata.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 05_reverse_vsmcap.py: PASS -------------------------------------------------------------------- SystemDevice - 01_forward.py: PASS -------------------------------------------------------------------- SystemDevice - 02_reverse.py: PASS -------------------------------------------------------------------- SystemDevice - 03_fwderrs.py: PASS -------------------------------------------------------------------- VSSD - 01_enum.py: PASS -------------------------------------------------------------------- VSSD - 02_bootldr.py: SKIP -------------------------------------------------------------------- VSSD - 03_vssd_gi_errs.py: PASS -------------------------------------------------------------------- VSSD - 04_vssd_to_rasd.py: PASS -------------------------------------------------------------------- VSSD - 05_set_uuid.py: PASS -------------------------------------------------------------------- VSSD - 06_duplicate_uuid.py: PASS -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 01_definesystem_name.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 02_destroysystem.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 03_definesystem_ess.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 04_definesystem_ers.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 05_destroysystem_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 06_addresource.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 07_addresource_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 08_modifyresource.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 09_procrasd_persist.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 10_hv_version.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 11_define_memrasdunits.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 12_referenced_config.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 13_refconfig_additional_devs.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 14_define_sys_disk.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 15_mod_system_settings.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 16_removeresource.py: XFAIL ERROR - 0 RASD insts for domain/mouse:ps2 CIM_ERR_NOT_FOUND: No such instance (no device domain/mouse:ps2) Bug:<00014> -------------------------------------------------------------------- VirtualSystemManagementService - 17_removeresource_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 18_define_sys_bridge.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 19_definenetwork_ers.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 20_verify_vnc_password.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 21_createVS_verifyMAC.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL ERROR - Error invoking AddRS: add_net_res ERROR - (1, u"CIM_ERR_FAILED: Unable to change (0) device: this function is not supported by the hypervisor: device type 'interface' cannot be attached") ERROR - Failed to destroy Virtual Network 'my_network1' InvokeMethod(AddResourceSettings): CIM_ERR_FAILED: Unable to change (0) device: this function is not supported by the hypervisor: device type 'interface' cannot be attached Bug:<00015> -------------------------------------------------------------------- VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationService - 01_migratable_host.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 01_forward.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 02_reverse.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL ERROR - Exception: CreateSnapshot failed to return a CIM job inst ERROR - Failed to remove snapshot file for snapshot_vm -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: PASS -------------------------------------------------------------------- -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From deeptik at linux.vnet.ibm.com Tue Oct 6 11:17:56 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Tue, 06 Oct 2009 16:47:56 +0530 Subject: [Libvirt-cim] Re: Test Run Summary (Oct 06 2009): KVM on Red Hat Enterprise Linux Server release 5.4 Beta (Tikanga) with Pegasus In-Reply-To: <4ACB238B.6080109@linux.vnet.ibm.com> References: <4ACB238B.6080109@linux.vnet.ibm.com> Message-ID: <4ACB2764.2060302@linux.vnet.ibm.com> Deepti B Kalakeri wrote: > ================================================= > Test Run Summary (Oct 06 2009): KVM on Red Hat Enterprise Linux Server > release 5.4 Beta (Tikanga) with Pegasus > ================================================= > Distro: Red Hat Enterprise Linux Server release 5.4 Beta (Tikanga) > Kernel: 2.6.18-158.el5 > libvirt: 0.6.3 > Hypervisor: QEMU 0.9.1 > CIMOM: Pegasus 2.9.0 > Libvirt-cim revision: 987 > Libvirt-cim changeset: 906a78ecf9f3 > Cimtest revision: Cimtest changeset: > ================================================= > FAIL : 2 > XFAIL : 4 > SKIP : 8 > PASS : 161 > ----------------- > Total : 175 > ================================================= > FAIL Test Summary: > ResourcePoolConfigurationService - 07_DeleteResourcePool.py: FAIL There was already a pool with the same name on the machine, Test passed when the pool was deleted and test was run manually. > VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL The above test fails with the following message: ERROR - Exception: CreateSnapshot failed to return a CIM job inst ERROR - Failed to remove snapshot file for snapshot_vm Heres the debug message: std_invokemethod.c(230): Method parameter `SnapshotType' validated type 0x90 std_invokemethod.c(303): Executing handler for method `CreateSnapshot' Virt_VirtualSystemSnapshotService.c(297): ref was root/virt:CIM_ConcreteJob.InstanceID="e5080900-e14b-4204-b713-9e6cd3552e69" Virt_VirtualSystemSnapshotService.c(301): Failed to create job misc_util.c(75): Connecting to libvirt with uri `qemu:///system' misc_util.c(202): URI of connection is: qemu:///system device_parsing.c(273): Disk node: disk -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From deeptik at linux.vnet.ibm.com Tue Oct 6 11:36:42 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Tue, 06 Oct 2009 17:06:42 +0530 Subject: [Libvirt-cim] [PATCH] [TEST] #3 Add try / except to VSMS 15 In-Reply-To: <34e7c36ffd8acbb3d5ae.1254418578@elm3b41.beaverton.ibm.com> References: <34e7c36ffd8acbb3d5ae.1254418578@elm3b41.beaverton.ibm.com> Message-ID: <4ACB2BCA.8030208@linux.vnet.ibm.com> Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1252002019 25200 > # Node ID 34e7c36ffd8acbb3d5ae5b60653e646f40a1793d > # Parent 215cbc24f8f95f95543a24ecc7e3b1d80594ecdd > [TEST] #3 Add try / except to VSMS 15 > > Tested on Fedora 11 with KVM > > This will catch any unexpected exceptions. Otherwise, the exception isn't > caught and the guest may not be properly undefined > > Updates from 2 to 3: > -Replace cxml.start() with cxml.cim_start() > -Don't attempt to undefine the guest after calling cim_destroy(), since > DestroySystem() also does an undefine > > Updates from 1 to 2: > -Fix Exception() calls to use % instead of a , when specifying arguments > -Remove import of default_network_name > -Replace destroy() with cim_destroy() > > Signed-off-by: Kaitlin Rupert > > > > - cleanup_env(options.ip, cxml) > + defined_domains = domain_list(options.ip, options.virt) > + if default_dom in defined_domains: > + cxml.cim_destroy(options.ip) > > There are more than 4 space here after the if condition. +1 for me since this does not affect the test case execution. Would be good if this is corrected next time. > - return PASS > + curr_cim_rev, changeset = get_provider_version(options.virt, options.ip) > + if curr_cim_rev <= libvirt_f9_revision and options.virt == "KVM": > + return XFAIL_RC(f9_bug) > + > + if options.virt == "LXC": > + return XFAIL_RC(bug) > + > + return status > > if __name__ == "__main__": > sys.exit(main()) > > _______________________________________________ > Libvirt-cim mailing list > Libvirt-cim at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-cim > -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From deeptik at linux.vnet.ibm.com Tue Oct 6 11:38:02 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Tue, 06 Oct 2009 17:08:02 +0530 Subject: [Libvirt-cim] [PATCH] [TEST] Add timestamps to main.py to calculate run time of tests In-Reply-To: <4AC522ED.6050505@linux.vnet.ibm.com> References: <2d852ba88fd24102ec98.1252022739@elm3b151.beaverton.ibm.com> <4AAA3E32.3030003@linux.vnet.ibm.com> <4AC522ED.6050505@linux.vnet.ibm.com> Message-ID: <4ACB2C1A.9010209@linux.vnet.ibm.com> Kaitlin Rupert wrote: > Sorry for the slow response on this. > >>> + >>> + testsuite.debug(" Execution time: %sh %smin %ssec %smsec" % >>> + (h, m, s, msec)) >> You can remove the blank space from the above log, so that the >> message is aligned with the test case log messages. > > Is it alright if I leave it as is? I actually prefer it that way, as I > think it makes it easier to read. But if you think it's too busy, I > can remove the spaces. oh! ok no issues. > >> You can also include some delimiters between the time values to make >> more clear, also we can print the hr , min, sec in H, MIN, SEC would >> be good. >> something like this: >> >> testsuite.debug(" ---------------------------") > > Oh funny, I also think this makes it more difficult to read. > >> testsuite.debug("Execution time: %sh | %smin |%ssec |%smsec|" % >> (h, m, s, msec)) > > I really like this though. How about I include this change and once > its in stream, we can get feedback about how readable it is. Maybe > other people can chime in. Sure this will be good. > >> >> This will print the information in the following format. >> Starting test suite: libvirt-cim >> >> -------------------------------------------------------------------- >> ComputerSystem - 04_defineStartVS.py: PASS >> --------------------------- >> Execution time: 0H | 0MIN |1SEC |638MSEC| >> -------------------------------------------------------------------- >> >> Total test execution: >> --------------------------- >> Execution time: 0H | 0MIN |1SEC |638MSEC| >> Testing KVM hypervisor >> -------------------------------------------------------------------- >> ComputerSystem - 04_defineStartVS.py: PASS >> --------------------------- >> Execution time: 0h | 0min |1sec |663msec| >> -------------------------------------------------------------------- >> >> Total test execution: >> --------------------------- >> Execution time: 0h | 0min |1sec |663msec| >> >> Do we require milliseconds information ? > > I'd like to keep the milliseconds for now. It's probably not needed, > but it can always be removed later on. > >> Can we print the total time as part of the Summary information in the >> test run report, otherwise we will have to go to the bottom of the >> results to know the total time details. >> > > Excellent idea - I will add that as well. > > -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From deeptik at linux.vnet.ibm.com Tue Oct 6 11:44:09 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Tue, 06 Oct 2009 17:14:09 +0530 Subject: [Libvirt-cim] [PATCH] [TEST] #2 Add timestamps to main.py to calculate run time of tests In-Reply-To: References: Message-ID: <4ACB2D89.6030506@linux.vnet.ibm.com> The total execution time is getting printed twice. Once in the summary and the second time at the bottom of the test run. We can remove the total execution time printed at the bottom of the test run. Otherwise looks good. Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1254421148 25200 > # Node ID d7e6caafb254ada1c41307ed218e753f781cf512 > # Parent e627b9efe5ebdb776baef0c504706fb03d1ac0e0 > [TEST] #2 Add timestamps to main.py to calculate run time of tests > > Updates: > -Add deliniation between mins, sec, etc. > -Add total execution time to top of test report > > These changes allow the user to specify the --print-exec-time flag, which will > print the execution time of each test. If this flag isn't specified, the > total run time of the test is still printed. > > Signed-off-by: Kaitlin Rupert > > diff -r e627b9efe5eb -r d7e6caafb254 suites/libvirt-cim/lib/XenKvmLib/reporting.py > --- a/suites/libvirt-cim/lib/XenKvmLib/reporting.py Thu Oct 01 10:37:39 2009 -0700 > +++ b/suites/libvirt-cim/lib/XenKvmLib/reporting.py Thu Oct 01 11:19:08 2009 -0700 > @@ -125,7 +125,9 @@ > > fd = open(log_file, "r") > > + exec_time = "Unknown" > run_output = "" > + > for line in fd.xreadlines(): > for type, val in rvals.iteritems(): > if type in line: > @@ -133,11 +135,14 @@ > continue > rvals[type] += 1 > tstr[type] += "%s" % line > + > + if line.find("Total test execution") >= 0: > + exec_time = line > run_output += line > > fd.close() > > - return rvals, tstr, run_output > + return rvals, tstr, run_output, exec_time > > def build_report_body(rvals, tstr, div): > results = "" > @@ -168,13 +173,13 @@ > > divider = "=================================================\n" > > - rvals, tstr, run_output = parse_run_output(log_file) > + rvals, tstr, run_output, exec_time = parse_run_output(log_file) > > res, res_total, test_block = build_report_body(rvals, tstr, divider) > > - report = divider + heading + "\n" + divider + sys_env + divider + res \ > - + res_total + divider + test_block + "Full report:\n" \ > - + run_output > + report = divider + heading + "\n" + divider + sys_env + exec_time \ > + + divider + res + res_total + divider + test_block \ > + + "Full report:\n" + run_output > > fd = open(log_file, "w") > rc = fd.write(report) > diff -r e627b9efe5eb -r d7e6caafb254 suites/libvirt-cim/main.py > --- a/suites/libvirt-cim/main.py Thu Oct 01 10:37:39 2009 -0700 > +++ b/suites/libvirt-cim/main.py Thu Oct 01 11:19:08 2009 -0700 > @@ -22,6 +22,7 @@ > # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > # > > +from time import time > from optparse import OptionParser > import os > import sys > @@ -64,6 +65,9 @@ > help="Duplicate the output to stderr") > parser.add_option("--report", dest="report", > help="Send report using mail info: --report=") > +parser.add_option("--print-exec-time", action="store_true", > + dest="print_exec_time", > + help="Print execution time of each test") > > TEST_SUITE = 'cimtest' > CIMTEST_RCFILE = '%s/.cimtestrc' % os.environ['HOME'] > @@ -146,6 +150,30 @@ > > return PASS > > +def print_exec_time(testsuite, exec_time, prefix=None): > + > + #Convert run time from seconds to hours > + tmp = exec_time / (60 * 60) > + h = int(tmp) > + > + #Subtract out hours and convert remainder to minutes > + tmp = (tmp - h) * 60 > + m = int(tmp) > + > + #Subtract out minutes and convert remainder to seconds > + tmp = (tmp - m) * 60 > + s = int(tmp) > + > + #Subtract out seconds and convert remainder to milliseconds > + tmp = (tmp - s) * 1000 > + msec = int(tmp) > + > + if prefix is None: > + prefix = " " > + > + testsuite.debug("%s %sh | %smin | %ssec | %smsec" % > + (prefix, h, m, s, msec)) > + > def main(): > (options, args) = parser.parse_args() > to_addr = None > @@ -213,6 +241,8 @@ > > print "\nTesting " + options.virt + " hypervisor" > > + test_run_time_total = 0 > + > for test in test_list: > testsuite.debug(div) > t_path = os.path.join(TEST_SUITE, test['group']) > @@ -222,13 +252,24 @@ > options.virt, dbg, > options.t_url) > cmd = cdto + ' && ' + ' ' + run > + start_time = time() > status, output = commands.getstatusoutput(cmd) > + end_time = time() > > os_status = os.WEXITSTATUS(status) > > testsuite.print_results(test['group'], test['test'], os_status, output) > > + exec_time = end_time - start_time > + test_run_time_total = test_run_time_total + exec_time > + > + if options.print_exec_time: > + print_exec_time(testsuite, exec_time, " Test execution time:") > + > testsuite.debug("%s\n" % div) > + print_exec_time(testsuite, test_run_time_total, "Total test execution:") > + testsuite.debug("\n") > + > testsuite.finish() > > status = cleanup_env(options.ip, options.virt) > > _______________________________________________ > Libvirt-cim mailing list > Libvirt-cim at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-cim > -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From deeptik at linux.vnet.ibm.com Tue Oct 6 11:52:43 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Tue, 06 Oct 2009 17:22:43 +0530 Subject: [Libvirt-cim] [PATCH] [TEST] #2 Add timestamps to main.py to calculate run time of tests In-Reply-To: <4ACB2D89.6030506@linux.vnet.ibm.com> References: <4ACB2D89.6030506@linux.vnet.ibm.com> Message-ID: <4ACB2F8B.6040206@linux.vnet.ibm.com> Deepti B Kalakeri wrote: > The total execution time is getting printed twice. > Once in the summary and the second time at the bottom of the test run. > We can remove the total execution time printed at the bottom of the > test run. > Otherwise looks good. Also, can we have the option to print the total execution time only when we use the --print-exec-time? Currently we get the total execution time with/without the --print-exect-time option. > > Kaitlin Rupert wrote: >> # HG changeset patch >> # User Kaitlin Rupert >> # Date 1254421148 25200 >> # Node ID d7e6caafb254ada1c41307ed218e753f781cf512 >> # Parent e627b9efe5ebdb776baef0c504706fb03d1ac0e0 >> [TEST] #2 Add timestamps to main.py to calculate run time of tests >> >> Updates: >> -Add deliniation between mins, sec, etc. >> -Add total execution time to top of test report >> >> These changes allow the user to specify the --print-exec-time flag, >> which will >> print the execution time of each test. If this flag isn't specified, the >> total run time of the test is still printed. >> >> Signed-off-by: Kaitlin Rupert >> >> diff -r e627b9efe5eb -r d7e6caafb254 >> suites/libvirt-cim/lib/XenKvmLib/reporting.py >> --- a/suites/libvirt-cim/lib/XenKvmLib/reporting.py Thu Oct 01 >> 10:37:39 2009 -0700 >> +++ b/suites/libvirt-cim/lib/XenKvmLib/reporting.py Thu Oct 01 >> 11:19:08 2009 -0700 >> @@ -125,7 +125,9 @@ >> >> fd = open(log_file, "r") >> >> + exec_time = "Unknown" >> run_output = "" >> + >> for line in fd.xreadlines(): >> for type, val in rvals.iteritems(): >> if type in line: >> @@ -133,11 +135,14 @@ >> continue >> rvals[type] += 1 >> tstr[type] += "%s" % line >> + >> + if line.find("Total test execution") >= 0: >> + exec_time = line run_output += line >> >> fd.close() >> >> - return rvals, tstr, run_output >> + return rvals, tstr, run_output, exec_time >> >> def build_report_body(rvals, tstr, div): >> results = "" >> @@ -168,13 +173,13 @@ >> >> divider = "=================================================\n" >> >> - rvals, tstr, run_output = parse_run_output(log_file) >> + rvals, tstr, run_output, exec_time = parse_run_output(log_file) >> >> res, res_total, test_block = build_report_body(rvals, tstr, divider) >> >> - report = divider + heading + "\n" + divider + sys_env + divider + >> res \ >> - + res_total + divider + test_block + "Full report:\n" \ >> - + run_output >> + report = divider + heading + "\n" + divider + sys_env + exec_time \ >> + + divider + res + res_total + divider + test_block \ >> + + "Full report:\n" + run_output >> >> fd = open(log_file, "w") >> rc = fd.write(report) >> diff -r e627b9efe5eb -r d7e6caafb254 suites/libvirt-cim/main.py >> --- a/suites/libvirt-cim/main.py Thu Oct 01 10:37:39 2009 -0700 >> +++ b/suites/libvirt-cim/main.py Thu Oct 01 11:19:08 2009 -0700 >> @@ -22,6 +22,7 @@ >> # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 >> USA >> # >> >> +from time import time >> from optparse import OptionParser >> import os >> import sys >> @@ -64,6 +65,9 @@ >> help="Duplicate the output to stderr") >> parser.add_option("--report", dest="report", >> help="Send report using mail info: --report=") >> +parser.add_option("--print-exec-time", action="store_true", + >> dest="print_exec_time", >> + help="Print execution time of each test") >> >> TEST_SUITE = 'cimtest' >> CIMTEST_RCFILE = '%s/.cimtestrc' % os.environ['HOME'] >> @@ -146,6 +150,30 @@ >> >> return PASS >> >> +def print_exec_time(testsuite, exec_time, prefix=None): >> + >> + #Convert run time from seconds to hours >> + tmp = exec_time / (60 * 60) >> + h = int(tmp) >> + >> + #Subtract out hours and convert remainder to minutes >> + tmp = (tmp - h) * 60 + m = int(tmp) >> + >> + #Subtract out minutes and convert remainder to seconds >> + tmp = (tmp - m) * 60 + s = int(tmp) >> + >> + #Subtract out seconds and convert remainder to milliseconds >> + tmp = (tmp - s) * 1000 >> + msec = int(tmp) >> + >> + if prefix is None: >> + prefix = " " >> + >> + testsuite.debug("%s %sh | %smin | %ssec | %smsec" % >> + (prefix, h, m, s, msec)) + >> def main(): >> (options, args) = parser.parse_args() >> to_addr = None >> @@ -213,6 +241,8 @@ >> >> print "\nTesting " + options.virt + " hypervisor" >> >> + test_run_time_total = 0 >> + >> for test in test_list: testsuite.debug(div) t_path = >> os.path.join(TEST_SUITE, test['group']) >> @@ -222,13 +252,24 @@ >> options.virt, dbg, >> options.t_url) >> cmd = cdto + ' && ' + ' ' + run >> + start_time = time() >> status, output = commands.getstatusoutput(cmd) >> + end_time = time() >> >> os_status = os.WEXITSTATUS(status) >> >> testsuite.print_results(test['group'], test['test'], os_status, output) >> >> + exec_time = end_time - start_time >> + test_run_time_total = test_run_time_total + exec_time >> + >> + if options.print_exec_time: >> + print_exec_time(testsuite, exec_time, " Test execution time:") >> + >> testsuite.debug("%s\n" % div) + print_exec_time(testsuite, >> test_run_time_total, "Total test execution:") >> + testsuite.debug("\n") + >> testsuite.finish() >> >> status = cleanup_env(options.ip, options.virt) >> >> _______________________________________________ >> Libvirt-cim mailing list >> Libvirt-cim at redhat.com >> https://www.redhat.com/mailman/listinfo/libvirt-cim > -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From deeptik at linux.vnet.ibm.com Tue Oct 6 11:54:20 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Tue, 06 Oct 2009 17:24:20 +0530 Subject: [Libvirt-cim] [PATCH] [TEST] Fix RPCS tests to work with older provider versions In-Reply-To: <9e5c87bfe7c61fe8e713.1254509635@elm3b41.beaverton.ibm.com> References: <9e5c87bfe7c61fe8e713.1254509635@elm3b41.beaverton.ibm.com> Message-ID: <4ACB2FEC.8030006@linux.vnet.ibm.com> +1 Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1254509610 25200 > # Node ID 9e5c87bfe7c61fe8e713790398ce5f5a8039809c > # Parent 9dcdf8704e8907185daa46df76507f768a69ad69 > [TEST] Fix RPCS tests to work with older provider versions. > > Signed-off-by: Kaitlin Rupert > > diff -r 9dcdf8704e89 -r 9e5c87bfe7c6 suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/08_CreateDiskResourcePool.py > --- a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/08_CreateDiskResourcePool.py Fri Oct 02 10:53:38 2009 -0700 > +++ b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/08_CreateDiskResourcePool.py Fri Oct 02 11:53:30 2009 -0700 > @@ -145,10 +145,12 @@ > status = PASS > > except Exception, details: > + if status == PASS: > + status = FAIL > + > logger.error("Exception details: %s", details) > if key == 'DISK_POOL_NETFS': > netfs_cleanup(server, pool_attr) > - return FAIL > > return status > > diff -r 9dcdf8704e89 -r 9e5c87bfe7c6 suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py > --- a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py Fri Oct 02 10:53:38 2009 -0700 > +++ b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py Fri Oct 02 11:53:30 2009 -0700 > @@ -173,7 +173,7 @@ > > libvirt_ver = virsh_version(server, virt) > cim_rev, changeset = get_provider_version(virt, server) > - if libvirt_ver < "0.4.1" and cim_rev < libvirt_rasd_storagepool_changes: > + if libvirt_ver < "0.4.1" or cim_rev < libvirt_rasd_storagepool_changes: > logger.info("Storage Volume creation support is available with Libvirt" > "version >= 0.4.1 and Libvirt-CIM rev '%s'", > libvirt_rasd_storagepool_changes) > diff -r 9dcdf8704e89 -r 9e5c87bfe7c6 suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/11_create_dir_storagevolume_errs.py > --- a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/11_create_dir_storagevolume_errs.py Fri Oct 02 10:53:38 2009 -0700 > +++ b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/11_create_dir_storagevolume_errs.py Fri Oct 02 11:53:30 2009 -0700 > @@ -125,7 +125,7 @@ > > libvirt_ver = virsh_version(server, virt) > cim_rev, changeset = get_provider_version(virt, server) > - if libvirt_ver < "0.4.1" and cim_rev < libvirt_rasd_storagepool_changes: > + if libvirt_ver < "0.4.1" or cim_rev < libvirt_rasd_storagepool_changes: > logger.info("Storage Volume creation support is available with Libvirt" > "version >= 0.4.1 and Libvirt-CIM rev '%s'", > libvirt_rasd_storagepool_changes) > diff -r 9dcdf8704e89 -r 9e5c87bfe7c6 suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/13_delete_storagevolume.py > --- a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/13_delete_storagevolume.py Fri Oct 02 10:53:38 2009 -0700 > +++ b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/13_delete_storagevolume.py Fri Oct 02 11:53:30 2009 -0700 > @@ -50,7 +50,7 @@ > > libvirt_ver = virsh_version(server, virt) > cim_rev, changeset = get_provider_version(virt, server) > - if libvirt_ver < "0.4.1" and cim_rev < libvirt_rasd_spool_del_changes: > + if libvirt_ver < "0.4.1" or cim_rev < libvirt_rasd_spool_del_changes: > logger.info("Storage Volume deletion support is available with Libvirt" > "version >= 0.4.1 and Libvirt-CIM rev '%s'", > libvirt_rasd_spool_del_changes) > diff -r 9dcdf8704e89 -r 9e5c87bfe7c6 suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/14_delete_storagevolume_errs.py > --- a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/14_delete_storagevolume_errs.py Fri Oct 02 10:53:38 2009 -0700 > +++ b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/14_delete_storagevolume_errs.py Fri Oct 02 11:53:30 2009 -0700 > @@ -119,7 +119,7 @@ > > libvirt_ver = virsh_version(server, virt) > cim_rev, changeset = get_provider_version(virt, server) > - if libvirt_ver < "0.4.1" and cim_rev < libvirt_rasd_spool_del_changes: > + if libvirt_ver < "0.4.1" or cim_rev < libvirt_rasd_spool_del_changes: > logger.info("Storage Volume deletion support is available with Libvirt" > "version >= 0.4.1 and Libvirt-CIM rev '%s'", > libvirt_rasd_spool_del_changes) > > _______________________________________________ > Libvirt-cim mailing list > Libvirt-cim at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-cim > -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From deeptik at linux.vnet.ibm.com Tue Oct 6 12:18:57 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Tue, 06 Oct 2009 17:48:57 +0530 Subject: [Libvirt-cim] [PATCH] [TEST] Make VSSD 05 test SKIP is providers are older tha 837 In-Reply-To: <061f37113f9294f83a46.1254510054@elm3b41.beaverton.ibm.com> References: <061f37113f9294f83a46.1254510054@elm3b41.beaverton.ibm.com> Message-ID: <4ACB35B1.9030205@linux.vnet.ibm.com> +1 for me. -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Tue Oct 6 15:33:13 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Tue, 06 Oct 2009 08:33:13 -0700 Subject: [Libvirt-cim] Re: Test Run Summary (Oct 06 2009): KVM on Red Hat Enterprise Linux Server release 5.4 Beta (Tikanga) with Pegasus In-Reply-To: <4ACB2764.2060302@linux.vnet.ibm.com> References: <4ACB238B.6080109@linux.vnet.ibm.com> <4ACB2764.2060302@linux.vnet.ibm.com> Message-ID: <4ACB6339.2060703@linux.vnet.ibm.com> >> VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL > > The above test fails with the following message: > > ERROR - Exception: CreateSnapshot failed to return a CIM job inst > ERROR - Failed to remove snapshot file for snapshot_vm This is because the following Pegasus option isn't set: repositoryIsDefaultInstanceProvider=true > > > Heres the debug message: > > std_invokemethod.c(230): Method parameter `SnapshotType' validated type > 0x90 > std_invokemethod.c(303): Executing handler for method `CreateSnapshot' > Virt_VirtualSystemSnapshotService.c(297): ref was > root/virt:CIM_ConcreteJob.InstanceID="e5080900-e14b-4204-b713-9e6cd3552e69" > Virt_VirtualSystemSnapshotService.c(301): Failed to create job > misc_util.c(75): Connecting to libvirt with uri `qemu:///system' > misc_util.c(202): URI of connection is: qemu:///system > device_parsing.c(273): Disk node: disk > > -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From rmaciel at linux.vnet.ibm.com Tue Oct 6 16:18:33 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Tue, 6 Oct 2009 12:18:33 -0400 Subject: [Libvirt-cim] Test Run Summary (Oct 06 2009): LXC on Fedora release 11.91 (Rawhide) with Unknown Message-ID: <200910061618.n96GIXdf013390@d01av04.pok.ibm.com> ================================================= Test Run Summary (Oct 06 2009): LXC on Fedora release 11.91 (Rawhide) with Unknown ================================================= Distro: Fedora release 11.91 (Rawhide) Kernel: 2.6.30.5-43.fc11.x86_64 libvirt: 0.7.1 Hypervisor: QEMU 0.11.0 CIMOM: Unknown unknown version Libvirt-cim revision: 0 Libvirt-cim changeset: Unknown Cimtest revision: 786 Cimtest changeset: 215cbc24f8f9 ================================================= FAIL : 46 XFAIL : 6 SKIP : 54 PASS : 69 ----------------- Total : 175 ================================================= FAIL Test Summary: HostedAccessPoint - 01_forward.py: FAIL HostedAccessPoint - 02_reverse.py: FAIL KVMRedirectionSAP - 01_enum_KVMredSAP.py: FAIL RedirectionService - 03_RedirectionSAP_errs.py: FAIL ResourceAllocationFromPool - 01_forward.py: FAIL ResourceAllocationFromPool - 02_reverse.py: FAIL ServiceAccessBySAP - 01_forward.py: FAIL ServiceAccessBySAP - 02_reverse.py: FAIL ServiceAffectsElement - 01_forward.py: FAIL ServiceAffectsElement - 02_reverse.py: FAIL SettingsDefine - 02_reverse.py: FAIL SettingsDefineCapabilities - 01_forward.py: FAIL SettingsDefineCapabilities - 03_forward_errs.py: FAIL SettingsDefineCapabilities - 04_forward_vsmsdata.py: FAIL SettingsDefineCapabilities - 05_reverse_vsmcap.py: FAIL SystemDevice - 01_forward.py: FAIL SystemDevice - 02_reverse.py: FAIL SystemDevice - 03_fwderrs.py: FAIL VSSD - 01_enum.py: FAIL VSSD - 03_vssd_gi_errs.py: FAIL VSSD - 04_vssd_to_rasd.py: FAIL VSSD - 05_set_uuid.py: FAIL VirtualSystemManagementCapabilities - 01_enum.py: FAIL VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: FAIL VirtualSystemManagementService - 01_definesystem_name.py: FAIL VirtualSystemManagementService - 02_destroysystem.py: FAIL VirtualSystemManagementService - 03_definesystem_ess.py: FAIL VirtualSystemManagementService - 04_definesystem_ers.py: FAIL VirtualSystemManagementService - 05_destroysystem_neg.py: FAIL VirtualSystemManagementService - 10_hv_version.py: FAIL VirtualSystemManagementService - 14_define_sys_disk.py: FAIL VirtualSystemManagementService - 15_mod_system_settings.py: FAIL VirtualSystemManagementService - 21_createVS_verifyMAC.py: FAIL VirtualSystemMigrationCapabilities - 01_enum.py: FAIL VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: FAIL VirtualSystemMigrationSettingData - 01_enum.py: FAIL VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: FAIL VirtualSystemSettingDataComponent - 01_forward.py: FAIL VirtualSystemSettingDataComponent - 02_reverse.py: FAIL VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: FAIL VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: FAIL VirtualSystemSnapshotService - 01_enum.py: FAIL VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: FAIL VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL VirtualSystemSnapshotServiceCapabilities - 01_enum.py: FAIL VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: FAIL ================================================= XFAIL Test Summary: ComputerSystem - 06_paused_active_suspend.py: XFAIL ComputerSystem - 23_pause_pause.py: XFAIL ComputerSystem - 32_start_reboot.py: XFAIL ComputerSystem - 33_suspend_reboot.py: XFAIL HostedDependency - 03_enabledstate.py: XFAIL VirtualSystemManagementService - 07_addresource_neg.py: XFAIL ================================================= SKIP Test Summary: ComputerSystem - 02_nosystems.py: SKIP ComputerSystem - 41_cs_to_settingdefinestate.py: SKIP ComputerSystemIndication - 01_created_indication.py: SKIP ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP ElementAllocatedFromPool - 03_reverse_errs.py: SKIP ElementAllocatedFromPool - 04_forward_errs.py: SKIP LogicalDisk - 01_disk.py: SKIP LogicalDisk - 03_ld_gi_errs.py: SKIP NetworkPort - 01_netport.py: SKIP NetworkPort - 02_np_gi_errors.py: SKIP NetworkPort - 03_user_netport.py: SKIP Processor - 01_processor.py: SKIP Processor - 02_definesys_get_procs.py: SKIP Processor - 03_proc_gi_errs.py: SKIP RASD - 04_disk_rasd_size.py: SKIP RASD - 05_disk_rasd_emu_type.py: SKIP RASD - 06_parent_net_pool.py: SKIP RASD - 07_parent_disk_pool.py: SKIP RASDIndications - 01_guest_states_rasd_ind.py: SKIP RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: SKIP ResourceAllocationFromPool - 05_RAPF_err.py: SKIP ResourcePoolConfigurationService - 03_CreateResourcePool.py: SKIP ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: SKIP ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: SKIP ResourcePoolConfigurationService - 07_DeleteResourcePool.py: SKIP ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: SKIP ResourcePoolConfigurationService - 09_DeleteDiskPool.py: SKIP ResourcePoolConfigurationService - 10_create_storagevolume.py: SKIP ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: SKIP ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: SKIP ResourcePoolConfigurationService - 13_delete_storagevolume.py: SKIP ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: SKIP VSSD - 02_bootldr.py: SKIP VSSD - 06_duplicate_uuid.py: SKIP VirtualSystemManagementService - 06_addresource.py: SKIP VirtualSystemManagementService - 08_modifyresource.py: SKIP VirtualSystemManagementService - 09_procrasd_persist.py: SKIP VirtualSystemManagementService - 11_define_memrasdunits.py: SKIP VirtualSystemManagementService - 12_referenced_config.py: SKIP VirtualSystemManagementService - 13_refconfig_additional_devs.py: SKIP VirtualSystemManagementService - 16_removeresource.py: SKIP VirtualSystemManagementService - 17_removeresource_neg.py: SKIP VirtualSystemManagementService - 18_define_sys_bridge.py: SKIP VirtualSystemManagementService - 19_definenetwork_ers.py: SKIP VirtualSystemManagementService - 20_verify_vnc_password.py: SKIP VirtualSystemManagementService - 22_addmulti_brg_interface.py: SKIP VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: SKIP VirtualSystemMigrationService - 01_migratable_host.py: SKIP VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: SKIP ================================================= Full report: -------------------------------------------------------------------- AllocationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- AllocationCapabilities - 02_alloccap_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 01_enum.py: PASS -------------------------------------------------------------------- ComputerSystem - 02_nosystems.py: SKIP ERROR - System has defined domains; unable to run -------------------------------------------------------------------- ComputerSystem - 03_defineVS.py: PASS -------------------------------------------------------------------- ComputerSystem - 04_defineStartVS.py: PASS -------------------------------------------------------------------- ComputerSystem - 05_activate_defined_start.py: PASS -------------------------------------------------------------------- ComputerSystem - 06_paused_active_suspend.py: XFAIL ERROR - Got CIM error CIM_ERR_FAILED: Unable to pause domain: this function is not supported by the hypervisor: virDomainSuspend with return code 1 ERROR - Exception variable: Unable pause dom 'DomST1' InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to pause domain: this function is not supported by the hypervisor: virDomainSuspend Bug:<00011> -------------------------------------------------------------------- ComputerSystem - 22_define_suspend.py: PASS -------------------------------------------------------------------- ComputerSystem - 23_pause_pause.py: XFAIL ERROR - Got CIM error CIM_ERR_FAILED: Unable to pause domain: this function is not supported by the hypervisor: virDomainSuspend with return code 1 ERROR - Exception: 'Unable pause dom 'cs_test_domain'' InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to pause domain: this function is not supported by the hypervisor: virDomainSuspend Bug:<00011> -------------------------------------------------------------------- ComputerSystem - 27_define_pause_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 32_start_reboot.py: XFAIL ERROR - Got CIM error CIM_ERR_FAILED: Unable to reboot domain: this function is not supported by the hypervisor: virDomainReboot with return code 1 ERROR - Exception: Unable reboot dom 'cs_test_domain' InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to reboot domain: this function is not supported by the hypervisor: virDomainReboot Bug:<00005> -------------------------------------------------------------------- ComputerSystem - 33_suspend_reboot.py: XFAIL ERROR - Got CIM error CIM_ERR_NOT_SUPPORTED: State not supported with return code 7 ERROR - Exception: Unable Suspend dom 'test_domain' InvokeMethod(RequestStateChange): CIM_ERR_NOT_SUPPORTED: State not supported Bug:<00012> -------------------------------------------------------------------- ComputerSystem - 34_start_disable.py: PASS -------------------------------------------------------------------- ComputerSystem - 35_start_reset.py: PASS -------------------------------------------------------------------- ComputerSystem - 40_RSC_start.py: PASS -------------------------------------------------------------------- ComputerSystem - 41_cs_to_settingdefinestate.py: SKIP -------------------------------------------------------------------- ComputerSystem - 42_cs_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystemIndication - 01_created_indication.py: SKIP -------------------------------------------------------------------- ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP -------------------------------------------------------------------- ElementAllocatedFromPool - 01_forward.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 02_reverse.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 03_reverse_errs.py: SKIP -------------------------------------------------------------------- ElementAllocatedFromPool - 04_forward_errs.py: SKIP -------------------------------------------------------------------- ElementCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- ElementCapabilities - 02_reverse.py: PASS -------------------------------------------------------------------- ElementCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 05_hostsystem_cap.py: PASS -------------------------------------------------------------------- ElementConforms - 01_forward.py: PASS -------------------------------------------------------------------- ElementConforms - 02_reverse.py: PASS -------------------------------------------------------------------- ElementConforms - 03_ectp_fwd_errs.py: PASS -------------------------------------------------------------------- ElementConforms - 04_ectp_rev_errs.py: PASS -------------------------------------------------------------------- ElementSettingData - 01_forward.py: PASS -------------------------------------------------------------------- ElementSettingData - 03_esd_assoc_with_rasd_errs.py: PASS -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: PASS -------------------------------------------------------------------- HostSystem - 01_enum.py: PASS -------------------------------------------------------------------- HostSystem - 02_hostsystem_to_rasd.py: PASS -------------------------------------------------------------------- HostSystem - 03_hs_to_settdefcap.py: PASS -------------------------------------------------------------------- HostSystem - 04_hs_to_EAPF.py: PASS -------------------------------------------------------------------- HostSystem - 05_hs_gi_errs.py: PASS -------------------------------------------------------------------- HostSystem - 06_hs_to_vsms.py: PASS -------------------------------------------------------------------- HostedAccessPoint - 01_forward.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Failed to define domain: operation failed: domain 'domu1' is already defined with uuid 8df69b07-61e7-4de3-ac5a-0332be809a24 with return code 1 ERROR - Failed to define the dom: domu1 InvokeMethod(DefineSystem): CIM_ERR_FAILED: Failed to define domain: operation failed: domain 'domu1' is already defined with uuid 8df69b07-61e7-4de3-ac5a-0332be809a24 -------------------------------------------------------------------- HostedAccessPoint - 02_reverse.py: FAIL ERROR - No kvmrsap instance returned CIM_ERR_INVALID_CLASS: Linux_ComputerSystem -------------------------------------------------------------------- HostedDependency - 01_forward.py: PASS -------------------------------------------------------------------- HostedDependency - 02_reverse.py: PASS -------------------------------------------------------------------- HostedDependency - 03_enabledstate.py: XFAIL ERROR - Exception: (1, u'CIM_ERR_FAILED: Unable to pause domain: this function is not supported by the hypervisor: virDomainSuspend') ERROR - Failed to suspend the dom: hd_domain1 InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to pause domain: this function is not supported by the hypervisor: virDomainSuspend Bug:<00011> -------------------------------------------------------------------- HostedDependency - 04_reverse_errs.py: PASS -------------------------------------------------------------------- HostedResourcePool - 01_forward.py: PASS -------------------------------------------------------------------- HostedResourcePool - 02_reverse.py: PASS -------------------------------------------------------------------- HostedResourcePool - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedResourcePool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- HostedService - 01_forward.py: PASS -------------------------------------------------------------------- HostedService - 02_reverse.py: PASS -------------------------------------------------------------------- HostedService - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedService - 04_reverse_errs.py: PASS -------------------------------------------------------------------- KVMRedirectionSAP - 01_enum_KVMredSAP.py: FAIL ERROR - Exception: Failed to get information on the defined dom:test_kvmredsap_dom -------------------------------------------------------------------- LogicalDisk - 01_disk.py: SKIP -------------------------------------------------------------------- LogicalDisk - 02_nodevs.py: PASS -------------------------------------------------------------------- LogicalDisk - 03_ld_gi_errs.py: SKIP -------------------------------------------------------------------- Memory - 01_memory.py: PASS -------------------------------------------------------------------- Memory - 02_defgetmem.py: PASS -------------------------------------------------------------------- Memory - 03_mem_gi_errs.py: PASS -------------------------------------------------------------------- NetworkPort - 01_netport.py: SKIP -------------------------------------------------------------------- NetworkPort - 02_np_gi_errors.py: SKIP -------------------------------------------------------------------- NetworkPort - 03_user_netport.py: SKIP -------------------------------------------------------------------- Processor - 01_processor.py: SKIP -------------------------------------------------------------------- Processor - 02_definesys_get_procs.py: SKIP -------------------------------------------------------------------- Processor - 03_proc_gi_errs.py: SKIP -------------------------------------------------------------------- Profile - 01_enum.py: PASS -------------------------------------------------------------------- Profile - 02_profile_to_elec.py: PASS -------------------------------------------------------------------- Profile - 03_rprofile_gi_errs.py: PASS -------------------------------------------------------------------- RASD - 01_verify_rasd_fields.py: PASS -------------------------------------------------------------------- RASD - 02_enum.py: PASS -------------------------------------------------------------------- RASD - 03_rasd_errs.py: PASS -------------------------------------------------------------------- RASD - 04_disk_rasd_size.py: SKIP -------------------------------------------------------------------- RASD - 05_disk_rasd_emu_type.py: SKIP -------------------------------------------------------------------- RASD - 06_parent_net_pool.py: SKIP 06_parent_net_pool.py:50: DeprecationWarning: the sets module is deprecated from sets import Set -------------------------------------------------------------------- RASD - 07_parent_disk_pool.py: SKIP 07_parent_disk_pool.py:47: DeprecationWarning: the sets module is deprecated from sets import Set -------------------------------------------------------------------- RASDIndications - 01_guest_states_rasd_ind.py: SKIP -------------------------------------------------------------------- RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: SKIP -------------------------------------------------------------------- RedirectionService - 01_enum_crs.py: PASS -------------------------------------------------------------------- RedirectionService - 02_enum_crscap.py: PASS -------------------------------------------------------------------- RedirectionService - 03_RedirectionSAP_errs.py: FAIL -------------------------------------------------------------------- ReferencedProfile - 01_verify_refprof.py: PASS -------------------------------------------------------------------- ReferencedProfile - 02_refprofile_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 01_forward.py: FAIL ERROR - 3 RASD insts != 4 pool insts -------------------------------------------------------------------- ResourceAllocationFromPool - 02_reverse.py: FAIL ERROR - 3 RASD insts != 4 pool insts -------------------------------------------------------------------- ResourceAllocationFromPool - 03_forward_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 05_RAPF_err.py: SKIP -------------------------------------------------------------------- ResourcePool - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePool - 02_rp_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 02_rcps_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 03_CreateResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 07_DeleteResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 09_DeleteDiskPool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 10_create_storagevolume.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 13_delete_storagevolume.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: SKIP -------------------------------------------------------------------- ServiceAccessBySAP - 01_forward.py: FAIL Traceback (most recent call last): File "/usr/lib64/python2.6/logging/__init__.py", line 760, in emit msg = self.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 644, in format return fmt.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 432, in format record.message = record.getMessage() File "/usr/lib64/python2.6/logging/__init__.py", line 302, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Traceback (most recent call last): File "/usr/lib64/python2.6/logging/__init__.py", line 760, in emit msg = self.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 644, in format return fmt.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 432, in format record.message = record.getMessage() File "/usr/lib64/python2.6/logging/__init__.py", line 302, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Traceback (most recent call last): File "/usr/lib64/python2.6/logging/__init__.py", line 760, in emit msg = self.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 644, in format return fmt.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 432, in format record.message = record.getMessage() File "/usr/lib64/python2.6/logging/__init__.py", line 302, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting -------------------------------------------------------------------- ServiceAccessBySAP - 02_reverse.py: FAIL ERROR - No kvmrsap instance found Traceback (most recent call last): File "/usr/lib64/python2.6/logging/__init__.py", line 760, in emit msg = self.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 644, in format return fmt.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 432, in format record.message = record.getMessage() File "/usr/lib64/python2.6/logging/__init__.py", line 302, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Traceback (most recent call last): File "/usr/lib64/python2.6/logging/__init__.py", line 760, in emit msg = self.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 644, in format return fmt.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 432, in format record.message = record.getMessage() File "/usr/lib64/python2.6/logging/__init__.py", line 302, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Traceback (most recent call last): File "/usr/lib64/python2.6/logging/__init__.py", line 760, in emit msg = self.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 644, in format return fmt.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 432, in format record.message = record.getMessage() File "/usr/lib64/python2.6/logging/__init__.py", line 302, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting -------------------------------------------------------------------- ServiceAffectsElement - 01_forward.py: FAIL 01_forward.py:51: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - Exception in fn verify_assoc() ERROR - Exception details: Failed to get init_list -------------------------------------------------------------------- ServiceAffectsElement - 02_reverse.py: FAIL 02_reverse.py:47: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - Exception : 'LXC_DisplayController' -------------------------------------------------------------------- SettingsDefine - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefine - 02_reverse.py: FAIL ERROR - Got 4 RASDs, expected 3 ERROR - Failed to verify RASDs -------------------------------------------------------------------- SettingsDefine - 03_sds_fwd_errs.py: PASS -------------------------------------------------------------------- SettingsDefine - 04_sds_rev_errs.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 01_forward.py: FAIL ERROR - Exception: 'NoneType' object has no attribute 'InstanceID' The web server returned a bad status line: '' Socket error: [Errno 111] Connection refused Socket error: [Errno 111] Connection refused Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- SettingsDefineCapabilities - 03_forward_errs.py: FAIL ERROR - Unexpected rc code 0 and description Socket error: [Errno 111] Connection refused ERROR - ------ FAILED: Invalid InstanceID Key Name.------ -------------------------------------------------------------------- SettingsDefineCapabilities - 04_forward_vsmsdata.py: FAIL ERROR - LXC_SettingsDefineCapabilities returned 0 LXC_VirtualSystemMigrationCapabilities objects Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- SettingsDefineCapabilities - 05_reverse_vsmcap.py: FAIL ERROR - LXC_SettingsDefineCapabilities returned 0 LXC_VirtualSystemMigrationSettingData objects Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- SystemDevice - 01_forward.py: FAIL 01_forward.py:29: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - Got CIM error Socket error: [Errno 111] Connection refused with return code 0 ERROR - Unable to define domain test_domain InvokeMethod(DefineSystem): Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- SystemDevice - 02_reverse.py: FAIL ERROR - Got CIM error Socket error: [Errno 111] Connection refused with return code 0 ERROR - Unable to define domain test_domain InvokeMethod(DefineSystem): Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- SystemDevice - 03_fwderrs.py: FAIL ERROR - Got CIM error Socket error: [Errno 111] Connection refused with return code 0 ERROR - Failed to define the domain 'virt1' InvokeMethod(DefineSystem): Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- VSSD - 01_enum.py: FAIL ERROR - Got CIM error Socket error: [Errno 111] Connection refused with return code 0 ERROR - error while create of VS ERROR - Missing VSSD instance for the system VSSD_dom InvokeMethod(DefineSystem): Socket error: [Errno 111] Connection refused Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- VSSD - 02_bootldr.py: SKIP -------------------------------------------------------------------- VSSD - 03_vssd_gi_errs.py: FAIL ERROR - Got CIM error Socket error: [Errno 111] Connection refused with return code 0 ERROR - error while define of VS InvokeMethod(DefineSystem): Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- VSSD - 04_vssd_to_rasd.py: FAIL ERROR - Got CIM error Socket error: [Errno 111] Connection refused with return code 0 ERROR - Failed to Define the domain: VSSDC_dom InvokeMethod(DefineSystem): Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- VSSD - 05_set_uuid.py: FAIL ERROR - Got CIM error Socket error: [Errno 111] Connection refused with return code 0 ERROR - Failed to define the dom: uuid_domain InvokeMethod(DefineSystem): Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- VSSD - 06_duplicate_uuid.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 01_enum.py: FAIL 01_enum.py:26: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - 'LXC_VirtualSystemManagementCapabilities' returned '0' instance, excepted only 1 Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: FAIL ERROR - Unexpected errno 0 and desc Socket error: [Errno 111] Connection refused ERROR - Expected No such instance (InstanceID) 6 ERROR - ------ FAILED: Invalid InstanceID Key Value.------ -------------------------------------------------------------------- VirtualSystemManagementService - 01_definesystem_name.py: FAIL ERROR - Got CIM error Socket error: [Errno 111] Connection refused with return code 0 ERROR - Unable to define test_domain InvokeMethod(DefineSystem): Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- VirtualSystemManagementService - 02_destroysystem.py: FAIL ERROR - Got CIM error Socket error: [Errno 111] Connection refused with return code 0 ERROR - Failed to define the domain 'test_domain' InvokeMethod(DefineSystem): Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- VirtualSystemManagementService - 03_definesystem_ess.py: FAIL ERROR - Got CIM error Socket error: [Errno 111] Connection refused with return code 0 ERROR - Got rc: 0, exp 1. InvokeMethod(DefineSystem): Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- VirtualSystemManagementService - 04_definesystem_ers.py: FAIL ERROR - Got CIM error Socket error: [Errno 111] Connection refused with return code 0 ERROR - Error code Mismatch, Got rc: 0, exp 1. ERROR - DefineSystem failed for an unexpected reason InvokeMethod(DefineSystem): Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- VirtualSystemManagementService - 05_destroysystem_neg.py: FAIL ERROR - Got error no 0, but expected no 1 ERROR - Got error desc: Socket error: [Errno 111] Connection refused, but expected desc: Unable to retrieve domain name. ERROR - Got error no 0, but expected no 1 ERROR - Got error desc: Socket error: [Errno 111] Connection refused, but expected desc: Failed to find domain InvokeMethod(DestroySystem): Socket error: [Errno 111] Connection refused InvokeMethod(DestroySystem): Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- VirtualSystemManagementService - 06_addresource.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 07_addresource_neg.py: XFAIL ERROR - Got CIM error Socket error: [Errno 111] Connection refused with return code 0 ERROR - Unexpected rc code 0 and description: Socket error: [Errno 111] Connection refused InvokeMethod(DefineSystem): Socket error: [Errno 111] Connection refused InvokeMethod(AddResourceSettings): Socket error: [Errno 111] Connection refused Bug:<90070> -------------------------------------------------------------------- VirtualSystemManagementService - 08_modifyresource.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 09_procrasd_persist.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 10_hv_version.py: FAIL ERROR - Did not find VSMS instance ERROR - list index out of range Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- VirtualSystemManagementService - 11_define_memrasdunits.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 12_referenced_config.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 13_refconfig_additional_devs.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 14_define_sys_disk.py: FAIL ERROR - Exception: 'NoneType' object has no attribute 'InstanceID' ERROR - Unable to get template RASDs for rstest_disk_domain Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- VirtualSystemManagementService - 15_mod_system_settings.py: FAIL ERROR - Got CIM error Socket error: [Errno 111] Connection refused with return code 0 ERROR - Failed to define the dom: rstest_domain ERROR - Got CIM error Socket error: [Errno 111] Connection refused with return code 0 InvokeMethod(DefineSystem): Socket error: [Errno 111] Connection refused InvokeMethod(DestroySystem): Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- VirtualSystemManagementService - 16_removeresource.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 17_removeresource_neg.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 18_define_sys_bridge.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 19_definenetwork_ers.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 20_verify_vnc_password.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 21_createVS_verifyMAC.py: FAIL ERROR - Got CIM error Socket error: [Errno 111] Connection refused with return code 0 ERROR - Exception details: Unable to define dom_mac_notspecified InvokeMethod(DefineSystem): Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- VirtualSystemManagementService - 22_addmulti_brg_interface.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 01_enum.py: FAIL ERROR - LXC_VirtualSystemMigrationCapabilities return 0 instances, excepted only 1 instance Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: FAIL ERROR - Unexpected errno 0 and desc Socket error: [Errno 111] Connection refused ERROR - Expected No such instance (InstanceID) 6 ERROR - ------ FAILED: Invalid InstanceID Key Value.------ -------------------------------------------------------------------- VirtualSystemMigrationService - 01_migratable_host.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 01_enum.py: FAIL ERROR - LXC_VirtualSystemMigrationSettingData return 0 instances, excepted only 1 instance Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: FAIL ERROR - Unexpected errno 0 and desc Socket error: [Errno 111] Connection refused ERROR - Expected No such instance (InstanceID) 6 ERROR - ------ FAILED: Invalid InstanceID Key Value.------ -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 01_forward.py: FAIL ERROR - Got CIM error Socket error: [Errno 111] Connection refused with return code 0 ERROR - Failed to define the dom: VSSDC_dom InvokeMethod(DefineSystem): Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 02_reverse.py: FAIL ERROR - Got CIM error Socket error: [Errno 111] Connection refused with return code 0 ERROR - Failed to define the dom: VSSDC_dom InvokeMethod(DefineSystem): Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: FAIL ERROR - Got CIM error Socket error: [Errno 111] Connection refused with return code 0 ERROR - Unable to define domain domu1 InvokeMethod(DefineSystem): Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: FAIL ERROR - Got CIM error Socket error: [Errno 111] Connection refused with return code 0 ERROR - Unable to define domain domu1 InvokeMethod(DefineSystem): Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- VirtualSystemSnapshotService - 01_enum.py: FAIL ERROR - Error in getting HostSystem instance Socket error: [Errno 111] Connection refused Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: FAIL ERROR - list index out of range Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL ERROR - Got CIM error Socket error: [Errno 111] Connection refused with return code 0 ERROR - Exception: ('Unable to define %s', 'snapshot_vm') ERROR - Got CIM error Socket error: [Errno 111] Connection refused with return code 0 ERROR - Failed to remove snapshot file for snapshot_vm InvokeMethod(DefineSystem): Socket error: [Errno 111] Connection refused InvokeMethod(DestroySystem): Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 01_enum.py: FAIL ERROR - LXC_VirtualSystemSnapshotServiceCapabilities return 0 instances, excepted only 1 instance Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: FAIL ERROR - Unexpected errno 0 and desc Socket error: [Errno 111] Connection refused ERROR - Expected No such instance (InstanceID) 6 ERROR - ------ FAILED: Invalid InstanceID Key Value.------ -------------------------------------------------------------------- From kaitlin at linux.vnet.ibm.com Tue Oct 6 17:47:27 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Tue, 06 Oct 2009 17:47:27 -0000 Subject: [Libvirt-cim] [PATCH] [TEST] Fix indentation in VSMS 15 Message-ID: # HG changeset patch # User Kaitlin Rupert # Date 1254851237 25200 # Node ID b6e1ab3e988b7a8ad90f31d4cf7c496b475b568f # Parent 4111e35950f1de46d494195abb2ded878f1e1c73 [TEST] Fix indentation in VSMS 15. Signed-off-by: Kaitlin Rupert diff -r 4111e35950f1 -r b6e1ab3e988b suites/libvirt-cim/cimtest/VirtualSystemManagementService/15_mod_system_settings.py --- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/15_mod_system_settings.py Tue Oct 06 10:46:33 2009 -0700 +++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/15_mod_system_settings.py Tue Oct 06 10:47:17 2009 -0700 @@ -130,7 +130,7 @@ defined_domains = domain_list(options.ip, options.virt) if default_dom in defined_domains: - cxml.cim_destroy(options.ip) + cxml.cim_destroy(options.ip) curr_cim_rev, changeset = get_provider_version(options.virt, options.ip) if curr_cim_rev <= libvirt_f9_revision and options.virt == "KVM": From kaitlin at linux.vnet.ibm.com Tue Oct 6 22:18:07 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Tue, 06 Oct 2009 15:18:07 -0700 Subject: [Libvirt-cim] [PATCH] [TEST] #2 Add timestamps to main.py to calculate run time of tests In-Reply-To: <4ACB2D89.6030506@linux.vnet.ibm.com> References: <4ACB2D89.6030506@linux.vnet.ibm.com> Message-ID: <4ACBC21F.7020100@linux.vnet.ibm.com> Deepti B Kalakeri wrote: > The total execution time is getting printed twice. > Once in the summary and the second time at the bottom of the test run. > We can remove the total execution time printed at the bottom of the test > run. For now, I'd like to keep this as is. In the reporting module, we parse the test run to determine things like number of tests passed, etc. I'd like to use this same mechanism for determining the test run time. > Otherwise looks good. > > Kaitlin Rupert wrote: >> # HG changeset patch >> # User Kaitlin Rupert >> # Date 1254421148 25200 >> # Node ID d7e6caafb254ada1c41307ed218e753f781cf512 >> # Parent e627b9efe5ebdb776baef0c504706fb03d1ac0e0 >> [TEST] #2 Add timestamps to main.py to calculate run time of tests >> >> Updates: >> -Add deliniation between mins, sec, etc. >> -Add total execution time to top of test report >> >> These changes allow the user to specify the --print-exec-time flag, >> which will >> print the execution time of each test. If this flag isn't specified, the >> total run time of the test is still printed. >> >> Signed-off-by: Kaitlin Rupert >> >> diff -r e627b9efe5eb -r d7e6caafb254 >> suites/libvirt-cim/lib/XenKvmLib/reporting.py >> --- a/suites/libvirt-cim/lib/XenKvmLib/reporting.py Thu Oct 01 >> 10:37:39 2009 -0700 >> +++ b/suites/libvirt-cim/lib/XenKvmLib/reporting.py Thu Oct 01 >> 11:19:08 2009 -0700 >> @@ -125,7 +125,9 @@ >> >> fd = open(log_file, "r") >> >> + exec_time = "Unknown" >> run_output = "" >> + >> for line in fd.xreadlines(): >> for type, val in rvals.iteritems(): >> if type in line: >> @@ -133,11 +135,14 @@ >> continue >> rvals[type] += 1 >> tstr[type] += "%s" % line >> + >> + if line.find("Total test execution") >= 0: >> + exec_time = line run_output += line >> >> fd.close() >> >> - return rvals, tstr, run_output >> + return rvals, tstr, run_output, exec_time >> >> def build_report_body(rvals, tstr, div): >> results = "" >> @@ -168,13 +173,13 @@ >> >> divider = "=================================================\n" >> >> - rvals, tstr, run_output = parse_run_output(log_file) >> + rvals, tstr, run_output, exec_time = parse_run_output(log_file) >> >> res, res_total, test_block = build_report_body(rvals, tstr, divider) >> >> - report = divider + heading + "\n" + divider + sys_env + divider + >> res \ >> - + res_total + divider + test_block + "Full report:\n" \ >> - + run_output >> + report = divider + heading + "\n" + divider + sys_env + exec_time \ >> + + divider + res + res_total + divider + test_block \ >> + + "Full report:\n" + run_output >> >> fd = open(log_file, "w") >> rc = fd.write(report) >> diff -r e627b9efe5eb -r d7e6caafb254 suites/libvirt-cim/main.py >> --- a/suites/libvirt-cim/main.py Thu Oct 01 10:37:39 2009 -0700 >> +++ b/suites/libvirt-cim/main.py Thu Oct 01 11:19:08 2009 -0700 >> @@ -22,6 +22,7 @@ >> # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA >> 02111-1307 USA >> # >> >> +from time import time >> from optparse import OptionParser >> import os >> import sys >> @@ -64,6 +65,9 @@ >> help="Duplicate the output to stderr") >> parser.add_option("--report", dest="report", >> help="Send report using mail info: >> --report=") >> +parser.add_option("--print-exec-time", action="store_true", >> + dest="print_exec_time", >> + help="Print execution time of each test") >> >> TEST_SUITE = 'cimtest' >> CIMTEST_RCFILE = '%s/.cimtestrc' % os.environ['HOME'] >> @@ -146,6 +150,30 @@ >> >> return PASS >> >> +def print_exec_time(testsuite, exec_time, prefix=None): >> + >> + #Convert run time from seconds to hours >> + tmp = exec_time / (60 * 60) >> + h = int(tmp) >> + >> + #Subtract out hours and convert remainder to minutes >> + tmp = (tmp - h) * 60 + m = int(tmp) >> + >> + #Subtract out minutes and convert remainder to seconds >> + tmp = (tmp - m) * 60 + s = int(tmp) >> + >> + #Subtract out seconds and convert remainder to milliseconds >> + tmp = (tmp - s) * 1000 >> + msec = int(tmp) >> + >> + if prefix is None: >> + prefix = " " >> + >> + testsuite.debug("%s %sh | %smin | %ssec | %smsec" % >> + (prefix, h, m, s, msec)) + >> def main(): >> (options, args) = parser.parse_args() >> to_addr = None >> @@ -213,6 +241,8 @@ >> >> print "\nTesting " + options.virt + " hypervisor" >> >> + test_run_time_total = 0 >> + >> for test in test_list: testsuite.debug(div) >> t_path = os.path.join(TEST_SUITE, test['group']) >> @@ -222,13 +252,24 @@ >> options.virt, dbg, >> options.t_url) >> cmd = cdto + ' && ' + ' ' + run >> + start_time = time() >> status, output = commands.getstatusoutput(cmd) >> + end_time = time() >> >> os_status = os.WEXITSTATUS(status) >> >> testsuite.print_results(test['group'], test['test'], >> os_status, output) >> >> + exec_time = end_time - start_time >> + test_run_time_total = test_run_time_total + exec_time >> + >> + if options.print_exec_time: >> + print_exec_time(testsuite, exec_time, " Test execution >> time:") >> + >> testsuite.debug("%s\n" % div) + print_exec_time(testsuite, >> test_run_time_total, "Total test execution:") >> + testsuite.debug("\n") + >> testsuite.finish() >> >> status = cleanup_env(options.ip, options.virt) >> >> _______________________________________________ >> Libvirt-cim mailing list >> Libvirt-cim at redhat.com >> https://www.redhat.com/mailman/listinfo/libvirt-cim >> > -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Tue Oct 6 22:26:16 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Tue, 06 Oct 2009 15:26:16 -0700 Subject: [Libvirt-cim] [PATCH] [TEST] #2 Add timestamps to main.py to calculate run time of tests In-Reply-To: <4ACBC21F.7020100@linux.vnet.ibm.com> References: <4ACB2D89.6030506@linux.vnet.ibm.com> <4ACBC21F.7020100@linux.vnet.ibm.com> Message-ID: <4ACBC408.8070703@linux.vnet.ibm.com> Kaitlin Rupert wrote: > Deepti B Kalakeri wrote: >> The total execution time is getting printed twice. >> Once in the summary and the second time at the bottom of the test run. >> We can remove the total execution time printed at the bottom of the >> test run. > > For now, I'd like to keep this as is. In the reporting module, we parse > the test run to determine things like number of tests passed, etc. I'd > like to use this same mechanism for determining the test run time. > Ah, nevermind... I'll change this. However, the test execution for a test run will be unknown if --print-exect-time isn't specified. -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Tue Oct 6 18:35:15 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Tue, 06 Oct 2009 18:35:15 -0000 Subject: [Libvirt-cim] [PATCH] [TEST] #3 Add timestamps to main.py to calculate run time of tests Message-ID: <324d7caaa53c8a328705.1254854115@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1254854080 25200 # Node ID 324d7caaa53c8a3287053155342fdbdea85b1209 # Parent be6620706891d4ff7863ad7e9f7e14ae2c71b6d0 [TEST] #3 Add timestamps to main.py to calculate run time of tests Updates from 2 to 3: -Only print execution time if --print-exec-time is specified -In the test run summary, only print the execution time in the report header Updates from 1 to 2: -Add deliniation between mins, sec, etc. -Add total execution time to top of test report These changes allow the user to specify the --print-exec-time flag, which will print the execution time of each test. If this flag isn't specified, the total run time of the test is still printed. Signed-off-by: Kaitlin Rupert diff -r be6620706891 -r 324d7caaa53c suites/libvirt-cim/lib/XenKvmLib/reporting.py --- a/suites/libvirt-cim/lib/XenKvmLib/reporting.py Tue Oct 06 10:46:31 2009 -0700 +++ b/suites/libvirt-cim/lib/XenKvmLib/reporting.py Tue Oct 06 11:34:40 2009 -0700 @@ -125,7 +125,9 @@ fd = open(log_file, "r") + exec_time = "Total test execution: Unknown\n" run_output = "" + for line in fd.xreadlines(): for type, val in rvals.iteritems(): if type in line: @@ -133,11 +135,15 @@ continue rvals[type] += 1 tstr[type] += "%s" % line - run_output += line + + if line.find("Total test execution") >= 0: + exec_time = line + else: + run_output += line fd.close() - return rvals, tstr, run_output + return rvals, tstr, run_output, exec_time def build_report_body(rvals, tstr, div): results = "" @@ -168,13 +174,13 @@ divider = "=================================================\n" - rvals, tstr, run_output = parse_run_output(log_file) + rvals, tstr, run_output, exec_time = parse_run_output(log_file) res, res_total, test_block = build_report_body(rvals, tstr, divider) - report = divider + heading + "\n" + divider + sys_env + divider + res \ - + res_total + divider + test_block + "Full report:\n" \ - + run_output + report = divider + heading + "\n" + divider + sys_env + exec_time \ + + divider + res + res_total + divider + test_block \ + + "Full report:\n" + run_output fd = open(log_file, "w") rc = fd.write(report) diff -r be6620706891 -r 324d7caaa53c suites/libvirt-cim/main.py --- a/suites/libvirt-cim/main.py Tue Oct 06 10:46:31 2009 -0700 +++ b/suites/libvirt-cim/main.py Tue Oct 06 11:34:40 2009 -0700 @@ -22,6 +22,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +from time import time from optparse import OptionParser import os import sys @@ -64,6 +65,9 @@ help="Duplicate the output to stderr") parser.add_option("--report", dest="report", help="Send report using mail info: --report=") +parser.add_option("--print-exec-time", action="store_true", + dest="print_exec_time", + help="Print execution time of each test") TEST_SUITE = 'cimtest' CIMTEST_RCFILE = '%s/.cimtestrc' % os.environ['HOME'] @@ -146,6 +150,30 @@ return PASS +def print_exec_time(testsuite, exec_time, prefix=None): + + #Convert run time from seconds to hours + tmp = exec_time / (60 * 60) + h = int(tmp) + + #Subtract out hours and convert remainder to minutes + tmp = (tmp - h) * 60 + m = int(tmp) + + #Subtract out minutes and convert remainder to seconds + tmp = (tmp - m) * 60 + s = int(tmp) + + #Subtract out seconds and convert remainder to milliseconds + tmp = (tmp - s) * 1000 + msec = int(tmp) + + if prefix is None: + prefix = " " + + testsuite.debug("%s %sh | %smin | %ssec | %smsec" % + (prefix, h, m, s, msec)) + def main(): (options, args) = parser.parse_args() to_addr = None @@ -213,6 +241,8 @@ print "\nTesting " + options.virt + " hypervisor" + test_run_time_total = 0 + for test in test_list: testsuite.debug(div) t_path = os.path.join(TEST_SUITE, test['group']) @@ -222,13 +252,26 @@ options.virt, dbg, options.t_url) cmd = cdto + ' && ' + ' ' + run + start_time = time() status, output = commands.getstatusoutput(cmd) + end_time = time() os_status = os.WEXITSTATUS(status) testsuite.print_results(test['group'], test['test'], os_status, output) + exec_time = end_time - start_time + test_run_time_total = test_run_time_total + exec_time + + if options.print_exec_time: + print_exec_time(testsuite, exec_time, " Test execution time:") + testsuite.debug("%s\n" % div) + + if options.print_exec_time: + print_exec_time(testsuite, test_run_time_total, "Total test execution:") + testsuite.debug("\n") + testsuite.finish() status = cleanup_env(options.ip, options.virt) From deeptik at linux.vnet.ibm.com Wed Oct 7 06:58:15 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Wed, 07 Oct 2009 12:28:15 +0530 Subject: [Libvirt-cim] [PATCH] [TEST] Fix indentation in VSMS 15 In-Reply-To: References: Message-ID: <4ACC3C07.601@linux.vnet.ibm.com> +1 Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1254851237 25200 > # Node ID b6e1ab3e988b7a8ad90f31d4cf7c496b475b568f > # Parent 4111e35950f1de46d494195abb2ded878f1e1c73 > [TEST] Fix indentation in VSMS 15. > > Signed-off-by: Kaitlin Rupert > > diff -r 4111e35950f1 -r b6e1ab3e988b suites/libvirt-cim/cimtest/VirtualSystemManagementService/15_mod_system_settings.py > --- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/15_mod_system_settings.py Tue Oct 06 10:46:33 2009 -0700 > +++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/15_mod_system_settings.py Tue Oct 06 10:47:17 2009 -0700 > @@ -130,7 +130,7 @@ > > defined_domains = domain_list(options.ip, options.virt) > if default_dom in defined_domains: > - cxml.cim_destroy(options.ip) > + cxml.cim_destroy(options.ip) > > curr_cim_rev, changeset = get_provider_version(options.virt, options.ip) > if curr_cim_rev <= libvirt_f9_revision and options.virt == "KVM": > > _______________________________________________ > Libvirt-cim mailing list > Libvirt-cim at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-cim > -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From deeptik at linux.vnet.ibm.com Wed Oct 7 09:01:26 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Wed, 07 Oct 2009 14:31:26 +0530 Subject: [Libvirt-cim] [PATCH] [TEST] #3 Add timestamps to main.py to calculate run time of tests In-Reply-To: <324d7caaa53c8a328705.1254854115@elm3b41.beaverton.ibm.com> References: <324d7caaa53c8a328705.1254854115@elm3b41.beaverton.ibm.com> Message-ID: <4ACC58E6.10603@linux.vnet.ibm.com> +1 Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1254854080 25200 > # Node ID 324d7caaa53c8a3287053155342fdbdea85b1209 > # Parent be6620706891d4ff7863ad7e9f7e14ae2c71b6d0 > [TEST] #3 Add timestamps to main.py to calculate run time of tests > > Updates from 2 to 3: > -Only print execution time if --print-exec-time is specified > -In the test run summary, only print the execution time in the report header > > Updates from 1 to 2: > -Add deliniation between mins, sec, etc. > -Add total execution time to top of test report > > These changes allow the user to specify the --print-exec-time flag, which will > print the execution time of each test. If this flag isn't specified, the > total run time of the test is still printed. > > Signed-off-by: Kaitlin Rupert > > diff -r be6620706891 -r 324d7caaa53c suites/libvirt-cim/lib/XenKvmLib/reporting.py > --- a/suites/libvirt-cim/lib/XenKvmLib/reporting.py Tue Oct 06 10:46:31 2009 -0700 > +++ b/suites/libvirt-cim/lib/XenKvmLib/reporting.py Tue Oct 06 11:34:40 2009 -0700 > @@ -125,7 +125,9 @@ > > fd = open(log_file, "r") > > + exec_time = "Total test execution: Unknown\n" > run_output = "" > + > for line in fd.xreadlines(): > for type, val in rvals.iteritems(): > if type in line: > @@ -133,11 +135,15 @@ > continue > rvals[type] += 1 > tstr[type] += "%s" % line > - run_output += line > + > + if line.find("Total test execution") >= 0: > + exec_time = line > + else: > + run_output += line > > fd.close() > > - return rvals, tstr, run_output > + return rvals, tstr, run_output, exec_time > > def build_report_body(rvals, tstr, div): > results = "" > @@ -168,13 +174,13 @@ > > divider = "=================================================\n" > > - rvals, tstr, run_output = parse_run_output(log_file) > + rvals, tstr, run_output, exec_time = parse_run_output(log_file) > > res, res_total, test_block = build_report_body(rvals, tstr, divider) > > - report = divider + heading + "\n" + divider + sys_env + divider + res \ > - + res_total + divider + test_block + "Full report:\n" \ > - + run_output > + report = divider + heading + "\n" + divider + sys_env + exec_time \ > + + divider + res + res_total + divider + test_block \ > + + "Full report:\n" + run_output > > fd = open(log_file, "w") > rc = fd.write(report) > diff -r be6620706891 -r 324d7caaa53c suites/libvirt-cim/main.py > --- a/suites/libvirt-cim/main.py Tue Oct 06 10:46:31 2009 -0700 > +++ b/suites/libvirt-cim/main.py Tue Oct 06 11:34:40 2009 -0700 > @@ -22,6 +22,7 @@ > # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > # > > +from time import time > from optparse import OptionParser > import os > import sys > @@ -64,6 +65,9 @@ > help="Duplicate the output to stderr") > parser.add_option("--report", dest="report", > help="Send report using mail info: --report=") > +parser.add_option("--print-exec-time", action="store_true", > + dest="print_exec_time", > + help="Print execution time of each test") > > TEST_SUITE = 'cimtest' > CIMTEST_RCFILE = '%s/.cimtestrc' % os.environ['HOME'] > @@ -146,6 +150,30 @@ > > return PASS > > +def print_exec_time(testsuite, exec_time, prefix=None): > + > + #Convert run time from seconds to hours > + tmp = exec_time / (60 * 60) > + h = int(tmp) > + > + #Subtract out hours and convert remainder to minutes > + tmp = (tmp - h) * 60 > + m = int(tmp) > + > + #Subtract out minutes and convert remainder to seconds > + tmp = (tmp - m) * 60 > + s = int(tmp) > + > + #Subtract out seconds and convert remainder to milliseconds > + tmp = (tmp - s) * 1000 > + msec = int(tmp) > + > + if prefix is None: > + prefix = " " > + > + testsuite.debug("%s %sh | %smin | %ssec | %smsec" % > + (prefix, h, m, s, msec)) > + > def main(): > (options, args) = parser.parse_args() > to_addr = None > @@ -213,6 +241,8 @@ > > print "\nTesting " + options.virt + " hypervisor" > > + test_run_time_total = 0 > + > for test in test_list: > testsuite.debug(div) > t_path = os.path.join(TEST_SUITE, test['group']) > @@ -222,13 +252,26 @@ > options.virt, dbg, > options.t_url) > cmd = cdto + ' && ' + ' ' + run > + start_time = time() > status, output = commands.getstatusoutput(cmd) > + end_time = time() > > os_status = os.WEXITSTATUS(status) > > testsuite.print_results(test['group'], test['test'], os_status, output) > > + exec_time = end_time - start_time > + test_run_time_total = test_run_time_total + exec_time > + > + if options.print_exec_time: > + print_exec_time(testsuite, exec_time, " Test execution time:") > + > testsuite.debug("%s\n" % div) > + > + if options.print_exec_time: > + print_exec_time(testsuite, test_run_time_total, "Total test execution:") > + testsuite.debug("\n") > + > testsuite.finish() > > status = cleanup_env(options.ip, options.virt) > > _______________________________________________ > Libvirt-cim mailing list > Libvirt-cim at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-cim > -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From sandeep.ms at hp.com Wed Oct 7 09:28:17 2009 From: sandeep.ms at hp.com (Subba Rao, Sandeep M (STSD)) Date: Wed, 7 Oct 2009 09:28:17 +0000 Subject: [Libvirt-cim] Query regarding Xen_ComputerSystem.RequestStateChange() and Live migration Message-ID: Hi Kaitlin, Hope you are doing fine. We need a clarification regarding the CIM_ConcereteJob support part of Xen_ComputerSystem.RequestStateChange() method to start or stop a Virtual Machine. After we invoke the method, we were expecting a return value of 4096 (Operation Scheduled) with the reference to Job to track the status. Instead we are noticing that the method returns 0 - indicating success, however the Virtual machine does not stop because of memory or other errors. Can you clarify whether this is a known issue in libvirt-CIM? Also recommend how to track the invoked job? The OS is an RHEL 5.4 and the libvirt and xen versions are as follows: [root at RHEL54 ~]# cat /etc/issue Red Hat Enterprise Linux Server release 5.4 Beta (Tikanga) Kernel \r on an \m [root at RHEL54 ~]# uname -a Linux RHEL54 2.6.18-160.el5xen #1 SMP Mon Jul 27 18:01:58 EDT 2009 i686 i686 i386 GNU/Linux [root at RHEL54 ~]# rpm -qa | grep libvirt libvirt-0.6.3-17.el5 libvirt-cim-0.5.5-2.el5 libvirt-python-0.6.3-17.el5 [root at RHEL54 ~]# rpm -qa | grep xen kernel-xen-devel-2.6.18-160.el5 kernel-xen-2.6.18-160.el5 xen-3.0.3-92.el5 xen-libs-3.0.3-92.el5 [root at RHEL54 ~]# rpm -qa | grep sblim sblim-cmpi-base-1.5.5-34.el5 [root at RHEL54 ~]# We also need clarification for live migration. We notice that Xen_ComputerSystem instance for the Virtual machine which is live migrated is being reported on the source and target host. Can you clarify us how to determine the actual host where the VM is associated? We were hoping that HostedDependency association will be helpful, but did not work. Appreciate any help in this regard. Sandeep From kaitlin at linux.vnet.ibm.com Wed Oct 7 18:55:56 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Wed, 07 Oct 2009 18:55:56 -0000 Subject: [Libvirt-cim] [PATCH] Fix indention in Makefile.am Message-ID: <10f3bc589ff7754578b9.1254941756@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1254941459 25200 # Node ID 10f3bc589ff7754578b96b77a735526425d1e212 # Parent 428eca03998023f2f1b37ba7e2504c23d5ee80b9 Fix indention in Makefile.am At some point, then indention switches from tabs to spaces. This fixes that issue. Signed-off-by: Kaitlin Rupert diff -r 428eca039980 -r 10f3bc589ff7 Makefile.am --- a/Makefile.am Tue Sep 22 11:46:03 2009 -0600 +++ b/Makefile.am Wed Oct 07 11:50:59 2009 -0700 @@ -47,16 +47,15 @@ schema/VirtualSystemSnapshotServiceCapabilities.mof \ schema/ConcreteComponent.mof \ schema/ConsoleRedirectionService.mof \ - schema/ConsoleRedirectionServiceCapabilities.mof \ - schema/ServiceAffectsElement.mof \ - schema/KVMRedirectionSAP.mof \ - schema/DisplayController.mof \ - schema/PointingDevice.mof \ - schema/GraphicsPool.mof \ - schema/InputPool.mof \ - schema/HostedAccessPoint.mof \ - schema/ServiceAccessBySAP.mof \ - schema/SAPAvailableForElement.mof + schema/ConsoleRedirectionServiceCapabilities.mof \ + schema/ServiceAffectsElement.mof \ + schema/KVMRedirectionSAP.mof \ + schema/DisplayController.mof \ + schema/PointingDevice.mof \ + schema/InputPool.mof \ + schema/HostedAccessPoint.mof \ + schema/ServiceAccessBySAP.mof \ + schema/SAPAvailableForElement.mof INTEROP_MOFS = \ schema/ComputerSystem.mof \ @@ -122,16 +121,16 @@ schema/VirtualSystemSnapshotServiceCapabilities.registration \ schema/ConcreteComponent.registration \ schema/ConsoleRedirectionService.registration \ - schema/ConsoleRedirectionServiceCapabilities.registration \ - schema/ServiceAffectsElement.registration \ - schema/KVMRedirectionSAP.registration \ - schema/DisplayController.registration \ - schema/PointingDevice.registration \ - schema/GraphicsPool.registration \ - schema/InputPool.registration \ - schema/HostedAccessPoint.registration \ - schema/ServiceAccessBySAP.registration \ - schema/SAPAvailableForElement.registration + schema/ConsoleRedirectionServiceCapabilities.registration \ + schema/ServiceAffectsElement.registration \ + schema/KVMRedirectionSAP.registration \ + schema/DisplayController.registration \ + schema/PointingDevice.registration \ + schema/GraphicsPool.registration \ + schema/InputPool.registration \ + schema/HostedAccessPoint.registration \ + schema/ServiceAccessBySAP.registration \ + schema/SAPAvailableForElement.registration INTEROP_REGS = \ schema/RegisteredProfile.registration \ From deeptik at linux.vnet.ibm.com Thu Oct 8 07:43:01 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Thu, 08 Oct 2009 13:13:01 +0530 Subject: [Libvirt-cim] Query regarding Xen_ComputerSystem.RequestStateChange() and Live migration In-Reply-To: References: Message-ID: <4ACD9805.5010004@linux.vnet.ibm.com> Subba Rao, Sandeep M (STSD) wrote: > Hi Kaitlin, > > Hope you are doing fine. > > We need a clarification regarding the CIM_ConcereteJob support part of Xen_ComputerSystem.RequestStateChange() method to start or stop a Virtual Machine. After we invoke the method, we were expecting a return value of 4096 (Operation Scheduled) with the reference to Job to track the status. > AFAIK, the method would not return 4096, it would return success or failure only. > Instead we are noticing that the method returns 0 - indicating success, however the Virtual machine does not stop because of memory or other errors. > Can you elaborate on what operation you are doing here ? What errors are you seeing ? > Can you clarify whether this is a known issue in libvirt-CIM? Also recommend how to track the invoked job? > Once the RqquestedStateChange() is successful you should be able to see the new state value in the Xen_ComputerSystem.EnabledState. > The OS is an RHEL 5.4 and the libvirt and xen versions are as follows: > > [root at RHEL54 ~]# cat /etc/issue > Red Hat Enterprise Linux Server release 5.4 Beta (Tikanga) > Kernel \r on an \m > > [root at RHEL54 ~]# uname -a > Linux RHEL54 2.6.18-160.el5xen #1 SMP Mon Jul 27 18:01:58 EDT 2009 i686 i686 i386 GNU/Linux > [root at RHEL54 ~]# rpm -qa | grep libvirt > libvirt-0.6.3-17.el5 > libvirt-cim-0.5.5-2.el5 > libvirt-python-0.6.3-17.el5 > [root at RHEL54 ~]# rpm -qa | grep xen > kernel-xen-devel-2.6.18-160.el5 > kernel-xen-2.6.18-160.el5 > xen-3.0.3-92.el5 > xen-libs-3.0.3-92.el5 > [root at RHEL54 ~]# rpm -qa | grep sblim > sblim-cmpi-base-1.5.5-34.el5 > [root at RHEL54 ~]# > > We also need clarification for live migration. We notice that Xen_ComputerSystem instance for the Virtual machine which is live migrated is being reported on the source and target host. Can you clarify us how to determine the actual host where the VM is associated? We were hoping that HostedDependency association will be helpful, but did not work. > > Once the live migration of the guest using libvirt-cim is successful you should not see any information of the VM on the host. I dont think there is any means from which you can track information regarding the source from which the guest was migrated using libivrt-cim providers. Xen_HostedDependency will give information of the VM's the particular Server hosts. > Appreciate any help in this regard. > > Sandeep > > _______________________________________________ > Libvirt-cim mailing list > Libvirt-cim at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-cim > -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From madan-ganesh.v at hp.com Thu Oct 8 13:46:36 2009 From: madan-ganesh.v at hp.com (Velayudham, Madan Ganesh (STSD / ESS SW)) Date: Thu, 8 Oct 2009 13:46:36 +0000 Subject: [Libvirt-cim] Query regarding Xen_ComputerSystem.RequestStateChange() and Live migration In-Reply-To: <4ACD9805.5010004@linux.vnet.ibm.com> References: <4ACD9805.5010004@linux.vnet.ibm.com> Message-ID: <33AD874197876A4E9440933154AA337D2CA7BAA3F8@GVW1157EXB.americas.hpqcorp.net> Thank you Kaitlin and Deepti, The VM "liveVm" on shared storage is being reported on both the hosts (source and destination), here is what we receive through "Xen_HostedDepenency" association: [root at RHEL54-host1 ~]# wbemcli ain -ac Xen_HostedDependency 'http://root:password at localhost:5988/root/virt:Xen_HostSystem.CreationClassName="Xen_HostSystem",Name="RHEL54-host1"' RHEL54-host1/root/virt:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="liveVm" RHEL54-host1/root/virt:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="Domain-0" [root at RHEL54-host1 ~]# virsh list Id Name State ---------------------------------- 0 Domain-0 running [root at RHEL54-host2 ~]# wbemcli ain -ac Xen_HostedDependency 'http://root:password at localhost:5988/root/virt:Xen_HostSystem.CreationClassName="Xen_HostSystem",Name="RHEL54-host2"' RHEL54-host2/root/virt:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="localVm" RHEL54-host2/root/virt:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="Domain-0" RHEL54-host2/root/virt:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="liveVm" [root at RHEL54-host2 ~]# virsh list Id Name State ---------------------------------- 0 Domain-0 running 7 liveVm idle As you notice, virsh command is listing properly, but the association is not updated properly and results in both hosts. On the RequestStateChange, we did not capture the message of stop failure. However, here is what we observe - we invoke the RequestStateChange method, it returns 0 - indicating success; But the VM will not start or stop due to insufficient resources. We assuming that RequestStatechange method to be synchronous call if it does not provide CIM_Job to track the status of start or stop. Generally starting a Windows VM take more than a minute. Thanks again for your help, Best Regards, Madan -----Original Message----- From: Deepti B Kalakeri [mailto:deeptik at linux.vnet.ibm.com] Sent: Thursday, October 08, 2009 1:13 PM To: Velayudham, Madan Ganesh (STSD / ESS SW) Cc: List for discussion and development of libvirt CIM; Kaitlin Rupert; Deepti B Kalakeri Subject: Re: [Libvirt-cim] Query regarding Xen_ComputerSystem.RequestStateChange() and Live migration Subba Rao, Sandeep M (STSD) wrote: > Hi Kaitlin, > > Hope you are doing fine. > > We need a clarification regarding the CIM_ConcereteJob support part of Xen_ComputerSystem.RequestStateChange() method to start or stop a Virtual Machine. After we invoke the method, we were expecting a return value of 4096 (Operation Scheduled) with the reference to Job to track the status. > AFAIK, the method would not return 4096, it would return success or failure only. > Instead we are noticing that the method returns 0 - indicating success, however the Virtual machine does not stop because of memory or other errors. > Can you elaborate on what operation you are doing here ? What errors are you seeing ? > Can you clarify whether this is a known issue in libvirt-CIM? Also recommend how to track the invoked job? > Once the RqquestedStateChange() is successful you should be able to see the new state value in the Xen_ComputerSystem.EnabledState. > The OS is an RHEL 5.4 and the libvirt and xen versions are as follows: > > [root at RHEL54 ~]# cat /etc/issue > Red Hat Enterprise Linux Server release 5.4 Beta (Tikanga) > Kernel \r on an \m > > [root at RHEL54 ~]# uname -a > Linux RHEL54 2.6.18-160.el5xen #1 SMP Mon Jul 27 18:01:58 EDT 2009 i686 i686 i386 GNU/Linux > [root at RHEL54 ~]# rpm -qa | grep libvirt > libvirt-0.6.3-17.el5 > libvirt-cim-0.5.5-2.el5 > libvirt-python-0.6.3-17.el5 > [root at RHEL54 ~]# rpm -qa | grep xen > kernel-xen-devel-2.6.18-160.el5 > kernel-xen-2.6.18-160.el5 > xen-3.0.3-92.el5 > xen-libs-3.0.3-92.el5 > [root at RHEL54 ~]# rpm -qa | grep sblim > sblim-cmpi-base-1.5.5-34.el5 > [root at RHEL54 ~]# > > We also need clarification for live migration. We notice that Xen_ComputerSystem instance for the Virtual machine which is live migrated is being reported on the source and target host. Can you clarify us how to determine the actual host where the VM is associated? We were hoping that HostedDependency association will be helpful, but did not work. > > Once the live migration of the guest using libvirt-cim is successful you should not see any information of the VM on the host. I dont think there is any means from which you can track information regarding the source from which the guest was migrated using libivrt-cim providers. Xen_HostedDependency will give information of the VM's the particular Server hosts. > Appreciate any help in this regard. > > Sandeep > > _______________________________________________ > Libvirt-cim mailing list > Libvirt-cim at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-cim > -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Thu Oct 8 16:17:57 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 08 Oct 2009 09:17:57 -0700 Subject: [Libvirt-cim] Query regarding Xen_ComputerSystem.RequestStateChange() and Live migration In-Reply-To: <33AD874197876A4E9440933154AA337D2CA7BAA3F8@GVW1157EXB.americas.hpqcorp.net> References: <4ACD9805.5010004@linux.vnet.ibm.com> <33AD874197876A4E9440933154AA337D2CA7BAA3F8@GVW1157EXB.americas.hpqcorp.net> Message-ID: <4ACE10B5.9070009@linux.vnet.ibm.com> Velayudham, Madan Ganesh (STSD / ESS SW) wrote: > Thank you Kaitlin and Deepti, > Hi Madan, Can you run "virsh list --all" on both hosts. "virsh list" just shows active guests, while "virsh list --all" shows active and inactive guests. Mu guess is that liveVM is still defined on RHEL54-host1. Can you enable the provider debug and then rerun the migration? I'm wondering if the providers print an error as to why the guest isn't being undefined from the source system. To enable the provider debug, do the following: export CU_DEBUG="/var/log/libvirt-cim.log" /etc/init.d/tog-pegasus restart > The VM "liveVm" on shared storage is being reported on both the hosts (source and destination), here is what we receive through "Xen_HostedDepenency" association: > > [root at RHEL54-host1 ~]# wbemcli ain -ac Xen_HostedDependency 'http://root:password at localhost:5988/root/virt:Xen_HostSystem.CreationClassName="Xen_HostSystem",Name="RHEL54-host1"' > RHEL54-host1/root/virt:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="liveVm" > RHEL54-host1/root/virt:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="Domain-0" > > [root at RHEL54-host1 ~]# virsh list > Id Name State > ---------------------------------- > 0 Domain-0 running > > [root at RHEL54-host2 ~]# wbemcli ain -ac Xen_HostedDependency 'http://root:password at localhost:5988/root/virt:Xen_HostSystem.CreationClassName="Xen_HostSystem",Name="RHEL54-host2"' > RHEL54-host2/root/virt:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="localVm" > RHEL54-host2/root/virt:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="Domain-0" > RHEL54-host2/root/virt:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="liveVm" > > [root at RHEL54-host2 ~]# virsh list > Id Name State > ---------------------------------- > 0 Domain-0 running > 7 liveVm idle > > As you notice, virsh command is listing properly, but the association is not updated properly and results in both hosts. > > On the RequestStateChange, we did not capture the message of stop failure. However, here is what we observe - we invoke the RequestStateChange method, it returns 0 - indicating success; > But the VM will not start or stop due to insufficient resources. We assuming that RequestStatechange method to be synchronous call if it does not > provide CIM_Job to track the status of start or stop. Generally starting a Windows VM take more than a minute. Where is the insufficient resources printing out from? Can you paste the errors you see? Can you also include the accompanying provider debug? Either way, libvirt-cim should not return a success in this case. So it sounds like we have a bug here. My guess is that the following is happening: 1) libvirt-cim asks libvirt to stop the guest 2) libvirt returns that the operation is successful, but the operation really fails 3) libvirt-cim doesn't verify that the guest was really stopped / started, so it doesn't catch the failure > > Thanks again for your help, > > Best Regards, > Madan > > -----Original Message----- > From: Deepti B Kalakeri [mailto:deeptik at linux.vnet.ibm.com] > Sent: Thursday, October 08, 2009 1:13 PM > To: Velayudham, Madan Ganesh (STSD / ESS SW) > Cc: List for discussion and development of libvirt CIM; Kaitlin Rupert; Deepti B Kalakeri > Subject: Re: [Libvirt-cim] Query regarding Xen_ComputerSystem.RequestStateChange() and Live migration > > > > Subba Rao, Sandeep M (STSD) wrote: >> Hi Kaitlin, >> >> Hope you are doing fine. >> >> We need a clarification regarding the CIM_ConcereteJob support part of Xen_ComputerSystem.RequestStateChange() method to start or stop a Virtual Machine. After we invoke the method, we were expecting a return value of 4096 (Operation Scheduled) with the reference to Job to track the status. >> > AFAIK, the method would not return 4096, it would return success or > failure only. >> Instead we are noticing that the method returns 0 - indicating success, however the Virtual machine does not stop because of memory or other errors. >> > Can you elaborate on what operation you are doing here ? > What errors are you seeing ? >> Can you clarify whether this is a known issue in libvirt-CIM? Also recommend how to track the invoked job? >> > Once the RqquestedStateChange() is successful you should be able to see > the new state value in the Xen_ComputerSystem.EnabledState. >> The OS is an RHEL 5.4 and the libvirt and xen versions are as follows: >> >> [root at RHEL54 ~]# cat /etc/issue >> Red Hat Enterprise Linux Server release 5.4 Beta (Tikanga) >> Kernel \r on an \m >> >> [root at RHEL54 ~]# uname -a >> Linux RHEL54 2.6.18-160.el5xen #1 SMP Mon Jul 27 18:01:58 EDT 2009 i686 i686 i386 GNU/Linux >> [root at RHEL54 ~]# rpm -qa | grep libvirt >> libvirt-0.6.3-17.el5 >> libvirt-cim-0.5.5-2.el5 >> libvirt-python-0.6.3-17.el5 >> [root at RHEL54 ~]# rpm -qa | grep xen >> kernel-xen-devel-2.6.18-160.el5 >> kernel-xen-2.6.18-160.el5 >> xen-3.0.3-92.el5 >> xen-libs-3.0.3-92.el5 >> [root at RHEL54 ~]# rpm -qa | grep sblim >> sblim-cmpi-base-1.5.5-34.el5 >> [root at RHEL54 ~]# >> >> We also need clarification for live migration. We notice that Xen_ComputerSystem instance for the Virtual machine which is live migrated is being reported on the source and target host. Can you clarify us how to determine the actual host where the VM is associated? We were hoping that HostedDependency association will be helpful, but did not work. >> >> > Once the live migration of the guest using libvirt-cim is successful you > should not see any information of the VM on the host. > I dont think there is any means from which you can track information > regarding the source from which the guest was migrated using libivrt-cim > providers. > Xen_HostedDependency will give information of the VM's the particular > Server hosts. >> Appreciate any help in this regard. >> >> Sandeep >> >> _______________________________________________ >> Libvirt-cim mailing list >> Libvirt-cim at redhat.com >> https://www.redhat.com/mailman/listinfo/libvirt-cim >> > -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From madan-ganesh.v at hp.com Thu Oct 8 19:10:05 2009 From: madan-ganesh.v at hp.com (Velayudham, Madan Ganesh (STSD / ESS SW)) Date: Thu, 8 Oct 2009 19:10:05 +0000 Subject: [Libvirt-cim] Query regarding Xen_ComputerSystem.RequestStateChange() and Live migration In-Reply-To: <4ACE10B5.9070009@linux.vnet.ibm.com> References: <4ACD9805.5010004@linux.vnet.ibm.com> <33AD874197876A4E9440933154AA337D2CA7BAA3F8@GVW1157EXB.americas.hpqcorp.net> <4ACE10B5.9070009@linux.vnet.ibm.com> Message-ID: <33AD874197876A4E9440933154AA337D2CA7BAA49B@GVW1157EXB.americas.hpqcorp.net> Thanks Kaitlin, Here it is: [root at RHEL54-host1 ~]# virsh list --all Id Name State ---------------------------------- 0 Domain-0 running - liveVm shut off [root at RHEL54-host2 ~]# virsh list --all Id Name State ---------------------------------- 0 Domain-0 running 14 liveVm idle - localVm shut off If I shutdown the liveVm on host2, the VM goes back to host1!! Does it indicate any problems? Please note that above mentioned was the case when we invoked the live migration through virsh command. I enabled the logging as mentioned, and invoked live migration through libvirt-CIM - in which case - the migration completed successfully, and the VM was reported only on the target; Attached is the log. Now it appears to be - if we start using virsh command, then the inconsistency is seen. Please let us know your comments. We'll capture logs for the stop issue (in another setup) and send soon. Thanks and Regards, Madan (_MaGa_) Madan Ganesh Velayudham Office: +91 80 2516 5333 -----Original Message----- From: Kaitlin Rupert [mailto:kaitlin at linux.vnet.ibm.com] Sent: Thursday, October 08, 2009 9:48 PM To: Velayudham, Madan Ganesh (STSD / ESS SW) Cc: Deepti B Kalakeri; List for discussion and development of libvirt CIM; Subba Rao, Sandeep M (STSD) Subject: Re: [Libvirt-cim] Query regarding Xen_ComputerSystem.RequestStateChange() and Live migration Velayudham, Madan Ganesh (STSD / ESS SW) wrote: > Thank you Kaitlin and Deepti, > Hi Madan, Can you run "virsh list --all" on both hosts. "virsh list" just shows active guests, while "virsh list --all" shows active and inactive guests. Mu guess is that liveVM is still defined on RHEL54-host1. Can you enable the provider debug and then rerun the migration? I'm wondering if the providers print an error as to why the guest isn't being undefined from the source system. To enable the provider debug, do the following: export CU_DEBUG="/var/log/libvirt-cim.log" /etc/init.d/tog-pegasus restart > The VM "liveVm" on shared storage is being reported on both the hosts (source and destination), here is what we receive through "Xen_HostedDepenency" association: > > [root at RHEL54-host1 ~]# wbemcli ain -ac Xen_HostedDependency 'http://root:password at localhost:5988/root/virt:Xen_HostSystem.CreationClassName="Xen_HostSystem",Name="RHEL54-host1"' > RHEL54-host1/root/virt:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="liveVm" > RHEL54-host1/root/virt:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="Domain-0" > > [root at RHEL54-host1 ~]# virsh list > Id Name State > ---------------------------------- > 0 Domain-0 running > > [root at RHEL54-host2 ~]# wbemcli ain -ac Xen_HostedDependency 'http://root:password at localhost:5988/root/virt:Xen_HostSystem.CreationClassName="Xen_HostSystem",Name="RHEL54-host2"' > RHEL54-host2/root/virt:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="localVm" > RHEL54-host2/root/virt:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="Domain-0" > RHEL54-host2/root/virt:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="liveVm" > > [root at RHEL54-host2 ~]# virsh list > Id Name State > ---------------------------------- > 0 Domain-0 running > 7 liveVm idle > > As you notice, virsh command is listing properly, but the association is not updated properly and results in both hosts. > > On the RequestStateChange, we did not capture the message of stop failure. However, here is what we observe - we invoke the RequestStateChange method, it returns 0 - indicating success; > But the VM will not start or stop due to insufficient resources. We assuming that RequestStatechange method to be synchronous call if it does not > provide CIM_Job to track the status of start or stop. Generally starting a Windows VM take more than a minute. Where is the insufficient resources printing out from? Can you paste the errors you see? Can you also include the accompanying provider debug? Either way, libvirt-cim should not return a success in this case. So it sounds like we have a bug here. My guess is that the following is happening: 1) libvirt-cim asks libvirt to stop the guest 2) libvirt returns that the operation is successful, but the operation really fails 3) libvirt-cim doesn't verify that the guest was really stopped / started, so it doesn't catch the failure > > Thanks again for your help, > > Best Regards, > Madan > > -----Original Message----- > From: Deepti B Kalakeri [mailto:deeptik at linux.vnet.ibm.com] > Sent: Thursday, October 08, 2009 1:13 PM > To: Velayudham, Madan Ganesh (STSD / ESS SW) > Cc: List for discussion and development of libvirt CIM; Kaitlin Rupert; Deepti B Kalakeri > Subject: Re: [Libvirt-cim] Query regarding Xen_ComputerSystem.RequestStateChange() and Live migration > > > > Subba Rao, Sandeep M (STSD) wrote: >> Hi Kaitlin, >> >> Hope you are doing fine. >> >> We need a clarification regarding the CIM_ConcereteJob support part of Xen_ComputerSystem.RequestStateChange() method to start or stop a Virtual Machine. After we invoke the method, we were expecting a return value of 4096 (Operation Scheduled) with the reference to Job to track the status. >> > AFAIK, the method would not return 4096, it would return success or > failure only. >> Instead we are noticing that the method returns 0 - indicating success, however the Virtual machine does not stop because of memory or other errors. >> > Can you elaborate on what operation you are doing here ? > What errors are you seeing ? >> Can you clarify whether this is a known issue in libvirt-CIM? Also recommend how to track the invoked job? >> > Once the RqquestedStateChange() is successful you should be able to see > the new state value in the Xen_ComputerSystem.EnabledState. >> The OS is an RHEL 5.4 and the libvirt and xen versions are as follows: >> >> [root at RHEL54 ~]# cat /etc/issue >> Red Hat Enterprise Linux Server release 5.4 Beta (Tikanga) >> Kernel \r on an \m >> >> [root at RHEL54 ~]# uname -a >> Linux RHEL54 2.6.18-160.el5xen #1 SMP Mon Jul 27 18:01:58 EDT 2009 i686 i686 i386 GNU/Linux >> [root at RHEL54 ~]# rpm -qa | grep libvirt >> libvirt-0.6.3-17.el5 >> libvirt-cim-0.5.5-2.el5 >> libvirt-python-0.6.3-17.el5 >> [root at RHEL54 ~]# rpm -qa | grep xen >> kernel-xen-devel-2.6.18-160.el5 >> kernel-xen-2.6.18-160.el5 >> xen-3.0.3-92.el5 >> xen-libs-3.0.3-92.el5 >> [root at RHEL54 ~]# rpm -qa | grep sblim >> sblim-cmpi-base-1.5.5-34.el5 >> [root at RHEL54 ~]# >> >> We also need clarification for live migration. We notice that Xen_ComputerSystem instance for the Virtual machine which is live migrated is being reported on the source and target host. Can you clarify us how to determine the actual host where the VM is associated? We were hoping that HostedDependency association will be helpful, but did not work. >> >> > Once the live migration of the guest using libvirt-cim is successful you > should not see any information of the VM on the host. > I dont think there is any means from which you can track information > regarding the source from which the guest was migrated using libivrt-cim > providers. > Xen_HostedDependency will give information of the VM's the particular > Server hosts. >> Appreciate any help in this regard. >> >> Sandeep >> >> _______________________________________________ >> Libvirt-cim mailing list >> Libvirt-cim at redhat.com >> https://www.redhat.com/mailman/listinfo/libvirt-cim >> > -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com -------------- next part -------------- A non-text attachment was scrubbed... Name: libvirt-cim.log Type: application/octet-stream Size: 5119 bytes Desc: libvirt-cim.log URL: From kaitlin at linux.vnet.ibm.com Thu Oct 8 20:10:50 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 08 Oct 2009 13:10:50 -0700 Subject: [Libvirt-cim] Query regarding Xen_ComputerSystem.RequestStateChange() and Live migration In-Reply-To: <33AD874197876A4E9440933154AA337D2CA7BAA49B@GVW1157EXB.americas.hpqcorp.net> References: <4ACD9805.5010004@linux.vnet.ibm.com> <33AD874197876A4E9440933154AA337D2CA7BAA3F8@GVW1157EXB.americas.hpqcorp.net> <4ACE10B5.9070009@linux.vnet.ibm.com> <33AD874197876A4E9440933154AA337D2CA7BAA49B@GVW1157EXB.americas.hpqcorp.net> Message-ID: <4ACE474A.4080603@linux.vnet.ibm.com> Velayudham, Madan Ganesh (STSD / ESS SW) wrote: > Thanks Kaitlin, > > Here it is: > > [root at RHEL54-host1 ~]# virsh list --all > Id Name State > ---------------------------------- > 0 Domain-0 running > - liveVm shut off This is why libvirt-cim reports the guest on host1. The definition of the guest still exists here. > > [root at RHEL54-host2 ~]# virsh list --all > Id Name State > ---------------------------------- > 0 Domain-0 running > 14 liveVm idle > - localVm shut off > > If I shutdown the liveVm on host2, the VM goes back to host1!! Does it indicate any problems? I'm not sure what you mean by "goes back to host1". > > Please note that above mentioned was the case when we invoked the live migration through virsh command. My mistake - I didn't realize you were launching the migration through libvirt. So it sounds like libvirt doesn't remove the definition from the source system in RHEL 5.4. I believe this is the desired behavior, but you'll have to check with the libvirt team. > > I enabled the logging as mentioned, and invoked live migration through libvirt-CIM - in which case - the migration completed successfully, and the VM was reported only on the target; Attached is the log. Ah, so libvirt-cim is cleaning the guest up on the source host properly. That is good to hear. > > Now it appears to be - if we start using virsh command, then the inconsistency is seen. > > Please let us know your comments. > > We'll capture logs for the stop issue (in another setup) and send soon. > > Thanks and Regards, > Madan (_MaGa_) > Madan Ganesh Velayudham > Office: +91 80 2516 5333 > > > -----Original Message----- > From: Kaitlin Rupert [mailto:kaitlin at linux.vnet.ibm.com] > Sent: Thursday, October 08, 2009 9:48 PM > To: Velayudham, Madan Ganesh (STSD / ESS SW) > Cc: Deepti B Kalakeri; List for discussion and development of libvirt CIM; Subba Rao, Sandeep M (STSD) > Subject: Re: [Libvirt-cim] Query regarding Xen_ComputerSystem.RequestStateChange() and Live migration > > Velayudham, Madan Ganesh (STSD / ESS SW) wrote: >> Thank you Kaitlin and Deepti, >> > > Hi Madan, > > Can you run "virsh list --all" on both hosts. "virsh list" just shows > active guests, while "virsh list --all" shows active and inactive guests. > > Mu guess is that liveVM is still defined on RHEL54-host1. Can you > enable the provider debug and then rerun the migration? I'm wondering > if the providers print an error as to why the guest isn't being > undefined from the source system. > > To enable the provider debug, do the following: > > export CU_DEBUG="/var/log/libvirt-cim.log" > /etc/init.d/tog-pegasus restart > >> The VM "liveVm" on shared storage is being reported on both the hosts (source and destination), here is what we receive through "Xen_HostedDepenency" association: >> >> [root at RHEL54-host1 ~]# wbemcli ain -ac Xen_HostedDependency 'http://root:password at localhost:5988/root/virt:Xen_HostSystem.CreationClassName="Xen_HostSystem",Name="RHEL54-host1"' >> RHEL54-host1/root/virt:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="liveVm" >> RHEL54-host1/root/virt:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="Domain-0" >> >> [root at RHEL54-host1 ~]# virsh list >> Id Name State >> ---------------------------------- >> 0 Domain-0 running >> >> [root at RHEL54-host2 ~]# wbemcli ain -ac Xen_HostedDependency 'http://root:password at localhost:5988/root/virt:Xen_HostSystem.CreationClassName="Xen_HostSystem",Name="RHEL54-host2"' >> RHEL54-host2/root/virt:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="localVm" >> RHEL54-host2/root/virt:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="Domain-0" >> RHEL54-host2/root/virt:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="liveVm" >> >> [root at RHEL54-host2 ~]# virsh list >> Id Name State >> ---------------------------------- >> 0 Domain-0 running >> 7 liveVm idle >> >> As you notice, virsh command is listing properly, but the association is not updated properly and results in both hosts. >> >> On the RequestStateChange, we did not capture the message of stop failure. However, here is what we observe - we invoke the RequestStateChange method, it returns 0 - indicating success; >> But the VM will not start or stop due to insufficient resources. We assuming that RequestStatechange method to be synchronous call if it does not >> provide CIM_Job to track the status of start or stop. Generally starting a Windows VM take more than a minute. > > Where is the insufficient resources printing out from? Can you paste > the errors you see? Can you also include the accompanying provider debug? > > Either way, libvirt-cim should not return a success in this case. So it > sounds like we have a bug here. My guess is that the following is > happening: > > 1) libvirt-cim asks libvirt to stop the guest > 2) libvirt returns that the operation is successful, but the operation > really fails > 3) libvirt-cim doesn't verify that the guest was really stopped / > started, so it doesn't catch the failure > >> Thanks again for your help, >> >> Best Regards, >> Madan >> >> -----Original Message----- >> From: Deepti B Kalakeri [mailto:deeptik at linux.vnet.ibm.com] >> Sent: Thursday, October 08, 2009 1:13 PM >> To: Velayudham, Madan Ganesh (STSD / ESS SW) >> Cc: List for discussion and development of libvirt CIM; Kaitlin Rupert; Deepti B Kalakeri >> Subject: Re: [Libvirt-cim] Query regarding Xen_ComputerSystem.RequestStateChange() and Live migration >> >> >> >> Subba Rao, Sandeep M (STSD) wrote: >>> Hi Kaitlin, >>> >>> Hope you are doing fine. >>> >>> We need a clarification regarding the CIM_ConcereteJob support part of Xen_ComputerSystem.RequestStateChange() method to start or stop a Virtual Machine. After we invoke the method, we were expecting a return value of 4096 (Operation Scheduled) with the reference to Job to track the status. >>> >> AFAIK, the method would not return 4096, it would return success or >> failure only. >>> Instead we are noticing that the method returns 0 - indicating success, however the Virtual machine does not stop because of memory or other errors. >>> >> Can you elaborate on what operation you are doing here ? >> What errors are you seeing ? >>> Can you clarify whether this is a known issue in libvirt-CIM? Also recommend how to track the invoked job? >>> >> Once the RqquestedStateChange() is successful you should be able to see >> the new state value in the Xen_ComputerSystem.EnabledState. >>> The OS is an RHEL 5.4 and the libvirt and xen versions are as follows: >>> >>> [root at RHEL54 ~]# cat /etc/issue >>> Red Hat Enterprise Linux Server release 5.4 Beta (Tikanga) >>> Kernel \r on an \m >>> >>> [root at RHEL54 ~]# uname -a >>> Linux RHEL54 2.6.18-160.el5xen #1 SMP Mon Jul 27 18:01:58 EDT 2009 i686 i686 i386 GNU/Linux >>> [root at RHEL54 ~]# rpm -qa | grep libvirt >>> libvirt-0.6.3-17.el5 >>> libvirt-cim-0.5.5-2.el5 >>> libvirt-python-0.6.3-17.el5 >>> [root at RHEL54 ~]# rpm -qa | grep xen >>> kernel-xen-devel-2.6.18-160.el5 >>> kernel-xen-2.6.18-160.el5 >>> xen-3.0.3-92.el5 >>> xen-libs-3.0.3-92.el5 >>> [root at RHEL54 ~]# rpm -qa | grep sblim >>> sblim-cmpi-base-1.5.5-34.el5 >>> [root at RHEL54 ~]# >>> >>> We also need clarification for live migration. We notice that Xen_ComputerSystem instance for the Virtual machine which is live migrated is being reported on the source and target host. Can you clarify us how to determine the actual host where the VM is associated? We were hoping that HostedDependency association will be helpful, but did not work. >>> >>> >> Once the live migration of the guest using libvirt-cim is successful you >> should not see any information of the VM on the host. >> I dont think there is any means from which you can track information >> regarding the source from which the guest was migrated using libivrt-cim >> providers. >> Xen_HostedDependency will give information of the VM's the particular >> Server hosts. >>> Appreciate any help in this regard. >>> >>> Sandeep >>> >>> _______________________________________________ >>> Libvirt-cim mailing list >>> Libvirt-cim at redhat.com >>> https://www.redhat.com/mailman/listinfo/libvirt-cim >>> > > -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From deeptik at linux.vnet.ibm.com Fri Oct 9 13:05:55 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Fri, 09 Oct 2009 18:35:55 +0530 Subject: [Libvirt-cim] Query regarding Xen_ComputerSystem.RequestStateChange() and Live migration In-Reply-To: References: <4ACD9805.5010004@linux.vnet.ibm.com> <33AD874197876A4E9440933154AA337D2CA7BAA3F8@GVW1157EXB.americas.hpqcorp.net> <4ACE10B5.9070009@linux.vnet.ibm.com> <33AD874197876A4E9440933154AA337D2CA7BAA49B@GVW1157EXB.americas.hpqcorp.net> <4ACE474A.4080603@linux.vnet.ibm.com> Message-ID: <4ACF3533.905@linux.vnet.ibm.com> Subba Rao, Sandeep M (STSD) wrote: > Hi Kaitlin, > > >> I'm not sure what you mean by "goes back to host1". >> > > So, if we switch off the VM after the live migration, the VM loses the assocation with target. Virsh shows as follows after shutdown: > > [root at RHEL54-host1 ~]# virsh list --all > >> Id Name State >> ---------------------------------- >> 0 Domain-0 running >> - liveVm shut off >> > > > >> [root at RHEL54-host2 ~]# virsh list --all >> Id Name State >> ---------------------------------- >> 0 Domain-0 running >> - localVm shut off >> > > >> Ah, so libvirt-cim is cleaning the guest up on the source host properly. >> > That is good to hear. > > libvirt-cim is cleaning the guest up on the source host properly, like you said looks like libvirt has some issues and we will follow up accordingly. > > Regarding the stop VM operation -- RequestStateChange() function. > > We tried the stop operation on the VM. The stop operation through libvirt-cim reported success i.e the RequestStateChange() function returned a 0, but > the VM is still running on the host. > Can you give the virsh list --all values for the before and after the RequestStateChange() operation ? Also, can you give the parameters that you are passing to RequestStateChange() method. > Attaching the libvirt-cim log file. > > The operation was tried on the VM 'Win'. Details are as below: > > [root at RHEL54 ~]# cat /etc/issue > Red Hat Enterprise Linux Server release 5.4 Beta (Tikanga) > Kernel \r on an \m > > [root at RHEL54 ~]# virsh list --all > Id Name State > ---------------------------------- > 0 Domain-0 running > 1 Win idle > - HVM shut off > - SLES shut off > - VM shut off > > virsh # dominfo 1 > Id: 1 > Name: Win > UUID: 090df819-8ac6-f4d3-784b-4309a938080a > OS Type: hvm > State: no state > CPU(s): 1 > CPU time: 55.0s > Max memory: 278528 kB > Used memory: 270208 kB > Autostart: disable > > The stop operation doesn't seem to work through xm and virsh. However, our concern is that the RequestStateChange() function returns 0 immediately. > This is the case even when the operation succeeds. > > Please let us know if you need any information. > > Regards, > Sandeep > > -----Original Message----- > From: Kaitlin Rupert [mailto:kaitlin at linux.vnet.ibm.com] > Sent: Friday, October 09, 2009 1:41 AM > To: Velayudham, Madan Ganesh (STSD / ESS SW) > Cc: Deepti B Kalakeri; List for discussion and development of libvirt CIM; Subba Rao, Sandeep M (STSD) > Subject: Re: [Libvirt-cim] Query regarding Xen_ComputerSystem.RequestStateChange() and Live migration > > Velayudham, Madan Ganesh (STSD / ESS SW) wrote: > >> Thanks Kaitlin, >> >> Here it is: >> >> [root at RHEL54-host1 ~]# virsh list --all >> Id Name State >> ---------------------------------- >> 0 Domain-0 running >> - liveVm shut off >> > > This is why libvirt-cim reports the guest on host1. The definition of the guest still exists here. > > >> [root at RHEL54-host2 ~]# virsh list --all >> Id Name State >> ---------------------------------- >> 0 Domain-0 running >> 14 liveVm idle >> - localVm shut off >> >> If I shutdown the liveVm on host2, the VM goes back to host1!! Does it indicate any problems? >> > > I'm not sure what you mean by "goes back to host1". > > >> Please note that above mentioned was the case when we invoked the live migration through virsh command. >> > > My mistake - I didn't realize you were launching the migration through libvirt. So it sounds like libvirt doesn't remove the definition from the source system in RHEL 5.4. I believe this is the desired behavior, but you'll have to check with the libvirt team. > > >> I enabled the logging as mentioned, and invoked live migration through libvirt-CIM - in which case - the migration completed successfully, and the VM was reported only on the target; Attached is the log. >> > > Ah, so libvirt-cim is cleaning the guest up on the source host properly. > That is good to hear. > > >> Now it appears to be - if we start using virsh command, then the inconsistency is seen. >> >> Please let us know your comments. >> >> We'll capture logs for the stop issue (in another setup) and send soon. >> >> Thanks and Regards, >> Madan (_MaGa_) >> Madan Ganesh Velayudham >> Office: +91 80 2516 5333 >> >> >> -----Original Message----- >> From: Kaitlin Rupert [mailto:kaitlin at linux.vnet.ibm.com] >> Sent: Thursday, October 08, 2009 9:48 PM >> To: Velayudham, Madan Ganesh (STSD / ESS SW) >> Cc: Deepti B Kalakeri; List for discussion and development of libvirt CIM; Subba Rao, Sandeep M (STSD) >> Subject: Re: [Libvirt-cim] Query regarding Xen_ComputerSystem.RequestStateChange() and Live migration >> >> Velayudham, Madan Ganesh (STSD / ESS SW) wrote: >> >>> Thank you Kaitlin and Deepti, >>> >>> >> Hi Madan, >> >> Can you run "virsh list --all" on both hosts. "virsh list" just shows >> active guests, while "virsh list --all" shows active and inactive guests. >> >> Mu guess is that liveVM is still defined on RHEL54-host1. Can you >> enable the provider debug and then rerun the migration? I'm wondering >> if the providers print an error as to why the guest isn't being >> undefined from the source system. >> >> To enable the provider debug, do the following: >> >> export CU_DEBUG="/var/log/libvirt-cim.log" >> /etc/init.d/tog-pegasus restart >> >> >>> The VM "liveVm" on shared storage is being reported on both the hosts (source and destination), here is what we receive through "Xen_HostedDepenency" association: >>> >>> [root at RHEL54-host1 ~]# wbemcli ain -ac Xen_HostedDependency 'http://root:password at localhost:5988/root/virt:Xen_HostSystem.CreationClassName="Xen_HostSystem",Name="RHEL54-host1"' >>> RHEL54-host1/root/virt:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="liveVm" >>> RHEL54-host1/root/virt:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="Domain-0" >>> >>> [root at RHEL54-host1 ~]# virsh list >>> Id Name State >>> ---------------------------------- >>> 0 Domain-0 running >>> >>> [root at RHEL54-host2 ~]# wbemcli ain -ac Xen_HostedDependency 'http://root:password at localhost:5988/root/virt:Xen_HostSystem.CreationClassName="Xen_HostSystem",Name="RHEL54-host2"' >>> RHEL54-host2/root/virt:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="localVm" >>> RHEL54-host2/root/virt:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="Domain-0" >>> RHEL54-host2/root/virt:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="liveVm" >>> >>> [root at RHEL54-host2 ~]# virsh list >>> Id Name State >>> ---------------------------------- >>> 0 Domain-0 running >>> 7 liveVm idle >>> >>> As you notice, virsh command is listing properly, but the association is not updated properly and results in both hosts. >>> >>> On the RequestStateChange, we did not capture the message of stop failure. However, here is what we observe - we invoke the RequestStateChange method, it returns 0 - indicating success; >>> But the VM will not start or stop due to insufficient resources. We assuming that RequestStatechange method to be synchronous call if it does not >>> provide CIM_Job to track the status of start or stop. Generally starting a Windows VM take more than a minute. >>> >> Where is the insufficient resources printing out from? Can you paste >> the errors you see? Can you also include the accompanying provider debug? >> >> Either way, libvirt-cim should not return a success in this case. So it >> sounds like we have a bug here. My guess is that the following is >> happening: >> >> 1) libvirt-cim asks libvirt to stop the guest >> 2) libvirt returns that the operation is successful, but the operation >> really fails >> 3) libvirt-cim doesn't verify that the guest was really stopped / >> started, so it doesn't catch the failure >> >> >>> Thanks again for your help, >>> >>> Best Regards, >>> Madan >>> >>> -----Original Message----- >>> From: Deepti B Kalakeri [mailto:deeptik at linux.vnet.ibm.com] >>> Sent: Thursday, October 08, 2009 1:13 PM >>> To: Velayudham, Madan Ganesh (STSD / ESS SW) >>> Cc: List for discussion and development of libvirt CIM; Kaitlin Rupert; Deepti B Kalakeri >>> Subject: Re: [Libvirt-cim] Query regarding Xen_ComputerSystem.RequestStateChange() and Live migration >>> >>> >>> >>> Subba Rao, Sandeep M (STSD) wrote: >>> >>>> Hi Kaitlin, >>>> >>>> Hope you are doing fine. >>>> >>>> We need a clarification regarding the CIM_ConcereteJob support part of Xen_ComputerSystem.RequestStateChange() method to start or stop a Virtual Machine. After we invoke the method, we were expecting a return value of 4096 (Operation Scheduled) with the reference to Job to track the status. >>>> >>>> >>> AFAIK, the method would not return 4096, it would return success or >>> failure only. >>> >>>> Instead we are noticing that the method returns 0 - indicating success, however the Virtual machine does not stop because of memory or other errors. >>>> >>>> >>> Can you elaborate on what operation you are doing here ? >>> What errors are you seeing ? >>> >>>> Can you clarify whether this is a known issue in libvirt-CIM? Also recommend how to track the invoked job? >>>> >>>> >>> Once the RqquestedStateChange() is successful you should be able to see >>> the new state value in the Xen_ComputerSystem.EnabledState. >>> >>>> The OS is an RHEL 5.4 and the libvirt and xen versions are as follows: >>>> >>>> [root at RHEL54 ~]# cat /etc/issue >>>> Red Hat Enterprise Linux Server release 5.4 Beta (Tikanga) >>>> Kernel \r on an \m >>>> >>>> [root at RHEL54 ~]# uname -a >>>> Linux RHEL54 2.6.18-160.el5xen #1 SMP Mon Jul 27 18:01:58 EDT 2009 i686 i686 i386 GNU/Linux >>>> [root at RHEL54 ~]# rpm -qa | grep libvirt >>>> libvirt-0.6.3-17.el5 >>>> libvirt-cim-0.5.5-2.el5 >>>> libvirt-python-0.6.3-17.el5 >>>> [root at RHEL54 ~]# rpm -qa | grep xen >>>> kernel-xen-devel-2.6.18-160.el5 >>>> kernel-xen-2.6.18-160.el5 >>>> xen-3.0.3-92.el5 >>>> xen-libs-3.0.3-92.el5 >>>> [root at RHEL54 ~]# rpm -qa | grep sblim >>>> sblim-cmpi-base-1.5.5-34.el5 >>>> [root at RHEL54 ~]# >>>> >>>> We also need clarification for live migration. We notice that Xen_ComputerSystem instance for the Virtual machine which is live migrated is being reported on the source and target host. Can you clarify us how to determine the actual host where the VM is associated? We were hoping that HostedDependency association will be helpful, but did not work. >>>> >>>> >>>> >>> Once the live migration of the guest using libvirt-cim is successful you >>> should not see any information of the VM on the host. >>> I dont think there is any means from which you can track information >>> regarding the source from which the guest was migrated using libivrt-cim >>> providers. >>> Xen_HostedDependency will give information of the VM's the particular >>> Server hosts. >>> >>>> Appreciate any help in this regard. >>>> >>>> Sandeep >>>> >>>> _______________________________________________ >>>> Libvirt-cim mailing list >>>> Libvirt-cim at redhat.com >>>> https://www.redhat.com/mailman/listinfo/libvirt-cim >>>> >>>> >> > > > -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Fri Oct 9 16:26:04 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 09 Oct 2009 09:26:04 -0700 Subject: [Libvirt-cim] Query regarding Xen_ComputerSystem.RequestStateChange() and Live migration In-Reply-To: References: <4ACD9805.5010004@linux.vnet.ibm.com> <33AD874197876A4E9440933154AA337D2CA7BAA3F8@GVW1157EXB.americas.hpqcorp.net> <4ACE10B5.9070009@linux.vnet.ibm.com> <33AD874197876A4E9440933154AA337D2CA7BAA49B@GVW1157EXB.americas.hpqcorp.net> <4ACE474A.4080603@linux.vnet.ibm.com> Message-ID: <4ACF641C.6040601@linux.vnet.ibm.com> Subba Rao, Sandeep M (STSD) wrote: > Hi Kaitlin, > >> I'm not sure what you mean by "goes back to host1". > > So, if we switch off the VM after the live migration, the VM loses the assocation with target. Virsh shows as follows after shutdown: > > [root at RHEL54-host1 ~]# virsh list --all >> Id Name State >> ---------------------------------- >> 0 Domain-0 running >> - liveVm shut off > > >> [root at RHEL54-host2 ~]# virsh list --all >> Id Name State >> ---------------------------------- >> 0 Domain-0 running >> - localVm shut off Ah, I see what you mean. libvirt does not define the guest on the target during a migration. So before you shutdown the guest, you'll need to define it so that the config persists. That said, libvirt-cim will define the guest so that when the guest is migrated over, it's configuration persists after the guest is shutdown. > >> Ah, so libvirt-cim is cleaning the guest up on the source host properly. > That is good to hear. > > libvirt-cim is cleaning the guest up on the source host properly, like you said looks like libvirt has some issues and we will follow up accordingly. > > Regarding the stop VM operation -- RequestStateChange() function. > > We tried the stop operation on the VM. The stop operation through libvirt-cim reported success i.e the RequestStateChange() function returned a 0, but > the VM is still running on the host. > > Attaching the libvirt-cim log file. > > The operation was tried on the VM 'Win'. Details are as below: > > [root at RHEL54 ~]# cat /etc/issue > Red Hat Enterprise Linux Server release 5.4 Beta (Tikanga) > Kernel \r on an \m > > [root at RHEL54 ~]# virsh list --all > Id Name State > ---------------------------------- > 0 Domain-0 running > 1 Win idle > - HVM shut off > - SLES shut off > - VM shut off > > virsh # dominfo 1 > Id: 1 > Name: Win > UUID: 090df819-8ac6-f4d3-784b-4309a938080a > OS Type: hvm > State: no state > CPU(s): 1 > CPU time: 55.0s > Max memory: 278528 kB > Used memory: 270208 kB > Autostart: disable > > The stop operation doesn't seem to work through xm and virsh. However, our concern is that the RequestStateChange() function returns 0 immediately. > This is the case even when the operation succeeds. So if xm is failing to shutdown the guest, then libvirt-cim won't be able to shutdown the guest either. However, I agree with you that there is a bug in libvirt-cim here. We should check to make sure the guest is properly shutdown before returning from RequestStateChange(). We don't currently do that. Currently, we just return whether libvirt reports a success or a failure. > > Please let us know if you need any information. > > Regards, > Sandeep > > -----Original Message----- > From: Kaitlin Rupert [mailto:kaitlin at linux.vnet.ibm.com] > Sent: Friday, October 09, 2009 1:41 AM > To: Velayudham, Madan Ganesh (STSD / ESS SW) > Cc: Deepti B Kalakeri; List for discussion and development of libvirt CIM; Subba Rao, Sandeep M (STSD) > Subject: Re: [Libvirt-cim] Query regarding Xen_ComputerSystem.RequestStateChange() and Live migration > > Velayudham, Madan Ganesh (STSD / ESS SW) wrote: >> Thanks Kaitlin, >> >> Here it is: >> >> [root at RHEL54-host1 ~]# virsh list --all >> Id Name State >> ---------------------------------- >> 0 Domain-0 running >> - liveVm shut off > > This is why libvirt-cim reports the guest on host1. The definition of the guest still exists here. > >> [root at RHEL54-host2 ~]# virsh list --all >> Id Name State >> ---------------------------------- >> 0 Domain-0 running >> 14 liveVm idle >> - localVm shut off >> >> If I shutdown the liveVm on host2, the VM goes back to host1!! Does it indicate any problems? > > I'm not sure what you mean by "goes back to host1". > >> Please note that above mentioned was the case when we invoked the live migration through virsh command. > > My mistake - I didn't realize you were launching the migration through libvirt. So it sounds like libvirt doesn't remove the definition from the source system in RHEL 5.4. I believe this is the desired behavior, but you'll have to check with the libvirt team. > >> I enabled the logging as mentioned, and invoked live migration through libvirt-CIM - in which case - the migration completed successfully, and the VM was reported only on the target; Attached is the log. > > Ah, so libvirt-cim is cleaning the guest up on the source host properly. > That is good to hear. > >> Now it appears to be - if we start using virsh command, then the inconsistency is seen. >> >> Please let us know your comments. >> >> We'll capture logs for the stop issue (in another setup) and send soon. >> >> Thanks and Regards, >> Madan (_MaGa_) >> Madan Ganesh Velayudham >> Office: +91 80 2516 5333 >> >> >> -----Original Message----- >> From: Kaitlin Rupert [mailto:kaitlin at linux.vnet.ibm.com] >> Sent: Thursday, October 08, 2009 9:48 PM >> To: Velayudham, Madan Ganesh (STSD / ESS SW) >> Cc: Deepti B Kalakeri; List for discussion and development of libvirt CIM; Subba Rao, Sandeep M (STSD) >> Subject: Re: [Libvirt-cim] Query regarding Xen_ComputerSystem.RequestStateChange() and Live migration >> >> Velayudham, Madan Ganesh (STSD / ESS SW) wrote: >>> Thank you Kaitlin and Deepti, >>> >> Hi Madan, >> >> Can you run "virsh list --all" on both hosts. "virsh list" just shows >> active guests, while "virsh list --all" shows active and inactive guests. >> >> Mu guess is that liveVM is still defined on RHEL54-host1. Can you >> enable the provider debug and then rerun the migration? I'm wondering >> if the providers print an error as to why the guest isn't being >> undefined from the source system. >> >> To enable the provider debug, do the following: >> >> export CU_DEBUG="/var/log/libvirt-cim.log" >> /etc/init.d/tog-pegasus restart >> >>> The VM "liveVm" on shared storage is being reported on both the hosts (source and destination), here is what we receive through "Xen_HostedDepenency" association: >>> >>> [root at RHEL54-host1 ~]# wbemcli ain -ac Xen_HostedDependency 'http://root:password at localhost:5988/root/virt:Xen_HostSystem.CreationClassName="Xen_HostSystem",Name="RHEL54-host1"' >>> RHEL54-host1/root/virt:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="liveVm" >>> RHEL54-host1/root/virt:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="Domain-0" >>> >>> [root at RHEL54-host1 ~]# virsh list >>> Id Name State >>> ---------------------------------- >>> 0 Domain-0 running >>> >>> [root at RHEL54-host2 ~]# wbemcli ain -ac Xen_HostedDependency 'http://root:password at localhost:5988/root/virt:Xen_HostSystem.CreationClassName="Xen_HostSystem",Name="RHEL54-host2"' >>> RHEL54-host2/root/virt:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="localVm" >>> RHEL54-host2/root/virt:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="Domain-0" >>> RHEL54-host2/root/virt:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="liveVm" >>> >>> [root at RHEL54-host2 ~]# virsh list >>> Id Name State >>> ---------------------------------- >>> 0 Domain-0 running >>> 7 liveVm idle >>> >>> As you notice, virsh command is listing properly, but the association is not updated properly and results in both hosts. >>> >>> On the RequestStateChange, we did not capture the message of stop failure. However, here is what we observe - we invoke the RequestStateChange method, it returns 0 - indicating success; >>> But the VM will not start or stop due to insufficient resources. We assuming that RequestStatechange method to be synchronous call if it does not >>> provide CIM_Job to track the status of start or stop. Generally starting a Windows VM take more than a minute. >> Where is the insufficient resources printing out from? Can you paste >> the errors you see? Can you also include the accompanying provider debug? >> >> Either way, libvirt-cim should not return a success in this case. So it >> sounds like we have a bug here. My guess is that the following is >> happening: >> >> 1) libvirt-cim asks libvirt to stop the guest >> 2) libvirt returns that the operation is successful, but the operation >> really fails >> 3) libvirt-cim doesn't verify that the guest was really stopped / >> started, so it doesn't catch the failure >> >>> Thanks again for your help, >>> >>> Best Regards, >>> Madan >>> >>> -----Original Message----- >>> From: Deepti B Kalakeri [mailto:deeptik at linux.vnet.ibm.com] >>> Sent: Thursday, October 08, 2009 1:13 PM >>> To: Velayudham, Madan Ganesh (STSD / ESS SW) >>> Cc: List for discussion and development of libvirt CIM; Kaitlin Rupert; Deepti B Kalakeri >>> Subject: Re: [Libvirt-cim] Query regarding Xen_ComputerSystem.RequestStateChange() and Live migration >>> >>> >>> >>> Subba Rao, Sandeep M (STSD) wrote: >>>> Hi Kaitlin, >>>> >>>> Hope you are doing fine. >>>> >>>> We need a clarification regarding the CIM_ConcereteJob support part of Xen_ComputerSystem.RequestStateChange() method to start or stop a Virtual Machine. After we invoke the method, we were expecting a return value of 4096 (Operation Scheduled) with the reference to Job to track the status. >>>> >>> AFAIK, the method would not return 4096, it would return success or >>> failure only. >>>> Instead we are noticing that the method returns 0 - indicating success, however the Virtual machine does not stop because of memory or other errors. >>>> >>> Can you elaborate on what operation you are doing here ? >>> What errors are you seeing ? >>>> Can you clarify whether this is a known issue in libvirt-CIM? Also recommend how to track the invoked job? >>>> >>> Once the RqquestedStateChange() is successful you should be able to see >>> the new state value in the Xen_ComputerSystem.EnabledState. >>>> The OS is an RHEL 5.4 and the libvirt and xen versions are as follows: >>>> >>>> [root at RHEL54 ~]# cat /etc/issue >>>> Red Hat Enterprise Linux Server release 5.4 Beta (Tikanga) >>>> Kernel \r on an \m >>>> >>>> [root at RHEL54 ~]# uname -a >>>> Linux RHEL54 2.6.18-160.el5xen #1 SMP Mon Jul 27 18:01:58 EDT 2009 i686 i686 i386 GNU/Linux >>>> [root at RHEL54 ~]# rpm -qa | grep libvirt >>>> libvirt-0.6.3-17.el5 >>>> libvirt-cim-0.5.5-2.el5 >>>> libvirt-python-0.6.3-17.el5 >>>> [root at RHEL54 ~]# rpm -qa | grep xen >>>> kernel-xen-devel-2.6.18-160.el5 >>>> kernel-xen-2.6.18-160.el5 >>>> xen-3.0.3-92.el5 >>>> xen-libs-3.0.3-92.el5 >>>> [root at RHEL54 ~]# rpm -qa | grep sblim >>>> sblim-cmpi-base-1.5.5-34.el5 >>>> [root at RHEL54 ~]# >>>> >>>> We also need clarification for live migration. We notice that Xen_ComputerSystem instance for the Virtual machine which is live migrated is being reported on the source and target host. Can you clarify us how to determine the actual host where the VM is associated? We were hoping that HostedDependency association will be helpful, but did not work. >>>> >>>> >>> Once the live migration of the guest using libvirt-cim is successful you >>> should not see any information of the VM on the host. >>> I dont think there is any means from which you can track information >>> regarding the source from which the guest was migrated using libivrt-cim >>> providers. >>> Xen_HostedDependency will give information of the VM's the particular >>> Server hosts. >>>> Appreciate any help in this regard. >>>> >>>> Sandeep >>>> >>>> _______________________________________________ >>>> Libvirt-cim mailing list >>>> Libvirt-cim at redhat.com >>>> https://www.redhat.com/mailman/listinfo/libvirt-cim >>>> >> > > -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Mon Oct 12 17:51:14 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Mon, 12 Oct 2009 17:51:14 -0000 Subject: [Libvirt-cim] [PATCH] Restructure infostore to facilitate code reuse of some functions Message-ID: <65f03165609a2291ff6a.1255369874@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1255007573 25200 # Node ID 65f03165609a2291ff6ab4dcb774087055b6d568 # Parent 10f3bc589ff7754578b96b77a735526425d1e212 Restructure infostore to facilitate code reuse of some functions These changes are to prepare for some upcoming patches. Those patches will create a job store, which will be used to persist job instances. Signed-off-by: Kaitlin Rupert diff -r 10f3bc589ff7 -r 65f03165609a libxkutil/infostore.c --- a/libxkutil/infostore.c Wed Oct 07 11:50:59 2009 -0700 +++ b/libxkutil/infostore.c Thu Oct 08 06:12:53 2009 -0700 @@ -168,11 +168,10 @@ return size >= 0; } -static struct infostore_ctx *_infostore_open(virDomainPtr dom) +static struct infostore_ctx *_generic_infostore_open(char *filename) { struct infostore_ctx *isc; struct stat s; - char *filename = NULL; isc = calloc(1, sizeof(*isc)); if (isc == NULL) { @@ -180,10 +179,6 @@ return NULL; } - filename = make_filename(dom); - if (filename == NULL) - goto err; - isc->fd = open(filename, O_RDWR|O_CREAT, 0600); if (isc->fd < 0) { CU_DEBUG("Unable to open `%s': %m", filename); @@ -212,6 +207,27 @@ goto err; } + return isc; + + err: + infostore_cleanup_ctx(isc); + + return NULL; +} + +static struct infostore_ctx *_infostore_open(virDomainPtr dom) +{ + struct infostore_ctx *isc = NULL; + char *filename = NULL; + + filename = make_filename(dom); + if (filename == NULL) + return NULL; + + isc = _generic_infostore_open(filename); + if (isc == NULL) + return NULL; + if (!xmlStrEqual(isc->root->name, BAD_CAST "dominfo")) { CU_DEBUG("XML does not start with "); goto err; @@ -286,7 +302,7 @@ return isc; } -void infostore_close(struct infostore_ctx *ctx) +static void _infostore_close(struct infostore_ctx *ctx) { if (ctx == NULL) return; @@ -295,6 +311,11 @@ infostore_cleanup_ctx(ctx); } +void infostore_close(struct infostore_ctx *ctx) +{ + _infostore_close(ctx); +} + void infostore_delete(const char *type, const char *name) { char *path = NULL; From rmaciel at linux.vnet.ibm.com Tue Oct 13 15:31:56 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Tue, 13 Oct 2009 13:31:56 -0200 Subject: [Libvirt-cim] [PATCH] Fix indention in Makefile.am In-Reply-To: <10f3bc589ff7754578b9.1254941756@elm3b41.beaverton.ibm.com> References: <10f3bc589ff7754578b9.1254941756@elm3b41.beaverton.ibm.com> Message-ID: <4AD49D6C.5090606@linux.vnet.ibm.com> +1 On 10/07/2009 03:55 PM, Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1254941459 25200 > # Node ID 10f3bc589ff7754578b96b77a735526425d1e212 > # Parent 428eca03998023f2f1b37ba7e2504c23d5ee80b9 > Fix indention in Makefile.am > > At some point, then indention switches from tabs to spaces. This fixes that > issue. > > Signed-off-by: Kaitlin Rupert > > diff -r 428eca039980 -r 10f3bc589ff7 Makefile.am > --- a/Makefile.am Tue Sep 22 11:46:03 2009 -0600 > +++ b/Makefile.am Wed Oct 07 11:50:59 2009 -0700 > @@ -47,16 +47,15 @@ > schema/VirtualSystemSnapshotServiceCapabilities.mof \ > schema/ConcreteComponent.mof \ > schema/ConsoleRedirectionService.mof \ > - schema/ConsoleRedirectionServiceCapabilities.mof \ > - schema/ServiceAffectsElement.mof \ > - schema/KVMRedirectionSAP.mof \ > - schema/DisplayController.mof \ > - schema/PointingDevice.mof \ > - schema/GraphicsPool.mof \ > - schema/InputPool.mof \ > - schema/HostedAccessPoint.mof \ > - schema/ServiceAccessBySAP.mof \ > - schema/SAPAvailableForElement.mof > + schema/ConsoleRedirectionServiceCapabilities.mof \ > + schema/ServiceAffectsElement.mof \ > + schema/KVMRedirectionSAP.mof \ > + schema/DisplayController.mof \ > + schema/PointingDevice.mof \ > + schema/InputPool.mof \ > + schema/HostedAccessPoint.mof \ > + schema/ServiceAccessBySAP.mof \ > + schema/SAPAvailableForElement.mof > > INTEROP_MOFS = \ > schema/ComputerSystem.mof \ > @@ -122,16 +121,16 @@ > schema/VirtualSystemSnapshotServiceCapabilities.registration \ > schema/ConcreteComponent.registration \ > schema/ConsoleRedirectionService.registration \ > - schema/ConsoleRedirectionServiceCapabilities.registration \ > - schema/ServiceAffectsElement.registration \ > - schema/KVMRedirectionSAP.registration \ > - schema/DisplayController.registration \ > - schema/PointingDevice.registration \ > - schema/GraphicsPool.registration \ > - schema/InputPool.registration \ > - schema/HostedAccessPoint.registration \ > - schema/ServiceAccessBySAP.registration \ > - schema/SAPAvailableForElement.registration > + schema/ConsoleRedirectionServiceCapabilities.registration \ > + schema/ServiceAffectsElement.registration \ > + schema/KVMRedirectionSAP.registration \ > + schema/DisplayController.registration \ > + schema/PointingDevice.registration \ > + schema/GraphicsPool.registration \ > + schema/InputPool.registration \ > + schema/HostedAccessPoint.registration \ > + schema/ServiceAccessBySAP.registration \ > + schema/SAPAvailableForElement.registration > > INTEROP_REGS = \ > schema/RegisteredProfile.registration \ -- Richard Maciel, MSc IBM Linux Technology Center rmaciel at linux.vnet.ibm.com From rmaciel at linux.vnet.ibm.com Tue Oct 13 16:02:04 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Tue, 13 Oct 2009 14:02:04 -0200 Subject: [Libvirt-cim] [PATCH] Restructure infostore to facilitate code reuse of some functions In-Reply-To: <65f03165609a2291ff6a.1255369874@elm3b41.beaverton.ibm.com> References: <65f03165609a2291ff6a.1255369874@elm3b41.beaverton.ibm.com> Message-ID: <4AD4A47C.1020707@linux.vnet.ibm.com> +1 On 10/12/2009 03:51 PM, Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1255007573 25200 > # Node ID 65f03165609a2291ff6ab4dcb774087055b6d568 > # Parent 10f3bc589ff7754578b96b77a735526425d1e212 > Restructure infostore to facilitate code reuse of some functions > > These changes are to prepare for some upcoming patches. Those patches will > create a job store, which will be used to persist job instances. > > Signed-off-by: Kaitlin Rupert > > diff -r 10f3bc589ff7 -r 65f03165609a libxkutil/infostore.c > --- a/libxkutil/infostore.c Wed Oct 07 11:50:59 2009 -0700 > +++ b/libxkutil/infostore.c Thu Oct 08 06:12:53 2009 -0700 > @@ -168,11 +168,10 @@ > return size>= 0; > } > > -static struct infostore_ctx *_infostore_open(virDomainPtr dom) > +static struct infostore_ctx *_generic_infostore_open(char *filename) > { > struct infostore_ctx *isc; > struct stat s; > - char *filename = NULL; > > isc = calloc(1, sizeof(*isc)); > if (isc == NULL) { > @@ -180,10 +179,6 @@ > return NULL; > } > > - filename = make_filename(dom); > - if (filename == NULL) > - goto err; > - > isc->fd = open(filename, O_RDWR|O_CREAT, 0600); > if (isc->fd< 0) { > CU_DEBUG("Unable to open `%s': %m", filename); > @@ -212,6 +207,27 @@ > goto err; > } > > + return isc; > + > + err: > + infostore_cleanup_ctx(isc); > + > + return NULL; > +} > + > +static struct infostore_ctx *_infostore_open(virDomainPtr dom) > +{ > + struct infostore_ctx *isc = NULL; > + char *filename = NULL; > + > + filename = make_filename(dom); > + if (filename == NULL) > + return NULL; > + > + isc = _generic_infostore_open(filename); > + if (isc == NULL) > + return NULL; > + > if (!xmlStrEqual(isc->root->name, BAD_CAST "dominfo")) { > CU_DEBUG("XML does not start with"); > goto err; > @@ -286,7 +302,7 @@ > return isc; > } > > -void infostore_close(struct infostore_ctx *ctx) > +static void _infostore_close(struct infostore_ctx *ctx) > { > if (ctx == NULL) > return; > @@ -295,6 +311,11 @@ > infostore_cleanup_ctx(ctx); > } > > +void infostore_close(struct infostore_ctx *ctx) > +{ > + _infostore_close(ctx); > +} > + > void infostore_delete(const char *type, const char *name) > { > char *path = NULL; > > _______________________________________________ > Libvirt-cim mailing list > Libvirt-cim at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-cim -- Richard Maciel, MSc IBM Linux Technology Center rmaciel at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Wed Oct 14 22:12:20 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Wed, 14 Oct 2009 22:12:20 -0000 Subject: [Libvirt-cim] [PATCH] This fixes the seg fault seen with older version of sfcb Message-ID: <1dbcf6c22d5edf886417.1255558340@elm3b42.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1255558169 25200 # Node ID 1dbcf6c22d5edf8864176e15edd8a4a91e33e726 # Parent 906a78ecf9f3e4972133c6792c1ff543cc57b493 This fixes the seg fault seen with older version of sfcb. This has been tested with sfcb 1.3.2 Signed-off-by: Kaitlin Rupert diff -r 906a78ecf9f3 -r 1dbcf6c22d5e src/Virt_VirtualSystemManagementService.c --- a/src/Virt_VirtualSystemManagementService.c Mon Oct 05 06:02:39 2009 -0700 +++ b/src/Virt_VirtualSystemManagementService.c Wed Oct 14 15:09:29 2009 -0700 @@ -1435,24 +1435,25 @@ CU_DEBUG("raise_rasd_indication"); type = get_typed_class(CLASSNAME(ref), base_type); - ind = get_typed_instance(_BROKER, - CLASSNAME(ref), - base_type, - NAMESPACE(ref)); - if (ind == NULL) { - CU_DEBUG("Failed to get indication instance"); - s.rc = CMPI_RC_ERR_FAILED; - goto out; - } - - /* PreviousInstance is set only for modify case. */ - if (prev_inst != NULL) - CMSetProperty(ind, - "PreviousInstance", - (CMPIValue *)&prev_inst, - CMPI_instance); for (i = 0; i < list->cur; i++) { + ind = get_typed_instance(_BROKER, + CLASSNAME(ref), + base_type, + NAMESPACE(ref)); + if (ind == NULL) { + CU_DEBUG("Failed to get indication instance"); + s.rc = CMPI_RC_ERR_FAILED; + goto out; + } + + /* PreviousInstance is set only for modify case. */ + if (prev_inst != NULL) + CMSetProperty(ind, + "PreviousInstance", + (CMPIValue *)&prev_inst, + CMPI_instance); + instc = list->list[i]; op = CMGetObjectPath(instc, NULL); CMPIString *str = CMGetClassName(op, NULL); From tyreld at us.ibm.com Wed Oct 14 21:32:11 2009 From: tyreld at us.ibm.com (Tyrel Datwyler) Date: Wed, 14 Oct 2009 15:32:11 -0600 Subject: [Libvirt-cim] Tyrel Datwyler is out of the office. Message-ID: I will be out of the office starting 10/14/2009 and will not return until 10/19/2009. I will respond to your message when I return. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmaciel at linux.vnet.ibm.com Thu Oct 15 00:16:16 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Wed, 14 Oct 2009 22:16:16 -0200 Subject: [Libvirt-cim] [PATCH] This fixes the seg fault seen with older version of sfcb In-Reply-To: <1dbcf6c22d5edf886417.1255558340@elm3b42.beaverton.ibm.com> References: <1dbcf6c22d5edf886417.1255558340@elm3b42.beaverton.ibm.com> Message-ID: <4AD669D0.6000302@linux.vnet.ibm.com> +1 On 10/14/2009 08:12 PM, Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1255558169 25200 > # Node ID 1dbcf6c22d5edf8864176e15edd8a4a91e33e726 > # Parent 906a78ecf9f3e4972133c6792c1ff543cc57b493 > This fixes the seg fault seen with older version of sfcb. > > This has been tested with sfcb 1.3.2 > > Signed-off-by: Kaitlin Rupert > > diff -r 906a78ecf9f3 -r 1dbcf6c22d5e src/Virt_VirtualSystemManagementService.c > --- a/src/Virt_VirtualSystemManagementService.c Mon Oct 05 06:02:39 2009 -0700 > +++ b/src/Virt_VirtualSystemManagementService.c Wed Oct 14 15:09:29 2009 -0700 > @@ -1435,24 +1435,25 @@ > CU_DEBUG("raise_rasd_indication"); > > type = get_typed_class(CLASSNAME(ref), base_type); > - ind = get_typed_instance(_BROKER, > - CLASSNAME(ref), > - base_type, > - NAMESPACE(ref)); > - if (ind == NULL) { > - CU_DEBUG("Failed to get indication instance"); > - s.rc = CMPI_RC_ERR_FAILED; > - goto out; > - } > - > - /* PreviousInstance is set only for modify case. */ > - if (prev_inst != NULL) > - CMSetProperty(ind, > - "PreviousInstance", > - (CMPIValue *)&prev_inst, > - CMPI_instance); > > for (i = 0; i< list->cur; i++) { > + ind = get_typed_instance(_BROKER, > + CLASSNAME(ref), > + base_type, > + NAMESPACE(ref)); > + if (ind == NULL) { > + CU_DEBUG("Failed to get indication instance"); > + s.rc = CMPI_RC_ERR_FAILED; > + goto out; > + } > + > + /* PreviousInstance is set only for modify case. */ > + if (prev_inst != NULL) > + CMSetProperty(ind, > + "PreviousInstance", > + (CMPIValue *)&prev_inst, > + CMPI_instance); > + > instc = list->list[i]; > op = CMGetObjectPath(instc, NULL); > CMPIString *str = CMGetClassName(op, NULL); > > _______________________________________________ > Libvirt-cim mailing list > Libvirt-cim at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-cim -- Richard Maciel, MSc IBM Linux Technology Center rmaciel at linux.vnet.ibm.com From snmishra at us.ibm.com Fri Oct 16 19:37:44 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Fri, 16 Oct 2009 15:37:44 -0400 Subject: [Libvirt-cim] Test Run Summary (Oct 17 2009): KVM on SUSE Linux Enterprise Server 11 (x86_64) with sfcb Message-ID: <200910161937.n9GJbi9k011672@d01av02.pok.ibm.com> ================================================= Test Run Summary (Oct 17 2009): KVM on SUSE Linux Enterprise Server 11 (x86_64) with sfcb ================================================= Distro: SUSE Linux Enterprise Server 11 (x86_64) Kernel: 2.6.27.19-5-default libvirt: 0.4.6 Hypervisor: QEMU 0.9.1 CIMOM: sfcb sfcbd 1.3.2 Libvirt-cim revision: 988 Libvirt-cim changeset: ee56d7a0df74 Cimtest revision: 791 Cimtest changeset: a159cb05bdc7 Total test execution: Unknown ================================================= FAIL : 3 XFAIL : 4 SKIP : 10 PASS : 158 ----------------- Total : 175 ================================================= FAIL Test Summary: RASDIndications - 01_guest_states_rasd_ind.py: FAIL RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: FAIL VirtualSystemManagementService - 22_addmulti_brg_interface.py: FAIL ================================================= XFAIL Test Summary: ComputerSystem - 32_start_reboot.py: XFAIL ComputerSystem - 33_suspend_reboot.py: XFAIL VirtualSystemManagementService - 09_procrasd_persist.py: XFAIL VirtualSystemManagementService - 16_removeresource.py: XFAIL ================================================= SKIP Test Summary: ComputerSystem - 02_nosystems.py: SKIP ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP LogicalDisk - 02_nodevs.py: SKIP VSSD - 02_bootldr.py: SKIP VirtualSystemMigrationService - 01_migratable_host.py: SKIP VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: SKIP ================================================= Full report: -------------------------------------------------------------------- AllocationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- AllocationCapabilities - 02_alloccap_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 01_enum.py: PASS -------------------------------------------------------------------- ComputerSystem - 02_nosystems.py: SKIP ERROR - System has defined domains; unable to run -------------------------------------------------------------------- ComputerSystem - 03_defineVS.py: PASS -------------------------------------------------------------------- ComputerSystem - 04_defineStartVS.py: PASS -------------------------------------------------------------------- ComputerSystem - 05_activate_defined_start.py: PASS -------------------------------------------------------------------- ComputerSystem - 06_paused_active_suspend.py: PASS -------------------------------------------------------------------- ComputerSystem - 22_define_suspend.py: PASS -------------------------------------------------------------------- ComputerSystem - 23_pause_pause.py: PASS -------------------------------------------------------------------- ComputerSystem - 27_define_pause_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 32_start_reboot.py: XFAIL ERROR - Got CIM error Unable to reboot domain: this function is not supported by the hypervisor: virDomainReboot with return code 1 ERROR - Exception: Unable reboot dom 'cs_test_domain' InvokeMethod(RequestStateChange): Unable to reboot domain: this function is not supported by the hypervisor: virDomainReboot Bug:<00005> -------------------------------------------------------------------- ComputerSystem - 33_suspend_reboot.py: XFAIL ERROR - Got CIM error State not supported with return code 7 ERROR - Exception: Unable Suspend dom 'test_domain' InvokeMethod(RequestStateChange): State not supported Bug:<00012> -------------------------------------------------------------------- ComputerSystem - 34_start_disable.py: PASS -------------------------------------------------------------------- ComputerSystem - 35_start_reset.py: PASS -------------------------------------------------------------------- ComputerSystem - 40_RSC_start.py: PASS -------------------------------------------------------------------- ComputerSystem - 41_cs_to_settingdefinestate.py: PASS -------------------------------------------------------------------- ComputerSystem - 42_cs_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystemIndication - 01_created_indication.py: PASS -------------------------------------------------------------------- ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP -------------------------------------------------------------------- ElementAllocatedFromPool - 01_forward.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 02_reverse.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 03_reverse_errs.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 04_forward_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- ElementCapabilities - 02_reverse.py: PASS -------------------------------------------------------------------- ElementCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 05_hostsystem_cap.py: PASS -------------------------------------------------------------------- ElementConforms - 01_forward.py: PASS -------------------------------------------------------------------- ElementConforms - 02_reverse.py: PASS -------------------------------------------------------------------- ElementConforms - 03_ectp_fwd_errs.py: PASS -------------------------------------------------------------------- ElementConforms - 04_ectp_rev_errs.py: PASS -------------------------------------------------------------------- ElementSettingData - 01_forward.py: PASS -------------------------------------------------------------------- ElementSettingData - 03_esd_assoc_with_rasd_errs.py: PASS -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: PASS -------------------------------------------------------------------- HostSystem - 01_enum.py: PASS -------------------------------------------------------------------- HostSystem - 02_hostsystem_to_rasd.py: PASS -------------------------------------------------------------------- HostSystem - 03_hs_to_settdefcap.py: PASS -------------------------------------------------------------------- HostSystem - 04_hs_to_EAPF.py: PASS -------------------------------------------------------------------- HostSystem - 05_hs_gi_errs.py: PASS -------------------------------------------------------------------- HostSystem - 06_hs_to_vsms.py: PASS -------------------------------------------------------------------- HostedAccessPoint - 01_forward.py: PASS -------------------------------------------------------------------- HostedAccessPoint - 02_reverse.py: PASS -------------------------------------------------------------------- HostedDependency - 01_forward.py: PASS -------------------------------------------------------------------- HostedDependency - 02_reverse.py: PASS -------------------------------------------------------------------- HostedDependency - 03_enabledstate.py: PASS -------------------------------------------------------------------- HostedDependency - 04_reverse_errs.py: PASS -------------------------------------------------------------------- HostedResourcePool - 01_forward.py: PASS -------------------------------------------------------------------- HostedResourcePool - 02_reverse.py: PASS -------------------------------------------------------------------- HostedResourcePool - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedResourcePool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- HostedService - 01_forward.py: PASS -------------------------------------------------------------------- HostedService - 02_reverse.py: PASS -------------------------------------------------------------------- HostedService - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedService - 04_reverse_errs.py: PASS -------------------------------------------------------------------- KVMRedirectionSAP - 01_enum_KVMredSAP.py: PASS -------------------------------------------------------------------- LogicalDisk - 01_disk.py: PASS -------------------------------------------------------------------- LogicalDisk - 02_nodevs.py: SKIP ERROR - System has defined domains; unable to run -------------------------------------------------------------------- LogicalDisk - 03_ld_gi_errs.py: PASS -------------------------------------------------------------------- Memory - 01_memory.py: PASS -------------------------------------------------------------------- Memory - 02_defgetmem.py: PASS -------------------------------------------------------------------- Memory - 03_mem_gi_errs.py: PASS -------------------------------------------------------------------- NetworkPort - 01_netport.py: PASS -------------------------------------------------------------------- NetworkPort - 02_np_gi_errors.py: PASS -------------------------------------------------------------------- NetworkPort - 03_user_netport.py: PASS -------------------------------------------------------------------- Processor - 01_processor.py: PASS -------------------------------------------------------------------- Processor - 02_definesys_get_procs.py: PASS -------------------------------------------------------------------- Processor - 03_proc_gi_errs.py: PASS -------------------------------------------------------------------- Profile - 01_enum.py: PASS -------------------------------------------------------------------- Profile - 02_profile_to_elec.py: PASS -------------------------------------------------------------------- Profile - 03_rprofile_gi_errs.py: PASS -------------------------------------------------------------------- RASD - 01_verify_rasd_fields.py: PASS -------------------------------------------------------------------- RASD - 02_enum.py: PASS -------------------------------------------------------------------- RASD - 03_rasd_errs.py: PASS -------------------------------------------------------------------- RASD - 04_disk_rasd_size.py: PASS -------------------------------------------------------------------- RASD - 05_disk_rasd_emu_type.py: PASS -------------------------------------------------------------------- RASD - 06_parent_net_pool.py: PASS -------------------------------------------------------------------- RASD - 07_parent_disk_pool.py: PASS -------------------------------------------------------------------- RASDIndications - 01_guest_states_rasd_ind.py: FAIL ERROR - Did not recieve indication KVM_ResourceAllocationSettingDataDeletedIndication ERROR - Received Indication error: '256' -------------------------------------------------------------------- RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: FAIL ERROR - Did not recieve indication KVM_ResourceAllocationSettingDataModifiedIndication ERROR - Received Indication error: '256' ERROR - Exception: [Errno 3] No such process -------------------------------------------------------------------- RedirectionService - 01_enum_crs.py: PASS -------------------------------------------------------------------- RedirectionService - 02_enum_crscap.py: PASS -------------------------------------------------------------------- RedirectionService - 03_RedirectionSAP_errs.py: PASS -------------------------------------------------------------------- ReferencedProfile - 01_verify_refprof.py: PASS -------------------------------------------------------------------- ReferencedProfile - 02_refprofile_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 01_forward.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 02_reverse.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 03_forward_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 05_RAPF_err.py: PASS -------------------------------------------------------------------- ResourcePool - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePool - 02_rp_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 02_rcps_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 03_CreateResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 07_DeleteResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 09_DeleteDiskPool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 10_create_storagevolume.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 13_delete_storagevolume.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: PASS -------------------------------------------------------------------- ServiceAccessBySAP - 01_forward.py: PASS -------------------------------------------------------------------- ServiceAccessBySAP - 02_reverse.py: PASS -------------------------------------------------------------------- ServiceAffectsElement - 01_forward.py: PASS -------------------------------------------------------------------- ServiceAffectsElement - 02_reverse.py: PASS -------------------------------------------------------------------- SettingsDefine - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefine - 02_reverse.py: PASS -------------------------------------------------------------------- SettingsDefine - 03_sds_fwd_errs.py: PASS -------------------------------------------------------------------- SettingsDefine - 04_sds_rev_errs.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 04_forward_vsmsdata.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 05_reverse_vsmcap.py: PASS -------------------------------------------------------------------- SystemDevice - 01_forward.py: PASS -------------------------------------------------------------------- SystemDevice - 02_reverse.py: PASS -------------------------------------------------------------------- SystemDevice - 03_fwderrs.py: PASS -------------------------------------------------------------------- VSSD - 01_enum.py: PASS -------------------------------------------------------------------- VSSD - 02_bootldr.py: SKIP -------------------------------------------------------------------- VSSD - 03_vssd_gi_errs.py: PASS -------------------------------------------------------------------- VSSD - 04_vssd_to_rasd.py: PASS -------------------------------------------------------------------- VSSD - 05_set_uuid.py: PASS -------------------------------------------------------------------- VSSD - 06_duplicate_uuid.py: PASS -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 01_definesystem_name.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 02_destroysystem.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 03_definesystem_ess.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 04_definesystem_ers.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 05_destroysystem_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 06_addresource.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 07_addresource_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 08_modifyresource.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 09_procrasd_persist.py: XFAIL -------------------------------------------------------------------- VirtualSystemManagementService - 10_hv_version.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 11_define_memrasdunits.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 12_referenced_config.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 13_refconfig_additional_devs.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 14_define_sys_disk.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 15_mod_system_settings.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 16_removeresource.py: XFAIL ERROR - 0 RASD insts for domain/mouse:ps2 No such instance (no device domain/mouse:ps2) Bug:<00014> -------------------------------------------------------------------- VirtualSystemManagementService - 17_removeresource_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 18_define_sys_bridge.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 19_definenetwork_ers.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 20_verify_vnc_password.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 21_createVS_verifyMAC.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 22_addmulti_brg_interface.py: FAIL ERROR - IP address is in use by a different network ERROR - Failed to create Virtual Network 'my_network0' ERROR - Unable to create network pool my_network0 -------------------------------------------------------------------- VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationService - 01_migratable_host.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 01_forward.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 02_reverse.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 03_create_snapshot.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: PASS -------------------------------------------------------------------- From kaitlin at linux.vnet.ibm.com Mon Oct 19 23:06:50 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Mon, 19 Oct 2009 19:06:50 -0400 Subject: [Libvirt-cim] Test Run Summary (Oct 19 2009): Xen on Red Hat Enterprise Linux Server release 5.4 (Tikanga) with Pegasus Message-ID: <200910192306.n9JN6oKo002440@d01av04.pok.ibm.com> ================================================= Test Run Summary (Oct 19 2009): Xen on Red Hat Enterprise Linux Server release 5.4 (Tikanga) with Pegasus ================================================= Distro: Red Hat Enterprise Linux Server release 5.4 (Tikanga) Kernel: 2.6.18-164.el5xen libvirt: 0.6.3 Hypervisor: Xen 3.1.0 CIMOM: Pegasus 2.7.2 Libvirt-cim revision: 853 Libvirt-cim changeset: 8bb1100e5bd2 Cimtest revision: 791 Cimtest changeset: a159cb05bdc7 Total test execution: Unknown ================================================= FAIL : 5 XFAIL : 3 SKIP : 19 PASS : 148 ----------------- Total : 175 ================================================= FAIL Test Summary: ComputerSystem - 34_start_disable.py: FAIL HostSystem - 03_hs_to_settdefcap.py: FAIL VirtualSystemManagementService - 15_mod_system_settings.py: FAIL VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: FAIL VirtualSystemMigrationService - 02_host_migrate_type.py: FAIL ================================================= XFAIL Test Summary: ComputerSystem - 33_suspend_reboot.py: XFAIL VirtualSystemManagementService - 16_removeresource.py: XFAIL VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL ================================================= SKIP Test Summary: ComputerSystem - 02_nosystems.py: SKIP LogicalDisk - 02_nodevs.py: SKIP NetworkPort - 03_user_netport.py: SKIP RASD - 06_parent_net_pool.py: SKIP RASD - 07_parent_disk_pool.py: SKIP RASDIndications - 01_guest_states_rasd_ind.py: SKIP RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: SKIP ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP ResourcePoolConfigurationService - 07_DeleteResourcePool.py: SKIP ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: SKIP ResourcePoolConfigurationService - 09_DeleteDiskPool.py: SKIP ResourcePoolConfigurationService - 10_create_storagevolume.py: SKIP ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: SKIP ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: SKIP ResourcePoolConfigurationService - 13_delete_storagevolume.py: SKIP ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: SKIP VSSD - 05_set_uuid.py: SKIP VSSD - 06_duplicate_uuid.py: SKIP VirtualSystemManagementService - 20_verify_vnc_password.py: SKIP ================================================= Full report: -------------------------------------------------------------------- AllocationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- AllocationCapabilities - 02_alloccap_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 01_enum.py: PASS -------------------------------------------------------------------- ComputerSystem - 02_nosystems.py: SKIP -------------------------------------------------------------------- ComputerSystem - 03_defineVS.py: PASS -------------------------------------------------------------------- ComputerSystem - 04_defineStartVS.py: PASS -------------------------------------------------------------------- ComputerSystem - 05_activate_defined_start.py: PASS -------------------------------------------------------------------- ComputerSystem - 06_paused_active_suspend.py: PASS -------------------------------------------------------------------- ComputerSystem - 22_define_suspend.py: PASS -------------------------------------------------------------------- ComputerSystem - 23_pause_pause.py: PASS -------------------------------------------------------------------- ComputerSystem - 27_define_pause_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 32_start_reboot.py: PASS -------------------------------------------------------------------- ComputerSystem - 33_suspend_reboot.py: XFAIL ERROR - Got CIM error CIM_ERR_NOT_SUPPORTED: State not supported with return code 7 ERROR - Exception: Unable Suspend dom 'test_domain' InvokeMethod(RequestStateChange): CIM_ERR_NOT_SUPPORTED: State not supported Bug:<00012> -------------------------------------------------------------------- ComputerSystem - 34_start_disable.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Exception: Unable disable dom 'cs_test_domain' -------------------------------------------------------------------- ComputerSystem - 35_start_reset.py: PASS -------------------------------------------------------------------- ComputerSystem - 40_RSC_start.py: PASS -------------------------------------------------------------------- ComputerSystem - 41_cs_to_settingdefinestate.py: PASS -------------------------------------------------------------------- ComputerSystem - 42_cs_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystemIndication - 01_created_indication.py: PASS -------------------------------------------------------------------- ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 01_forward.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 02_reverse.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 03_reverse_errs.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 04_forward_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- ElementCapabilities - 02_reverse.py: PASS -------------------------------------------------------------------- ElementCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 05_hostsystem_cap.py: PASS -------------------------------------------------------------------- ElementConforms - 01_forward.py: PASS -------------------------------------------------------------------- ElementConforms - 02_reverse.py: PASS -------------------------------------------------------------------- ElementConforms - 03_ectp_fwd_errs.py: PASS -------------------------------------------------------------------- ElementConforms - 04_ectp_rev_errs.py: PASS -------------------------------------------------------------------- ElementSettingData - 01_forward.py: PASS -------------------------------------------------------------------- ElementSettingData - 03_esd_assoc_with_rasd_errs.py: PASS -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: PASS -------------------------------------------------------------------- HostSystem - 01_enum.py: PASS -------------------------------------------------------------------- HostSystem - 02_hostsystem_to_rasd.py: PASS -------------------------------------------------------------------- HostSystem - 03_hs_to_settdefcap.py: FAIL ERROR - Xen_SettingsDefineCapabilities returned 72 RASD objects instead of 96 for DiskPool/default CIM_ERR_INVALID_CLASS: Linux_ComputerSystem -------------------------------------------------------------------- HostSystem - 04_hs_to_EAPF.py: PASS -------------------------------------------------------------------- HostSystem - 05_hs_gi_errs.py: PASS -------------------------------------------------------------------- HostSystem - 06_hs_to_vsms.py: PASS -------------------------------------------------------------------- HostedAccessPoint - 01_forward.py: PASS -------------------------------------------------------------------- HostedAccessPoint - 02_reverse.py: PASS -------------------------------------------------------------------- HostedDependency - 01_forward.py: PASS -------------------------------------------------------------------- HostedDependency - 02_reverse.py: PASS -------------------------------------------------------------------- HostedDependency - 03_enabledstate.py: PASS -------------------------------------------------------------------- HostedDependency - 04_reverse_errs.py: PASS -------------------------------------------------------------------- HostedResourcePool - 01_forward.py: PASS -------------------------------------------------------------------- HostedResourcePool - 02_reverse.py: PASS -------------------------------------------------------------------- HostedResourcePool - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedResourcePool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- HostedService - 01_forward.py: PASS -------------------------------------------------------------------- HostedService - 02_reverse.py: PASS -------------------------------------------------------------------- HostedService - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedService - 04_reverse_errs.py: PASS -------------------------------------------------------------------- KVMRedirectionSAP - 01_enum_KVMredSAP.py: PASS -------------------------------------------------------------------- LogicalDisk - 01_disk.py: PASS -------------------------------------------------------------------- LogicalDisk - 02_nodevs.py: SKIP ERROR - System has defined domains; unable to run -------------------------------------------------------------------- LogicalDisk - 03_ld_gi_errs.py: PASS -------------------------------------------------------------------- Memory - 01_memory.py: PASS -------------------------------------------------------------------- Memory - 02_defgetmem.py: PASS -------------------------------------------------------------------- Memory - 03_mem_gi_errs.py: PASS -------------------------------------------------------------------- NetworkPort - 01_netport.py: PASS -------------------------------------------------------------------- NetworkPort - 02_np_gi_errors.py: PASS -------------------------------------------------------------------- NetworkPort - 03_user_netport.py: SKIP -------------------------------------------------------------------- Processor - 01_processor.py: PASS -------------------------------------------------------------------- Processor - 02_definesys_get_procs.py: PASS -------------------------------------------------------------------- Processor - 03_proc_gi_errs.py: PASS -------------------------------------------------------------------- Profile - 01_enum.py: PASS -------------------------------------------------------------------- Profile - 02_profile_to_elec.py: PASS -------------------------------------------------------------------- Profile - 03_rprofile_gi_errs.py: PASS -------------------------------------------------------------------- RASD - 01_verify_rasd_fields.py: PASS -------------------------------------------------------------------- RASD - 02_enum.py: PASS -------------------------------------------------------------------- RASD - 03_rasd_errs.py: PASS -------------------------------------------------------------------- RASD - 04_disk_rasd_size.py: PASS -------------------------------------------------------------------- RASD - 05_disk_rasd_emu_type.py: PASS -------------------------------------------------------------------- RASD - 06_parent_net_pool.py: SKIP ERROR - NetworkPool template RASDs not supported. Supported in version 867. -------------------------------------------------------------------- RASD - 07_parent_disk_pool.py: SKIP ERROR - DiskPool template RASDs not supported. Supported in version 863. -------------------------------------------------------------------- RASDIndications - 01_guest_states_rasd_ind.py: SKIP -------------------------------------------------------------------- RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: SKIP -------------------------------------------------------------------- RedirectionService - 01_enum_crs.py: PASS -------------------------------------------------------------------- RedirectionService - 02_enum_crscap.py: PASS -------------------------------------------------------------------- RedirectionService - 03_RedirectionSAP_errs.py: PASS -------------------------------------------------------------------- ReferencedProfile - 01_verify_refprof.py: PASS -------------------------------------------------------------------- ReferencedProfile - 02_refprofile_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 01_forward.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 02_reverse.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 03_forward_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 05_RAPF_err.py: PASS -------------------------------------------------------------------- ResourcePool - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePool - 02_rp_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 02_rcps_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 03_CreateResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP ERROR - NetworkPool template RASDs not supported. Supported in version 867. ERROR - Error in networkpool creation -------------------------------------------------------------------- ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 07_DeleteResourcePool.py: SKIP ERROR - NetworkPool template RASDs not supported. Supported in version 867. ERROR - Error in networkpool creation -------------------------------------------------------------------- ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: SKIP ERROR - DiskPool template RASDs not supported. Supported in version 863. ERROR - Exception details: Failed to create 'DISK_POOL_DIR' type diskpool 'DISK_POOL_DIR' -------------------------------------------------------------------- ResourcePoolConfigurationService - 09_DeleteDiskPool.py: SKIP ERROR - DiskPool template RASDs not supported. Supported in version 863. ERROR - Failed to create diskpool 'dp_pool' -------------------------------------------------------------------- ResourcePoolConfigurationService - 10_create_storagevolume.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: SKIP ERROR - DiskPool template RASDs not supported. Supported in version 863. ERROR - Failed to create pool 'NETFS_POOL' -------------------------------------------------------------------- ResourcePoolConfigurationService - 13_delete_storagevolume.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: SKIP -------------------------------------------------------------------- ServiceAccessBySAP - 01_forward.py: PASS -------------------------------------------------------------------- ServiceAccessBySAP - 02_reverse.py: PASS -------------------------------------------------------------------- ServiceAffectsElement - 01_forward.py: PASS -------------------------------------------------------------------- ServiceAffectsElement - 02_reverse.py: PASS -------------------------------------------------------------------- SettingsDefine - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefine - 02_reverse.py: PASS -------------------------------------------------------------------- SettingsDefine - 03_sds_fwd_errs.py: PASS -------------------------------------------------------------------- SettingsDefine - 04_sds_rev_errs.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 04_forward_vsmsdata.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 05_reverse_vsmcap.py: PASS -------------------------------------------------------------------- SystemDevice - 01_forward.py: PASS -------------------------------------------------------------------- SystemDevice - 02_reverse.py: PASS -------------------------------------------------------------------- SystemDevice - 03_fwderrs.py: PASS -------------------------------------------------------------------- VSSD - 01_enum.py: PASS -------------------------------------------------------------------- VSSD - 02_bootldr.py: PASS -------------------------------------------------------------------- VSSD - 03_vssd_gi_errs.py: PASS -------------------------------------------------------------------- VSSD - 04_vssd_to_rasd.py: PASS -------------------------------------------------------------------- VSSD - 05_set_uuid.py: SKIP -------------------------------------------------------------------- VSSD - 06_duplicate_uuid.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 01_definesystem_name.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 02_destroysystem.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 03_definesystem_ess.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 04_definesystem_ers.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 05_destroysystem_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 06_addresource.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 07_addresource_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 08_modifyresource.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 09_procrasd_persist.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 10_hv_version.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 11_define_memrasdunits.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 12_referenced_config.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 13_refconfig_additional_devs.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 14_define_sys_disk.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 15_mod_system_settings.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Failed to disable rstest_domain -------------------------------------------------------------------- VirtualSystemManagementService - 16_removeresource.py: XFAIL ERROR - 0 RASD insts for domain/mouse:xen CIM_ERR_NOT_FOUND: No such instance (no device domain/mouse:xen) Bug:<00014> -------------------------------------------------------------------- VirtualSystemManagementService - 17_removeresource_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 18_define_sys_bridge.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 19_definenetwork_ers.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 20_verify_vnc_password.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 21_createVS_verifyMAC.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL ERROR - Got 99:aa:bb:cc:ee:ff, exp 99:aa:bb:cc:ee:ff. Got None, exp my_network1. ERROR - Error invoking AddRS: add_net_res ERROR - Error adding rs for net mac ERROR - Failed to destroy Virtual Network 'my_network1' Bug:<00015> -------------------------------------------------------------------- VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Unable to start domain: POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: The uname "/tmp/default-xen-dimage" is already used by another domain') with return code 1 ERROR - Desc Mismatch, Got desc: 'CIM_ERR_FAILED: Unable to start domain: POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: The uname "/tmp/default-xen-dimage" is already used by another domain')', exp 'Conflicting MAC Addresses' ERROR - Got unexpected rc code 1 and description CIM_ERR_FAILED: Unable to start domain: POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: The uname "/tmp/default-xen-dimage" is already used by another domain') InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to start domain: POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: The uname "/tmp/default-xen-dimage" is already used by another domain') -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationService - 01_migratable_host.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationService - 02_host_migrate_type.py: FAIL ERROR - EnabledState is 9 instead of 2. ERROR - Try to increase the timeout and run the test again ERROR - Error start domain dom_migrate -------------------------------------------------------------------- VirtualSystemMigrationService - 05_migratable_host_errs.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationService - 06_remote_live_migration.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationService - 07_remote_offline_migration.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 01_forward.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 02_reverse.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 03_create_snapshot.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: PASS -------------------------------------------------------------------- From kaitlin at linux.vnet.ibm.com Mon Oct 19 20:55:53 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Mon, 19 Oct 2009 20:55:53 -0000 Subject: [Libvirt-cim] [PATCH 2 of 2] [TEST] Update tests to expect images to be in /var/lib/libvirt/images In-Reply-To: References: Message-ID: <4047a548c85f56c139dc.1255985753@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1255985311 25200 # Node ID 4047a548c85f56c139dc32cbf6953337a0789482 # Parent 32e63009d0906fb9cf79799205e6d4ea84e18117 [TEST] Update tests to expect images to be in /var/lib/libvirt/images Signed-off-by: Kaitlin Rupert diff -r 32e63009d090 -r 4047a548c85f suites/libvirt-cim/lib/XenKvmLib/const.py --- a/suites/libvirt-cim/lib/XenKvmLib/const.py Mon Oct 19 13:48:30 2009 -0700 +++ b/suites/libvirt-cim/lib/XenKvmLib/const.py Mon Oct 19 13:48:31 2009 -0700 @@ -72,7 +72,7 @@ default_mallocunits="MegaBytes" -_image_dir = '/tmp' +_image_dir = '/var/lib/libvirt/images' # vxml.XenXML Xen_kernel_path = os.path.join(_image_dir, 'default-xen-kernel') diff -r 32e63009d090 -r 4047a548c85f suites/libvirt-cim/lib/XenKvmLib/vxml.py --- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Mon Oct 19 13:48:30 2009 -0700 +++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Mon Oct 19 13:48:31 2009 -0700 @@ -316,7 +316,7 @@ pool = self.add_sub_node(self.xdoc, 'pool', type='dir') self.add_sub_node(pool, 'name', self.pool_name) target = self.add_sub_node(pool, 'target') - self.add_sub_node(target, 'path', '/tmp') + self.add_sub_node(target, 'path', const._image_dir) def create_vpool(self): return self.run(self.server, 'pool-create', self.xml_string) From kaitlin at linux.vnet.ibm.com Mon Oct 19 20:55:51 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Mon, 19 Oct 2009 20:55:51 -0000 Subject: [Libvirt-cim] [PATCH 0 of 2] Use libvirt's default image path instead of /tmp Message-ID: Ideally, this should be a configuration option the user can set in the .cimtestrc file. However, as a default, we should use something more standard than /tmp. From kaitlin at linux.vnet.ibm.com Mon Oct 19 20:55:52 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Mon, 19 Oct 2009 20:55:52 -0000 Subject: [Libvirt-cim] [PATCH 1 of 2] [TEST] Change default image creation location from /tmp In-Reply-To: References: Message-ID: <32e63009d0906fb9cf79.1255985752@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1255985310 25200 # Node ID 32e63009d0906fb9cf79799205e6d4ea84e18117 # Parent a159cb05bdc7d78861d4b13d3d3f0d42fbb41026 [TEST] Change default image creation location from /tmp... To /var/lib/libvirt/images. Signed-off-by: Kaitlin Rupert diff -r a159cb05bdc7 -r 32e63009d090 suites/libvirt-cim/images/Makefile --- a/suites/libvirt-cim/images/Makefile Tue Oct 13 11:08:06 2009 -0700 +++ b/suites/libvirt-cim/images/Makefile Mon Oct 19 13:48:30 2009 -0700 @@ -19,13 +19,15 @@ # License along with this library; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -DEFAULT_KERNEL = /tmp/default-xen-kernel -DEFAULT_INITRD = /tmp/default-xen-initrd -DEFAULT_DIMAGE = /tmp/default-xen-dimage -DEFAULT_KVMIMG = /tmp/default-kvm-dimage +DEFAULT_IMG_LOC = /var/lib/libvirt/images -DEFAULT_LXCINIT = /tmp/cimtest_lxc_init -DEFAULT_LXC_MNT_DIR = /tmp/lxc_files +DEFAULT_KERNEL = $(DEFAULT_IMG_LOC)/default-xen-kernel +DEFAULT_INITRD = $(DEFAULT_IMG_LOC)/default-xen-initrd +DEFAULT_DIMAGE = $(DEFAULT_IMG_LOC)/default-xen-dimage +DEFAULT_KVMIMG = $(DEFAULT_IMG_LOC)/default-kvm-dimage + +DEFAULT_LXCINIT = $(DEFAULT_IMG_LOC)/cimtest_lxc_init +DEFAULT_LXC_MNT_DIR = $(DEFAULT_IMG_LOC)/lxc_files SECONDARY_DIMAGE = $(DEFAULT_DIMAGE).2ND SECONDARY_KVMIMG = $(DEFAULT_KVMIMG).2ND @@ -72,7 +74,7 @@ chmod 755 $(DEFAULT_LXCINIT) $(DEFAULT_LXC_MNT_DIR): - mkdir /tmp/lxc_files + mkdir $(DEFAULT_IMG_LOC)/lxc_files clean: rm -f $(DEFAULT_KERNEL) $(DEFAULT_INITRD) $(DEFAULT_DIMAGE) $(SECONDARY_DIMAGE) From kaitlin at linux.vnet.ibm.com Mon Oct 19 21:16:03 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Mon, 19 Oct 2009 21:16:03 -0000 Subject: [Libvirt-cim] [PATCH] [TEST] Fix VSMS 23 to not start a second Xen guest Message-ID: <3f334de6a0713170a649.1255986963@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1255986945 25200 # Node ID 3f334de6a0713170a64990ba0ad21d7591ab8349 # Parent 4047a548c85f56c139dc32cbf6953337a0789482 [TEST] Fix VSMS 23 to not start a second Xen guest See the comment in the test - starting a second guest is valid for KVM guests, but not for Xen guests. Signed-off-by: Kaitlin Rupert diff -r 4047a548c85f -r 3f334de6a071 suites/libvirt-cim/cimtest/VirtualSystemManagementService/23_verify_duplicate_mac_err.py --- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/23_verify_duplicate_mac_err.py Mon Oct 19 13:48:31 2009 -0700 +++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/23_verify_duplicate_mac_err.py Mon Oct 19 14:15:45 2009 -0700 @@ -50,7 +50,7 @@ cxml.undefine(ip) destroy_netpool(ip, virt, npool_name) -def start_dom(cxml,ip,dom): +def start_dom(cxml, ip, dom, virt): ret = cxml.cim_define(ip) if not ret: status = cxml.verify_error_msg(exp_rc, exp_desc) @@ -58,6 +58,12 @@ raise Exception("Got unexpected rc code %s and description %s" % (cxml.err_rc, cxml.err_desc)) return FAIL + + #Xen will return an error about how the image is already in use + #Because of this, this test isn't valid with Xen guests + if virt == 'Xen' or virt == 'XenFV': + return PASS + ret = cxml.cim_start(ip) if ret: status = cxml.verify_error_msg(exp_rc, exp_desc) @@ -81,7 +87,7 @@ cxml = get_class(options.virt)(default_dom, mac=nmac, ntype=ntype, net_name=npool_name) try: - status = start_dom(cxml, options.ip, default_dom) + status = start_dom(cxml, options.ip, default_dom, options.virt) if status == FAIL: raise Exception("Starting %s domain failed, got unexpeceted rc" "code %s and description %s" % (default_dom, @@ -95,12 +101,14 @@ sxml = get_class(options.virt)(test_dom, mac=nmac, ntype=ntype, net_name=npool_name) try: - status = start_dom(sxml, options.ip, test_dom) + status = start_dom(sxml, options.ip, test_dom, options.virt) - if status == PASS: + #start_dom() passes because it doesn't attempt to start a guest + if status == PASS and options.virt != 'Xen' \ + and options.virt != 'XenFV': sxml.cim_destroy(options.ip) sxml.undefine(options.ip) - raise Exception("Was able to create two domains with" + raise Exception("Was able to create two domains with " "Conflicting MAC Addresses") service = get_vsms_class(options.virt)(options.ip) From kaitlin at linux.vnet.ibm.com Tue Oct 20 01:13:34 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Mon, 19 Oct 2009 18:13:34 -0700 Subject: [Libvirt-cim] Test Run Summary (Oct 19 2009): Xen on Red Hat Enterprise Linux Server release 5.4 (Tikanga) with Pegasus In-Reply-To: <200910192306.n9JN6oKo002440@d01av04.pok.ibm.com> References: <200910192306.n9JN6oKo002440@d01av04.pok.ibm.com> Message-ID: <4ADD0EBE.3060508@linux.vnet.ibm.com> > -------------------------------------------------------------------- > ComputerSystem - 34_start_disable.py: FAIL > ERROR - Exception: EnabledState is 2, expected 3. > ERROR - Exception: Unable disable dom 'cs_test_domain' Guest shows up as idle instead of running: # virsh list --all Id Name State ---------------------------------- 0 Domain-0 running 136 cs_test_domain idle This is because the guest is not starting properly - there is an issue with the default cimtest image. > -------------------------------------------------------------------- > HostSystem - 03_hs_to_settdefcap.py: FAIL > ERROR - Xen_SettingsDefineCapabilities returned 72 RASD objects instead of 96 for DiskPool/default > CIM_ERR_INVALID_CLASS: Linux_ComputerSystem Test environment issue. > -------------------------------------------------------------------- > VirtualSystemManagementService - 15_mod_system_settings.py: FAIL > ERROR - Exception: EnabledState is 2, expected 3. > ERROR - Failed to disable rstest_domain This is because the guest is not starting properly - there is an issue with the default cimtest image. > -------------------------------------------------------------------- > VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to start domain: POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: The uname "/tmp/default-xen-dimage" is already used by another domain') with return code 1 > ERROR - Desc Mismatch, Got desc: 'CIM_ERR_FAILED: Unable to start domain: POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: The uname "/tmp/default-xen-dimage" is already used by another domain')', exp 'Conflicting MAC Addresses' > ERROR - Got unexpected rc code 1 and description CIM_ERR_FAILED: Unable to start domain: POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: The uname "/tmp/default-xen-dimage" is already used by another domain') > InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to start domain: POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: The uname "/tmp/default-xen-dimage" is already used by another domain') This is a test issue - a patch has been submitted for this. > -------------------------------------------------------------------- > VirtualSystemMigrationService - 02_host_migrate_type.py: FAIL > ERROR - EnabledState is 9 instead of 2. > ERROR - Try to increase the timeout and run the test again > ERROR - Error start domain dom_migrate After migrating, the guest remains in a paused state, instead of in a running state. This is likely due to the fact the guest doesn't fully boot properly. > -------------------------------------------------------------------- -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Tue Oct 20 20:16:11 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Tue, 20 Oct 2009 13:16:11 -0700 Subject: [Libvirt-cim] Release of libvirt-cim 0.5.7 Message-ID: <4ADE1A8B.30003@linux.vnet.ibm.com> A new release of libvirt-cim is now available at: ftp://libvirt.org/libvirt-cim/ * Features: - Support defining file backed storage volumes in dir type pools * StorageVolumeRASD templates for defining new storage volumes * Added method CreateResourceInPool() for creating storage volumes * Added internal functions for generating a storage volume XML * Added DeleteResourceInPool() to delete storage volumes - Add LibvirtVersion to VSMS - Expose OperatingStatus attribute in Virt_ComputerSystem - Expose HealthState attribute of LogicalDisk - Generate ResourceAllocationSettingData indications when a guest's resources are added / removed / modified. * Bug fixes: - Ensure guests are defined with a unique MAC address - Fix seg fault caused when invalid namespace is specified - Add check to catch duplicated VirtualDevice parameter in DiskRASDs - Calling RequestStateChange() with DISABLED state immediately destroys a guest (instead of shutting it down gracefully) - Ensure hostname always returns a value instead of an empty string - Fix LXC connection uri to use proper uri - Remove default graphics device from LXC guests - Ensure ComputerSystemDeletedIndication is generated when a guest is deleted - Updates to makefile to work with install tool 7.2 - Use Qumranet's OUI for KVM guests instead of using Xensource's -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From rmaciel at linux.vnet.ibm.com Fri Oct 23 22:25:11 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Fri, 23 Oct 2009 20:25:11 -0200 Subject: [Libvirt-cim] [PATCH] This patch changes the way libcmpiutil retrieves the association handler to fix the problem with SLP advertisement Message-ID: <3c2c62c3630fc96b313d.1256336711@localhost.localdomain> # HG changeset patch # User Richard Maciel # Date 1256326357 7200 # Node ID 3c2c62c3630fc96b313ddb14ff44e9124a8fa8cc # Parent 0cbdf0dcd41651b7a4e6f1844bf567ced1106225 This patch changes the way libcmpiutil retrieves the association handler to fix the problem with SLP advertisement Signed-off-by: Richard Maciel diff -r 0cbdf0dcd416 -r 3c2c62c3630f std_association.c --- a/std_association.c Tue Jun 02 10:55:14 2009 -0300 +++ b/std_association.c Fri Oct 23 17:32:37 2009 -0200 @@ -153,73 +153,78 @@ for (i = 0; ctx->handlers[i]; i++) { ptr = ctx->handlers[i]; - if (match_source_class(ctx->brkr, ref, ptr)) - break; + if (!match_source_class(ctx->brkr, ref, ptr)) { + CU_DEBUG("Source class doesn't match"); + continue; + } + + if (!ptr) { + CU_DEBUG("Invalid pointer"); + continue; + } - ptr = NULL; + if (info->assoc_class) { + CU_DEBUG("Check client's assocClass: '%s'", + info->assoc_class); + + rc = match_class(ctx->brkr, + NAMESPACE(ref), + info->assoc_class, + ptr->assoc_class); + + if (!rc) { + CU_DEBUG("AssocClass not valid."); + continue; + } + CU_DEBUG("AssocClass valid."); + } + + if (info->result_class) { + CU_DEBUG("Check client's resultClass: '%s'", + info->result_class); + + rc = match_class(ctx->brkr, + NAMESPACE(ref), + info->result_class, + ptr->target_class); + + if (!rc) { + CU_DEBUG("ResultClass not valid."); + continue; + } + CU_DEBUG("ResultClass valid."); + } + + if (info->role) { + CU_DEBUG("Check client's role: '%s'", + info->role); + + if (!STREQC(info->role, ptr->source_prop)) { + CU_DEBUG("Invalid role"); + continue; + } + CU_DEBUG("Role valid."); + } + + if (info->result_role) { + CU_DEBUG("Check client's resultRole: '%s'", + info->result_role); + + if (!STREQC(info->result_role, ptr->target_prop)) { + CU_DEBUG("ResultRole not valid."); + continue; + } + CU_DEBUG("ResultRole valid."); + } + + goto out; } - if (!ptr) - goto out; - - if (info->assoc_class) { - CU_DEBUG("Check client's assocClass: '%s'", - info->assoc_class); - - rc = match_class(ctx->brkr, - NAMESPACE(ref), - info->assoc_class, - ptr->assoc_class); - - if (!rc) { - CU_DEBUG("AssocClass not valid."); - goto out; - } - CU_DEBUG("AssocClass valid."); - } - - if (info->result_class) { - CU_DEBUG("Check client's resultClass: '%s'", - info->result_class); - - rc = match_class(ctx->brkr, - NAMESPACE(ref), - info->result_class, - ptr->target_class); - - if (!rc) { - CU_DEBUG("ResultClass not valid."); - goto out; - } - CU_DEBUG("ResultClass valid."); - } - - if (info->role) { - CU_DEBUG("Check client's role: '%s'", - info->role); - - if (!STREQC(info->role, ptr->source_prop)) { - CU_DEBUG("Role not valid."); - goto out; - } - CU_DEBUG("Role valid."); - } - - if (info->result_role) { - CU_DEBUG("Check client's resultRole: '%s'", - info->result_role); - - if (!STREQC(info->result_role, ptr->target_prop)) { - CU_DEBUG("ResultRole not valid."); - goto out; - } - CU_DEBUG("ResultRole valid."); - } - - return ptr; + CU_DEBUG("No valid handler found"); + ptr = NULL; out: - return NULL; + return ptr; } static CMPIStatus prepare_ref_return_list(struct std_assoc *handler, From snmishra at us.ibm.com Tue Oct 27 23:23:26 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Tue, 27 Oct 2009 16:23:26 -0700 Subject: [Libvirt-cim] [PATCH] This patch adds support for IPv6 in KVMRedirectionSAP provider Message-ID: <34fd1a216b41db1e32ca.1256685806@elm3b24.beaverton.ibm.com> # HG changeset patch # User Sharad Mishra # Date 1256685120 25200 # Node ID 34fd1a216b41db1e32ca508cc73c70d45faed33d # Parent 906a78ecf9f3e4972133c6792c1ff543cc57b493 This patch adds support for IPv6 in KVMRedirectionSAP provider. The code now loops through currently active IPv4 and IPv6 connections. It tries to read both /proc/net/tcp and /proc/net/tcp6 files. If one of the two files is successfully read, it does not return an error. For the function to return an error, both IPv4 and IPv6 file reads should fail. diff -r 906a78ecf9f3 -r 34fd1a216b41 src/Virt_KVMRedirectionSAP.c --- a/src/Virt_KVMRedirectionSAP.c Mon Oct 05 06:02:39 2009 -0700 +++ b/src/Virt_KVMRedirectionSAP.c Tue Oct 27 16:12:00 2009 -0700 @@ -39,7 +39,8 @@ #include "Virt_KVMRedirectionSAP.h" -#define PROC_TCP "/proc/net/tcp" +#define PROC_TCP4 "/proc/net/tcp" +#define PROC_TCP6 "/proc/net/tcp6" const static CMPIBroker *_BROKER; @@ -139,50 +140,47 @@ return inst; } -static CMPIStatus get_vnc_sessions(const CMPIBroker *broker, - const CMPIObjectPath *ref, - virConnectPtr conn, - struct vnc_ports ports, - struct inst_list *list) +static CMPIStatus read_tcp_file(const CMPIBroker *broker, + const CMPIObjectPath *ref, + virConnectPtr conn, + struct vnc_ports ports, + struct inst_list *list, + FILE *fl) { CMPIStatus s = {CMPI_RC_OK, NULL}; CMPIInstance *inst; - const char *path = PROC_TCP; unsigned int lport = 0; unsigned int rport = 0; - FILE *tcp_info; char *line = NULL; size_t len = 0; int val; int ret; int i; - tcp_info = fopen(path, "r"); - if (tcp_info == NULL) { - cu_statusf(broker, &s, + if (getline(&line, &len, fl) == -1) { + cu_statusf(broker, + &s, CMPI_RC_ERR_FAILED, - "Failed to open %s: %m", tcp_info); + "Failed to read from %s", + fl); goto out; } - if (getline(&line, &len, tcp_info) == -1) { - cu_statusf(broker, &s, - CMPI_RC_ERR_FAILED, - "Failed to read from %s", tcp_info); - goto out; - } - - while (getline(&line, &len, tcp_info) > 0) { - ret = sscanf(line, "%d: %*[^:]:%X %*[^:]:%X", &val, &lport, + while (getline(&line, &len, fl) > 0) { + ret = sscanf(line, + "%d: %*[^:]:%X %*[^:]:%X", + &val, + &lport, &rport); if (ret != 3) { - cu_statusf(broker, &s, + cu_statusf(broker, + &s, CMPI_RC_ERR_FAILED, "Unable to determine active sessions"); goto out; } - for (i = 0; i < ports.max; i++) { + for (i = 0; i < ports.max; i++) { if (lport != ports.list[i]->port) continue; @@ -198,22 +196,69 @@ inst_list_add(list, inst); } } + + out: + return s; +} - /* Handle any guests that were missed. These guest don't have active - or enabled sessions. */ - for (i = 0; i < ports.max; i++) { - if (ports.list[i]->remote_port != -1) - continue; +static CMPIStatus get_vnc_sessions(const CMPIBroker *broker, + const CMPIObjectPath *ref, + virConnectPtr conn, + struct vnc_ports ports, + struct inst_list *list) +{ + CMPIStatus s = {CMPI_RC_OK, NULL}; + CMPIInstance *inst; + const char *path[2] = {PROC_TCP4, PROC_TCP6}; + FILE *tcp_info; + int i, j; + int error = 0; - inst = get_console_sap(broker, ref, conn, ports.list[i], &s); - if ((s.rc != CMPI_RC_OK) || (inst == NULL)) - goto out; + for (j = 0; j < 2; j++) { + tcp_info = fopen(path[j], "r"); + if (tcp_info == NULL) { + cu_statusf(broker, &s, + CMPI_RC_ERR_FAILED, + "Failed to open %s: %m", tcp_info); + goto error; + } - inst_list_add(list, inst); + s = read_tcp_file(broker, + ref, + conn, + ports, + list, + tcp_info); + + if (s.rc != CMPI_RC_OK) + goto error; + + /* Handle any guests that were missed. These guest don't have active + or enabled sessions. */ + for (i = 0; i < ports.max; i++) { + if (ports.list[i]->remote_port != -1) + continue; + + inst = get_console_sap(broker, ref, conn, ports.list[i], &s); + if ((s.rc != CMPI_RC_OK) || (inst == NULL)) + goto error; + + inst_list_add(list, inst); + } + + error: + if (tcp_info != NULL) + fclose(tcp_info); + + if ((j == 0) && (s.rc != CMPI_RC_OK)) { + error = 1; + s.rc = CMPI_RC_OK; + } } - out: - fclose(tcp_info); + if ((s.rc != CMPI_RC_OK) && (error == 0)) + s.rc = CMPI_RC_OK; + return s; } From kaitlin at linux.vnet.ibm.com Wed Oct 28 19:34:38 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Wed, 28 Oct 2009 12:34:38 -0700 Subject: [Libvirt-cim] [PATCH] This patch changes the way libcmpiutil retrieves the association handler to fix the problem with SLP advertisement In-Reply-To: <3c2c62c3630fc96b313d.1256336711@localhost.localdomain> References: <3c2c62c3630fc96b313d.1256336711@localhost.localdomain> Message-ID: <4AE89CCE.5080001@linux.vnet.ibm.com> Sorry for the delay in reviewing this. I was seeing some issues in my environment that was preventing me from testing. I've applied this. Richard Maciel wrote: > # HG changeset patch > # User Richard Maciel > # Date 1256326357 7200 > # Node ID 3c2c62c3630fc96b313ddb14ff44e9124a8fa8cc > # Parent 0cbdf0dcd41651b7a4e6f1844bf567ced1106225 > This patch changes the way libcmpiutil retrieves the association handler to fix the problem with SLP advertisement > > Signed-off-by: Richard Maciel > > diff -r 0cbdf0dcd416 -r 3c2c62c3630f std_association.c -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Wed Oct 28 22:19:18 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Wed, 28 Oct 2009 15:19:18 -0700 Subject: [Libvirt-cim] [PATCH] This patch adds support for IPv6 in KVMRedirectionSAP provider In-Reply-To: <34fd1a216b41db1e32ca.1256685806@elm3b24.beaverton.ibm.com> References: <34fd1a216b41db1e32ca.1256685806@elm3b24.beaverton.ibm.com> Message-ID: <4AE8C366.30201@linux.vnet.ibm.com> > +static CMPIStatus get_vnc_sessions(const CMPIBroker *broker, > + const CMPIObjectPath *ref, > + virConnectPtr conn, > + struct vnc_ports ports, > + struct inst_list *list) > +{ > + CMPIStatus s = {CMPI_RC_OK, NULL}; > + CMPIInstance *inst; > + const char *path[2] = {PROC_TCP4, PROC_TCP6}; > + FILE *tcp_info; > + int i, j; > + int error = 0; > > - inst = get_console_sap(broker, ref, conn, ports.list[i], &s); > - if ((s.rc != CMPI_RC_OK) || (inst == NULL)) > - goto out; > + for (j = 0; j < 2; j++) { > + tcp_info = fopen(path[j], "r"); > + if (tcp_info == NULL) { > + cu_statusf(broker, &s, > + CMPI_RC_ERR_FAILED, > + "Failed to open %s: %m", tcp_info); > + goto error; > + } > > - inst_list_add(list, inst); > + s = read_tcp_file(broker, > + ref, > + conn, > + ports, > + list, > + tcp_info); > + > + if (s.rc != CMPI_RC_OK) > + goto error; > + > + /* Handle any guests that were missed. These guest don't have active > + or enabled sessions. */ > + for (i = 0; i < ports.max; i++) { > + if (ports.list[i]->remote_port != -1) > + continue; > + > + inst = get_console_sap(broker, ref, conn, ports.list[i], &s); > + if ((s.rc != CMPI_RC_OK) || (inst == NULL)) > + goto error; > + > + inst_list_add(list, inst); > + } This for loop doesn't need to be part of the greater for loop. Otherwise, you will generate two instances for the same guest: # wbemcli ein http://localhost:5988/root/virt:KVM_KVMRedirectionSAP -nl localhost:5988/root/virt:KVM_KVMRedirectionSAP.CreationClassName="KVM_KVMRedirectionSAP",Name="5903:0",SystemCreationClassName="KVM_ComputerSystem",SystemName="f10_test" localhost:5988/root/virt:KVM_KVMRedirectionSAP.CreationClassName="KVM_KVMRedirectionSAP",Name="-1:-1",SystemCreationClassName="KVM_ComputerSystem",SystemName="xtest2" localhost:5988/root/virt:KVM_KVMRedirectionSAP.CreationClassName="KVM_KVMRedirectionSAP",Name="-1:-1",SystemCreationClassName="KVM_ComputerSystem",SystemName="xtest2" This loop creates an instance for guests that are in define state. For these guests, the remote port is -1 because the hypervisor doesn't start a VNC server for the guest until the guest is running. > + > + error: Moving the above loop outside of the outer for loop will remove the need for this error tag. And should remove the need for the error variable. > + if (tcp_info != NULL) > + fclose(tcp_info); > + > + if ((j == 0) && (s.rc != CMPI_RC_OK)) { > + error = 1; > + s.rc = CMPI_RC_OK; > + } > } > > - out: > - fclose(tcp_info); > + if ((s.rc != CMPI_RC_OK) && (error == 0)) > + s.rc = CMPI_RC_OK; > + > return s; > } > > > _______________________________________________ > Libvirt-cim mailing list > Libvirt-cim at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-cim -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Wed Oct 28 20:01:44 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Wed, 28 Oct 2009 20:01:44 -0000 Subject: [Libvirt-cim] [PATCH 0 of 2] Fixes for some leaks and a seg fault Message-ID: These connection leaks were causing problems for me when testing on a Fedora rawhide system. The seg fault appeared when libvirt had reached its max number of open connections and was dropping the provider's attempt to connect. From kaitlin at linux.vnet.ibm.com Wed Oct 28 20:01:45 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Wed, 28 Oct 2009 20:01:45 -0000 Subject: [Libvirt-cim] [PATCH 1 of 2] Fix misc memory and libvirt connection leaks In-Reply-To: References: Message-ID: <4eed878f31e95806a9cd.1256760105@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1256568468 25200 # Node ID 4eed878f31e95806a9cd345f656b7382945b8985 # Parent 7b4f21cb364bb404ebdfb86977d45ffe48497d99 Fix misc memory and libvirt connection leaks ElementConformsToProfile - leaking classname in elem_to_prof() ResourcePoolConfigurationCapabilities - potiential libvirt connection leak in get_rpc_cap() VSMigrationCapabilities - potiential libvirt connection leak in get_migration_caps() misc_util.c - no need to get a new connection pointer - use existing one Virt_VirtualSystemManagementService.c - after the call to virDomainDestroy(), we look up the guest and get a new domain pointer. We do this without freeing the previous pointer. pool_parsing.c - reorganize function so that storage pool pointer isn't leaked in the case that the storage volume pointer is NULL. Virt_KVMRedirectionSAP.c - use free_domain_list() to free all domain pointers before exiting function instead of trying to free each one in the loop (which can cause a leak if an error occurs and the loop exits before freeing). Also, be sure to clean up the dominfo struct before exiting the loop. Signed-off-by: Kaitlin Rupert diff -r 7b4f21cb364b -r 4eed878f31e9 libxkutil/misc_util.c --- a/libxkutil/misc_util.c Wed Oct 14 15:09:29 2009 -0700 +++ b/libxkutil/misc_util.c Mon Oct 26 07:47:48 2009 -0700 @@ -417,8 +417,7 @@ compare_flags = 2; } - _dom = virDomainLookupByName(virDomainGetConnect(dom), - virDomainGetName(dom)); + _dom = virDomainLookupByName(conn, virDomainGetName(dom)); if (_dom == NULL) { CU_DEBUG("Unable to re-lookup domain"); goto out; diff -r 7b4f21cb364b -r 4eed878f31e9 libxkutil/pool_parsing.c --- a/libxkutil/pool_parsing.c Wed Oct 14 15:09:29 2009 -0700 +++ b/libxkutil/pool_parsing.c Mon Oct 26 07:47:48 2009 -0700 @@ -336,25 +336,29 @@ int res_type) { int ret = 0; + virStoragePoolPtr ptr = NULL; + virStorageVolPtr vptr = NULL; if (res_type == CIM_RES_TYPE_IMAGE) { - virStoragePoolPtr ptr = virStoragePoolLookupByName(conn, pname); + ptr = virStoragePoolLookupByName(conn, pname); if (ptr == NULL) { CU_DEBUG("Storage pool %s is not defined", pname); goto out; } - virStorageVolPtr vptr = virStorageVolCreateXML(ptr, xml, 0); - if (vptr == NULL) + vptr = virStorageVolCreateXML(ptr, xml, 0); + if (vptr == NULL) { + CU_DEBUG("Unable to create storage volume in %s", + pname); goto out; - - virStorageVolFree(vptr); - virStoragePoolFree(ptr); + } ret = 1; } out: + virStoragePoolFree(ptr); + virStorageVolFree(vptr); return ret; } diff -r 7b4f21cb364b -r 4eed878f31e9 src/Virt_ElementConformsToProfile.c --- a/src/Virt_ElementConformsToProfile.c Wed Oct 14 15:09:29 2009 -0700 +++ b/src/Virt_ElementConformsToProfile.c Mon Oct 26 07:47:48 2009 -0700 @@ -199,7 +199,7 @@ conn = connect_by_classname(_BROKER, CLASSNAME(vref), &s); if (conn == NULL) - return s; + goto out; for (i = 0; profiles[i] != NULL; i++) { diff -r 7b4f21cb364b -r 4eed878f31e9 src/Virt_KVMRedirectionSAP.c --- a/src/Virt_KVMRedirectionSAP.c Wed Oct 14 15:09:29 2009 -0700 +++ b/src/Virt_KVMRedirectionSAP.c Mon Oct 26 07:47:48 2009 -0700 @@ -316,7 +316,6 @@ for (i = 0; i < count; i++) { if (!check_graphics(domain_list[i], &dominfo)) { - virDomainFree(domain_list[i]); cleanup_dominfo(&dominfo); continue; } @@ -328,6 +327,7 @@ cu_statusf(broker, &s, CMPI_RC_ERR_FAILED, "Unable to guest's console port"); + cleanup_dominfo(&dominfo); goto out; } @@ -336,6 +336,7 @@ cu_statusf(broker, &s, CMPI_RC_ERR_FAILED, "Unable to allocate string"); + cleanup_dominfo(&dominfo); goto out; } @@ -343,7 +344,6 @@ port_list.list[port_list.cur]->remote_port = -1; port_list.cur++; - virDomainFree(domain_list[i]); cleanup_dominfo(&dominfo); } @@ -355,6 +355,7 @@ goto out; out: + free_domain_list(domain_list, count); free(domain_list); for (i = 0; i < count; i++) { diff -r 7b4f21cb364b -r 4eed878f31e9 src/Virt_ResourcePoolConfigurationCapabilities.c --- a/src/Virt_ResourcePoolConfigurationCapabilities.c Wed Oct 14 15:09:29 2009 -0700 +++ b/src/Virt_ResourcePoolConfigurationCapabilities.c Mon Oct 26 07:47:48 2009 -0700 @@ -70,17 +70,23 @@ pfx_from_conn(conn), "ResourcePoolConfigurationCapabilities", NAMESPACE(reference)); - if (inst == NULL) + if (inst == NULL) { cu_statusf(_BROKER, &s, CMPI_RC_ERR_FAILED, - "Can't create ResourcePoolConfigurationCapabilities instance"); + "Can't create RPCC instance"); + goto out; + } CMSetProperty(inst, "InstanceID", (CMPIValue *)"RPCC", CMPI_chars); array = CMNewArray(_BROKER, 2, CMPI_uint32, &s); - if (s.rc != CMPI_RC_OK) - return s; + if (s.rc != CMPI_RC_OK) { + cu_statusf(_BROKER, &s, + CMPI_RC_ERR_FAILED, + "Can't create new CMPI array to store values"); + goto out; + } val = CreateChildResourcePool; CMSetArrayElementAt(array, 0, (CMPIValue *)&val, CMPI_uint32); diff -r 7b4f21cb364b -r 4eed878f31e9 src/Virt_VSMigrationCapabilities.c --- a/src/Virt_VSMigrationCapabilities.c Wed Oct 14 15:09:29 2009 -0700 +++ b/src/Virt_VSMigrationCapabilities.c Mon Oct 26 07:47:48 2009 -0700 @@ -139,7 +139,7 @@ cu_statusf(broker, &s, CMPI_RC_ERR_FAILED, "Unable to get instance for %s", CLASSNAME(ref)); - return s; + goto out; } CMSetProperty(inst, "InstanceID", diff -r 7b4f21cb364b -r 4eed878f31e9 src/Virt_VirtualSystemManagementService.c --- a/src/Virt_VirtualSystemManagementService.c Wed Oct 14 15:09:29 2009 -0700 +++ b/src/Virt_VirtualSystemManagementService.c Mon Oct 26 07:47:48 2009 -0700 @@ -1695,6 +1695,8 @@ virDomainDestroy(dom); /* Okay for this to fail */ + virDomainFree(dom); + dom = virDomainLookupByName(conn, dom_name); if (dom == NULL) { CU_DEBUG("Domain successfully destroyed"); From kaitlin at linux.vnet.ibm.com Wed Oct 28 20:01:46 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Wed, 28 Oct 2009 20:01:46 -0000 Subject: [Libvirt-cim] [PATCH 2 of 2] Fix seg fault in Virt_DevicePool - verify to be sure list is not NULL In-Reply-To: References: Message-ID: <68c625f1d36545bc3de3.1256760106@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1256771106 25200 # Node ID 68c625f1d36545bc3de39ae0c1402914d8dc2b58 # Parent 4eed878f31e95806a9cd345f656b7382945b8985 Fix seg fault in Virt_DevicePool - verify to be sure list is not NULL This can happen if _get_pools() is unable to connect to libvirt. diff -r 4eed878f31e9 -r 68c625f1d365 src/Virt_DevicePool.c --- a/src/Virt_DevicePool.c Mon Oct 26 07:47:48 2009 -0700 +++ b/src/Virt_DevicePool.c Wed Oct 28 16:05:06 2009 -0700 @@ -1210,6 +1210,14 @@ if (s.rc != CMPI_RC_OK) goto out; + if (list.cur <= 0) { + cu_statusf(broker, &s, + CMPI_RC_ERR_NOT_FOUND, + "No such instance (%s)", + id); + goto out; + } + *_inst = list.list[0]; out: From rmaciel at linux.vnet.ibm.com Thu Oct 29 14:20:20 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Thu, 29 Oct 2009 12:20:20 -0200 Subject: [Libvirt-cim] [PATCH 1 of 4] This register base profile classes in the PG_InterOp In-Reply-To: References: Message-ID: <0777abcae2501319c8ce.1256826020@localhost.localdomain> # HG changeset patch # User Richard Maciel # Date 1256821800 7200 # Node ID 0777abcae2501319c8ce771f7e44e986d5b2284a # Parent 906a78ecf9f3e4972133c6792c1ff543cc57b493 This register base profile classes in the PG_InterOp Signed-off-by: Richard Maciel diff -r 906a78ecf9f3 -r 0777abcae250 base_schema/cimv2.21.0-pginterop_mof --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/base_schema/cimv2.21.0-pginterop_mof Thu Oct 29 11:10:00 2009 -0200 @@ -0,0 +1,9 @@ +#pragma locale ("en_US") +#pragma include ("Interop/CIM_RegisteredSpecification.mof") +#pragma include ("Interop/CIM_RegisteredProfile.mof") +#pragma include ("Interop/CIM_RegisteredSubProfile.mof") +#pragma include ("Interop/CIM_ElementConformsToProfile.mof") +#pragma include ("Interop/CIM_ReferencedSpecification.mof") +#pragma include ("Interop/CIM_ReferencedProfile.mof") +#pragma include ("Interop/CIM_SubProfileRequiresProfile.mof") +#pragma include ("Interop/CIM_Error.mof") diff -r 906a78ecf9f3 -r 0777abcae250 base_schema/install_base_schema.sh.in --- a/base_schema/install_base_schema.sh.in Mon Oct 05 06:02:39 2009 -0700 +++ b/base_schema/install_base_schema.sh.in Thu Oct 29 11:10:00 2009 -0200 @@ -22,6 +22,7 @@ fix_schema() { cp -a ${DATA}/cimv2.21.0-interop_mof ${TMPDIR}/cimv2.21.0-interop.mof cp -a ${DATA}/cimv2.21.0-cimv2_mof ${TMPDIR}/cimv2.21.0-cimv2.mof + cp -a ${DATA}/cimv2.21.0-pginterop_mof ${TMPDIR}/cimv2.21.0-pginterop.mof } @@ -74,6 +75,7 @@ cimmofl -uc -aEV -R$repo -n $NS qualifiers_optional.mof cimmofl -uc -aEV -R$repo -n /root/interop cimv?.??.?-interop.mof cimmofl -uc -aEV -R$repo -n /root/cimv2 cimv?.??.?-cimv2.mof + cimmofl -uc -aEV -R$repo -n /root/PG_InterOp cimv?.??.?-pginterop.mof } install_schema_sfcb() { From rmaciel at linux.vnet.ibm.com Thu Oct 29 14:20:19 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Thu, 29 Oct 2009 12:20:19 -0200 Subject: [Libvirt-cim] [PATCH 0 of 4] This set of patches adds the profile-related providersand classes to the PG_InterOp namespace Message-ID: From rmaciel at linux.vnet.ibm.com Thu Oct 29 14:20:22 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Thu, 29 Oct 2009 12:20:22 -0200 Subject: [Libvirt-cim] [PATCH 3 of 4] Fix .spec file so it also registers the profile providers in the PG_InterOp namespace In-Reply-To: References: Message-ID: # HG changeset patch # User Richard Maciel # Date 1256824836 7200 # Node ID a21bca13fac941c41ddb5ca1207be1f33e5f60d9 # Parent ff0f61a6f1e76dccf23486d61f2ee25b592e4b87 Fix .spec file so it also registers the profile providers in the PG_InterOp namespace Signed-off-by: Richard Maciel diff -r ff0f61a6f1e7 -r a21bca13fac9 libvirt-cim.spec.in --- a/libvirt-cim.spec.in Thu Oct 29 12:00:33 2009 -0200 +++ b/libvirt-cim.spec.in Thu Oct 29 12:00:36 2009 -0200 @@ -54,6 +54,9 @@ %define INTEROP_REG %{_datadir}/%{name}/{RegisteredProfile,ElementConformsToProfile,ReferencedProfile}.registration %define INTEROP_MOF %{_datadir}/%{name}/{ComputerSystem,HostSystem,RegisteredProfile,DiskPool,MemoryPool,NetPool,ProcessorPool,VSMigrationService,ElementConformsToProfile,ReferencedProfile,AllocationCapabilities}.mof +%define PGINTEROP_REG %{_datadir}/%{name}/{RegisteredProfile,ElementConformsToProfile,ReferencedProfile}.registration +%define PGINTEROP_MOF %{_datadir}/%{name}/{RegisteredProfile,ElementConformsToProfile,ReferencedProfile}.mof + %define CIMV2_REG %{_datadir}/%{name}/{HostedResourcePool,ElementCapabilities,HostedService,HostedDependency,ElementConformsToProfile,HostedAccessPoint}.registration %define CIMV2_MOF %{_datadir}/%{name}/{HostedResourcePool,ElementCapabilities,HostedService,HostedDependency,RegisteredProfile,ComputerSystem,ElementConformsToProfile,HostedAccessPoint}.mof @@ -78,6 +81,9 @@ -n root/interop \ -r %{INTEROP_REG} -m %{INTEROP_MOF} -v >/dev/null 2>&1 || true %{_datadir}/%{name}/provider-register.sh -t pegasus \ + -n root/PG_InterOp \ + -r %{PGINTEROP_REG} -m %{PGINTEROP_MOF} -v >/dev/null 2>&1 || true +%{_datadir}/%{name}/provider-register.sh -t pegasus \ -n root/cimv2\ -r %{CIMV2_REG} -m %{CIMV2_MOF} -v >/dev/null 2>&1 || true @@ -85,6 +91,9 @@ %{_datadir}/%{name}/provider-register.sh -d -t pegasus \ -n @CIM_VIRT_NS@ \ -r %{REGISTRATION} -m %{SCHEMA} >/dev/null 2>&1 || true +%{_datadir}/%{name}/provider-register.sh -d -t pegasus \ + -n root/PG_InterOp \ + -r %{PGINTEROP_REG} -m %{PGINTEROP_MOF} >/dev/null 2>&1 || true %postun -p /sbin/ldconfig @@ -105,5 +114,7 @@ %{_datadir}/libvirt-cim/cimv*-MOFs.zip %changelog +* Wed Oct 28 2009 Richard Maciel - 0.1-1 +- Added profile classes to the PG_InterOp namespace * Fri Oct 26 2007 Daniel Veillard - 0.1-1 - created From rmaciel at linux.vnet.ibm.com Thu Oct 29 14:20:21 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Thu, 29 Oct 2009 12:20:21 -0200 Subject: [Libvirt-cim] [PATCH 2 of 4] Update .registration files to include them in the PG_InterOp namespace In-Reply-To: References: Message-ID: # HG changeset patch # User Richard Maciel # Date 1256824833 7200 # Node ID ff0f61a6f1e76dccf23486d61f2ee25b592e4b87 # Parent 0777abcae2501319c8ce771f7e44e986d5b2284a Update .registration files to include them in the PG_InterOp namespace Signed-off-by: Richard Maciel diff -r 0777abcae250 -r ff0f61a6f1e7 schema/ElementConformsToProfile.registration --- a/schema/ElementConformsToProfile.registration Thu Oct 29 11:10:00 2009 -0200 +++ b/schema/ElementConformsToProfile.registration Thu Oct 29 12:00:33 2009 -0200 @@ -2,10 +2,13 @@ # Classname Namespace ProviderName ProviderModule ProviderTypes Xen_ElementConformsToProfile root/virt Virt_ElementConformsToProfile Virt_ElementConformsToProfile association Xen_ElementConformsToProfile root/interop Virt_ElementConformsToProfile Virt_ElementConformsToProfile association +Xen_ElementConformsToProfile root/PG_InterOp Virt_ElementConformsToProfile Virt_ElementConformsToProfile association Xen_ElementConformsToProfile root/cimv2 Virt_ElementConformsToProfile Virt_ElementConformsToProfile association KVM_ElementConformsToProfile root/virt Virt_ElementConformsToProfile Virt_ElementConformsToProfile association KVM_ElementConformsToProfile root/interop Virt_ElementConformsToProfile Virt_ElementConformsToProfile association +KVM_ElementConformsToProfile root/PG_InterOp Virt_ElementConformsToProfile Virt_ElementConformsToProfile association KVM_ElementConformsToProfile root/cimv2 Virt_ElementConformsToProfile Virt_ElementConformsToProfile association LXC_ElementConformsToProfile root/virt Virt_ElementConformsToProfile Virt_ElementConformsToProfile association LXC_ElementConformsToProfile root/interop Virt_ElementConformsToProfile Virt_ElementConformsToProfile association +LXC_ElementConformsToProfile root/PG_InterOp Virt_ElementConformsToProfile Virt_ElementConformsToProfile association LXC_ElementConformsToProfile root/cimv2 Virt_ElementConformsToProfile Virt_ElementConformsToProfile association diff -r 0777abcae250 -r ff0f61a6f1e7 schema/ReferencedProfile.registration --- a/schema/ReferencedProfile.registration Thu Oct 29 11:10:00 2009 -0200 +++ b/schema/ReferencedProfile.registration Thu Oct 29 12:00:33 2009 -0200 @@ -3,3 +3,6 @@ Xen_ReferencedProfile root/interop Virt_ReferencedProfile Virt_ReferencedProfile association KVM_ReferencedProfile root/interop Virt_ReferencedProfile Virt_ReferencedProfile association LXC_ReferencedProfile root/interop Virt_ReferencedProfile Virt_ReferencedProfile association +Xen_ReferencedProfile root/PG_InterOp Virt_ReferencedProfile Virt_ReferencedProfile association +KVM_ReferencedProfile root/PG_InterOp Virt_ReferencedProfile Virt_ReferencedProfile association +LXC_ReferencedProfile root/PG_InterOp Virt_ReferencedProfile Virt_ReferencedProfile association diff -r 0777abcae250 -r ff0f61a6f1e7 schema/RegisteredProfile.registration --- a/schema/RegisteredProfile.registration Thu Oct 29 11:10:00 2009 -0200 +++ b/schema/RegisteredProfile.registration Thu Oct 29 12:00:33 2009 -0200 @@ -3,3 +3,6 @@ Xen_RegisteredProfile root/interop Virt_RegisteredProfile Virt_RegisteredProfile instance KVM_RegisteredProfile root/interop Virt_RegisteredProfile Virt_RegisteredProfile instance LXC_RegisteredProfile root/interop Virt_RegisteredProfile Virt_RegisteredProfile instance +Xen_RegisteredProfile root/PG_InterOp Virt_RegisteredProfile Virt_RegisteredProfile instance +KVM_RegisteredProfile root/PG_InterOp Virt_RegisteredProfile Virt_RegisteredProfile instance +LXC_RegisteredProfile root/PG_InterOp Virt_RegisteredProfile Virt_RegisteredProfile instance From rmaciel at linux.vnet.ibm.com Thu Oct 29 14:20:23 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Thu, 29 Oct 2009 12:20:23 -0200 Subject: [Libvirt-cim] [PATCH 4 of 4] Add profile providers to the PG_InterOp namespace to fix the SLP issue In-Reply-To: References: Message-ID: # HG changeset patch # User Richard Maciel # Date 1256824836 7200 # Node ID cedaf9d6dceeea59f09371d262f4c15d9e12043f # Parent a21bca13fac941c41ddb5ca1207be1f33e5f60d9 Add profile providers to the PG_InterOp namespace to fix the SLP issue Signed-off-by: Richard Maciel diff -r a21bca13fac9 -r cedaf9d6dcee Makefile.am --- a/Makefile.am Thu Oct 29 12:00:36 2009 -0200 +++ b/Makefile.am Thu Oct 29 12:00:36 2009 -0200 @@ -71,6 +71,11 @@ schema/ReferencedProfile.mof \ schema/AllocationCapabilities.mof +PGINTEROP_MOFS = \ + schema/RegisteredProfile.mof \ + schema/ElementConformsToProfile.mof \ + schema/ReferencedProfile.mof + CIMV2_MOFS = \ schema/HostedResourcePool.mof \ schema/ElementCapabilities.mof \ @@ -138,6 +143,11 @@ schema/ElementConformsToProfile.registration \ schema/ReferencedProfile.registration +PGINTEROP_REGS = \ + schema/RegisteredProfile.registration \ + schema/ElementConformsToProfile.registration \ + schema/ReferencedProfile.registration + CIMV2_REGS = \ schema/HostedResourcePool.registration \ schema/ElementCapabilities.registration \ @@ -178,6 +188,7 @@ sh provider-register.sh -v -t @CIMSERVER@ -n @CIM_VIRT_NS@ -r $(REGS) -m $(MOFS) sh provider-register.sh -v -t @CIMSERVER@ -n root/interop -r $(INTEROP_REGS) -m $(INTEROP_MOFS) sh provider-register.sh -v -t @CIMSERVER@ -n root/cimv2 -r $(CIMV2_REGS) -m $(CIMV2_MOFS) + sh provider-register.sh -v -t @CIMSERVER@ -n root/PG_InterOp -r $(PGINTEROP_REGS) -m $(PGINTEROP_MOFS) virsh -v | grep -q '^0.3' && cp examples/diskpool.conf $(DISK_POOL_CONFIG) || true mkdir -p $(INFO_STORE) @@ -185,6 +196,8 @@ sh provider-register.sh -v -d -t @CIMSERVER@ -n @CIM_VIRT_NS@ -r $(REGS) -m $(MOFS) sh provider-register.sh -v -d -t @CIMSERVER@ -n root/interop -r $(INTEROP_REGS) -m $(INTEROP_MOFS) sh provider-register.sh -v -d -t @CIMSERVER@ -n root/cimv2 -r $(CIMV2_REGS) -m $(CIMV2_MOFS) + sh provider-register.sh -v -d -t @CIMSERVER@ -n root/PG_InterOp -r $(PGINTEROP_REGS) -m $(PGINTEROP_MOFS) + rpm: clean @(unset CDPATH ; $(MAKE) dist && rpmbuild -ta $(distdir).tar.gz) From rmaciel at linux.vnet.ibm.com Fri Oct 30 01:55:55 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Thu, 29 Oct 2009 23:55:55 -0200 Subject: [Libvirt-cim] [PATCH 0 of 5] [#2] This set of patches adds the profile-relatedproviders and classes to the PG_InterOp namespace Message-ID: From rmaciel at linux.vnet.ibm.com Fri Oct 30 01:55:57 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Thu, 29 Oct 2009 23:55:57 -0200 Subject: [Libvirt-cim] [PATCH 2 of 5] This register base profile classes in the PG_InterOp In-Reply-To: References: Message-ID: # HG changeset patch # User Richard Maciel # Date 1256867071 7200 # Node ID a574d66b01c1e21393af61ec892258ca08cc9732 # Parent 8515da125c641f0473108dce09a423f13ac6f6ad This register base profile classes in the PG_InterOp Signed-off-by: Richard Maciel diff -r 8515da125c64 -r a574d66b01c1 base_schema/cimv2.21.0-pginterop_mof --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/base_schema/cimv2.21.0-pginterop_mof Thu Oct 29 23:44:31 2009 -0200 @@ -0,0 +1,9 @@ +#pragma locale ("en_US") +#pragma include ("Interop/CIM_RegisteredSpecification.mof") +#pragma include ("Interop/CIM_RegisteredProfile.mof") +#pragma include ("Interop/CIM_RegisteredSubProfile.mof") +#pragma include ("Interop/CIM_ElementConformsToProfile.mof") +#pragma include ("Interop/CIM_ReferencedSpecification.mof") +#pragma include ("Interop/CIM_ReferencedProfile.mof") +#pragma include ("Interop/CIM_SubProfileRequiresProfile.mof") +#pragma include ("Interop/CIM_Error.mof") diff -r 8515da125c64 -r a574d66b01c1 base_schema/install_base_schema.sh.in --- a/base_schema/install_base_schema.sh.in Thu Oct 29 23:44:05 2009 -0200 +++ b/base_schema/install_base_schema.sh.in Thu Oct 29 23:44:31 2009 -0200 @@ -22,6 +22,7 @@ fix_schema() { cp -a ${DATA}/cimv2.21.0-interop_mof ${TMPDIR}/cimv2.21.0-interop.mof cp -a ${DATA}/cimv2.21.0-cimv2_mof ${TMPDIR}/cimv2.21.0-cimv2.mof + cp -a ${DATA}/cimv2.21.0-pginterop_mof ${TMPDIR}/cimv2.21.0-pginterop.mof } @@ -74,6 +75,7 @@ cimmofl -uc -aEV -R$repo -n $NS qualifiers_optional.mof cimmofl -uc -aEV -R$repo -n /root/interop cimv?.??.?-interop.mof cimmofl -uc -aEV -R$repo -n /root/cimv2 cimv?.??.?-cimv2.mof + cimmofl -uc -aEV -R$repo -n /root/PG_InterOp cimv?.??.?-pginterop.mof } install_schema_sfcb() { From rmaciel at linux.vnet.ibm.com Fri Oct 30 01:55:56 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Thu, 29 Oct 2009 23:55:56 -0200 Subject: [Libvirt-cim] [PATCH 1 of 5] Change Makefile.am to use installed .registration and .mof at the registration step In-Reply-To: References: Message-ID: <8515da125c641f047310.1256867756@localhost.localdomain> # HG changeset patch # User Richard Maciel # Date 1256867045 7200 # Node ID 8515da125c641f0473108dce09a423f13ac6f6ad # Parent 906a78ecf9f3e4972133c6792c1ff543cc57b493 Change Makefile.am to use installed .registration and .mof at the registration step Signed-off-by: Richard Maciel diff -r 906a78ecf9f3 -r 8515da125c64 Makefile.am --- a/Makefile.am Mon Oct 05 06:02:39 2009 -0700 +++ b/Makefile.am Thu Oct 29 23:44:05 2009 -0200 @@ -175,16 +175,16 @@ # Un/Register the providers and class definitions from/to the current CIMOM. # @CIMSERVER@ is set by the configure script postinstall: - sh provider-register.sh -v -t @CIMSERVER@ -n @CIM_VIRT_NS@ -r $(REGS) -m $(MOFS) - sh provider-register.sh -v -t @CIMSERVER@ -n root/interop -r $(INTEROP_REGS) -m $(INTEROP_MOFS) - sh provider-register.sh -v -t @CIMSERVER@ -n root/cimv2 -r $(CIMV2_REGS) -m $(CIMV2_MOFS) + sh provider-register.sh -v -t @CIMSERVER@ -n @CIM_VIRT_NS@ -r $(subst schema,$(pkgdatadir), $(REGS)) -m $(subst schema,$(pkgdatadir), $(MOFS)) + sh provider-register.sh -v -t @CIMSERVER@ -n root/interop -r $(subst schema,$(pkgdatadir), $(INTEROP_REGS)) -m $(subst schema,$(pkgdatadir), $(INTEROP_MOFS)) + sh provider-register.sh -v -t @CIMSERVER@ -n root/cimv2 -r $(subst schema,$(pkgdatadir), $(CIMV2_REGS)) -m $(subst schema,$(pkgdatadir), $(CIMV2_MOFS)) virsh -v | grep -q '^0.3' && cp examples/diskpool.conf $(DISK_POOL_CONFIG) || true mkdir -p $(INFO_STORE) preuninstall: - sh provider-register.sh -v -d -t @CIMSERVER@ -n @CIM_VIRT_NS@ -r $(REGS) -m $(MOFS) - sh provider-register.sh -v -d -t @CIMSERVER@ -n root/interop -r $(INTEROP_REGS) -m $(INTEROP_MOFS) - sh provider-register.sh -v -d -t @CIMSERVER@ -n root/cimv2 -r $(CIMV2_REGS) -m $(CIMV2_MOFS) + sh provider-register.sh -v -d -t @CIMSERVER@ -n @CIM_VIRT_NS@ -r $(subst schema,$(pkgdatadir), $(REGS)) -m $(subst schema,$(pkgdatadir), $(MOFS)) + sh provider-register.sh -v -d -t @CIMSERVER@ -n root/interop -r $(subst schema,$(pkgdatadir), $(INTEROP_REGS)) -m $(subst schema,$(pkgdatadir), $(INTEROP_MOFS)) + sh provider-register.sh -v -d -t @CIMSERVER@ -n root/cimv2 -r $(subst schema,$(pkgdatadir), $(CIMV2_REGS)) -m $(subst schema,$(pkgdatadir), $(CIMV2_MOFS)) rpm: clean @(unset CDPATH ; $(MAKE) dist && rpmbuild -ta $(distdir).tar.gz) From rmaciel at linux.vnet.ibm.com Fri Oct 30 01:55:58 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Thu, 29 Oct 2009 23:55:58 -0200 Subject: [Libvirt-cim] [PATCH 3 of 5] [#2] Update .registration files to include them in the PG_InterOp namespace In-Reply-To: References: Message-ID: # HG changeset patch # User Richard Maciel # Date 1256867152 7200 # Node ID c9e8dd2c54c9df13de77ebf2bfe94bf822540ec3 # Parent a574d66b01c1e21393af61ec892258ca08cc9732 [#2] Update .registration files to include them in the PG_InterOp namespace #2: - Grouped the PG_InterOp related files and added a comment to help newbies Signed-off-by: Richard Maciel diff -r a574d66b01c1 -r c9e8dd2c54c9 schema/ElementConformsToProfile.registration --- a/schema/ElementConformsToProfile.registration Thu Oct 29 23:44:31 2009 -0200 +++ b/schema/ElementConformsToProfile.registration Thu Oct 29 23:45:52 2009 -0200 @@ -9,3 +9,8 @@ LXC_ElementConformsToProfile root/virt Virt_ElementConformsToProfile Virt_ElementConformsToProfile association LXC_ElementConformsToProfile root/interop Virt_ElementConformsToProfile Virt_ElementConformsToProfile association LXC_ElementConformsToProfile root/cimv2 Virt_ElementConformsToProfile Virt_ElementConformsToProfile association +# -- These providers will be included only if pegasus is available. Check Makefile.am for details +Xen_ElementConformsToProfile root/PG_InterOp Virt_ElementConformsToProfile Virt_ElementConformsToProfile association +KVM_ElementConformsToProfile root/PG_InterOp Virt_ElementConformsToProfile Virt_ElementConformsToProfile association +LXC_ElementConformsToProfile root/PG_InterOp Virt_ElementConformsToProfile Virt_ElementConformsToProfile association +# --! diff -r a574d66b01c1 -r c9e8dd2c54c9 schema/ReferencedProfile.registration --- a/schema/ReferencedProfile.registration Thu Oct 29 23:44:31 2009 -0200 +++ b/schema/ReferencedProfile.registration Thu Oct 29 23:45:52 2009 -0200 @@ -3,3 +3,8 @@ Xen_ReferencedProfile root/interop Virt_ReferencedProfile Virt_ReferencedProfile association KVM_ReferencedProfile root/interop Virt_ReferencedProfile Virt_ReferencedProfile association LXC_ReferencedProfile root/interop Virt_ReferencedProfile Virt_ReferencedProfile association +# -- These providers will be included only if pegasus is available. Check Makefile.am for details +Xen_ReferencedProfile root/PG_InterOp Virt_ReferencedProfile Virt_ReferencedProfile association +KVM_ReferencedProfile root/PG_InterOp Virt_ReferencedProfile Virt_ReferencedProfile association +LXC_ReferencedProfile root/PG_InterOp Virt_ReferencedProfile Virt_ReferencedProfile association +# --! diff -r a574d66b01c1 -r c9e8dd2c54c9 schema/RegisteredProfile.registration --- a/schema/RegisteredProfile.registration Thu Oct 29 23:44:31 2009 -0200 +++ b/schema/RegisteredProfile.registration Thu Oct 29 23:45:52 2009 -0200 @@ -3,3 +3,8 @@ Xen_RegisteredProfile root/interop Virt_RegisteredProfile Virt_RegisteredProfile instance KVM_RegisteredProfile root/interop Virt_RegisteredProfile Virt_RegisteredProfile instance LXC_RegisteredProfile root/interop Virt_RegisteredProfile Virt_RegisteredProfile instance +# -- These providers will be included only if pegasus is available. Check Makefile.am for details +Xen_RegisteredProfile root/PG_InterOp Virt_RegisteredProfile Virt_RegisteredProfile instance +KVM_RegisteredProfile root/PG_InterOp Virt_RegisteredProfile Virt_RegisteredProfile instance +LXC_RegisteredProfile root/PG_InterOp Virt_RegisteredProfile Virt_RegisteredProfile instance +# --! From rmaciel at linux.vnet.ibm.com Fri Oct 30 01:56:00 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Thu, 29 Oct 2009 23:56:00 -0200 Subject: [Libvirt-cim] [PATCH 5 of 5] [#2]Add profile providers to the PG_InterOp namespace to fix the SLP issue In-Reply-To: References: Message-ID: <825b858abe3035399716.1256867760@localhost.localdomain> # HG changeset patch # User Richard Maciel # Date 1256867193 7200 # Node ID 825b858abe3035399716f9dfc280c225bd488ed9 # Parent 17a38a7407b6d896b4df5c74c8609c6452534058 [#2]Add profile providers to the PG_InterOp namespace to fix the SLP issue #2: Adding providers to the PG_InterOp namespace is only needed when the CIMOM is Pegasus Signed-off-by: Richard Maciel diff -r 17a38a7407b6 -r 825b858abe30 Makefile.am --- a/Makefile.am Thu Oct 29 23:46:00 2009 -0200 +++ b/Makefile.am Thu Oct 29 23:46:33 2009 -0200 @@ -71,6 +71,11 @@ schema/ReferencedProfile.mof \ schema/AllocationCapabilities.mof +PGINTEROP_MOFS = \ + schema/RegisteredProfile.mof \ + schema/ElementConformsToProfile.mof \ + schema/ReferencedProfile.mof + CIMV2_MOFS = \ schema/HostedResourcePool.mof \ schema/ElementCapabilities.mof \ @@ -138,6 +143,11 @@ schema/ElementConformsToProfile.registration \ schema/ReferencedProfile.registration +PGINTEROP_REGS = \ + schema/RegisteredProfile.registration \ + schema/ElementConformsToProfile.registration \ + schema/ReferencedProfile.registration + CIMV2_REGS = \ schema/HostedResourcePool.registration \ schema/ElementCapabilities.registration \ @@ -154,12 +164,16 @@ .changeset .revision \ examples/diskpool.conf +# If Pegasus isn't the CIMOM target, then remove the PG_InterOp namespace from the appropriate files install-data-local: $(mkinstalldirs) "$(DESTDIR)$(pkgdatadir)" $(install_sh_DATA) -t "$(DESTDIR)$(pkgdatadir)" $(MOFS) $(install_sh_DATA) -t "$(DESTDIR)$(pkgdatadir)" $(REGS) $(install_sh_DATA) -t "$(DESTDIR)$(pkgdatadir)" $(INTEROP_MOFS) $(install_sh_DATA) -t "$(DESTDIR)$(pkgdatadir)" $(INTEROP_REGS) + if [[ @CIMSERVER@ != pegasus ]]; then \ + sed -i '/^# --/,/^# --!/d' $(subst schema,$(pkgdatadir), $(PGINTEROP_REGS)); \ + fi uninstall-local: @list='$(MOFS) $(REGS) $(INTEROP_MOFS) $(INTEROP_REGS)'; \ @@ -178,6 +192,9 @@ sh provider-register.sh -v -t @CIMSERVER@ -n @CIM_VIRT_NS@ -r $(subst schema,$(pkgdatadir), $(REGS)) -m $(subst schema,$(pkgdatadir), $(MOFS)) sh provider-register.sh -v -t @CIMSERVER@ -n root/interop -r $(subst schema,$(pkgdatadir), $(INTEROP_REGS)) -m $(subst schema,$(pkgdatadir), $(INTEROP_MOFS)) sh provider-register.sh -v -t @CIMSERVER@ -n root/cimv2 -r $(subst schema,$(pkgdatadir), $(CIMV2_REGS)) -m $(subst schema,$(pkgdatadir), $(CIMV2_MOFS)) + if [[ @CIMSERVER@ = pegasus ]]; then \ + sh provider-register.sh -v -t @CIMSERVER@ -n root/PG_InterOp -r $(subst schema,$(pkgdatadir), $(PGINTEROP_REGS)) -m $(subst schema,$(pkgdatadir), $(PGINTEROP_MOFS)); \ + fi virsh -v | grep -q '^0.3' && cp examples/diskpool.conf $(DISK_POOL_CONFIG) || true mkdir -p $(INFO_STORE) @@ -185,6 +202,9 @@ sh provider-register.sh -v -d -t @CIMSERVER@ -n @CIM_VIRT_NS@ -r $(subst schema,$(pkgdatadir), $(REGS)) -m $(subst schema,$(pkgdatadir), $(MOFS)) sh provider-register.sh -v -d -t @CIMSERVER@ -n root/interop -r $(subst schema,$(pkgdatadir), $(INTEROP_REGS)) -m $(subst schema,$(pkgdatadir), $(INTEROP_MOFS)) sh provider-register.sh -v -d -t @CIMSERVER@ -n root/cimv2 -r $(subst schema,$(pkgdatadir), $(CIMV2_REGS)) -m $(subst schema,$(pkgdatadir), $(CIMV2_MOFS)) + if [[ @CIMSERVER@ = pegasus ]]; then \ + sh provider-register.sh -v -d -t @CIMSERVER@ -n root/PG_InterOp -r $(subst schema,$(pkgdatadir), $(PGINTEROP_REGS)) -m $(subst schema,$(pkgdatadir), $(PGINTEROP_MOFS)); \ + fi rpm: clean @(unset CDPATH ; $(MAKE) dist && rpmbuild -ta $(distdir).tar.gz) From rmaciel at linux.vnet.ibm.com Fri Oct 30 01:55:59 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Thu, 29 Oct 2009 23:55:59 -0200 Subject: [Libvirt-cim] [PATCH 4 of 5] Fix .spec file so it also registers the profile providers in the PG_InterOp namespace In-Reply-To: References: Message-ID: <17a38a7407b6d896b4df.1256867759@localhost.localdomain> # HG changeset patch # User Richard Maciel # Date 1256867160 7200 # Node ID 17a38a7407b6d896b4df5c74c8609c6452534058 # Parent c9e8dd2c54c9df13de77ebf2bfe94bf822540ec3 Fix .spec file so it also registers the profile providers in the PG_InterOp namespace Signed-off-by: Richard Maciel diff -r c9e8dd2c54c9 -r 17a38a7407b6 libvirt-cim.spec.in --- a/libvirt-cim.spec.in Thu Oct 29 23:45:52 2009 -0200 +++ b/libvirt-cim.spec.in Thu Oct 29 23:46:00 2009 -0200 @@ -54,6 +54,9 @@ %define INTEROP_REG %{_datadir}/%{name}/{RegisteredProfile,ElementConformsToProfile,ReferencedProfile}.registration %define INTEROP_MOF %{_datadir}/%{name}/{ComputerSystem,HostSystem,RegisteredProfile,DiskPool,MemoryPool,NetPool,ProcessorPool,VSMigrationService,ElementConformsToProfile,ReferencedProfile,AllocationCapabilities}.mof +%define PGINTEROP_REG %{_datadir}/%{name}/{RegisteredProfile,ElementConformsToProfile,ReferencedProfile}.registration +%define PGINTEROP_MOF %{_datadir}/%{name}/{RegisteredProfile,ElementConformsToProfile,ReferencedProfile}.mof + %define CIMV2_REG %{_datadir}/%{name}/{HostedResourcePool,ElementCapabilities,HostedService,HostedDependency,ElementConformsToProfile,HostedAccessPoint}.registration %define CIMV2_MOF %{_datadir}/%{name}/{HostedResourcePool,ElementCapabilities,HostedService,HostedDependency,RegisteredProfile,ComputerSystem,ElementConformsToProfile,HostedAccessPoint}.mof @@ -78,6 +81,9 @@ -n root/interop \ -r %{INTEROP_REG} -m %{INTEROP_MOF} -v >/dev/null 2>&1 || true %{_datadir}/%{name}/provider-register.sh -t pegasus \ + -n root/PG_InterOp \ + -r %{PGINTEROP_REG} -m %{PGINTEROP_MOF} -v >/dev/null 2>&1 || true +%{_datadir}/%{name}/provider-register.sh -t pegasus \ -n root/cimv2\ -r %{CIMV2_REG} -m %{CIMV2_MOF} -v >/dev/null 2>&1 || true @@ -85,6 +91,9 @@ %{_datadir}/%{name}/provider-register.sh -d -t pegasus \ -n @CIM_VIRT_NS@ \ -r %{REGISTRATION} -m %{SCHEMA} >/dev/null 2>&1 || true +%{_datadir}/%{name}/provider-register.sh -d -t pegasus \ + -n root/PG_InterOp \ + -r %{PGINTEROP_REG} -m %{PGINTEROP_MOF} >/dev/null 2>&1 || true %postun -p /sbin/ldconfig @@ -105,5 +114,7 @@ %{_datadir}/libvirt-cim/cimv*-MOFs.zip %changelog +* Wed Oct 28 2009 Richard Maciel - 0.1-1 +- Added profile classes to the PG_InterOp namespace * Fri Oct 26 2007 Daniel Veillard - 0.1-1 - created From rmaciel at linux.vnet.ibm.com Fri Oct 30 15:58:34 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Fri, 30 Oct 2009 13:58:34 -0200 Subject: [Libvirt-cim] [PATCH 2 of 2] Fix seg fault in Virt_DevicePool - verify to be sure list is not NULL In-Reply-To: <68c625f1d36545bc3de3.1256760106@elm3b41.beaverton.ibm.com> References: <68c625f1d36545bc3de3.1256760106@elm3b41.beaverton.ibm.com> Message-ID: <4AEB0D2A.70203@linux.vnet.ibm.com> On 10/28/2009 06:01 PM, Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1256771106 25200 > # Node ID 68c625f1d36545bc3de39ae0c1402914d8dc2b58 > # Parent 4eed878f31e95806a9cd345f656b7382945b8985 > Fix seg fault in Virt_DevicePool - verify to be sure list is not NULL > > This can happen if _get_pools() is unable to connect to libvirt. > > diff -r 4eed878f31e9 -r 68c625f1d365 src/Virt_DevicePool.c > --- a/src/Virt_DevicePool.c Mon Oct 26 07:47:48 2009 -0700 > +++ b/src/Virt_DevicePool.c Wed Oct 28 16:05:06 2009 -0700 > @@ -1210,6 +1210,14 @@ > if (s.rc != CMPI_RC_OK) > goto out; > > + if (list.cur<= 0) { This is probably nitpicking, but the cur member is an unsigned int, so its value won't ever be less than 0. :-P > + cu_statusf(broker,&s, > + CMPI_RC_ERR_NOT_FOUND, > + "No such instance (%s)", > + id); > + goto out; > + } > + > *_inst = list.list[0]; > > out: > > _______________________________________________ > Libvirt-cim mailing list > Libvirt-cim at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-cim -- Richard Maciel, MSc IBM Linux Technology Center rmaciel at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Fri Oct 30 16:13:42 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 30 Oct 2009 09:13:42 -0700 Subject: [Libvirt-cim] [PATCH 2 of 2] Fix seg fault in Virt_DevicePool - verify to be sure list is not NULL In-Reply-To: <4AEB0D2A.70203@linux.vnet.ibm.com> References: <68c625f1d36545bc3de3.1256760106@elm3b41.beaverton.ibm.com> <4AEB0D2A.70203@linux.vnet.ibm.com> Message-ID: <4AEB10B6.3060305@linux.vnet.ibm.com> Richard Maciel wrote: > On 10/28/2009 06:01 PM, Kaitlin Rupert wrote: >> # HG changeset patch >> # User Kaitlin Rupert >> # Date 1256771106 25200 >> # Node ID 68c625f1d36545bc3de39ae0c1402914d8dc2b58 >> # Parent 4eed878f31e95806a9cd345f656b7382945b8985 >> Fix seg fault in Virt_DevicePool - verify to be sure list is not NULL >> >> This can happen if _get_pools() is unable to connect to libvirt. >> >> diff -r 4eed878f31e9 -r 68c625f1d365 src/Virt_DevicePool.c >> --- a/src/Virt_DevicePool.c Mon Oct 26 07:47:48 2009 -0700 >> +++ b/src/Virt_DevicePool.c Wed Oct 28 16:05:06 2009 -0700 >> @@ -1210,6 +1210,14 @@ >> if (s.rc != CMPI_RC_OK) >> goto out; >> >> + if (list.cur<= 0) { > > This is probably nitpicking, but the cur member is an unsigned int, so > its value won't ever be less than 0. :-P This is a good point =) Plus, I'm not adhering to coding standards in this line. Oops! So it needs to be changed anyway. Thanks! > >> + cu_statusf(broker,&s, >> + CMPI_RC_ERR_NOT_FOUND, >> + "No such instance (%s)", >> + id); >> + goto out; >> + } >> + >> *_inst = list.list[0]; >> >> out: >> >> _______________________________________________ >> Libvirt-cim mailing list >> Libvirt-cim at redhat.com >> https://www.redhat.com/mailman/listinfo/libvirt-cim > > -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Fri Oct 30 12:28:32 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 30 Oct 2009 12:28:32 -0000 Subject: [Libvirt-cim] [PATCH] Remove fix_schema.patch and change MOF zip file name Message-ID: # HG changeset patch # User Kaitlin Rupert # Date 1256904666 25200 # Node ID a5cfc77fe35238cf4e17f4d09fcd09633f6f3149 # Parent 7b4f21cb364bb404ebdfb86977d45ffe48497d99 Remove fix_schema.patch and change MOF zip file name. These are bugs left over from when the schema upgrade changes went in. Signed-off-by: Kaitlin Rupert diff -r 7b4f21cb364b -r a5cfc77fe352 base_schema/fix_schema.patch --- a/base_schema/fix_schema.patch Wed Oct 14 15:09:29 2009 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ ---- cimv216.mof 2007-08-30 16:19:12.000000000 -0700 -+++ cimv216-new.mof 2007-12-05 12:45:56.000000000 -0800 -@@ -505,7 +505,7 @@ - #pragma include ("Policy/CIM_PolicySetValidityPeriod.mof") - #pragma include ("Policy/CIM_PublicPrivateKeyAuthentication.mof") - #pragma include ("Policy/CIM_SharedSecretAuthentication.mof") --#pragma include ("Security/CIM_SecurityIndication.mof") -+//#pragma include ("Security/CIM_SecurityIndication.mof") - #pragma include ("Support/PRS_Activity.mof") - #pragma include ("Support/PRS_ActivityResource.mof") - #pragma include ("Support/PRS_ActivityTransaction.mof") -@@ -726,8 +726,8 @@ - #pragma include ("Policy/CIM_PolicyActionStructure.mof") - #pragma include ("Policy/CIM_PolicyConditionInPolicyCondition.mof") - #pragma include ("Policy/CIM_PolicyConditionInPolicyRule.mof") --#pragma include ("Security/CIM_IPNetworkSecurityIndication.mof") --#pragma include ("Security/CIM_IPPacketFilterIndication.mof") -+//#pragma include ("Security/CIM_IPNetworkSecurityIndication.mof") -+//#pragma include ("Security/CIM_IPPacketFilterIndication.mof") - #pragma include ("Support/PRS_ActivityContact.mof") - #pragma include ("Support/PRS_AdminAssociation.mof") - #pragma include ("Support/PRS_AdministrativeContact.mof") diff -r 7b4f21cb364b -r a5cfc77fe352 libvirt-cim.spec.in --- a/libvirt-cim.spec.in Wed Oct 14 15:09:29 2009 -0700 +++ b/libvirt-cim.spec.in Fri Oct 30 05:11:06 2009 -0700 @@ -101,8 +101,7 @@ %{_datadir}/libvirt-cim/cimv*-interop_mof %{_datadir}/libvirt-cim/cimv*-cimv2_mof %{_datadir}/libvirt-cim/*.registration -%{_datadir}/libvirt-cim/fix_schema.patch -%{_datadir}/libvirt-cim/cimv*-MOFs.zip +%{_datadir}/libvirt-cim/cim_schema_*-MOFs.zip %changelog * Fri Oct 26 2007 Daniel Veillard - 0.1-1 From deeptik at linux.vnet.ibm.com Fri Oct 30 16:41:19 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Fri, 30 Oct 2009 22:11:19 +0530 Subject: [Libvirt-cim] Test Run Summary (Oct 29 2009): KVM on Fedora release 11.92 (Rawhide) with Pegasus Message-ID: <4AEB172F.4080108@linux.vnet.ibm.com> Test Run after applying Kaitlin's patches to fix the connection leak. The test case VirtualSystemManagementService - 19_definenetwork_ers.py: FAIL Needs to be updated to suit the error returned when invalid values are passed. ================================================= Test Run Summary (Oct 29 2009): KVM on Fedora release 11.92 (Rawhide) with Pegasus ================================================= Distro: Fedora release 11.92 (Rawhide) Kernel: 2.6.30.5-43.fc11.x86_64 libvirt: 0.7.1 Hypervisor: QEMU 0.11.0 CIMOM: Pegasus 2.9.0 Libvirt-cim revision: 990 Libvirt-cim changeset: 7b4f21cb364b+ Cimtest revision: 791 Cimtest changeset: a159cb05bdc7 Total test execution: Unknown ================================================= FAIL : 1 XFAIL : 4 SKIP : 10 PASS : 160 ----------------- Total : 175 ================================================= FAIL Test Summary: VirtualSystemManagementService - 19_definenetwork_ers.py: FAIL ================================================= XFAIL Test Summary: ComputerSystem - 32_start_reboot.py: XFAIL ComputerSystem - 33_suspend_reboot.py: XFAIL VirtualSystemManagementService - 16_removeresource.py: XFAIL VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL ================================================= SKIP Test Summary: ComputerSystem - 02_nosystems.py: SKIP ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP LogicalDisk - 02_nodevs.py: SKIP VSSD - 02_bootldr.py: SKIP VirtualSystemMigrationService - 01_migratable_host.py: SKIP VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: SKIP ================================================= Full report: -------------------------------------------------------------------- AllocationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- AllocationCapabilities - 02_alloccap_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 01_enum.py: PASS -------------------------------------------------------------------- ComputerSystem - 02_nosystems.py: SKIP ERROR - System has defined domains; unable to run -------------------------------------------------------------------- ComputerSystem - 03_defineVS.py: PASS -------------------------------------------------------------------- ComputerSystem - 04_defineStartVS.py: PASS -------------------------------------------------------------------- ComputerSystem - 05_activate_defined_start.py: PASS -------------------------------------------------------------------- ComputerSystem - 06_paused_active_suspend.py: PASS -------------------------------------------------------------------- ComputerSystem - 22_define_suspend.py: PASS -------------------------------------------------------------------- ComputerSystem - 23_pause_pause.py: PASS -------------------------------------------------------------------- ComputerSystem - 27_define_pause_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 32_start_reboot.py: XFAIL ERROR - Got CIM error CIM_ERR_FAILED: Unable to reboot domain: this function is not supported by the hypervisor: virDomainReboot with return code 1 ERROR - Exception: Unable reboot dom 'cs_test_domain' InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to reboot domain: this function is not supported by the hypervisor: virDomainReboot Bug:<00005> -------------------------------------------------------------------- ComputerSystem - 33_suspend_reboot.py: XFAIL ERROR - Got CIM error CIM_ERR_NOT_SUPPORTED: State not supported with return code 7 ERROR - Exception: Unable Suspend dom 'test_domain' InvokeMethod(RequestStateChange): CIM_ERR_NOT_SUPPORTED: State not supported Bug:<00012> -------------------------------------------------------------------- ComputerSystem - 34_start_disable.py: PASS -------------------------------------------------------------------- ComputerSystem - 35_start_reset.py: PASS -------------------------------------------------------------------- ComputerSystem - 40_RSC_start.py: PASS -------------------------------------------------------------------- ComputerSystem - 41_cs_to_settingdefinestate.py: PASS -------------------------------------------------------------------- ComputerSystem - 42_cs_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystemIndication - 01_created_indication.py: PASS -------------------------------------------------------------------- ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP -------------------------------------------------------------------- ElementAllocatedFromPool - 01_forward.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 02_reverse.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 03_reverse_errs.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 04_forward_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- ElementCapabilities - 02_reverse.py: PASS -------------------------------------------------------------------- ElementCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 05_hostsystem_cap.py: PASS -------------------------------------------------------------------- ElementConforms - 01_forward.py: PASS -------------------------------------------------------------------- ElementConforms - 02_reverse.py: PASS -------------------------------------------------------------------- ElementConforms - 03_ectp_fwd_errs.py: PASS -------------------------------------------------------------------- ElementConforms - 04_ectp_rev_errs.py: PASS -------------------------------------------------------------------- ElementSettingData - 01_forward.py: PASS -------------------------------------------------------------------- ElementSettingData - 03_esd_assoc_with_rasd_errs.py: PASS -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: PASS -------------------------------------------------------------------- HostSystem - 01_enum.py: PASS -------------------------------------------------------------------- HostSystem - 02_hostsystem_to_rasd.py: PASS -------------------------------------------------------------------- HostSystem - 03_hs_to_settdefcap.py: PASS -------------------------------------------------------------------- HostSystem - 04_hs_to_EAPF.py: PASS -------------------------------------------------------------------- HostSystem - 05_hs_gi_errs.py: PASS -------------------------------------------------------------------- HostSystem - 06_hs_to_vsms.py: PASS -------------------------------------------------------------------- HostedAccessPoint - 01_forward.py: PASS -------------------------------------------------------------------- HostedAccessPoint - 02_reverse.py: PASS -------------------------------------------------------------------- HostedDependency - 01_forward.py: PASS -------------------------------------------------------------------- HostedDependency - 02_reverse.py: PASS -------------------------------------------------------------------- HostedDependency - 03_enabledstate.py: PASS -------------------------------------------------------------------- HostedDependency - 04_reverse_errs.py: PASS -------------------------------------------------------------------- HostedResourcePool - 01_forward.py: PASS -------------------------------------------------------------------- HostedResourcePool - 02_reverse.py: PASS -------------------------------------------------------------------- HostedResourcePool - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedResourcePool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- HostedService - 01_forward.py: PASS -------------------------------------------------------------------- HostedService - 02_reverse.py: PASS -------------------------------------------------------------------- HostedService - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedService - 04_reverse_errs.py: PASS -------------------------------------------------------------------- KVMRedirectionSAP - 01_enum_KVMredSAP.py: PASS -------------------------------------------------------------------- LogicalDisk - 01_disk.py: PASS -------------------------------------------------------------------- LogicalDisk - 02_nodevs.py: SKIP ERROR - System has defined domains; unable to run -------------------------------------------------------------------- LogicalDisk - 03_ld_gi_errs.py: PASS -------------------------------------------------------------------- Memory - 01_memory.py: PASS -------------------------------------------------------------------- Memory - 02_defgetmem.py: PASS -------------------------------------------------------------------- Memory - 03_mem_gi_errs.py: PASS -------------------------------------------------------------------- NetworkPort - 01_netport.py: PASS -------------------------------------------------------------------- NetworkPort - 02_np_gi_errors.py: PASS -------------------------------------------------------------------- NetworkPort - 03_user_netport.py: PASS -------------------------------------------------------------------- Processor - 01_processor.py: PASS -------------------------------------------------------------------- Processor - 02_definesys_get_procs.py: PASS -------------------------------------------------------------------- Processor - 03_proc_gi_errs.py: PASS -------------------------------------------------------------------- Profile - 01_enum.py: PASS -------------------------------------------------------------------- Profile - 02_profile_to_elec.py: PASS -------------------------------------------------------------------- Profile - 03_rprofile_gi_errs.py: PASS -------------------------------------------------------------------- RASD - 01_verify_rasd_fields.py: PASS -------------------------------------------------------------------- RASD - 02_enum.py: PASS -------------------------------------------------------------------- RASD - 03_rasd_errs.py: PASS -------------------------------------------------------------------- RASD - 04_disk_rasd_size.py: PASS -------------------------------------------------------------------- RASD - 05_disk_rasd_emu_type.py: PASS -------------------------------------------------------------------- RASD - 06_parent_net_pool.py: PASS -------------------------------------------------------------------- RASD - 07_parent_disk_pool.py: PASS -------------------------------------------------------------------- RASDIndications - 01_guest_states_rasd_ind.py: PASS -------------------------------------------------------------------- RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: PASS -------------------------------------------------------------------- RedirectionService - 01_enum_crs.py: PASS -------------------------------------------------------------------- RedirectionService - 02_enum_crscap.py: PASS -------------------------------------------------------------------- RedirectionService - 03_RedirectionSAP_errs.py: PASS -------------------------------------------------------------------- ReferencedProfile - 01_verify_refprof.py: PASS -------------------------------------------------------------------- ReferencedProfile - 02_refprofile_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 01_forward.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 02_reverse.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 03_forward_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 05_RAPF_err.py: PASS -------------------------------------------------------------------- ResourcePool - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePool - 02_rp_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 02_rcps_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 03_CreateResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 07_DeleteResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 09_DeleteDiskPool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 10_create_storagevolume.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 13_delete_storagevolume.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: PASS -------------------------------------------------------------------- ServiceAccessBySAP - 01_forward.py: PASS -------------------------------------------------------------------- ServiceAccessBySAP - 02_reverse.py: PASS -------------------------------------------------------------------- ServiceAffectsElement - 01_forward.py: PASS -------------------------------------------------------------------- ServiceAffectsElement - 02_reverse.py: PASS -------------------------------------------------------------------- SettingsDefine - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefine - 02_reverse.py: PASS -------------------------------------------------------------------- SettingsDefine - 03_sds_fwd_errs.py: PASS -------------------------------------------------------------------- SettingsDefine - 04_sds_rev_errs.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 04_forward_vsmsdata.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 05_reverse_vsmcap.py: PASS -------------------------------------------------------------------- SystemDevice - 01_forward.py: PASS -------------------------------------------------------------------- SystemDevice - 02_reverse.py: PASS -------------------------------------------------------------------- SystemDevice - 03_fwderrs.py: PASS -------------------------------------------------------------------- VSSD - 01_enum.py: PASS -------------------------------------------------------------------- VSSD - 02_bootldr.py: SKIP -------------------------------------------------------------------- VSSD - 03_vssd_gi_errs.py: PASS -------------------------------------------------------------------- VSSD - 04_vssd_to_rasd.py: PASS -------------------------------------------------------------------- VSSD - 05_set_uuid.py: PASS -------------------------------------------------------------------- VSSD - 06_duplicate_uuid.py: PASS -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 01_definesystem_name.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 02_destroysystem.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 03_definesystem_ess.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 04_definesystem_ers.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 05_destroysystem_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 06_addresource.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 07_addresource_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 08_modifyresource.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 09_procrasd_persist.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 10_hv_version.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 11_define_memrasdunits.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 12_referenced_config.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 13_refconfig_additional_devs.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 14_define_sys_disk.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 15_mod_system_settings.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 16_removeresource.py: XFAIL ERROR - 0 RASD insts for domain/mouse:ps2 CIM_ERR_NOT_FOUND: No such instance (no device domain/mouse:ps2) Bug:<00014> -------------------------------------------------------------------- VirtualSystemManagementService - 17_removeresource_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 18_define_sys_bridge.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 19_definenetwork_ers.py: FAIL ERROR - DEBUG nettype is network, field is None, tc is none ERROR - DEBUG nettype is network, field is , tc is empty ERROR - Got CIM error CIM_ERR_FAILED: Unable to start domain: Network not found: no network with matching name '' with return code 1 ERROR - DEBUG nettype is network, field is invalid, tc is invalid ERROR - Got CIM error CIM_ERR_FAILED: Unable to start domain: Network not found: no network with matching name 'invalid' with return code 1 ERROR - DEBUG nettype is bridge, field is None, tc is none ERROR - Got CIM error CIM_ERR_FAILED: ResourceSettings Error: No Network bridge name specified with return code 1 ERROR - DEBUG nettype is bridge, field is , tc is empty ERROR - Got CIM error CIM_ERR_FAILED: ResourceSettings Error: Bridge name is empty with return code 1 ERROR - DEBUG nettype is bridge, field is invalid, tc is invalid ERROR - Got CIM error CIM_ERR_FAILED: Unable to start domain: Failed to add tap interface to bridge 'invalid': No such device with return code 1 ERROR - Desc Mismatch, Got desc: 'CIM_ERR_FAILED: Unable to start domain: Failed to add tap interface to bridge 'invalid': No such device', exp 'internal error Failed to add tap interface' ERROR - Starting domain with invalid bridge name invalid gave unexpected rc code 1 and description: CIM_ERR_FAILED: Unable to start domain: Failed to add tap interface to bridge 'invalid': No such device InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to start domain: Network not found: no network with matching name '' InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to start domain: Network not found: no network with matching name 'invalid' InvokeMethod(DefineSystem): CIM_ERR_FAILED: ResourceSettings Error: No Network bridge name specified InvokeMethod(DefineSystem): CIM_ERR_FAILED: ResourceSettings Error: Bridge name is empty InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to start domain: Failed to add tap interface to bridge 'invalid': No such device -------------------------------------------------------------------- VirtualSystemManagementService - 20_verify_vnc_password.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 21_createVS_verifyMAC.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL ERROR - Got 99:aa:bb:cc:ee:ff, exp 99:aa:bb:cc:ee:ff. Got None, exp my_network1. ERROR - Error invoking AddRS: add_net_res ERROR - Error adding rs for net mac ERROR - Failed to destroy Virtual Network 'my_network1' Bug:<00015> -------------------------------------------------------------------- VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationService - 01_migratable_host.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 01_forward.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 02_reverse.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 03_create_snapshot.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: PASS -------------------------------------------------------------------- -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Fri Oct 30 17:00:03 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 30 Oct 2009 17:00:03 -0000 Subject: [Libvirt-cim] [PATCH 2 of 2] (#2) Fix seg fault in Virt_DevicePool - verify to be sure list is not NULL In-Reply-To: References: Message-ID: <225d9f9a5cebaba93f47.1256922003@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1256771106 25200 # Node ID 225d9f9a5cebaba93f4787558b35d6958cd2cbfb # Parent 71465d8204cafbd92f63a1bb2f998b4df73fc156 (#2) Fix seg fault in Virt_DevicePool - verify to be sure list is not NULL This can happen if _get_pools() is unable to connect to libvirt. Updates: -Since list.cur is an unsigned int, it can't be less than 0. Signed-off-by: Kaitlin Rupert diff -r 71465d8204ca -r 225d9f9a5ceb src/Virt_DevicePool.c --- a/src/Virt_DevicePool.c Mon Oct 26 07:47:48 2009 -0700 +++ b/src/Virt_DevicePool.c Wed Oct 28 16:05:06 2009 -0700 @@ -1210,6 +1210,14 @@ if (s.rc != CMPI_RC_OK) goto out; + if (list.cur == 0) { + cu_statusf(broker, &s, + CMPI_RC_ERR_NOT_FOUND, + "No such instance (%s)", + id); + goto out; + } + *_inst = list.list[0]; out: From kaitlin at linux.vnet.ibm.com Fri Oct 30 17:00:01 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 30 Oct 2009 17:00:01 -0000 Subject: [Libvirt-cim] [PATCH 0 of 2] #2 Fixes for some leaks and a seg fault Message-ID: These connection leaks were causing problems for me when testing on a Fedora rawhide system. The seg fault appeared when libvirt had reached its max number of open connections and was dropping the provider's attempt to connect. See second patch for updates. From kaitlin at linux.vnet.ibm.com Fri Oct 30 17:00:02 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 30 Oct 2009 17:00:02 -0000 Subject: [Libvirt-cim] [PATCH 1 of 2] Fix misc memory and libvirt connection leaks In-Reply-To: References: Message-ID: <71465d8204cafbd92f63.1256922002@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1256568468 25200 # Node ID 71465d8204cafbd92f63a1bb2f998b4df73fc156 # Parent a5cfc77fe35238cf4e17f4d09fcd09633f6f3149 Fix misc memory and libvirt connection leaks ElementConformsToProfile - leaking classname in elem_to_prof() ResourcePoolConfigurationCapabilities - potiential libvirt connection leak in get_rpc_cap() VSMigrationCapabilities - potiential libvirt connection leak in get_migration_caps() misc_util.c - no need to get a new connection pointer - use existing one Virt_VirtualSystemManagementService.c - after the call to virDomainDestroy(), we look up the guest and get a new domain pointer. We do this without freeing the previous pointer. pool_parsing.c - reorganize function so that storage pool pointer isn't leaked in the case that the storage volume pointer is NULL. Virt_KVMRedirectionSAP.c - use free_domain_list() to free all domain pointers before exiting function instead of trying to free each one in the loop (which can cause a leak if an error occurs and the loop exits before freeing). Also, be sure to clean up the dominfo struct before exiting the loop. Signed-off-by: Kaitlin Rupert diff -r a5cfc77fe352 -r 71465d8204ca libxkutil/misc_util.c --- a/libxkutil/misc_util.c Fri Oct 30 05:11:06 2009 -0700 +++ b/libxkutil/misc_util.c Mon Oct 26 07:47:48 2009 -0700 @@ -417,8 +417,7 @@ compare_flags = 2; } - _dom = virDomainLookupByName(virDomainGetConnect(dom), - virDomainGetName(dom)); + _dom = virDomainLookupByName(conn, virDomainGetName(dom)); if (_dom == NULL) { CU_DEBUG("Unable to re-lookup domain"); goto out; diff -r a5cfc77fe352 -r 71465d8204ca libxkutil/pool_parsing.c --- a/libxkutil/pool_parsing.c Fri Oct 30 05:11:06 2009 -0700 +++ b/libxkutil/pool_parsing.c Mon Oct 26 07:47:48 2009 -0700 @@ -336,25 +336,29 @@ int res_type) { int ret = 0; + virStoragePoolPtr ptr = NULL; + virStorageVolPtr vptr = NULL; if (res_type == CIM_RES_TYPE_IMAGE) { - virStoragePoolPtr ptr = virStoragePoolLookupByName(conn, pname); + ptr = virStoragePoolLookupByName(conn, pname); if (ptr == NULL) { CU_DEBUG("Storage pool %s is not defined", pname); goto out; } - virStorageVolPtr vptr = virStorageVolCreateXML(ptr, xml, 0); - if (vptr == NULL) + vptr = virStorageVolCreateXML(ptr, xml, 0); + if (vptr == NULL) { + CU_DEBUG("Unable to create storage volume in %s", + pname); goto out; - - virStorageVolFree(vptr); - virStoragePoolFree(ptr); + } ret = 1; } out: + virStoragePoolFree(ptr); + virStorageVolFree(vptr); return ret; } diff -r a5cfc77fe352 -r 71465d8204ca src/Virt_ElementConformsToProfile.c --- a/src/Virt_ElementConformsToProfile.c Fri Oct 30 05:11:06 2009 -0700 +++ b/src/Virt_ElementConformsToProfile.c Mon Oct 26 07:47:48 2009 -0700 @@ -199,7 +199,7 @@ conn = connect_by_classname(_BROKER, CLASSNAME(vref), &s); if (conn == NULL) - return s; + goto out; for (i = 0; profiles[i] != NULL; i++) { diff -r a5cfc77fe352 -r 71465d8204ca src/Virt_KVMRedirectionSAP.c --- a/src/Virt_KVMRedirectionSAP.c Fri Oct 30 05:11:06 2009 -0700 +++ b/src/Virt_KVMRedirectionSAP.c Mon Oct 26 07:47:48 2009 -0700 @@ -316,7 +316,6 @@ for (i = 0; i < count; i++) { if (!check_graphics(domain_list[i], &dominfo)) { - virDomainFree(domain_list[i]); cleanup_dominfo(&dominfo); continue; } @@ -328,6 +327,7 @@ cu_statusf(broker, &s, CMPI_RC_ERR_FAILED, "Unable to guest's console port"); + cleanup_dominfo(&dominfo); goto out; } @@ -336,6 +336,7 @@ cu_statusf(broker, &s, CMPI_RC_ERR_FAILED, "Unable to allocate string"); + cleanup_dominfo(&dominfo); goto out; } @@ -343,7 +344,6 @@ port_list.list[port_list.cur]->remote_port = -1; port_list.cur++; - virDomainFree(domain_list[i]); cleanup_dominfo(&dominfo); } @@ -355,6 +355,7 @@ goto out; out: + free_domain_list(domain_list, count); free(domain_list); for (i = 0; i < count; i++) { diff -r a5cfc77fe352 -r 71465d8204ca src/Virt_ResourcePoolConfigurationCapabilities.c --- a/src/Virt_ResourcePoolConfigurationCapabilities.c Fri Oct 30 05:11:06 2009 -0700 +++ b/src/Virt_ResourcePoolConfigurationCapabilities.c Mon Oct 26 07:47:48 2009 -0700 @@ -70,17 +70,23 @@ pfx_from_conn(conn), "ResourcePoolConfigurationCapabilities", NAMESPACE(reference)); - if (inst == NULL) + if (inst == NULL) { cu_statusf(_BROKER, &s, CMPI_RC_ERR_FAILED, - "Can't create ResourcePoolConfigurationCapabilities instance"); + "Can't create RPCC instance"); + goto out; + } CMSetProperty(inst, "InstanceID", (CMPIValue *)"RPCC", CMPI_chars); array = CMNewArray(_BROKER, 2, CMPI_uint32, &s); - if (s.rc != CMPI_RC_OK) - return s; + if (s.rc != CMPI_RC_OK) { + cu_statusf(_BROKER, &s, + CMPI_RC_ERR_FAILED, + "Can't create new CMPI array to store values"); + goto out; + } val = CreateChildResourcePool; CMSetArrayElementAt(array, 0, (CMPIValue *)&val, CMPI_uint32); diff -r a5cfc77fe352 -r 71465d8204ca src/Virt_VSMigrationCapabilities.c --- a/src/Virt_VSMigrationCapabilities.c Fri Oct 30 05:11:06 2009 -0700 +++ b/src/Virt_VSMigrationCapabilities.c Mon Oct 26 07:47:48 2009 -0700 @@ -139,7 +139,7 @@ cu_statusf(broker, &s, CMPI_RC_ERR_FAILED, "Unable to get instance for %s", CLASSNAME(ref)); - return s; + goto out; } CMSetProperty(inst, "InstanceID", diff -r a5cfc77fe352 -r 71465d8204ca src/Virt_VirtualSystemManagementService.c --- a/src/Virt_VirtualSystemManagementService.c Fri Oct 30 05:11:06 2009 -0700 +++ b/src/Virt_VirtualSystemManagementService.c Mon Oct 26 07:47:48 2009 -0700 @@ -1695,6 +1695,8 @@ virDomainDestroy(dom); /* Okay for this to fail */ + virDomainFree(dom); + dom = virDomainLookupByName(conn, dom_name); if (dom == NULL) { CU_DEBUG("Domain successfully destroyed"); From rmaciel at linux.vnet.ibm.com Fri Oct 30 18:38:41 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Fri, 30 Oct 2009 16:38:41 -0200 Subject: [Libvirt-cim] [PATCH] Remove fix_schema.patch and change MOF zip file name In-Reply-To: References: Message-ID: <4AEB32B1.8030000@linux.vnet.ibm.com> +1 On 10/30/2009 10:28 AM, Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1256904666 25200 > # Node ID a5cfc77fe35238cf4e17f4d09fcd09633f6f3149 > # Parent 7b4f21cb364bb404ebdfb86977d45ffe48497d99 > Remove fix_schema.patch and change MOF zip file name. > > These are bugs left over from when the schema upgrade changes went in. > > Signed-off-by: Kaitlin Rupert > > diff -r 7b4f21cb364b -r a5cfc77fe352 base_schema/fix_schema.patch > --- a/base_schema/fix_schema.patch Wed Oct 14 15:09:29 2009 -0700 > +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 > @@ -1,22 +0,0 @@ > ---- cimv216.mof 2007-08-30 16:19:12.000000000 -0700 > -+++ cimv216-new.mof 2007-12-05 12:45:56.000000000 -0800 > -@@ -505,7 +505,7 @@ > - #pragma include ("Policy/CIM_PolicySetValidityPeriod.mof") > - #pragma include ("Policy/CIM_PublicPrivateKeyAuthentication.mof") > - #pragma include ("Policy/CIM_SharedSecretAuthentication.mof") > --#pragma include ("Security/CIM_SecurityIndication.mof") > -+//#pragma include ("Security/CIM_SecurityIndication.mof") > - #pragma include ("Support/PRS_Activity.mof") > - #pragma include ("Support/PRS_ActivityResource.mof") > - #pragma include ("Support/PRS_ActivityTransaction.mof") > -@@ -726,8 +726,8 @@ > - #pragma include ("Policy/CIM_PolicyActionStructure.mof") > - #pragma include ("Policy/CIM_PolicyConditionInPolicyCondition.mof") > - #pragma include ("Policy/CIM_PolicyConditionInPolicyRule.mof") > --#pragma include ("Security/CIM_IPNetworkSecurityIndication.mof") > --#pragma include ("Security/CIM_IPPacketFilterIndication.mof") > -+//#pragma include ("Security/CIM_IPNetworkSecurityIndication.mof") > -+//#pragma include ("Security/CIM_IPPacketFilterIndication.mof") > - #pragma include ("Support/PRS_ActivityContact.mof") > - #pragma include ("Support/PRS_AdminAssociation.mof") > - #pragma include ("Support/PRS_AdministrativeContact.mof") > diff -r 7b4f21cb364b -r a5cfc77fe352 libvirt-cim.spec.in > --- a/libvirt-cim.spec.in Wed Oct 14 15:09:29 2009 -0700 > +++ b/libvirt-cim.spec.in Fri Oct 30 05:11:06 2009 -0700 > @@ -101,8 +101,7 @@ > %{_datadir}/libvirt-cim/cimv*-interop_mof > %{_datadir}/libvirt-cim/cimv*-cimv2_mof > %{_datadir}/libvirt-cim/*.registration > -%{_datadir}/libvirt-cim/fix_schema.patch > -%{_datadir}/libvirt-cim/cimv*-MOFs.zip > +%{_datadir}/libvirt-cim/cim_schema_*-MOFs.zip > > %changelog > * Fri Oct 26 2007 Daniel Veillard - 0.1-1 -- Richard Maciel, MSc IBM Linux Technology Center rmaciel at linux.vnet.ibm.com From rmaciel at linux.vnet.ibm.com Fri Oct 30 18:39:05 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Fri, 30 Oct 2009 16:39:05 -0200 Subject: [Libvirt-cim] [PATCH 0 of 2] #2 Fixes for some leaks and a seg fault In-Reply-To: References: Message-ID: <4AEB32C9.3020202@linux.vnet.ibm.com> +1 On 10/30/2009 03:00 PM, Kaitlin Rupert wrote: > These connection leaks were causing problems for me when testing on a Fedora > rawhide system. The seg fault appeared when libvirt had reached its max > number of open connections and was dropping the provider's attempt to connect. > > See second patch for updates. > > _______________________________________________ > Libvirt-cim mailing list > Libvirt-cim at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-cim -- Richard Maciel, MSc IBM Linux Technology Center rmaciel at linux.vnet.ibm.com From deeptik at linux.vnet.ibm.com Fri Oct 30 15:03:07 2009 From: deeptik at linux.vnet.ibm.com (Deepti B. Kalakeri) Date: Fri, 30 Oct 2009 11:03:07 -0400 Subject: [Libvirt-cim] Test Run Summary (Oct 30 2009): LXC on Fedora release 11.92 (Rawhide) with Pegasus Message-ID: <200910301503.n9UF37vE017874@d01av02.pok.ibm.com> ================================================= Test Run Summary (Oct 30 2009): LXC on Fedora release 11.92 (Rawhide) with Pegasus ================================================= Distro: Fedora release 11.92 (Rawhide) Kernel: 2.6.30.5-43.fc11.x86_64 libvirt: 0.7.1 Hypervisor: QEMU 0.11.0 CIMOM: Pegasus 2.9.0 Libvirt-cim revision: 989 Libvirt-cim changeset: 3e3c266c1157 Cimtest revision: 786 Cimtest changeset: 215cbc24f8f9 ================================================= FAIL : 42 XFAIL : 3 SKIP : 53 PASS : 77 ----------------- Total : 175 ================================================= FAIL Test Summary: ComputerSystem - 04_defineStartVS.py: FAIL ComputerSystem - 05_activate_defined_start.py: FAIL ComputerSystem - 06_paused_active_suspend.py: FAIL ComputerSystem - 32_start_reboot.py: FAIL ComputerSystem - 34_start_disable.py: FAIL ComputerSystem - 35_start_reset.py: FAIL ComputerSystem - 40_RSC_start.py: FAIL ElementAllocatedFromPool - 01_forward.py: FAIL ElementAllocatedFromPool - 02_reverse.py: FAIL EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: FAIL HostedAccessPoint - 01_forward.py: FAIL HostedAccessPoint - 02_reverse.py: FAIL HostedDependency - 04_reverse_errs.py: FAIL KVMRedirectionSAP - 01_enum_KVMredSAP.py: FAIL Profile - 02_profile_to_elec.py: FAIL RASD - 01_verify_rasd_fields.py: FAIL RASD - 02_enum.py: FAIL RASD - 03_rasd_errs.py: FAIL RedirectionService - 03_RedirectionSAP_errs.py: FAIL ResourceAllocationFromPool - 01_forward.py: FAIL ResourceAllocationFromPool - 02_reverse.py: FAIL ServiceAccessBySAP - 01_forward.py: FAIL ServiceAccessBySAP - 02_reverse.py: FAIL ServiceAffectsElement - 01_forward.py: FAIL ServiceAffectsElement - 02_reverse.py: FAIL SettingsDefine - 01_forward.py: FAIL SettingsDefine - 02_reverse.py: FAIL SettingsDefine - 03_sds_fwd_errs.py: FAIL SettingsDefine - 04_sds_rev_errs.py: FAIL SystemDevice - 01_forward.py: FAIL SystemDevice - 02_reverse.py: FAIL SystemDevice - 03_fwderrs.py: FAIL VSSD - 04_vssd_to_rasd.py: FAIL VirtualSystemManagementService - 01_definesystem_name.py: FAIL VirtualSystemManagementService - 02_destroysystem.py: FAIL VirtualSystemManagementService - 20_verify_vnc_password.py: FAIL VirtualSystemManagementService - 21_createVS_verifyMAC.py: FAIL VirtualSystemSettingDataComponent - 01_forward.py: FAIL VirtualSystemSettingDataComponent - 02_reverse.py: FAIL VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: FAIL VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: FAIL VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL ================================================= XFAIL Test Summary: ComputerSystem - 23_pause_pause.py: XFAIL ComputerSystem - 33_suspend_reboot.py: XFAIL HostedDependency - 03_enabledstate.py: XFAIL ================================================= SKIP Test Summary: ComputerSystem - 02_nosystems.py: SKIP ComputerSystem - 41_cs_to_settingdefinestate.py: SKIP ComputerSystemIndication - 01_created_indication.py: SKIP ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP ElementAllocatedFromPool - 03_reverse_errs.py: SKIP ElementAllocatedFromPool - 04_forward_errs.py: SKIP LogicalDisk - 01_disk.py: SKIP LogicalDisk - 02_nodevs.py: SKIP LogicalDisk - 03_ld_gi_errs.py: SKIP NetworkPort - 01_netport.py: SKIP NetworkPort - 02_np_gi_errors.py: SKIP NetworkPort - 03_user_netport.py: SKIP Processor - 01_processor.py: SKIP Processor - 02_definesys_get_procs.py: SKIP Processor - 03_proc_gi_errs.py: SKIP RASD - 04_disk_rasd_size.py: SKIP RASD - 05_disk_rasd_emu_type.py: SKIP RASD - 06_parent_net_pool.py: SKIP RASD - 07_parent_disk_pool.py: SKIP RASDIndications - 01_guest_states_rasd_ind.py: SKIP RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: SKIP ResourceAllocationFromPool - 05_RAPF_err.py: SKIP ResourcePoolConfigurationService - 03_CreateResourcePool.py: SKIP ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: SKIP ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: SKIP ResourcePoolConfigurationService - 07_DeleteResourcePool.py: SKIP ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: SKIP ResourcePoolConfigurationService - 09_DeleteDiskPool.py: SKIP ResourcePoolConfigurationService - 10_create_storagevolume.py: SKIP ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: SKIP ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: SKIP ResourcePoolConfigurationService - 13_delete_storagevolume.py: SKIP ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: SKIP VSSD - 02_bootldr.py: SKIP VirtualSystemManagementService - 06_addresource.py: SKIP VirtualSystemManagementService - 08_modifyresource.py: SKIP VirtualSystemManagementService - 09_procrasd_persist.py: SKIP VirtualSystemManagementService - 11_define_memrasdunits.py: SKIP VirtualSystemManagementService - 12_referenced_config.py: SKIP VirtualSystemManagementService - 13_refconfig_additional_devs.py: SKIP VirtualSystemManagementService - 16_removeresource.py: SKIP VirtualSystemManagementService - 17_removeresource_neg.py: SKIP VirtualSystemManagementService - 18_define_sys_bridge.py: SKIP VirtualSystemManagementService - 19_definenetwork_ers.py: SKIP VirtualSystemManagementService - 22_addmulti_brg_interface.py: SKIP VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: SKIP VirtualSystemMigrationService - 01_migratable_host.py: SKIP VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: SKIP ================================================= Full report: -------------------------------------------------------------------- AllocationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- AllocationCapabilities - 02_alloccap_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 01_enum.py: PASS -------------------------------------------------------------------- ComputerSystem - 02_nosystems.py: SKIP ERROR - System has defined domains; unable to run -------------------------------------------------------------------- ComputerSystem - 03_defineVS.py: PASS -------------------------------------------------------------------- ComputerSystem - 04_defineStartVS.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Failed to define domain: operation failed: domain 'domguest' is already defined with uuid 9115348c-4500-45f9-af01-081ac166c75b with return code 1 ERROR - Unable to define domguest InvokeMethod(DefineSystem): CIM_ERR_FAILED: Failed to define domain: operation failed: domain 'domguest' is already defined with uuid 9115348c-4500-45f9-af01-081ac166c75b -------------------------------------------------------------------- ComputerSystem - 05_activate_defined_start.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Exception: Unable start dom 'DomST1' -------------------------------------------------------------------- ComputerSystem - 06_paused_active_suspend.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Exception variable: Unable start dom 'DomST1' -------------------------------------------------------------------- ComputerSystem - 22_define_suspend.py: PASS -------------------------------------------------------------------- ComputerSystem - 23_pause_pause.py: XFAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Exception: 'Unable start dom 'cs_test_domain'' Bug:<00011> -------------------------------------------------------------------- ComputerSystem - 27_define_pause_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 32_start_reboot.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Exception: Unable start dom 'cs_test_domain' -------------------------------------------------------------------- ComputerSystem - 33_suspend_reboot.py: XFAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Exception: Unable Start dom 'test_domain' Bug:<00012> -------------------------------------------------------------------- ComputerSystem - 34_start_disable.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Exception: Unable start dom 'cs_test_domain' -------------------------------------------------------------------- ComputerSystem - 35_start_reset.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Exception: Unable start dom 'cs_test_domain' -------------------------------------------------------------------- ComputerSystem - 40_RSC_start.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Exception: Unable start dom 'cs_test_domain' -------------------------------------------------------------------- ComputerSystem - 41_cs_to_settingdefinestate.py: SKIP -------------------------------------------------------------------- ComputerSystem - 42_cs_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystemIndication - 01_created_indication.py: SKIP -------------------------------------------------------------------- ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP -------------------------------------------------------------------- ElementAllocatedFromPool - 01_forward.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to start the dom: 'hd_domain' -------------------------------------------------------------------- ElementAllocatedFromPool - 02_reverse.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to start the dom: 'eafp_domain' -------------------------------------------------------------------- ElementAllocatedFromPool - 03_reverse_errs.py: SKIP -------------------------------------------------------------------- ElementAllocatedFromPool - 04_forward_errs.py: SKIP -------------------------------------------------------------------- ElementCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- ElementCapabilities - 02_reverse.py: PASS -------------------------------------------------------------------- ElementCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 05_hostsystem_cap.py: PASS -------------------------------------------------------------------- ElementConforms - 01_forward.py: PASS -------------------------------------------------------------------- ElementConforms - 02_reverse.py: PASS -------------------------------------------------------------------- ElementConforms - 03_ectp_fwd_errs.py: PASS -------------------------------------------------------------------- ElementConforms - 04_ectp_rev_errs.py: PASS -------------------------------------------------------------------- ElementSettingData - 01_forward.py: PASS -------------------------------------------------------------------- ElementSettingData - 03_esd_assoc_with_rasd_errs.py: PASS -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to Start the dom: qemu -------------------------------------------------------------------- HostSystem - 01_enum.py: PASS -------------------------------------------------------------------- HostSystem - 02_hostsystem_to_rasd.py: PASS -------------------------------------------------------------------- HostSystem - 03_hs_to_settdefcap.py: PASS -------------------------------------------------------------------- HostSystem - 04_hs_to_EAPF.py: PASS -------------------------------------------------------------------- HostSystem - 05_hs_gi_errs.py: PASS -------------------------------------------------------------------- HostSystem - 06_hs_to_vsms.py: PASS -------------------------------------------------------------------- HostedAccessPoint - 01_forward.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable start dom 'domu1' -------------------------------------------------------------------- HostedAccessPoint - 02_reverse.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable start dom 'domu1' -------------------------------------------------------------------- HostedDependency - 01_forward.py: PASS -------------------------------------------------------------------- HostedDependency - 02_reverse.py: PASS -------------------------------------------------------------------- HostedDependency - 03_enabledstate.py: XFAIL ERROR - Exception: (1, u'CIM_ERR_FAILED: Domain not running') ERROR - Failed to suspend the dom: hd_domain1 InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Domain not running Bug:<00011> -------------------------------------------------------------------- HostedDependency - 04_reverse_errs.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to start the dom: hd_domain1 -------------------------------------------------------------------- HostedResourcePool - 01_forward.py: PASS -------------------------------------------------------------------- HostedResourcePool - 02_reverse.py: PASS -------------------------------------------------------------------- HostedResourcePool - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedResourcePool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- HostedService - 01_forward.py: PASS -------------------------------------------------------------------- HostedService - 02_reverse.py: PASS -------------------------------------------------------------------- HostedService - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedService - 04_reverse_errs.py: PASS -------------------------------------------------------------------- KVMRedirectionSAP - 01_enum_KVMredSAP.py: FAIL ERROR - Exception: Failed to get information on the defined dom:test_kvmredsap_dom -------------------------------------------------------------------- LogicalDisk - 01_disk.py: SKIP -------------------------------------------------------------------- LogicalDisk - 02_nodevs.py: SKIP ERROR - System has defined domains; unable to run -------------------------------------------------------------------- LogicalDisk - 03_ld_gi_errs.py: SKIP -------------------------------------------------------------------- Memory - 01_memory.py: PASS -------------------------------------------------------------------- Memory - 02_defgetmem.py: PASS -------------------------------------------------------------------- Memory - 03_mem_gi_errs.py: PASS -------------------------------------------------------------------- NetworkPort - 01_netport.py: SKIP -------------------------------------------------------------------- NetworkPort - 02_np_gi_errors.py: SKIP -------------------------------------------------------------------- NetworkPort - 03_user_netport.py: SKIP -------------------------------------------------------------------- Processor - 01_processor.py: SKIP -------------------------------------------------------------------- Processor - 02_definesys_get_procs.py: SKIP -------------------------------------------------------------------- Processor - 03_proc_gi_errs.py: SKIP -------------------------------------------------------------------- Profile - 01_enum.py: PASS -------------------------------------------------------------------- Profile - 02_profile_to_elec.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Failed to define domain: operation failed: domain 'domguest' is already defined with uuid 9115348c-4500-45f9-af01-081ac166c75b with return code 1 ERROR - Unable define domain domguest using DefineSystem() InvokeMethod(DefineSystem): CIM_ERR_FAILED: Failed to define domain: operation failed: domain 'domguest' is already defined with uuid 9115348c-4500-45f9-af01-081ac166c75b -------------------------------------------------------------------- Profile - 03_rprofile_gi_errs.py: PASS -------------------------------------------------------------------- RASD - 01_verify_rasd_fields.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Failed to define domain: operation failed: domain 'VSSDC_dom' is already defined with uuid 6fcc71aa-4390-4d9a-bd6e-25ab5bead7f7 with return code 1 ERROR - Unable to define the domain VSSDC_dom InvokeMethod(DefineSystem): CIM_ERR_FAILED: Failed to define domain: operation failed: domain 'VSSDC_dom' is already defined with uuid 6fcc71aa-4390-4d9a-bd6e-25ab5bead7f7 -------------------------------------------------------------------- RASD - 02_enum.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Failed to define domain: operation failed: domain 'VSSDC_dom' is already defined with uuid 6fcc71aa-4390-4d9a-bd6e-25ab5bead7f7 with return code 1 ERROR - Failed to Define the domain: VSSDC_dom InvokeMethod(DefineSystem): CIM_ERR_FAILED: Failed to define domain: operation failed: domain 'VSSDC_dom' is already defined with uuid 6fcc71aa-4390-4d9a-bd6e-25ab5bead7f7 -------------------------------------------------------------------- RASD - 03_rasd_errs.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Failed to define domain: operation failed: domain 'VSSDC_dom' is already defined with uuid 6fcc71aa-4390-4d9a-bd6e-25ab5bead7f7 with return code 1 ERROR - Failed to Define the domain: VSSDC_dom InvokeMethod(DefineSystem): CIM_ERR_FAILED: Failed to define domain: operation failed: domain 'VSSDC_dom' is already defined with uuid 6fcc71aa-4390-4d9a-bd6e-25ab5bead7f7 -------------------------------------------------------------------- RASD - 04_disk_rasd_size.py: SKIP -------------------------------------------------------------------- RASD - 05_disk_rasd_emu_type.py: SKIP -------------------------------------------------------------------- RASD - 06_parent_net_pool.py: SKIP 06_parent_net_pool.py:50: DeprecationWarning: the sets module is deprecated from sets import Set -------------------------------------------------------------------- RASD - 07_parent_disk_pool.py: SKIP 07_parent_disk_pool.py:47: DeprecationWarning: the sets module is deprecated from sets import Set -------------------------------------------------------------------- RASDIndications - 01_guest_states_rasd_ind.py: SKIP -------------------------------------------------------------------- RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: SKIP -------------------------------------------------------------------- RedirectionService - 01_enum_crs.py: PASS -------------------------------------------------------------------- RedirectionService - 02_enum_crscap.py: PASS -------------------------------------------------------------------- RedirectionService - 03_RedirectionSAP_errs.py: FAIL -------------------------------------------------------------------- ReferencedProfile - 01_verify_refprof.py: PASS -------------------------------------------------------------------- ReferencedProfile - 02_refprofile_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 01_forward.py: FAIL ERROR - 3 RASD insts != 4 pool insts -------------------------------------------------------------------- ResourceAllocationFromPool - 02_reverse.py: FAIL ERROR - 3 RASD insts != 4 pool insts -------------------------------------------------------------------- ResourceAllocationFromPool - 03_forward_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 05_RAPF_err.py: SKIP -------------------------------------------------------------------- ResourcePool - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePool - 02_rp_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 02_rcps_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 03_CreateResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 07_DeleteResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 09_DeleteDiskPool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 10_create_storagevolume.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 13_delete_storagevolume.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: SKIP -------------------------------------------------------------------- ServiceAccessBySAP - 01_forward.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable start dom 'domu1' -------------------------------------------------------------------- ServiceAccessBySAP - 02_reverse.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable start dom 'domu1' -------------------------------------------------------------------- ServiceAffectsElement - 01_forward.py: FAIL 01_forward.py:51: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - Exception in fn verify_assoc() ERROR - Exception details: Failed to get init_list -------------------------------------------------------------------- ServiceAffectsElement - 02_reverse.py: FAIL 02_reverse.py:47: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - Exception : 'LXC_DisplayController' -------------------------------------------------------------------- SettingsDefine - 01_forward.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable start dom 'domu1' -------------------------------------------------------------------- SettingsDefine - 02_reverse.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Failed to define domain: operation failed: domain 'virtgst' is already defined with uuid 7df26fe4-ce9f-498c-b31b-202ed6c6ada0 with return code 1 ERROR - Failed to Create the dom: virtgst InvokeMethod(DefineSystem): CIM_ERR_FAILED: Failed to define domain: operation failed: domain 'virtgst' is already defined with uuid 7df26fe4-ce9f-498c-b31b-202ed6c6ada0 -------------------------------------------------------------------- SettingsDefine - 03_sds_fwd_errs.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to start the dom: domu1 -------------------------------------------------------------------- SettingsDefine - 04_sds_rev_errs.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to start the dom: domu1 -------------------------------------------------------------------- SettingsDefineCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 04_forward_vsmsdata.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 05_reverse_vsmcap.py: PASS -------------------------------------------------------------------- SystemDevice - 01_forward.py: FAIL 01_forward.py:29: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to start domain test_domain -------------------------------------------------------------------- SystemDevice - 02_reverse.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to start domain test_domain -------------------------------------------------------------------- SystemDevice - 03_fwderrs.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to start the domain 'virt1' -------------------------------------------------------------------- VSSD - 01_enum.py: PASS -------------------------------------------------------------------- VSSD - 02_bootldr.py: SKIP -------------------------------------------------------------------- VSSD - 03_vssd_gi_errs.py: PASS -------------------------------------------------------------------- VSSD - 04_vssd_to_rasd.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Failed to define domain: operation failed: domain 'VSSDC_dom' is already defined with uuid 6fcc71aa-4390-4d9a-bd6e-25ab5bead7f7 with return code 1 ERROR - Failed to Define the domain: VSSDC_dom InvokeMethod(DefineSystem): CIM_ERR_FAILED: Failed to define domain: operation failed: domain 'VSSDC_dom' is already defined with uuid 6fcc71aa-4390-4d9a-bd6e-25ab5bead7f7 -------------------------------------------------------------------- VSSD - 05_set_uuid.py: PASS -------------------------------------------------------------------- VSSD - 06_duplicate_uuid.py: PASS -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 01_definesystem_name.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to start the defined domain: test_domain -------------------------------------------------------------------- VirtualSystemManagementService - 02_destroysystem.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to start the domain 'test_domain' -------------------------------------------------------------------- VirtualSystemManagementService - 03_definesystem_ess.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 04_definesystem_ers.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 05_destroysystem_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 06_addresource.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 07_addresource_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 08_modifyresource.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 09_procrasd_persist.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 10_hv_version.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 11_define_memrasdunits.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 12_referenced_config.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 13_refconfig_additional_devs.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 14_define_sys_disk.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 15_mod_system_settings.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 16_removeresource.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 17_removeresource_neg.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 18_define_sys_bridge.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 19_definenetwork_ers.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 20_verify_vnc_password.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to start the dom: vncpasswd_domain ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain `vncpasswd_domain' does not exist: Domain not found with return code 6 InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain `vncpasswd_domain' does not exist: Domain not found -------------------------------------------------------------------- VirtualSystemManagementService - 21_createVS_verifyMAC.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Exception details: Failed to start the defined domain: dom_mac_notspecified -------------------------------------------------------------------- VirtualSystemManagementService - 22_addmulti_brg_interface.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationService - 01_migratable_host.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 01_forward.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Failed to define domain: operation failed: domain 'VSSDC_dom' is already defined with uuid 6fcc71aa-4390-4d9a-bd6e-25ab5bead7f7 with return code 1 ERROR - Failed to define the dom: VSSDC_dom InvokeMethod(DefineSystem): CIM_ERR_FAILED: Failed to define domain: operation failed: domain 'VSSDC_dom' is already defined with uuid 6fcc71aa-4390-4d9a-bd6e-25ab5bead7f7 -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 02_reverse.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Failed to define domain: operation failed: domain 'VSSDC_dom' is already defined with uuid 6fcc71aa-4390-4d9a-bd6e-25ab5bead7f7 with return code 1 ERROR - Failed to define the dom: VSSDC_dom InvokeMethod(DefineSystem): CIM_ERR_FAILED: Failed to define domain: operation failed: domain 'VSSDC_dom' is already defined with uuid 6fcc71aa-4390-4d9a-bd6e-25ab5bead7f7 -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to start domain domu1 -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to start domain domu1 -------------------------------------------------------------------- VirtualSystemSnapshotService - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Exception: Failed to start the defined domain: snapshot_vm ERROR - Failed to remove snapshot file for snapshot_vm -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: PASS -------------------------------------------------------------------- From deeptik at linux.vnet.ibm.com Fri Oct 30 17:01:37 2009 From: deeptik at linux.vnet.ibm.com (Deepti B. Kalakeri) Date: Fri, 30 Oct 2009 13:01:37 -0400 Subject: [Libvirt-cim] Test Run Summary (Oct 30 2009): LXC on Fedora release 11.92 (Rawhide) with Pegasus Message-ID: <200910301701.n9UH1buV015184@d01av02.pok.ibm.com> ================================================= Test Run Summary (Oct 30 2009): LXC on Fedora release 11.92 (Rawhide) with Pegasus ================================================= Distro: Fedora release 11.92 (Rawhide) Kernel: 2.6.30.5-43.fc11.x86_64 libvirt: 0.7.1 Hypervisor: QEMU 0.11.0 CIMOM: Pegasus 2.9.0 Libvirt-cim revision: 989 Libvirt-cim changeset: 3e3c266c1157 Cimtest revision: 786 Cimtest changeset: 215cbc24f8f9 ================================================= FAIL : 38 XFAIL : 3 SKIP : 51 PASS : 83 ----------------- Total : 175 ================================================= FAIL Test Summary: ComputerSystem - 04_defineStartVS.py: FAIL ComputerSystem - 05_activate_defined_start.py: FAIL ComputerSystem - 06_paused_active_suspend.py: FAIL ComputerSystem - 32_start_reboot.py: FAIL ComputerSystem - 34_start_disable.py: FAIL ComputerSystem - 35_start_reset.py: FAIL ComputerSystem - 40_RSC_start.py: FAIL ElementAllocatedFromPool - 01_forward.py: FAIL ElementAllocatedFromPool - 02_reverse.py: FAIL ElementSettingData - 03_esd_assoc_with_rasd_errs.py: FAIL EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: FAIL HostedAccessPoint - 01_forward.py: FAIL HostedAccessPoint - 02_reverse.py: FAIL HostedDependency - 04_reverse_errs.py: FAIL KVMRedirectionSAP - 01_enum_KVMredSAP.py: FAIL RASD - 01_verify_rasd_fields.py: FAIL RedirectionService - 03_RedirectionSAP_errs.py: FAIL ResourceAllocationFromPool - 01_forward.py: FAIL ResourceAllocationFromPool - 02_reverse.py: FAIL ServiceAccessBySAP - 01_forward.py: FAIL ServiceAccessBySAP - 02_reverse.py: FAIL ServiceAffectsElement - 01_forward.py: FAIL ServiceAffectsElement - 02_reverse.py: FAIL SettingsDefine - 01_forward.py: FAIL SettingsDefine - 02_reverse.py: FAIL SettingsDefine - 03_sds_fwd_errs.py: FAIL SettingsDefine - 04_sds_rev_errs.py: FAIL SystemDevice - 01_forward.py: FAIL SystemDevice - 02_reverse.py: FAIL SystemDevice - 03_fwderrs.py: FAIL VirtualSystemManagementService - 01_definesystem_name.py: FAIL VirtualSystemManagementService - 02_destroysystem.py: FAIL VirtualSystemManagementService - 20_verify_vnc_password.py: FAIL VirtualSystemManagementService - 21_createVS_verifyMAC.py: FAIL VirtualSystemSettingDataComponent - 02_reverse.py: FAIL VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: FAIL VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: FAIL VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL ================================================= XFAIL Test Summary: ComputerSystem - 23_pause_pause.py: XFAIL ComputerSystem - 33_suspend_reboot.py: XFAIL HostedDependency - 03_enabledstate.py: XFAIL ================================================= SKIP Test Summary: ComputerSystem - 41_cs_to_settingdefinestate.py: SKIP ComputerSystemIndication - 01_created_indication.py: SKIP ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP ElementAllocatedFromPool - 03_reverse_errs.py: SKIP ElementAllocatedFromPool - 04_forward_errs.py: SKIP LogicalDisk - 01_disk.py: SKIP LogicalDisk - 03_ld_gi_errs.py: SKIP NetworkPort - 01_netport.py: SKIP NetworkPort - 02_np_gi_errors.py: SKIP NetworkPort - 03_user_netport.py: SKIP Processor - 01_processor.py: SKIP Processor - 02_definesys_get_procs.py: SKIP Processor - 03_proc_gi_errs.py: SKIP RASD - 04_disk_rasd_size.py: SKIP RASD - 05_disk_rasd_emu_type.py: SKIP RASD - 06_parent_net_pool.py: SKIP RASD - 07_parent_disk_pool.py: SKIP RASDIndications - 01_guest_states_rasd_ind.py: SKIP RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: SKIP ResourceAllocationFromPool - 05_RAPF_err.py: SKIP ResourcePoolConfigurationService - 03_CreateResourcePool.py: SKIP ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: SKIP ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: SKIP ResourcePoolConfigurationService - 07_DeleteResourcePool.py: SKIP ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: SKIP ResourcePoolConfigurationService - 09_DeleteDiskPool.py: SKIP ResourcePoolConfigurationService - 10_create_storagevolume.py: SKIP ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: SKIP ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: SKIP ResourcePoolConfigurationService - 13_delete_storagevolume.py: SKIP ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: SKIP VSSD - 02_bootldr.py: SKIP VirtualSystemManagementService - 06_addresource.py: SKIP VirtualSystemManagementService - 08_modifyresource.py: SKIP VirtualSystemManagementService - 09_procrasd_persist.py: SKIP VirtualSystemManagementService - 11_define_memrasdunits.py: SKIP VirtualSystemManagementService - 12_referenced_config.py: SKIP VirtualSystemManagementService - 13_refconfig_additional_devs.py: SKIP VirtualSystemManagementService - 16_removeresource.py: SKIP VirtualSystemManagementService - 17_removeresource_neg.py: SKIP VirtualSystemManagementService - 18_define_sys_bridge.py: SKIP VirtualSystemManagementService - 19_definenetwork_ers.py: SKIP VirtualSystemManagementService - 22_addmulti_brg_interface.py: SKIP VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: SKIP VirtualSystemMigrationService - 01_migratable_host.py: SKIP VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: SKIP ================================================= Full report: -------------------------------------------------------------------- AllocationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- AllocationCapabilities - 02_alloccap_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 01_enum.py: PASS -------------------------------------------------------------------- ComputerSystem - 02_nosystems.py: PASS -------------------------------------------------------------------- ComputerSystem - 03_defineVS.py: PASS -------------------------------------------------------------------- ComputerSystem - 04_defineStartVS.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to Start the dom: domguest ERROR - Property values not set properly for domguest -------------------------------------------------------------------- ComputerSystem - 05_activate_defined_start.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Exception: Unable start dom 'DomST1' -------------------------------------------------------------------- ComputerSystem - 06_paused_active_suspend.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Exception variable: Unable start dom 'DomST1' -------------------------------------------------------------------- ComputerSystem - 22_define_suspend.py: PASS -------------------------------------------------------------------- ComputerSystem - 23_pause_pause.py: XFAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Exception: 'Unable start dom 'cs_test_domain'' Bug:<00011> -------------------------------------------------------------------- ComputerSystem - 27_define_pause_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 32_start_reboot.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Exception: Unable start dom 'cs_test_domain' -------------------------------------------------------------------- ComputerSystem - 33_suspend_reboot.py: XFAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Exception: Unable Start dom 'test_domain' Bug:<00012> -------------------------------------------------------------------- ComputerSystem - 34_start_disable.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Exception: Unable start dom 'cs_test_domain' -------------------------------------------------------------------- ComputerSystem - 35_start_reset.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Exception: Unable start dom 'cs_test_domain' -------------------------------------------------------------------- ComputerSystem - 40_RSC_start.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Exception: Unable start dom 'cs_test_domain' -------------------------------------------------------------------- ComputerSystem - 41_cs_to_settingdefinestate.py: SKIP -------------------------------------------------------------------- ComputerSystem - 42_cs_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystemIndication - 01_created_indication.py: SKIP -------------------------------------------------------------------- ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP -------------------------------------------------------------------- ElementAllocatedFromPool - 01_forward.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to start the dom: 'hd_domain' -------------------------------------------------------------------- ElementAllocatedFromPool - 02_reverse.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to start the dom: 'eafp_domain' -------------------------------------------------------------------- ElementAllocatedFromPool - 03_reverse_errs.py: SKIP -------------------------------------------------------------------- ElementAllocatedFromPool - 04_forward_errs.py: SKIP -------------------------------------------------------------------- ElementCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- ElementCapabilities - 02_reverse.py: PASS -------------------------------------------------------------------- ElementCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 05_hostsystem_cap.py: PASS -------------------------------------------------------------------- ElementConforms - 01_forward.py: PASS -------------------------------------------------------------------- ElementConforms - 02_reverse.py: PASS -------------------------------------------------------------------- ElementConforms - 03_ectp_fwd_errs.py: PASS -------------------------------------------------------------------- ElementConforms - 04_ectp_rev_errs.py: PASS -------------------------------------------------------------------- ElementSettingData - 01_forward.py: PASS -------------------------------------------------------------------- ElementSettingData - 03_esd_assoc_with_rasd_errs.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to start the dom: hd_domain1 -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to Start the dom: qemu -------------------------------------------------------------------- HostSystem - 01_enum.py: PASS -------------------------------------------------------------------- HostSystem - 02_hostsystem_to_rasd.py: PASS -------------------------------------------------------------------- HostSystem - 03_hs_to_settdefcap.py: PASS -------------------------------------------------------------------- HostSystem - 04_hs_to_EAPF.py: PASS -------------------------------------------------------------------- HostSystem - 05_hs_gi_errs.py: PASS -------------------------------------------------------------------- HostSystem - 06_hs_to_vsms.py: PASS -------------------------------------------------------------------- HostedAccessPoint - 01_forward.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable start dom 'domu1' -------------------------------------------------------------------- HostedAccessPoint - 02_reverse.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable start dom 'domu1' -------------------------------------------------------------------- HostedDependency - 01_forward.py: PASS -------------------------------------------------------------------- HostedDependency - 02_reverse.py: PASS -------------------------------------------------------------------- HostedDependency - 03_enabledstate.py: XFAIL ERROR - Exception: (1, u'CIM_ERR_FAILED: Domain not running') ERROR - Failed to suspend the dom: hd_domain1 InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Domain not running Bug:<00011> -------------------------------------------------------------------- HostedDependency - 04_reverse_errs.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to start the dom: hd_domain1 -------------------------------------------------------------------- HostedResourcePool - 01_forward.py: PASS -------------------------------------------------------------------- HostedResourcePool - 02_reverse.py: PASS -------------------------------------------------------------------- HostedResourcePool - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedResourcePool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- HostedService - 01_forward.py: PASS -------------------------------------------------------------------- HostedService - 02_reverse.py: PASS -------------------------------------------------------------------- HostedService - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedService - 04_reverse_errs.py: PASS -------------------------------------------------------------------- KVMRedirectionSAP - 01_enum_KVMredSAP.py: FAIL ERROR - Exception: Failed to get information on the defined dom:test_kvmredsap_dom -------------------------------------------------------------------- LogicalDisk - 01_disk.py: SKIP -------------------------------------------------------------------- LogicalDisk - 02_nodevs.py: PASS -------------------------------------------------------------------- LogicalDisk - 03_ld_gi_errs.py: SKIP -------------------------------------------------------------------- Memory - 01_memory.py: PASS -------------------------------------------------------------------- Memory - 02_defgetmem.py: PASS -------------------------------------------------------------------- Memory - 03_mem_gi_errs.py: PASS -------------------------------------------------------------------- NetworkPort - 01_netport.py: SKIP -------------------------------------------------------------------- NetworkPort - 02_np_gi_errors.py: SKIP -------------------------------------------------------------------- NetworkPort - 03_user_netport.py: SKIP -------------------------------------------------------------------- Processor - 01_processor.py: SKIP -------------------------------------------------------------------- Processor - 02_definesys_get_procs.py: SKIP -------------------------------------------------------------------- Processor - 03_proc_gi_errs.py: SKIP -------------------------------------------------------------------- Profile - 01_enum.py: PASS -------------------------------------------------------------------- Profile - 02_profile_to_elec.py: PASS -------------------------------------------------------------------- Profile - 03_rprofile_gi_errs.py: PASS -------------------------------------------------------------------- RASD - 01_verify_rasd_fields.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to start the domain VSSDC_dom -------------------------------------------------------------------- RASD - 02_enum.py: PASS -------------------------------------------------------------------- RASD - 03_rasd_errs.py: PASS -------------------------------------------------------------------- RASD - 04_disk_rasd_size.py: SKIP -------------------------------------------------------------------- RASD - 05_disk_rasd_emu_type.py: SKIP -------------------------------------------------------------------- RASD - 06_parent_net_pool.py: SKIP 06_parent_net_pool.py:50: DeprecationWarning: the sets module is deprecated from sets import Set -------------------------------------------------------------------- RASD - 07_parent_disk_pool.py: SKIP 07_parent_disk_pool.py:47: DeprecationWarning: the sets module is deprecated from sets import Set -------------------------------------------------------------------- RASDIndications - 01_guest_states_rasd_ind.py: SKIP -------------------------------------------------------------------- RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: SKIP -------------------------------------------------------------------- RedirectionService - 01_enum_crs.py: PASS -------------------------------------------------------------------- RedirectionService - 02_enum_crscap.py: PASS -------------------------------------------------------------------- RedirectionService - 03_RedirectionSAP_errs.py: FAIL -------------------------------------------------------------------- ReferencedProfile - 01_verify_refprof.py: PASS -------------------------------------------------------------------- ReferencedProfile - 02_refprofile_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 01_forward.py: FAIL ERROR - 3 RASD insts != 4 pool insts -------------------------------------------------------------------- ResourceAllocationFromPool - 02_reverse.py: FAIL ERROR - 3 RASD insts != 4 pool insts -------------------------------------------------------------------- ResourceAllocationFromPool - 03_forward_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 05_RAPF_err.py: SKIP -------------------------------------------------------------------- ResourcePool - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePool - 02_rp_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 02_rcps_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 03_CreateResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 07_DeleteResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 09_DeleteDiskPool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 10_create_storagevolume.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 13_delete_storagevolume.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: SKIP -------------------------------------------------------------------- ServiceAccessBySAP - 01_forward.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable start dom 'domu1' -------------------------------------------------------------------- ServiceAccessBySAP - 02_reverse.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable start dom 'domu1' -------------------------------------------------------------------- ServiceAffectsElement - 01_forward.py: FAIL 01_forward.py:51: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - Exception in fn verify_assoc() ERROR - Exception details: Failed to get init_list -------------------------------------------------------------------- ServiceAffectsElement - 02_reverse.py: FAIL 02_reverse.py:47: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - Exception : 'LXC_DisplayController' -------------------------------------------------------------------- SettingsDefine - 01_forward.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable start dom 'domu1' -------------------------------------------------------------------- SettingsDefine - 02_reverse.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable start dom 'virtgst' -------------------------------------------------------------------- SettingsDefine - 03_sds_fwd_errs.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to start the dom: domu1 -------------------------------------------------------------------- SettingsDefine - 04_sds_rev_errs.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to start the dom: domu1 -------------------------------------------------------------------- SettingsDefineCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 04_forward_vsmsdata.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 05_reverse_vsmcap.py: PASS -------------------------------------------------------------------- SystemDevice - 01_forward.py: FAIL 01_forward.py:29: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to start domain test_domain -------------------------------------------------------------------- SystemDevice - 02_reverse.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to start domain test_domain -------------------------------------------------------------------- SystemDevice - 03_fwderrs.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to start the domain 'virt1' -------------------------------------------------------------------- VSSD - 01_enum.py: PASS -------------------------------------------------------------------- VSSD - 02_bootldr.py: SKIP -------------------------------------------------------------------- VSSD - 03_vssd_gi_errs.py: PASS -------------------------------------------------------------------- VSSD - 04_vssd_to_rasd.py: PASS -------------------------------------------------------------------- VSSD - 05_set_uuid.py: PASS -------------------------------------------------------------------- VSSD - 06_duplicate_uuid.py: PASS -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 01_definesystem_name.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to start the defined domain: test_domain -------------------------------------------------------------------- VirtualSystemManagementService - 02_destroysystem.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to start the domain 'test_domain' -------------------------------------------------------------------- VirtualSystemManagementService - 03_definesystem_ess.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 04_definesystem_ers.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 05_destroysystem_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 06_addresource.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 07_addresource_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 08_modifyresource.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 09_procrasd_persist.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 10_hv_version.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 11_define_memrasdunits.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 12_referenced_config.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 13_refconfig_additional_devs.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 14_define_sys_disk.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 15_mod_system_settings.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 16_removeresource.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 17_removeresource_neg.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 18_define_sys_bridge.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 19_definenetwork_ers.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 20_verify_vnc_password.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to start the dom: vncpasswd_domain ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain `vncpasswd_domain' does not exist: Domain not found with return code 6 InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain `vncpasswd_domain' does not exist: Domain not found -------------------------------------------------------------------- VirtualSystemManagementService - 21_createVS_verifyMAC.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Exception details: Failed to start the defined domain: dom_mac_notspecified -------------------------------------------------------------------- VirtualSystemManagementService - 22_addmulti_brg_interface.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationService - 01_migratable_host.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 01_forward.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 02_reverse.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to start the dom: VSSDC_dom -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to start domain domu1 -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to start domain domu1 -------------------------------------------------------------------- VirtualSystemSnapshotService - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Exception: Failed to start the defined domain: snapshot_vm ERROR - Failed to remove snapshot file for snapshot_vm -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: PASS -------------------------------------------------------------------- From kaitlin at linux.vnet.ibm.com Fri Oct 30 23:47:02 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 30 Oct 2009 23:47:02 -0000 Subject: [Libvirt-cim] [PATCH] Allow user to specify whether ACPI should be enabled Message-ID: # HG changeset patch # User Kaitlin Rupert # Date 1256942565 25200 # Node ID fa2c916f6772d7e02ab32f1d167d83826898cacb # Parent a5cfc77fe35238cf4e17f4d09fcd09633f6f3149 Allow user to specify whether ACPI should be enabled. Signed-off-by: Kaitlin Rupert diff -r a5cfc77fe352 -r fa2c916f6772 libxkutil/device_parsing.c --- a/libxkutil/device_parsing.c Fri Oct 30 05:11:06 2009 -0700 +++ b/libxkutil/device_parsing.c Fri Oct 30 15:42:45 2009 -0700 @@ -866,6 +866,18 @@ return 1; } +static int parse_features(struct domain *dominfo, xmlNode *features) +{ + xmlNode *child; + + for (child = features->children; child != NULL; child = child->next) { + if (XSTREQ(child->name, "acpi")) + dominfo->acpi = true; + } + + return 1; +} + static void set_action(int *val, xmlNode *child) { const char *action = (char *)xmlNodeGetContent(child); @@ -910,6 +922,8 @@ set_action(&dominfo->on_crash, child); else if (XSTREQ(child->name, "clock")) dominfo->clock = get_attr_value(child, "offset"); + else if (XSTREQ(child->name, "features")) + parse_features(dominfo, child); } return 1; diff -r a5cfc77fe352 -r fa2c916f6772 libxkutil/device_parsing.h --- a/libxkutil/device_parsing.h Fri Oct 30 05:11:06 2009 -0700 +++ b/libxkutil/device_parsing.h Fri Oct 30 15:42:45 2009 -0700 @@ -126,6 +126,7 @@ char *bootloader; char *bootloader_args; char *clock; + bool acpi; union { struct pv_os_info pv; diff -r a5cfc77fe352 -r fa2c916f6772 libxkutil/xmlgen.c --- a/libxkutil/xmlgen.c Fri Oct 30 05:11:06 2009 -0700 +++ b/libxkutil/xmlgen.c Fri Oct 30 15:42:45 2009 -0700 @@ -503,11 +503,6 @@ if (ret == 0) return XML_ERROR; - tmp = xmlNewChild(root, NULL, BAD_CAST "features", NULL); - xmlNewChild(tmp, NULL, BAD_CAST "pae", NULL); - xmlNewChild(tmp, NULL, BAD_CAST "acpi", NULL); - xmlNewChild(tmp, NULL, BAD_CAST "apic", NULL); - return NULL; } @@ -576,6 +571,25 @@ return "Unsupported domain type"; } +static char *features_xml(xmlNodePtr root, struct domain *domain) +{ + xmlNodePtr features; + + features = xmlNewChild(root, NULL, BAD_CAST "features", NULL); + if (features == NULL) + return "Failed to allocate XML memory"; + + if (domain->type == DOMAIN_XENFV) { + xmlNewChild(features, NULL, BAD_CAST "pae", NULL); + xmlNewChild(features, NULL, BAD_CAST "apic", NULL); + } + + if (domain->acpi) + xmlNewChild(features, NULL, BAD_CAST "acpi", NULL); + + return NULL; +} + static char *tree_to_xml(xmlNodePtr root) { xmlBufferPtr buffer = NULL; @@ -748,6 +762,10 @@ if (msg != NULL) goto out; + msg = features_xml(root, dominfo); + if (msg != NULL) + goto out; + msg = mem_xml(root, dominfo); if (msg != NULL) goto out; diff -r a5cfc77fe352 -r fa2c916f6772 schema/Virt_VSSD.mof --- a/schema/Virt_VSSD.mof Fri Oct 30 05:11:06 2009 -0700 +++ b/schema/Virt_VSSD.mof Fri Oct 30 15:42:45 2009 -0700 @@ -15,4 +15,7 @@ [Description("UUID assigned to this DomU.")] string UUID; + [Description ("Flag to determine whether this guest has acpi enabled")] + boolean EnableACPI; + }; diff -r a5cfc77fe352 -r fa2c916f6772 src/Virt_VSSD.c --- a/src/Virt_VSSD.c Fri Oct 30 05:11:06 2009 -0700 +++ b/src/Virt_VSSD.c Fri Oct 30 15:42:45 2009 -0700 @@ -211,6 +211,9 @@ CMSetProperty(inst, "AutomaticRecoveryAction", (CMPIValue *)&dominfo->on_crash, CMPI_uint16); + CMSetProperty(inst, "EnableACPI", + (CMPIValue *)&dominfo->acpi, CMPI_boolean); + if (dominfo->clock != NULL) { uint16_t clock = VSSD_CLOCK_UTC; diff -r a5cfc77fe352 -r fa2c916f6772 src/Virt_VirtualSystemManagementService.c --- a/src/Virt_VirtualSystemManagementService.c Fri Oct 30 05:11:06 2009 -0700 +++ b/src/Virt_VirtualSystemManagementService.c Fri Oct 30 15:42:45 2009 -0700 @@ -425,6 +425,7 @@ const char *val; const char *cn; char *pfx = NULL; + bool bool_val; bool fullvirt; CMPIObjectPath *opathp = NULL; @@ -470,6 +471,13 @@ if (cu_get_bool_prop(inst, "IsFullVirt", &fullvirt) != CMPI_RC_OK) fullvirt = false; + if (cu_get_bool_prop(inst, "EnableACPI", &bool_val) != CMPI_RC_OK) { + if (fullvirt || STREQC(pfx, "KVM")) + bool_val = true; + } + + domain->acpi = bool_val; + if (cu_get_u16_prop(inst, "ClockOffset", &tmp) == CMPI_RC_OK) { if (tmp == VSSD_CLOCK_UTC) domain->clock = strdup("utc"); From kaitlin at linux.vnet.ibm.com Fri Oct 30 23:47:31 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 30 Oct 2009 23:47:31 -0000 Subject: [Libvirt-cim] [PATCH] Call _set_fv_prop() in VSSD for XenFV, KVM, and QEMU guests Message-ID: # HG changeset patch # User Kaitlin Rupert # Date 1256945272 25200 # Node ID d9ec0ec02cec9c1b9e690e403f3c080a9a6589a7 # Parent fa2c916f6772d7e02ab32f1d167d83826898cacb Call _set_fv_prop() in VSSD for XenFV, KVM, and QEMU guests. This if statement is missing a few brackets... Signed-off-by: Kaitlin Rupert diff -r fa2c916f6772 -r d9ec0ec02cec src/Virt_VSSD.c --- a/src/Virt_VSSD.c Fri Oct 30 15:42:45 2009 -0700 +++ b/src/Virt_VSSD.c Fri Oct 30 16:27:52 2009 -0700 @@ -233,12 +233,13 @@ if ((dominfo->type == DOMAIN_XENFV) || - (dominfo->type == DOMAIN_KVM) || (dominfo->type == DOMAIN_QEMU)) + (dominfo->type == DOMAIN_KVM) || (dominfo->type == DOMAIN_QEMU)) { s = _set_fv_prop(broker, dominfo, inst); if (s.rc != CMPI_RC_OK) { ret = 0; goto out; } + } else if (dominfo->type == DOMAIN_XENPV) _set_pv_prop(dominfo, inst);