From snmishra at us.ibm.com Tue Dec 1 01:37:36 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Mon, 30 Nov 2009 17:37:36 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Change create_diskpool() to use virsh pool-info In-Reply-To: <269167924d0e969ff190.1258750518@elm3b41.beaverton.ibm.com> References: <269167924d0e969ff190.1258750518@elm3b41.beaverton.ibm.com> Message-ID: +1 Sharad Mishra System x Enablement Linux Technology Center IBM Kaitlin Rupert To Sent by: libvirt-cim at redhat.com libvirt-cim-bounc cc es at redhat.com Subject [Libvirt-cim] [PATCH] [TEST] Change 11/20/2009 12:55 create_diskpool() to use virsh PM pool-info Please respond to List for discussion and development of libvirt CIM # HG changeset patch # User Kaitlin Rupert # Date 1258750445 28800 # Node ID 269167924d0e969ff190fde80596033c28f414a7 # Parent ed3a9593a2acb7fc7ac124666d873d51e3c315fd [TEST] Change create_diskpool() to use virsh pool-info Instead of checking the output of pool-list. pool-info will return a error if the guest isn't found. You can run into a problem checking the output of virsh pool-list is libvirt returns extra debug messages (etc). Signed-off-by: Kaitlin Rupert diff -r ed3a9593a2ac -r 269167924d0e suites/libvirt-cim/lib/XenKvmLib/common_util.py --- a/suites/libvirt-cim/lib/XenKvmLib/common_util.py Thu Nov 19 03:51:03 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/common_util.py Fri Nov 20 12:54:05 2009 -0800 @@ -341,10 +341,9 @@ dpoolname=dpool_list[0] if dpoolname == None: - cmd = "virsh -c %s pool-list --all | grep %s" % \ - (virt2uri(virt), dpool) + cmd = "virsh -c %s pool-info %s" % (virt2uri(virt), dpool) ret, out = utils.run_remote(server, cmd) - if out != "": + if ret == 0: logger.error("Disk pool with name '%s' already exists", dpool) return FAIL, "Unknown" _______________________________________________ Libvirt-cim mailing list Libvirt-cim at redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: graycol.gif Type: image/gif Size: 105 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pic25436.gif Type: image/gif Size: 1255 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ecblank.gif Type: image/gif Size: 45 bytes Desc: not available URL: From snmishra at us.ibm.com Tue Dec 1 01:47:29 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Mon, 30 Nov 2009 17:47:29 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Fix CSIndication and CSMigrationIndication test to prevent test hang In-Reply-To: References: Message-ID: +1 Sharad Mishra System x Enablement Linux Technology Center IBM Kaitlin Rupert To Sent by: libvirt-cim at redhat.com libvirt-cim-bounc cc es at redhat.com Subject [Libvirt-cim] [PATCH] [TEST] Fix 11/25/2009 03:09 CSIndication and PM CSMigrationIndication test to prevent test hang Please respond to List for discussion and development of libvirt CIM # HG changeset patch # User Kaitlin Rupert # Date 1259190534 28800 # Node ID e369bd94cf37d5243d3e20b3b9920873b73c2fb3 # Parent 6beff15b1ec783d6d09e1ece57d1ba0be0a8e490 [TEST] Fix CSIndication and CSMigrationIndication test to prevent test hang Signed-off-by: Kaitlin Rupert diff -r 6beff15b1ec7 -r e369bd94cf37 suites/libvirt-cim/cimtest/ComputerSystemIndication/01_created_indication.py --- a/suites/libvirt-cim/cimtest/ComputerSystemIndication/01_created_indication.py Wed Nov 25 10:12:19 2009 -0800 +++ b/suites/libvirt-cim/cimtest/ComputerSystemIndication/01_created_indication.py Wed Nov 25 15:08:54 2009 -0800 @@ -169,6 +169,9 @@ raise Exception("Unable to generate indication") status = poll_for_ind(pid, ind) + if status != PASS: + raise Exception("Poll for indication Failed") + except Exception, details: kill(pid, SIGKILL) raise Exception(details) diff -r 6beff15b1ec7 -r e369bd94cf37 suites/libvirt-cim/cimtest/ComputerSystemMigrationJobIndication/01_csmig_ind_for_offline_mig.py --- a/suites/libvirt-cim/cimtest/ComputerSystemMigrationJobIndication/01_csmig_ind_for_offline_mig.py Wed Nov 25 10:12:19 2009 -0800 +++ b/suites/libvirt-cim/cimtest/ComputerSystemMigrationJobIndication/01_csmig_ind_for_offline_mig.py Wed Nov 25 15:08:54 2009 -0800 @@ -166,6 +166,9 @@ raise Exception("Unable to generate indication") status = poll_for_ind(pid, ind_name) + if status != PASS: + raise Exception("Poll for indication Failed") + except Exception, details: kill(pid, SIGKILL) raise Exception(details) _______________________________________________ Libvirt-cim mailing list Libvirt-cim at redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: graycol.gif Type: image/gif Size: 105 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pic08754.gif Type: image/gif Size: 1255 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ecblank.gif Type: image/gif Size: 45 bytes Desc: not available URL: From snmishra at us.ibm.com Tue Dec 1 01:56:23 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Mon, 30 Nov 2009 20:56:23 -0500 Subject: [Libvirt-cim] Test Run Summary (Dec 01 2009): KVM on Red Hat Enterprise Linux Server release 5.4 Beta (Tikanga) with Pegasus Message-ID: <200912010156.nB11uNs5007022@d01av04.pok.ibm.com> ================================================= Test Run Summary (Dec 01 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: 1013 Libvirt-cim changeset: e9dd109e3503 Cimtest revision: 805 Cimtest changeset: 0d86733591d2 Total test execution: Unknown ================================================= FAIL : 5 XFAIL : 4 SKIP : 10 PASS : 157 ----------------- Total : 176 ================================================= FAIL Test Summary: Profile - 04_verify_libvirt_cim_slp_profiles.py: FAIL ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: FAIL ResourcePoolConfigurationService - 07_DeleteResourcePool.py: FAIL VirtualSystemManagementService - 15_mod_system_settings.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: ComputerSystem - 02_nosystems.py: SKIP ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP LogicalDisk - 02_nodevs.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 VSSD - 02_bootldr.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' self.url, is http://localhost self.url, is http://localhost self.url, is http://localhost self.url, is http://localhost 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' self.url, is http://localhost self.url, is http://localhost self.url, is http://localhost self.url, is http://localhost 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 -------------------------------------------------------------------- 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 -------------------------------------------------------------------- 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 -------------------------------------------------------------------- KVMRedirectionSAP - 01_enum_KVMredSAP.py: PASS -------------------------------------------------------------------- LogicalDisk - 01_disk.py: PASS -------------------------------------------------------------------- LogicalDisk - 02_nodevs.py: SKIP ERROR - System has defined domains; unable to run self.url, is http://localhost self.url, is http://localhost self.url, is http://localhost -------------------------------------------------------------------- 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 -------------------------------------------------------------------- Profile - 04_verify_libvirt_cim_slp_profiles.py: FAIL ERROR - IndexError : list index out of range Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 140, in do_try File "04_verify_libvirt_cim_slp_profiles.py", line 148, in main slp_profile_list = filter_reg_name_from_slp(slp_attrs) File "04_verify_libvirt_cim_slp_profiles.py", line 92, in filter_reg_name_from_slp temp_reg_ele = profile.rsplit(":", 1)[1].rstrip(",") IndexError: list index out of range ERROR - None -------------------------------------------------------------------- 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: 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 self.url, is http://localhost self.url, is http://localhost self.url, is http://localhost self.url, is http://localhost InvokeMethod(CreateChildResourcePool): CIM_ERR_FAILED: Pool with that name already exists -------------------------------------------------------------------- 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 self.url, is http://localhost self.url, is http://localhost self.url, is http://localhost self.url, is http://localhost self.url, is http://localhost 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 -------------------------------------------------------------------- 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 - global name 'cxml' is not defined self.url, is http://localhost self.url, is http://localhost self.url, is http://localhost self.url, is http://localhost self.url, is http://localhost self.url, is http://localhost self.url, is http://localhost self.url, is http://localhost self.url, is http://localhost self.url, is http://localhost self.url, is http://localhost -------------------------------------------------------------------- VirtualSystemManagementService - 16_removeresource.py: XFAIL ERROR - 0 RASD insts for domain/mouse:ps2 self.url, is http://localhost self.url, is http://localhost self.url, is http://localhost self.url, is http://localhost self.url, is http://localhost self.url, is http://localhost 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' self.url, is http://localhost self.url, is http://localhost self.url, is http://localhost self.url, is http://localhost 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 self.url, is http://localhost self.url, is http://localhost self.url, is http://localhost self.url, is http://localhost self.url, is http://localhost self.url, is http://localhost self.url, is http://localhost self.url, is http://localhost -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.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 -------------------------------------------------------------------- From rmaciel at linux.vnet.ibm.com Tue Dec 1 15:19:11 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Tue, 01 Dec 2009 13:19:11 -0200 Subject: [Libvirt-cim] [PATCH 0 of 2] Add a new test for checking the output of ModifyResourceSettings In-Reply-To: References: Message-ID: <4B1533EF.8010109@linux.vnet.ibm.com> +1 On 11/25/2009 04:25 PM, Kaitlin Rupert wrote: > This test corresponds to patch "Fix AddResourceSettings() so it returns > ResultingResourceSettings[ ] result". You'll need that patch applied in order > to run this test. > > _______________________________________________ > 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 rmaciel at linux.vnet.ibm.com Tue Dec 1 16:00:17 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Tue, 01 Dec 2009 14:00:17 -0200 Subject: [Libvirt-cim] [PATCH] [TEST] Fix VSMS 15 - need to pass cxml to power_down_guest() In-Reply-To: <8c635edef727257682ec.1258679351@elm3b41.beaverton.ibm.com> References: <8c635edef727257682ec.1258679351@elm3b41.beaverton.ibm.com> Message-ID: <4B153D91.9030902@linux.vnet.ibm.com> +1 On 11/19/2009 11:09 PM, Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1258679326 28800 > # Node ID 8c635edef727257682ec9f3e5a21d52bf0c39887 > # Parent ed5aa34e2a1fdd5b020015b22ee633d5b61a7a0f > [TEST] Fix VSMS 15 - need to pass cxml to power_down_guest() > > Signed-off-by: Kaitlin Rupert > > diff -r ed5aa34e2a1f -r 8c635edef727 suites/libvirt-cim/cimtest/VirtualSystemManagementService/15_mod_system_settings.py > --- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/15_mod_system_settings.py Wed Nov 18 13:39:37 2009 -0800 > +++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/15_mod_system_settings.py Thu Nov 19 17:08:46 2009 -0800 > @@ -65,7 +65,7 @@ > > return PASS, inst > > -def power_down_guest(ip, virt, dom): > +def power_down_guest(ip, virt, dom, cxml): > rev, changeset = get_provider_version(virt, ip) > > if rev< disable_change_rev and virt == "KVM": > @@ -125,7 +125,8 @@ > raise Exception("Failed to modify dom: %s" % default_dom) > > if case == "start": > - status = power_down_guest(options.ip, options.virt, default_dom) > + status = power_down_guest(options.ip, options.virt, default_dom, > + cxml) > if status != PASS: > raise Exception("Unable to disable %s" % default_dom) > > > _______________________________________________ > 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 Tue Dec 1 20:21:40 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Tue, 01 Dec 2009 12:21:40 -0800 Subject: [Libvirt-cim] [PATCH 4 of 4] Assign default IPv4 or IPv6 address depending on the flag In-Reply-To: References: Message-ID: # HG changeset patch # User Sharad Mishra # Date 1259698253 28800 # Node ID aee47d55aec26aadecf3b0f0a753c16a23b8cefb # Parent e684978394c4d7afb4febff2b51d1bcb4d1854b0 Assign default IPv4 or IPv6 address depending on the flag. Signed-off-by: Sharad Mishra diff -r e684978394c4 -r aee47d55aec2 src/Virt_VirtualSystemManagementService.c --- a/src/Virt_VirtualSystemManagementService.c Tue Dec 01 12:10:52 2009 -0800 +++ b/src/Virt_VirtualSystemManagementService.c Tue Dec 01 12:10:53 2009 -0800 @@ -970,6 +970,7 @@ const char *val; const char *msg = NULL; const char *keymap; + bool ipv6 = false; int ret; if (cu_get_str_prop(inst, "ResourceSubType", &val) != CMPI_RC_OK) { @@ -980,8 +981,14 @@ /* FIXME: Add logic to prevent address:port collisions */ if (cu_get_str_prop(inst, "Address", &val) != CMPI_RC_OK) { + CU_DEBUG("no graphics port defined, giving default"); + if (cu_get_bool_prop(inst, "IsIPv6Only", &ipv6) != CMPI_RC_OK) + ipv6 = false; + if (ipv6) + dev->dev.graphics.host = strdup("[::1]"); + else + dev->dev.graphics.host = strdup("127.0.0.1"); dev->dev.graphics.port = strdup("-1"); - dev->dev.graphics.host = strdup("127.0.0.1"); } else { ret = parse_vnc_address(val, &dev->dev.graphics.host, From snmishra at us.ibm.com Tue Dec 1 20:21:36 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Tue, 01 Dec 2009 12:21:36 -0800 Subject: [Libvirt-cim] [PATCH 0 of 4] Adding a flag to set default VNC Address. Message-ID: Signed-off-by: Sharad Mishra From snmishra at us.ibm.com Tue Dec 1 20:21:39 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Tue, 01 Dec 2009 12:21:39 -0800 Subject: [Libvirt-cim] [PATCH 3 of 4] Set Graphics Template In-Reply-To: References: Message-ID: # HG changeset patch # User Sharad Mishra # Date 1259698252 28800 # Node ID e684978394c4d7afb4febff2b51d1bcb4d1854b0 # Parent 955cc84d7c9a4964240e77e9e83adfccf40ad5c5 Set Graphics Template Signed-off-by: Sharad Mishra diff -r 955cc84d7c9a -r e684978394c4 src/Virt_SettingsDefineCapabilities.c --- a/src/Virt_SettingsDefineCapabilities.c Tue Dec 01 12:10:51 2009 -0800 +++ b/src/Virt_SettingsDefineCapabilities.c Tue Dec 01 12:10:52 2009 -0800 @@ -1555,7 +1555,8 @@ const char *id; CMPIStatus s = {CMPI_RC_OK, NULL}; const char *type[] = {"sdl", "vnc"}; - const char *addr[] = {NULL, "127.0.0.1:-1", "[::1]:-1"}; + const char *addr[] = {NULL, "127.0.0.1:-1", "[::1]:-1", + "True", "False"}; int type_ct = 2; int i,j; @@ -1580,7 +1581,7 @@ } for (i = 0; i < type_ct; i++) { - for (j = 1; j < 3; j++){ + for (j = 1; j < 5; j++){ s = set_graphics_props(ref, id, type[i], From snmishra at us.ibm.com Tue Dec 1 20:21:38 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Tue, 01 Dec 2009 12:21:38 -0800 Subject: [Libvirt-cim] [PATCH 2 of 4] Add IPv6 flag to mof file In-Reply-To: References: Message-ID: <955cc84d7c9a4964240e.1259698898@elm3b24.beaverton.ibm.com> # HG changeset patch # User Sharad Mishra # Date 1259698251 28800 # Node ID 955cc84d7c9a4964240e77e9e83adfccf40ad5c5 # Parent 52c9710d5c2db50b9b869b0a939778b25c94340d Add IPv6 flag to mof file. Signed-off-by: Sharad Mishra diff -r 52c9710d5c2d -r 955cc84d7c9a schema/ResourceAllocationSettingData.mof --- a/schema/ResourceAllocationSettingData.mof Tue Dec 01 12:10:46 2009 -0800 +++ b/schema/ResourceAllocationSettingData.mof Tue Dec 01 12:10:51 2009 -0800 @@ -139,6 +139,9 @@ [Description ("VNC password")] string Password; + + [Description ("Is IPv6 only addressing is to be used")] + boolean IsIPv6Only; }; [Description ("KVM virtual graphics device"), @@ -155,6 +158,9 @@ [Description ("VNC password")] string Password; + + [Description ("Is IPv6 only addressing is to be used")] + boolean IsIPv6Only; }; [Description ("LXC virtual graphics device"), @@ -171,6 +177,9 @@ [Description ("VNC password")] string Password; + + [Description ("Is IPv6 only addressing is to be used")] + boolean IsIPv6Only; }; [Description ("Xen virtual input device"), From snmishra at us.ibm.com Tue Dec 1 20:21:37 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Tue, 01 Dec 2009 12:21:37 -0800 Subject: [Libvirt-cim] [PATCH 1 of 4] Remove default IPv4 address In-Reply-To: References: Message-ID: <52c9710d5c2db50b9b86.1259698897@elm3b24.beaverton.ibm.com> # HG changeset patch # User Sharad Mishra # Date 1259698246 28800 # Node ID 52c9710d5c2db50b9b869b0a939778b25c94340d # Parent e9dd109e3503bd36bf3a1736a526b057d6316b54 Remove default IPv4 address. Signed-off-by: Sharad Mishra diff -r e9dd109e3503 -r 52c9710d5c2d libxkutil/device_parsing.c --- a/libxkutil/device_parsing.c Tue Nov 24 16:01:10 2009 -0800 +++ b/libxkutil/device_parsing.c Tue Dec 01 12:10:46 2009 -0800 @@ -452,7 +452,7 @@ goto err; if (gdev->host == NULL) - gdev->host = strdup("127.0.0.1"); + goto err; } vdev->type = CIM_RES_TYPE_GRAPHICS; From kaitlin at linux.vnet.ibm.com Tue Dec 1 23:09:04 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Tue, 01 Dec 2009 15:09:04 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Add some checking to SLP test to prevent an exception Message-ID: # HG changeset patch # User Kaitlin Rupert # Date 1259708930 28800 # Node ID c41efe792299a52836852b2ebd9677b4dbbe9395 # Parent 95f878569bfcf1c437f8d7230beee0876b5fffe0 [TEST] Add some checking to SLP test to prevent an exception Signed-off-by: Kaitlin Rupert diff -r 95f878569bfc -r c41efe792299 suites/libvirt-cim/cimtest/Profile/04_verify_libvirt_cim_slp_profiles.py --- a/suites/libvirt-cim/cimtest/Profile/04_verify_libvirt_cim_slp_profiles.py Tue Dec 01 10:53:39 2009 -0800 +++ b/suites/libvirt-cim/cimtest/Profile/04_verify_libvirt_cim_slp_profiles.py Tue Dec 01 15:08:50 2009 -0800 @@ -89,7 +89,11 @@ lines = line.split("RegisteredProfilesSupported") dmtf_profiles = lines[1].split("DMTF") for profile in dmtf_profiles: - temp_reg_ele = profile.rsplit(":", 1)[1].rstrip(",") + tmp_prof = profile.rsplit(":", 1) + if len(tmp_prof) < 2: + return [] + + temp_reg_ele = tmp_prof[1].rstrip(",") reg_prof_name = temp_reg_ele.rstrip(")") slp_profile_list.append(reg_prof_name) @@ -147,6 +151,10 @@ slp_profile_list = filter_reg_name_from_slp(slp_attrs) + if len(slp_profile_list) < 1: + logger.error("Failed to get profile list on %s", server) + return status + status, libvirt_cim_reg_list = get_libvirt_cim_profile_info(server, virt) if status != PASS: logger.error("Failed to enumerate profile information on %s", server) From rmaciel at linux.vnet.ibm.com Tue Dec 1 23:07:19 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Tue, 01 Dec 2009 21:07:19 -0200 Subject: [Libvirt-cim] [PATCH 0 of 2] Add new test case for recent acpi, apic, and pae support In-Reply-To: References: Message-ID: <4B15A1A7.70905@linux.vnet.ibm.com> +1 On 11/18/2009 07:50 PM, Kaitlin Rupert wrote: > > _______________________________________________ > 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 Wed Dec 2 10:18:05 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Wed, 02 Dec 2009 15:48:05 +0530 Subject: [Libvirt-cim] Test Run Summary (Dec 02 2009): KVM on Fedora release 12 (Constantine) with Pegasus Message-ID: <4B163EDD.3070102@linux.vnet.ibm.com> ================================================= Test Run Summary (Dec 02 2009): KVM on Fedora release 12 (Constantine) with Pegasus ================================================= Distro: Fedora release 12 (Constantine) Kernel: 2.6.31.5-127.fc12.x86_64 libvirt: 0.7.2 Hypervisor: QEMU 0.11.0 CIMOM: Pegasus 2.9.0 Libvirt-cim revision: 1017 Libvirt-cim changeset: aee47d55aec2 Cimtest revision: 812 Cimtest changeset: 45c6da8ca664 Total test execution: Unknown ================================================= FAIL : 3 XFAIL : 4 SKIP : 12 PASS : 159 ----------------- Total : 178 ================================================= FAIL Test Summary: SettingsDefine - 01_forward.py: FAIL SettingsDefine - 02_reverse.py: FAIL VirtualSystemManagementService - 24_define_sys_features.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 HostSystem - 05_hs_gi_errs.py: SKIP LogicalDisk - 02_nodevs.py: SKIP Profile - 04_verify_libvirt_cim_slp_profiles.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 VSSD - 02_bootldr.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 -------------------------------------------------------------------- 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 -------------------------------------------------------------------- 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: SKIP -------------------------------------------------------------------- HostSystem - 06_hs_to_vsms.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 -------------------------------------------------------------------- Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP 04_verify_libvirt_cim_slp_profiles.py:30: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - SLP tool does not exist on the machine -------------------------------------------------------------------- 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: FAIL ERROR - 6 device insts != 5 RASD insts -------------------------------------------------------------------- SettingsDefine - 02_reverse.py: FAIL ERROR - Got 6 RASDs, expected 5 ERROR - Failed to verify RASDs -------------------------------------------------------------------- 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 -------------------------------------------------------------------- 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 - 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 -------------------------------------------------------------------- VirtualSystemManagementService - 24_define_sys_features.py: FAIL ERROR - Failed to set pae for dom: features_domain -------------------------------------------------------------------- VirtualSystemManagementService - 24_verify_modifyres_output.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 -------------------------------------------------------------------- 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 -------------------------------------------------------------------- -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From deeptik at linux.vnet.ibm.com Wed Dec 2 10:52:11 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Wed, 02 Dec 2009 16:22:11 +0530 Subject: [Libvirt-cim] Re: Test Run Summary (Dec 02 2009): KVM on Fedora release 12 (Constantine) with Pegasus In-Reply-To: <4B163EDD.3070102@linux.vnet.ibm.com> References: <4B163EDD.3070102@linux.vnet.ibm.com> Message-ID: <4B1646DB.4@linux.vnet.ibm.com> Deepti B Kalakeri wrote: > ================================================= > Test Run Summary (Dec 02 2009): KVM on Fedora release 12 (Constantine) > with Pegasus > ================================================= > Distro: Fedora release 12 (Constantine) > Kernel: 2.6.31.5-127.fc12.x86_64 > libvirt: 0.7.2 > Hypervisor: QEMU 0.11.0 > CIMOM: Pegasus 2.9.0 > Libvirt-cim revision: 1017 > Libvirt-cim changeset: aee47d55aec2 > Cimtest revision: 812 > Cimtest changeset: 45c6da8ca664 > Total test execution: Unknown > ================================================= > FAIL : 3 > XFAIL : 4 > SKIP : 12 > PASS : 159 > ----------------- > Total : 178 > ================================================= > FAIL Test Summary: > SettingsDefine - 01_forward.py: FAIL > SettingsDefine - 02_reverse.py: FAIL These tests passed when run manually. Was not able to reproduce the failures > VirtualSystemManagementService - 24_define_sys_features.py: FAIL > > The test is failing because the pae and apci features are not being able to set to the domain. acpi is getting set though. -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From sandeep.ms at hp.com Wed Dec 2 13:17:00 2009 From: sandeep.ms at hp.com (Subba Rao, Sandeep M (STSD)) Date: Wed, 2 Dec 2009 13:17:00 +0000 Subject: [Libvirt-cim] Tog-pegasus cimom throws CIM_ERR_FAILED Message-ID: Hi, Getting the following error when running "wbemcli ei" command [root at linux1b01 lib]# wbemcli ei https://usr:passwd at localhost:5989/root/virt:Xen_ComputerSystem * * wbemcli: Cim: (1) CIM_ERR_FAILED: For provider Virt_ComputerSystem the library name was empty. Check provider registered location. * The modules are registered properly with the CIMOM. However the above error refers to the provider registered location. All the packages were installed successfully without any errors. Any help is much appreciated. Regards, Sandeep Following is the setup details - [root at linux1b01 lib]# cat /etc/issue Red Hat Enterprise Linux Server release 5.2 (Tikanga) Kernel \r on an \m [root at linux1b01 lib]# uname -a Linux linux1b01.vse.adapps.hp.com 2.6.18-92.el5xen #1 SMP Tue Apr 29 13:31:30 ED T 2008 x86_64 x86_64 x86_64 GNU/Linux [root at linux1b01 lib]# rpm -q tog-pegasus tog-pegasus-2.7.0-2.el5 [root at linux1b01 lib]# rpm -q sblim-cmpi-base sblim-cmpi-base-1.5.5-31.el5 [root at linux1b01 lib]# rpm -q libcmpiutil libcmpiutil-0.4-1 [root at linux1b01 lib]# rpm -q libvirt-cim libvirt-cim-0.4-1 [root at linux1b01 lib]# cimprovider -l -s MODULE STATUS OperatingSystemModule OK ComputerSystemModule OK ProcessModule OK Virt_AllocationCapabilities OK Virt_ComputerSystem OK Virt_ComputerSystemIndication OK Virt_ComputerSystemMigrationIndication OK Virt_Device OK Virt_DevicePool OK Virt_ElementAllocatedFromPool OK Virt_ElementCapabilities OK Virt_ElementConformsToProfile OK Virt_ElementSettingData OK Virt_EnabledLogicalElementCapabilities OK Virt_HostedDependency OK Virt_HostedResourcePool OK Virt_HostedService OK Virt_HostSystem OK Virt_RASD OK Virt_ReferencedProfile OK Virt_RegisteredProfile OK Virt_ResourceAllocationFromPool OK Virt_ResourcePoolConfigurationCapabilities OK Virt_ResourcePoolConfigurationService OK Virt_SettingsDefineCapabilities OK Virt_SettingsDefineState OK Virt_SystemDevice OK Virt_VirtualSystemManagementCapabilities OK Virt_VirtualSystemManagementService OK Virt_VirtualSystemSnapshotService OK Virt_VirtualSystemSnapshotServiceCapabilities OK Virt_VSMigrationCapabilities OK Virt_VSMigrationService OK Virt_VSMigrationSettingData OK Virt_VSSD OK Virt_VSSDComponent OK cmpiOSBase_BaseBoardProvider OK cmpiOSBase_ComputerSystemProvider OK cmpiOSBase_CSBaseBoardProvider OK cmpiOSBase_CSProcessorProvider OK cmpiOSBase_OperatingSystemProvider OK cmpiOSBase_OperatingSystemStatisticalDataProvider OK cmpiOSBase_OperatingSystemStatisticsProvider OK cmpiOSBase_OSProcessProvider OK cmpiOSBase_ProcessorProvider OK cmpiOSBase_RunningOSProvider OK cmpiOSBase_UnixProcessProvider OK From deeptik at linux.vnet.ibm.com Wed Dec 2 13:57:30 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Wed, 02 Dec 2009 19:27:30 +0530 Subject: [Libvirt-cim] Tog-pegasus cimom throws CIM_ERR_FAILED In-Reply-To: References: Message-ID: <4B16724A.20509@linux.vnet.ibm.com> Can you also provide the information of the following command: wbemcli ecn http://usr:passwd at localhost:5988/root/virt | grep -w Xen_ComputerSystem The above command should give you the record as below, which would mean that things are registered properly. localhost:5988/root/virt:Xen_ComputerSystem Between seems like you are using a very old version of Libvirt-CIM any specific reason ? The latest is available @ ftp://libvirt.org/libvirt-cim. Thanks!! Subba Rao, Sandeep M (STSD) wrote: > Hi, > > Getting the following error when running "wbemcli ei" command > > [root at linux1b01 lib]# wbemcli ei https://usr:passwd at localhost:5989/root/virt:Xen_ComputerSystem > * > * wbemcli: Cim: (1) CIM_ERR_FAILED: For provider Virt_ComputerSystem the library name was empty. Check provider registered location. > * > > The modules are registered properly with the CIMOM. However the above error refers to the provider registered location. > All the packages were installed successfully without any errors. > > Any help is much appreciated. > > Regards, > Sandeep > > Following is the setup details - > > [root at linux1b01 lib]# cat /etc/issue > Red Hat Enterprise Linux Server release 5.2 (Tikanga) Kernel \r on an \m > > [root at linux1b01 lib]# uname -a > Linux linux1b01.vse.adapps.hp.com 2.6.18-92.el5xen #1 SMP Tue Apr 29 13:31:30 ED T 2008 x86_64 x86_64 x86_64 GNU/Linux > [root at linux1b01 lib]# rpm -q tog-pegasus > tog-pegasus-2.7.0-2.el5 > [root at linux1b01 lib]# rpm -q sblim-cmpi-base > sblim-cmpi-base-1.5.5-31.el5 > [root at linux1b01 lib]# rpm -q libcmpiutil > libcmpiutil-0.4-1 > [root at linux1b01 lib]# rpm -q libvirt-cim > libvirt-cim-0.4-1 > [root at linux1b01 lib]# cimprovider -l -s > MODULE STATUS > OperatingSystemModule OK > ComputerSystemModule OK > ProcessModule OK > Virt_AllocationCapabilities OK > Virt_ComputerSystem OK > Virt_ComputerSystemIndication OK > Virt_ComputerSystemMigrationIndication OK > Virt_Device OK > Virt_DevicePool OK > Virt_ElementAllocatedFromPool OK > Virt_ElementCapabilities OK > Virt_ElementConformsToProfile OK > Virt_ElementSettingData OK > Virt_EnabledLogicalElementCapabilities OK > Virt_HostedDependency OK > Virt_HostedResourcePool OK > Virt_HostedService OK > Virt_HostSystem OK > Virt_RASD OK > Virt_ReferencedProfile OK > Virt_RegisteredProfile OK > Virt_ResourceAllocationFromPool OK > Virt_ResourcePoolConfigurationCapabilities OK > Virt_ResourcePoolConfigurationService OK > Virt_SettingsDefineCapabilities OK > Virt_SettingsDefineState OK > Virt_SystemDevice OK > Virt_VirtualSystemManagementCapabilities OK > Virt_VirtualSystemManagementService OK > Virt_VirtualSystemSnapshotService OK > Virt_VirtualSystemSnapshotServiceCapabilities OK > Virt_VSMigrationCapabilities OK > Virt_VSMigrationService OK > Virt_VSMigrationSettingData OK > Virt_VSSD OK > Virt_VSSDComponent OK > cmpiOSBase_BaseBoardProvider OK > cmpiOSBase_ComputerSystemProvider OK > cmpiOSBase_CSBaseBoardProvider OK > cmpiOSBase_CSProcessorProvider OK > cmpiOSBase_OperatingSystemProvider OK > cmpiOSBase_OperatingSystemStatisticalDataProvider OK > cmpiOSBase_OperatingSystemStatisticsProvider OK > cmpiOSBase_OSProcessProvider OK > cmpiOSBase_ProcessorProvider OK > cmpiOSBase_RunningOSProvider OK > cmpiOSBase_UnixProcessProvider OK > > _______________________________________________ > 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 Wed Dec 2 22:04:11 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Wed, 02 Dec 2009 14:04:11 -0800 Subject: [Libvirt-cim] Release of libvirt-cim 0.5.8 Message-ID: <4B16E45B.9020007@linux.vnet.ibm.com> A new release of libvirt-cim is now available at: ftp://libvirt.org/libvirt-cim/ * Features: - IPv6 support: * Defining guests with IPv6 VNC addresses * Representing VNC graphics devices configured with IPv6 addresses - Allow user to specify ACPI, PAE, and APIC support for a given guest * Bug fixes: - Return ResultingResourceSettings output parameter from AddResourceSettings() and ModifyResourceSettings() - Misc. memory leaks - Misc. libvirt connection leaks - SLP advertisement with Pegasus - Minor spec file related fixes -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Wed Dec 2 22:49:56 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Wed, 02 Dec 2009 14:49:56 -0800 Subject: [Libvirt-cim] Tog-pegasus cimom throws CIM_ERR_FAILED In-Reply-To: <4B16724A.20509@linux.vnet.ibm.com> References: <4B16724A.20509@linux.vnet.ibm.com> Message-ID: <4B16EF14.6090301@linux.vnet.ibm.com> Deepti B Kalakeri wrote: > Can you also provide the information of the following command: > > wbemcli ecn http://usr:passwd at localhost:5988/root/virt | grep -w > Xen_ComputerSystem > > The above command should give you the record as below, which would mean > that things are registered properly. > localhost:5988/root/virt:Xen_ComputerSystem > > Between seems like you are using a very old version of Libvirt-CIM any > specific reason ? > The latest is available @ ftp://libvirt.org/libvirt-cim. > > Thanks!! > > > Subba Rao, Sandeep M (STSD) wrote: >> Hi, >> >> Getting the following error when running "wbemcli ei" command >> >> [root at linux1b01 lib]# wbemcli ei >> https://usr:passwd at localhost:5989/root/virt:Xen_ComputerSystem >> * >> * wbemcli: Cim: (1) CIM_ERR_FAILED: For provider Virt_ComputerSystem >> the library name was empty. Check provider registered location. This error occurs when Pegasus can't find the provider. libvirt-cim installs into /usr/lib64/cmpi. You should have a corresponding /etc/ld.so.conf.d/libvirt-cim.conf that gets installed. You should be able to run "ldconfig" and then run "ldconfig -p | grep Virt_ComputerSystem" The second command should return the location of the Virt_ComputerSystem provider. It should look like the following: # ldconfig -p | grep Virt_ComputerSystem libVirt_ComputerSystemMigrationIndication.so.0 (libc6,x86-64) => /usr/lib64/cmpi/libVirt_ComputerSystemMigrationIndication.so.0 libVirt_ComputerSystemMigrationIndication.so (libc6,x86-64) => /usr/lib64/cmpi/libVirt_ComputerSystemMigrationIndication.so libVirt_ComputerSystemIndication.so.0 (libc6,x86-64) => /usr/lib64/cmpi/libVirt_ComputerSystemIndication.so.0 libVirt_ComputerSystemIndication.so (libc6,x86-64) => /usr/lib64/cmpi/libVirt_ComputerSystemIndication.so libVirt_ComputerSystem.so.0 (libc6,x86-64) => /usr/lib64/cmpi/libVirt_ComputerSystem.so.0 libVirt_ComputerSystem.so (libc6,x86-64) => /usr/lib64/cmpi/libVirt_ComputerSystem.so If you don't see this, check to make sure /etc/ld.so.conf.d/libvirt-cim.conf exists. If you do see this output, but Pegasus still returns an error, then I would take a look at your Pegasus settings. You can check /etc/Pegasus/cimserver_plannaed.conf to see if the providerDir option is set. If it is, add "/usr/lib64/cmpi/" to the list and restart. >> * >> >> The modules are registered properly with the CIMOM. However the above >> error refers to the provider registered location. >> All the packages were installed successfully without any errors. >> Any help is much appreciated. >> >> Regards, >> Sandeep >> >> Following is the setup details - >> [root at linux1b01 lib]# cat /etc/issue >> Red Hat Enterprise Linux Server release 5.2 (Tikanga) Kernel \r on an \m >> >> [root at linux1b01 lib]# uname -a >> Linux linux1b01.vse.adapps.hp.com 2.6.18-92.el5xen #1 SMP Tue Apr 29 >> 13:31:30 >> ED >> T 2008 x86_64 x86_64 x86_64 GNU/Linux >> [root at linux1b01 lib]# rpm -q tog-pegasus >> tog-pegasus-2.7.0-2.el5 >> [root at linux1b01 lib]# rpm -q sblim-cmpi-base >> sblim-cmpi-base-1.5.5-31.el5 >> [root at linux1b01 lib]# rpm -q libcmpiutil >> libcmpiutil-0.4-1 >> [root at linux1b01 lib]# rpm -q libvirt-cim >> libvirt-cim-0.4-1 >> [root at linux1b01 lib]# cimprovider -l -s >> MODULE STATUS >> OperatingSystemModule OK >> ComputerSystemModule OK >> ProcessModule OK >> Virt_AllocationCapabilities OK >> Virt_ComputerSystem OK >> Virt_ComputerSystemIndication OK >> Virt_ComputerSystemMigrationIndication OK >> Virt_Device OK >> Virt_DevicePool OK >> Virt_ElementAllocatedFromPool OK >> Virt_ElementCapabilities OK >> Virt_ElementConformsToProfile OK >> Virt_ElementSettingData OK >> Virt_EnabledLogicalElementCapabilities OK >> Virt_HostedDependency OK >> Virt_HostedResourcePool OK >> Virt_HostedService OK >> Virt_HostSystem OK >> Virt_RASD OK >> Virt_ReferencedProfile OK >> Virt_RegisteredProfile OK >> Virt_ResourceAllocationFromPool OK >> Virt_ResourcePoolConfigurationCapabilities OK >> Virt_ResourcePoolConfigurationService OK >> Virt_SettingsDefineCapabilities OK >> Virt_SettingsDefineState OK >> Virt_SystemDevice OK >> Virt_VirtualSystemManagementCapabilities OK >> Virt_VirtualSystemManagementService OK >> Virt_VirtualSystemSnapshotService OK >> Virt_VirtualSystemSnapshotServiceCapabilities OK >> Virt_VSMigrationCapabilities OK >> Virt_VSMigrationService OK >> Virt_VSMigrationSettingData OK >> Virt_VSSD OK >> Virt_VSSDComponent OK >> cmpiOSBase_BaseBoardProvider OK >> cmpiOSBase_ComputerSystemProvider OK >> cmpiOSBase_CSBaseBoardProvider OK >> cmpiOSBase_CSProcessorProvider OK >> cmpiOSBase_OperatingSystemProvider OK >> cmpiOSBase_OperatingSystemStatisticalDataProvider OK >> cmpiOSBase_OperatingSystemStatisticsProvider OK >> cmpiOSBase_OSProcessProvider OK >> cmpiOSBase_ProcessorProvider OK >> cmpiOSBase_RunningOSProvider OK >> cmpiOSBase_UnixProcessProvider OK >> >> _______________________________________________ >> Libvirt-cim mailing list >> Libvirt-cim at redhat.com >> https://www.redhat.com/mailman/listinfo/libvirt-cim >> > From snmishra at us.ibm.com Thu Dec 3 00:25:24 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Wed, 02 Dec 2009 16:25:24 -0800 Subject: [Libvirt-cim] [PATCH 3 of 3] [TEST] IPv6 Support test In-Reply-To: References: Message-ID: <8926b390373385cbe7f9.1259799924@elm3b24.beaverton.ibm.com> # HG changeset patch # User Sharad Mishra # Date 1259799625 28800 # Node ID 8926b390373385cbe7f984d2c861fb7e76022558 # Parent 8a1871391e3757b54e3ad3992236f14da9d9b564 [TEST] IPv6 Support test. This test checks support for IPv6 in libvirt-cim. Signed-off-by: Sharad Mishra diff -r 8a1871391e37 -r 8926b3903733 suites/libvirt-cim/cimtest/KVMRedirectionSAP/02_ipv6_support.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/suites/libvirt-cim/cimtest/KVMRedirectionSAP/02_ipv6_support.py Wed Dec 02 16:20:25 2009 -0800 @@ -0,0 +1,132 @@ +#!/usr/bin/python +# +# Copyright 2009 IBM Corp. +# +# Authors: +# Sharad Mishra +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# This test case is used to verify IPv6 support. It verifies that if an IP +# address is supplied, that address gets used for VNC. If an address is not +# supplied then the new IsIPv6Only flag is read. If the flag is set, then +# default ipv6 address is used. Else default ipv4 address gets used. +# This test case: +# +# Defines a guest in a loop with different settings of IP +# address and IsIPv6Only flag. +# +# Once the guest is defined, gets the instance of DisplayController +# and GRASD. +# Checks to make sure expected vnc address is set for both. +# +# Date : Nov. 11, 2009 +# + +import sys +from XenKvmLib.enumclass import GetInstance +from XenKvmLib.vxml import get_class +from XenKvmLib.classes import get_typed_class +from XenKvmLib.const import do_main, get_provider_version +from CimTest.Globals import logger +from CimTest.ReturnCodes import PASS, FAIL, SKIP + +sup_types = ['Xen', 'KVM', 'XenFV'] +libvirtcim_redSAP_changes = 1017 +test_dom = 'test_ipv6_dom' + +address_dict = {('127.0.0.1', None) : '127.0.0.1:-1', + ('[::1]', None) : '[::1]:-1', + ('127.0.0.1', True) : '127.0.0.1:-1', + ('[::1]', False) : '[::1]:-1', + ('127.0.0.1', False) : '127.0.0.1:-1', + ('[::1]', True) : '[::1]:-1', + (None, True) : '[::1]:-1', + (None, False) : '127.0.0.1:-1', + (None, None) : '127.0.0.1:-1' + } + + at do_main(sup_types) +def main(): + status = PASS + virt = main.options.virt + server = main.options.ip + + cname = 'KVMRedirectionSAP' + classname = get_typed_class(virt, cname) + + # This check is required for libvirt-cim providers which do not have + # REDSAP changes in it and the REDSAP provider is available with + # revision >= 1017. + curr_cim_rev, changeset = get_provider_version(virt, server) + if curr_cim_rev < libvirtcim_redSAP_changes: + logger.info("'%s' provider not supported, hence skipping the tc ....", + classname) + return SKIP + + vsxml = None + + try: + virt_xml = get_class(virt) + for key, value in address_dict.iteritems(): + add = key[0] + flg = key[1] + if add == None: + vsxml = virt_xml(test_dom, IsIPv6Only=flg) + else: + vsxml = virt_xml(test_dom, address=add, IsIPv6Only=flg) + # Define the VS + ret = vsxml.cim_define(server) + if not ret: + raise Exception("Failed to define the dom: %s" % test_dom) + + devid = "%s/%s" % (test_dom, 'graphics') + vnc = get_typed_class(virt, "DisplayController") + key_list = { 'DeviceID' : devid, + 'CreationClassName' : vnc, + 'SystemName' : test_dom, + 'SystemCreationClassName' : + get_typed_class(virt, "ComputerSystem") + } + dev = GetInstance(server, vnc, key_list) + vp = "vnc/%s" % value + + if vp != dev.VideoProcessor: + vsmxl.undefine(server) + raise Exception("Unxpected VNC server address") + + vnc = get_typed_class(virt, "GraphicsResourceAllocationSettingData") + key_list = { 'InstanceID' : devid, + 'CreationClassName' : vnc, + 'SystemName' : test_dom, + 'SystemCreationClassName' : + get_typed_class(virt, "ComputerSystem") + } + dev = GetInstance(server, vnc, key_list) + + if value != dev.Address: + vsmxl.undefine(server) + raise Exception("Unxpected VNC server address") + + vsxml.undefine(server) + + except Exception, detail: + logger.error("Exception: %s", detail) + status = FAIL + + return status + +if __name__ == "__main__": + sys.exit(main()) From snmishra at us.ibm.com Thu Dec 3 00:25:23 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Wed, 02 Dec 2009 16:25:23 -0800 Subject: [Libvirt-cim] [PATCH 2 of 3] [TEST] Changes to vsms for IPv6 testcase In-Reply-To: References: Message-ID: <8a1871391e3757b54e3a.1259799923@elm3b24.beaverton.ibm.com> # HG changeset patch # User Sharad Mishra # Date 1259799211 28800 # Node ID 8a1871391e3757b54e3ad3992236f14da9d9b564 # Parent 75243e330ed72b9d57516019ef9b185960503f17 [TEST] Changes to vsms for IPv6 testcase. Signed-off-by: Sharad Mishra diff -r 75243e330ed7 -r 8a1871391e37 suites/libvirt-cim/lib/XenKvmLib/vsms.py --- a/suites/libvirt-cim/lib/XenKvmLib/vsms.py Wed Dec 02 16:13:22 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/vsms.py Wed Dec 02 16:13:31 2009 -0800 @@ -255,7 +255,7 @@ class CIM_GraphicsResourceAllocationSettingData(CIMClassMOF): - def __init__(self, name, res_sub_type="vnc", ip="127.0.0.1", + def __init__(self, name, res_sub_type="vnc", ip="", ipv6="", lport='-1', keymap="en-us", vnc_passwd=None): self.InstanceID = '%s/graphics' %name self.ResourceType = RASD_TYPE_GRAPHICS @@ -266,6 +266,9 @@ if ip != None and lport != None: self.Address = '%s:%s' % (ip, lport) + if ipv6 != None: + self.IsIPv6Only = ipv6 + if keymap != None: self.KeyMap = keymap From snmishra at us.ibm.com Thu Dec 3 00:25:21 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Wed, 02 Dec 2009 16:25:21 -0800 Subject: [Libvirt-cim] [PATCH 0 of 3] [TEST] IPv6 testcase Message-ID: Signed-off-by: Sharad Mishra From snmishra at us.ibm.com Thu Dec 3 00:25:22 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Wed, 02 Dec 2009 16:25:22 -0800 Subject: [Libvirt-cim] [PATCH 1 of 3] [TEST] Changes to vxml for IPv6 Support In-Reply-To: References: Message-ID: <75243e330ed72b9d5751.1259799922@elm3b24.beaverton.ibm.com> # HG changeset patch # User Sharad Mishra # Date 1259799202 28800 # Node ID 75243e330ed72b9d57516019ef9b185960503f17 # Parent 45c6da8ca664a61a727b0c0d1811c4337efb53b0 [TEST] Changes to vxml for IPv6 Support Signed-off-by: Sharad Mishra diff -r 45c6da8ca664 -r 75243e330ed7 suites/libvirt-cim/lib/XenKvmLib/vxml.py --- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Tue Dec 01 16:08:15 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Wed Dec 02 16:13:22 2009 -0800 @@ -569,7 +569,7 @@ def __init__(self, virt, dom_name, uuid, pae, acpi, apic, disk_dev, disk_source, net_type, net_name, net_mac, vcpus, mem, mem_allocunits, emu_type, grstype, ip, - port_num, kmap, irstype, btype, vnc_passwd): + IsIPv6Only, port_num, kmap, irstype, btype, vnc_passwd): self.virt = virt self.domain_name = dom_name self.err_rc = None @@ -591,6 +591,7 @@ dom_name, emu_type) self.gasd = vsms.get_gasd_class(virt)(name=dom_name, res_sub_type=grstype, ip=ip, + ipv6=IsIPv6Only, lport=port_num, keymap=kmap, vnc_passwd=vnc_passwd) self.masd = vsms.get_masd_class(virt)(megabytes=mem, @@ -813,7 +814,8 @@ disk=const.Xen_default_disk_dev, ntype=const.default_net_type, net_name=const.default_network_name, - emu_type=None, grstype="vnc", address="127.0.0.1", + emu_type=None, grstype="vnc", address=None, + IsIPv6Only=True, port_num='-1', keymap="en-us", irstype="mouse", btype="xen", vnc_passwd=None): if not (os.path.exists(const.Xen_kernel_path) \ @@ -828,7 +830,8 @@ VirtCIM.__init__(self, 'Xen', test_dom, uuid, pae, acpi, apic, disk, disk_file_path, ntype, net_name, mac, vcpus, mem, mem_allocunits, emu_type, grstype, address, - port_num, keymap, irstype, btype, vnc_passwd) + IsIPv6Only, port_num, keymap, irstype, btype, + vnc_passwd) def _os(self, os_kernel, os_initrd): os = self.get_node('/domain/os') @@ -882,7 +885,8 @@ disk=const.KVM_default_disk_dev, ntype=const.default_net_type, net_name=const.default_network_name, - emu_type=None, grstype="vnc", address="127.0.0.1", + emu_type=None, grstype="vnc", address=None, + IsIPv6Only=True, port_num='-1', keymap="en-us", irstype="mouse", btype="ps2", vnc_passwd=None): if not os.path.exists(disk_file_path): @@ -892,7 +896,8 @@ VirtCIM.__init__(self, 'KVM', test_dom, uuid, pae, acpi, apic, disk, disk_file_path, ntype, net_name, mac, vcpus, mem, mem_allocunits, emu_type, grstype, address, - port_num, keymap, irstype, btype, vnc_passwd) + IsIPv6Only, port_num, keymap, irstype, btype, + vnc_passwd) self._os() self._devices(const.KVM_default_emulator, ntype, disk_file_path, disk, mac, net_name) @@ -942,7 +947,8 @@ ntype=const.default_net_type, net_name=const.default_network_name, emu_type=None, grstype="vnc", - address="127.0.0.1", port_num='-1', keymap="en-us", + address=None, IsIPv6Only=True, port_num='-1', + keymap="en-us", irstype="mouse", btype="ps2", vnc_passwd=None): if not os.path.exists(disk_file_path): logger.error('Error: Disk image does not exist') @@ -950,7 +956,8 @@ VirtXML.__init__(self, 'xenfv', test_dom, set_uuid(), mem, vcpus) VirtCIM.__init__(self, 'XenFV', test_dom, disk, uuid, pae, acpi, apic, disk_file_path, ntype, net_name, mac, vcpus, mem, - mem_allocunits, emu_type, grstype, address, port_num, + mem_allocunits, emu_type, grstype, address, + IsIPv6Only, port_num, keymap, irstype, btype, vnc_passwd) self._os(const.XenFV_default_loader) self._devices(const.XenFV_default_emulator, @@ -993,13 +1000,15 @@ ntype=const.default_net_type, net_name=const.default_network_name, tty=const.LXC_default_tty, grstype="vnc", - address="127.0.0.1", port_num='-1', keymap="en-us", + address=None, IsIPv6Only=True, port_num='-1', + keymap="en-us", irstype="mouse", btype="usb", vnc_passwd=None): VirtXML.__init__(self, 'lxc', test_dom, set_uuid(), mem, vcpus) VirtCIM.__init__(self, 'LXC', test_dom, uuid, const.LXC_default_mp, const.LXC_default_source, ntype, net_name, mac, vcpus, mem, const.default_mallocunits, None, grstype, - address, port_num, keymap, irstype, btype, vnc_passwd) + address, IsIPv6Only, port_num, keymap, irstype, + btype, vnc_passwd) self._os(const.LXC_init_path) self._devices(const.LXC_default_emulator, mac, ntype, net_name, const.LXC_default_tty) self.create_lxc_file(CIM_IP, const.LXC_init_path) From deeptik at linux.vnet.ibm.com Thu Dec 3 08:33:05 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Thu, 03 Dec 2009 14:03:05 +0530 Subject: [Libvirt-cim] [PATCH] [TEST] Add some checking to SLP test to prevent an exception In-Reply-To: References: Message-ID: <4B1777C1.204@linux.vnet.ibm.com> +1 -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Thu Dec 3 18:01:08 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 03 Dec 2009 10:01:08 -0800 Subject: [Libvirt-cim] [PATCH 2 of 3] [TEST] Changes to vsms for IPv6 testcase In-Reply-To: <8a1871391e3757b54e3a.1259799923@elm3b24.beaverton.ibm.com> References: <8a1871391e3757b54e3a.1259799923@elm3b24.beaverton.ibm.com> Message-ID: <4B17FCE4.6000606@linux.vnet.ibm.com> Sharad Mishra wrote: > # HG changeset patch > # User Sharad Mishra > # Date 1259799211 28800 > # Node ID 8a1871391e3757b54e3ad3992236f14da9d9b564 > # Parent 75243e330ed72b9d57516019ef9b185960503f17 > [TEST] Changes to vsms for IPv6 testcase. > > Signed-off-by: Sharad Mishra > > diff -r 75243e330ed7 -r 8a1871391e37 suites/libvirt-cim/lib/XenKvmLib/vsms.py > --- a/suites/libvirt-cim/lib/XenKvmLib/vsms.py Wed Dec 02 16:13:22 2009 -0800 > +++ b/suites/libvirt-cim/lib/XenKvmLib/vsms.py Wed Dec 02 16:13:31 2009 -0800 > @@ -255,7 +255,7 @@ > > > class CIM_GraphicsResourceAllocationSettingData(CIMClassMOF): > - def __init__(self, name, res_sub_type="vnc", ip="127.0.0.1", > + def __init__(self, name, res_sub_type="vnc", ip="", ipv6="", I would change ip="" to ip=None and ipv6="" to ipv6=None. Also, ip and ipv6 is a little ambiguous. Just looking at the input parameters, I'm not sure what the difference is between the two. I'd change ipv6 to something like "set_ipv6". Something similar that indicates its a boolean flag that indicates what type of IP is being passed in for the ip param. > lport='-1', keymap="en-us", vnc_passwd=None): > self.InstanceID = '%s/graphics' %name > self.ResourceType = RASD_TYPE_GRAPHICS > @@ -266,6 +266,9 @@ > if ip != None and lport != None: > self.Address = '%s:%s' % (ip, lport) > > + if ipv6 != None: > + self.IsIPv6Only = ipv6 > + > if keymap != None: > self.KeyMap = keymap > > > _______________________________________________ > Libvirt-cim mailing list > Libvirt-cim at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-cim From kaitlin at linux.vnet.ibm.com Thu Dec 3 18:06:50 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 03 Dec 2009 10:06:50 -0800 Subject: [Libvirt-cim] [PATCH 3 of 3] [TEST] IPv6 Support test In-Reply-To: <8926b390373385cbe7f9.1259799924@elm3b24.beaverton.ibm.com> References: <8926b390373385cbe7f9.1259799924@elm3b24.beaverton.ibm.com> Message-ID: <4B17FE3A.9020709@linux.vnet.ibm.com> > + > + if vp != dev.VideoProcessor: > + vsmxl.undefine(server) > + raise Exception("Unxpected VNC server address") > + > + vnc = get_typed_class(virt, "GraphicsResourceAllocationSettingData") > + key_list = { 'InstanceID' : devid, > + 'CreationClassName' : vnc, > + 'SystemName' : test_dom, > + 'SystemCreationClassName' : > + get_typed_class(virt, "ComputerSystem") > + } > + dev = GetInstance(server, vnc, key_list) > + > + if value != dev.Address: > + vsmxl.undefine(server) > + raise Exception("Unxpected VNC server address") > + > + vsxml.undefine(server) > + > + except Exception, detail: > + logger.error("Exception: %s", detail) > + status = FAIL Instead of calling undefine before each call to raise Exception(), why not put the undefine call in the except block? This means you'll only need to call undefine() once for any exception. And if this test case is extended in the future, it'll safe guard against an accidental exclusion of the undefine() call when an exception occurs. > + > + 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 From snmishra at us.ibm.com Thu Dec 3 18:13:45 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Thu, 3 Dec 2009 10:13:45 -0800 Subject: [Libvirt-cim] [PATCH 3 of 3] [TEST] IPv6 Support test In-Reply-To: <4B17FE3A.9020709@linux.vnet.ibm.com> References: <8926b390373385cbe7f9.1259799924@elm3b24.beaverton.ibm.com> <4B17FE3A.9020709@linux.vnet.ibm.com> Message-ID: > > + > > + except Exception, detail: > > + logger.error("Exception: %s", detail) > > + status = FAIL > > Instead of calling undefine before each call to raise Exception(), why > not put the undefine call in the except block? This means you'll only > need to call undefine() once for any exception. And if this test case > is extended in the future, it'll safe guard against an accidental > exclusion of the undefine() call when an exception occurs. There is an exception raised if define fails. We don't want to call undefine if the VM wasn't defined. -Sharad -------------- next part -------------- An HTML attachment was scrubbed... URL: From kaitlin at linux.vnet.ibm.com Thu Dec 3 18:18:49 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 03 Dec 2009 10:18:49 -0800 Subject: [Libvirt-cim] [PATCH 3 of 3] [TEST] IPv6 Support test In-Reply-To: References: <8926b390373385cbe7f9.1259799924@elm3b24.beaverton.ibm.com> <4B17FE3A.9020709@linux.vnet.ibm.com> Message-ID: <4B180109.9050007@linux.vnet.ibm.com> Sharad Mishra wrote: > > > > + > > > + except Exception, detail: > > > + logger.error("Exception: %s", detail) > > > + status = FAIL > > > > Instead of calling undefine before each call to raise Exception(), why > > not put the undefine call in the except block? This means you'll only > > need to call undefine() once for any exception. And if this test case > > is extended in the future, it'll safe guard against an accidental > > exclusion of the undefine() call when an exception occurs. > > There is an exception raised if define fails. We don't want to call > undefine if the VM wasn't defined. Ah, agreed. Although, many of test cases do this anyway. Because we don't check the output of undefine() (except for certain occasions). So the worst thing that happens is that the undefine() call returns an error. And we get some additional negative testing in... Generally, I prefer to make sure the cleanup happens in one place - that way it is easy to tell whether the test is cleaning up properly. But this is a good point. It's fine to leave it as is. From kaitlin at linux.vnet.ibm.com Thu Dec 3 18:04:28 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 03 Dec 2009 10:04:28 -0800 Subject: [Libvirt-cim] [PATCH 1 of 3] [TEST] Changes to vxml for IPv6 Support In-Reply-To: <75243e330ed72b9d5751.1259799922@elm3b24.beaverton.ibm.com> References: <75243e330ed72b9d5751.1259799922@elm3b24.beaverton.ibm.com> Message-ID: <4B17FDAC.6040809@linux.vnet.ibm.com> Sharad Mishra wrote: > # HG changeset patch > # User Sharad Mishra > # Date 1259799202 28800 > # Node ID 75243e330ed72b9d57516019ef9b185960503f17 > # Parent 45c6da8ca664a61a727b0c0d1811c4337efb53b0 > [TEST] Changes to vxml for IPv6 Support > > Signed-off-by: Sharad Mishra > > diff -r 45c6da8ca664 -r 75243e330ed7 suites/libvirt-cim/lib/XenKvmLib/vxml.py > --- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Tue Dec 01 16:08:15 2009 -0800 > +++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Wed Dec 02 16:13:22 2009 -0800 > @@ -569,7 +569,7 @@ > def __init__(self, virt, dom_name, uuid, pae, acpi, apic, disk_dev, > disk_source, net_type, net_name, net_mac, vcpus, mem, > mem_allocunits, emu_type, grstype, ip, > - port_num, kmap, irstype, btype, vnc_passwd): > + IsIPv6Only, port_num, kmap, irstype, btype, vnc_passwd): Can you change this from camel case to lower case? The other parameters use lower case, so might as well have them match. I wouldn't normally point it out, but there's one other change needed for this patch. > self.virt = virt > self.domain_name = dom_name > self.err_rc = None > @@ -591,6 +591,7 @@ > dom_name, emu_type) > self.gasd = vsms.get_gasd_class(virt)(name=dom_name, > res_sub_type=grstype, ip=ip, > + ipv6=IsIPv6Only, > lport=port_num, keymap=kmap, > vnc_passwd=vnc_passwd) > self.masd = vsms.get_masd_class(virt)(megabytes=mem, From snmishra at us.ibm.com Fri Dec 4 00:44:32 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Thu, 03 Dec 2009 16:44:32 -0800 Subject: [Libvirt-cim] [PATCH 3 of 3] [TEST] (#2) IPv6 Support test In-Reply-To: References: Message-ID: <233a91c19b857d1016d2.1259887472@elm3b24.beaverton.ibm.com> # HG changeset patch # User Sharad Mishra # Date 1259886917 28800 # Node ID 233a91c19b857d1016d2df0ebd6c4526a3e4b89c # Parent be49d6153b0830a04c6e8f7184c847ff7f2ad684 [TEST] (#2) IPv6 Support test. This test checks support for IPv6 in libvirt-cim. #2: Changed ipv6 to ipv6_flag and IsIPv6Only to is_ipv6_only Signed-off-by: Sharad Mishra diff -r be49d6153b08 -r 233a91c19b85 suites/libvirt-cim/cimtest/KVMRedirectionSAP/02_ipv6_support.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/suites/libvirt-cim/cimtest/KVMRedirectionSAP/02_ipv6_support.py Thu Dec 03 16:35:17 2009 -0800 @@ -0,0 +1,138 @@ +#!/usr/bin/python +# +# Copyright 2009 IBM Corp. +# +# Authors: +# Sharad Mishra +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# This test case is used to verify IPv6 support. It verifies that if an IP +# address is supplied, that address gets used for VNC. If an address is not +# supplied then the new is_ipv6_only flag is read. If the flag is set, then +# default ipv6 address is used. Else default ipv4 address gets used. +# This test case: +# +# Defines a guest in a loop with different settings of IP +# address and is_ipv6_only flag. +# +# Once the guest is defined, gets the instance of DisplayController +# and GRASD. +# Checks to make sure expected vnc address is set for both. +# +# Date : Nov. 11, 2009 +# + +import sys +from XenKvmLib.enumclass import GetInstance +from XenKvmLib.vxml import get_class +from XenKvmLib.classes import get_typed_class +from XenKvmLib.const import do_main, get_provider_version +from CimTest.Globals import logger +from CimTest.ReturnCodes import PASS, FAIL, SKIP + +sup_types = ['Xen', 'KVM', 'XenFV'] +libvirtcim_redSAP_changes = 1017 +test_dom = 'test_ipv6_dom' + +address_dict = {('127.0.0.1', None) : '127.0.0.1:-1', + ('[::1]', None) : '[::1]:-1', + ('127.0.0.1', True) : '127.0.0.1:-1', + ('[::1]', False) : '[::1]:-1', + ('127.0.0.1', False) : '127.0.0.1:-1', + ('[::1]', True) : '[::1]:-1', + (None, True) : '[::1]:-1', + (None, False) : '127.0.0.1:-1', + (None, None) : '127.0.0.1:-1' + } + + at do_main(sup_types) +def main(): + status = PASS + virt = main.options.virt + server = main.options.ip + + cname = 'KVMRedirectionSAP' + classname = get_typed_class(virt, cname) + + # This check is required for libvirt-cim providers which do not have + # REDSAP changes in it and the REDSAP provider is available with + # revision >= 1017. + curr_cim_rev, changeset = get_provider_version(virt, server) + if curr_cim_rev < libvirtcim_redSAP_changes: + logger.info("'%s' provider not supported, hence skipping the tc ....", + classname) + return SKIP + + vsxml = None + + try: + virt_xml = get_class(virt) + for key, value in address_dict.iteritems(): + print key + print value + add = key[0] + flg = key[1] + if add == None: + vsxml = virt_xml(test_dom, is_ipv6_only=flg) + else: + vsxml = virt_xml(test_dom, address=add, is_ipv6_only=flg) + print vsxml + # Define the VS + ret = vsxml.cim_define(server) + if not ret: + raise Exception("Failed to define the dom: %s" % test_dom) + + devid = "%s/%s" % (test_dom, 'graphics') + vnc = get_typed_class(virt, "DisplayController") + print "vnc is %s" % vnc + key_list = { 'DeviceID' : devid, + 'CreationClassName' : vnc, + 'SystemName' : test_dom, + 'SystemCreationClassName' : + get_typed_class(virt, "ComputerSystem") + } + dev = GetInstance(server, vnc, key_list) + vp = "vnc/%s" % value + + print dev + if vp != dev.VideoProcessor: + vsxml.undefine(server) + raise Exception("Unxpected VNC server address") + + vnc = get_typed_class(virt, "GraphicsResourceAllocationSettingData") + key_list = { 'InstanceID' : devid, + 'CreationClassName' : vnc, + 'SystemName' : test_dom, + 'SystemCreationClassName' : + get_typed_class(virt, "ComputerSystem") + } + dev = GetInstance(server, vnc, key_list) + + print dev + if value != dev.Address: + vsxml.undefine(server) + raise Exception("Unxpected VNC server address") + + vsxml.undefine(server) + + except Exception, detail: + logger.error("Exception: %s", detail) + status = FAIL + + return status + +if __name__ == "__main__": + sys.exit(main()) From snmishra at us.ibm.com Fri Dec 4 00:44:31 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Thu, 03 Dec 2009 16:44:31 -0800 Subject: [Libvirt-cim] [PATCH 2 of 3] [TEST] (#2) Changes to vsms for IPv6 testcase In-Reply-To: References: Message-ID: # HG changeset patch # User Sharad Mishra # Date 1259886916 28800 # Node ID be49d6153b0830a04c6e8f7184c847ff7f2ad684 # Parent 9d767d98ffbf90aaf06f714581f210d17cfca9cb [TEST] (#2) Changes to vsms for IPv6 testcase. #2: Name changes, ipv6 to ipv6_flag and IsIPv6Only to is_ipv6_only Signed-off-by: Sharad Mishra diff -r 9d767d98ffbf -r be49d6153b08 suites/libvirt-cim/lib/XenKvmLib/vsms.py --- a/suites/libvirt-cim/lib/XenKvmLib/vsms.py Thu Dec 03 16:35:08 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/vsms.py Thu Dec 03 16:35:16 2009 -0800 @@ -255,7 +255,7 @@ class CIM_GraphicsResourceAllocationSettingData(CIMClassMOF): - def __init__(self, name, res_sub_type="vnc", ip="127.0.0.1", + def __init__(self, name, res_sub_type="vnc", ip=None, ipv6_flag=None, lport='-1', keymap="en-us", vnc_passwd=None): self.InstanceID = '%s/graphics' %name self.ResourceType = RASD_TYPE_GRAPHICS @@ -266,6 +266,9 @@ if ip != None and lport != None: self.Address = '%s:%s' % (ip, lport) + if ipv6_flag != None: + self.is_ipv6_only = ipv6_flag + if keymap != None: self.KeyMap = keymap From snmishra at us.ibm.com Fri Dec 4 00:44:29 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Thu, 03 Dec 2009 16:44:29 -0800 Subject: [Libvirt-cim] [PATCH 0 of 3] [TEST] IPv6 test case. Message-ID: Signed-off-by: Sharad Mishra From snmishra at us.ibm.com Fri Dec 4 00:44:30 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Thu, 03 Dec 2009 16:44:30 -0800 Subject: [Libvirt-cim] [PATCH 1 of 3] [TEST] (#2) Changes to vxml for IPv6 Support In-Reply-To: References: Message-ID: <9d767d98ffbf90aaf06f.1259887470@elm3b24.beaverton.ibm.com> # HG changeset patch # User Sharad Mishra # Date 1259886908 28800 # Node ID 9d767d98ffbf90aaf06f714581f210d17cfca9cb # Parent 45c6da8ca664a61a727b0c0d1811c4337efb53b0 [TEST] (#2) Changes to vxml for IPv6 Support #2: Name changes, ipv6 to ipv6_flag and IsIPv6Only to is_ipv6_only Signed-off-by: Sharad Mishra diff -r 45c6da8ca664 -r 9d767d98ffbf suites/libvirt-cim/lib/XenKvmLib/vxml.py --- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Tue Dec 01 16:08:15 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Thu Dec 03 16:35:08 2009 -0800 @@ -569,7 +569,7 @@ def __init__(self, virt, dom_name, uuid, pae, acpi, apic, disk_dev, disk_source, net_type, net_name, net_mac, vcpus, mem, mem_allocunits, emu_type, grstype, ip, - port_num, kmap, irstype, btype, vnc_passwd): + is_ipv6_only, port_num, kmap, irstype, btype, vnc_passwd): self.virt = virt self.domain_name = dom_name self.err_rc = None @@ -591,6 +591,7 @@ dom_name, emu_type) self.gasd = vsms.get_gasd_class(virt)(name=dom_name, res_sub_type=grstype, ip=ip, + ipv6_flag=is_ipv6_only, lport=port_num, keymap=kmap, vnc_passwd=vnc_passwd) self.masd = vsms.get_masd_class(virt)(megabytes=mem, @@ -813,7 +814,8 @@ disk=const.Xen_default_disk_dev, ntype=const.default_net_type, net_name=const.default_network_name, - emu_type=None, grstype="vnc", address="127.0.0.1", + emu_type=None, grstype="vnc", address=None, + is_ipv6_only=True, port_num='-1', keymap="en-us", irstype="mouse", btype="xen", vnc_passwd=None): if not (os.path.exists(const.Xen_kernel_path) \ @@ -828,7 +830,8 @@ VirtCIM.__init__(self, 'Xen', test_dom, uuid, pae, acpi, apic, disk, disk_file_path, ntype, net_name, mac, vcpus, mem, mem_allocunits, emu_type, grstype, address, - port_num, keymap, irstype, btype, vnc_passwd) + is_ipv6_only, port_num, keymap, irstype, btype, + vnc_passwd) def _os(self, os_kernel, os_initrd): os = self.get_node('/domain/os') @@ -882,7 +885,8 @@ disk=const.KVM_default_disk_dev, ntype=const.default_net_type, net_name=const.default_network_name, - emu_type=None, grstype="vnc", address="127.0.0.1", + emu_type=None, grstype="vnc", address=None, + is_ipv6_only=True, port_num='-1', keymap="en-us", irstype="mouse", btype="ps2", vnc_passwd=None): if not os.path.exists(disk_file_path): @@ -892,7 +896,8 @@ VirtCIM.__init__(self, 'KVM', test_dom, uuid, pae, acpi, apic, disk, disk_file_path, ntype, net_name, mac, vcpus, mem, mem_allocunits, emu_type, grstype, address, - port_num, keymap, irstype, btype, vnc_passwd) + is_ipv6_only, port_num, keymap, irstype, btype, + vnc_passwd) self._os() self._devices(const.KVM_default_emulator, ntype, disk_file_path, disk, mac, net_name) @@ -942,7 +947,8 @@ ntype=const.default_net_type, net_name=const.default_network_name, emu_type=None, grstype="vnc", - address="127.0.0.1", port_num='-1', keymap="en-us", + address=None, is_ipv6_only=True, port_num='-1', + keymap="en-us", irstype="mouse", btype="ps2", vnc_passwd=None): if not os.path.exists(disk_file_path): logger.error('Error: Disk image does not exist') @@ -950,7 +956,8 @@ VirtXML.__init__(self, 'xenfv', test_dom, set_uuid(), mem, vcpus) VirtCIM.__init__(self, 'XenFV', test_dom, disk, uuid, pae, acpi, apic, disk_file_path, ntype, net_name, mac, vcpus, mem, - mem_allocunits, emu_type, grstype, address, port_num, + mem_allocunits, emu_type, grstype, address, + is_ipv6_only, port_num, keymap, irstype, btype, vnc_passwd) self._os(const.XenFV_default_loader) self._devices(const.XenFV_default_emulator, @@ -993,13 +1000,15 @@ ntype=const.default_net_type, net_name=const.default_network_name, tty=const.LXC_default_tty, grstype="vnc", - address="127.0.0.1", port_num='-1', keymap="en-us", + address=None, is_ipv6_only=True, port_num='-1', + keymap="en-us", irstype="mouse", btype="usb", vnc_passwd=None): VirtXML.__init__(self, 'lxc', test_dom, set_uuid(), mem, vcpus) VirtCIM.__init__(self, 'LXC', test_dom, uuid, const.LXC_default_mp, const.LXC_default_source, ntype, net_name, mac, vcpus, mem, const.default_mallocunits, None, grstype, - address, port_num, keymap, irstype, btype, vnc_passwd) + address, is_ipv6_only, port_num, keymap, irstype, + btype, vnc_passwd) self._os(const.LXC_init_path) self._devices(const.LXC_default_emulator, mac, ntype, net_name, const.LXC_default_tty) self.create_lxc_file(CIM_IP, const.LXC_init_path) From snmishra at us.ibm.com Fri Dec 4 00:51:00 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Thu, 03 Dec 2009 16:51:00 -0800 Subject: [Libvirt-cim] [PATCH 1 of 2] Variable name change in VSMS In-Reply-To: References: Message-ID: # HG changeset patch # User Sharad Mishra # Date 1259887733 28800 # Node ID c43110511d0391a0b3203212ba85d658cc046291 # Parent 282660c5e43aba6b284a9909144b9df14dc95f5b Variable name change in VSMS. Name was changed from IsIPv6Only to is_ipv6_only Signed-off-by: Sharad Mishra diff -r 282660c5e43a -r c43110511d03 src/Virt_VirtualSystemManagementService.c --- a/src/Virt_VirtualSystemManagementService.c Wed Dec 02 12:48:47 2009 -0800 +++ b/src/Virt_VirtualSystemManagementService.c Thu Dec 03 16:48:53 2009 -0800 @@ -982,7 +982,7 @@ /* FIXME: Add logic to prevent address:port collisions */ if (cu_get_str_prop(inst, "Address", &val) != CMPI_RC_OK) { CU_DEBUG("no graphics port defined, giving default"); - if (cu_get_bool_prop(inst, "IsIPv6Only", &ipv6) != CMPI_RC_OK) + if (cu_get_bool_prop(inst, "is_ipv6_only", &ipv6) != CMPI_RC_OK) ipv6 = false; if (ipv6) dev->dev.graphics.host = strdup("[::1]"); From snmishra at us.ibm.com Fri Dec 4 00:50:59 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Thu, 03 Dec 2009 16:50:59 -0800 Subject: [Libvirt-cim] [PATCH 0 of 2] Camel case to lower case variable name change. Message-ID: Signed-off-by: Sharad Mishra From snmishra at us.ibm.com Fri Dec 4 00:51:01 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Thu, 03 Dec 2009 16:51:01 -0800 Subject: [Libvirt-cim] [PATCH 2 of 2] mof file changes In-Reply-To: References: Message-ID: # HG changeset patch # User Sharad Mishra # Date 1259887744 28800 # Node ID ca47600f4ce1e2f5e4f2057f47eb0cf7366d4e3f # Parent c43110511d0391a0b3203212ba85d658cc046291 mof file changes. Varialbe name had changed in provider. Signed-off-by: Sharad Mishra diff -r c43110511d03 -r ca47600f4ce1 schema/ResourceAllocationSettingData.mof --- a/schema/ResourceAllocationSettingData.mof Thu Dec 03 16:48:53 2009 -0800 +++ b/schema/ResourceAllocationSettingData.mof Thu Dec 03 16:49:04 2009 -0800 @@ -141,7 +141,7 @@ string Password; [Description ("Is IPv6 only addressing is to be used")] - boolean IsIPv6Only; + boolean is_ipv6_only; }; [Description ("KVM virtual graphics device"), @@ -160,7 +160,7 @@ string Password; [Description ("Is IPv6 only addressing is to be used")] - boolean IsIPv6Only; + boolean is_ipv6_only; }; [Description ("LXC virtual graphics device"), @@ -179,7 +179,7 @@ string Password; [Description ("Is IPv6 only addressing is to be used")] - boolean IsIPv6Only; + boolean is_ipv6_only; }; [Description ("Xen virtual input device"), From kaitlin at linux.vnet.ibm.com Fri Dec 4 00:48:31 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 03 Dec 2009 16:48:31 -0800 Subject: [Libvirt-cim] [PATCH 0 of 2] Camel case to lower case variable name change. In-Reply-To: References: Message-ID: <4B185C5F.9090001@linux.vnet.ibm.com> I don't think these changes are necessary. IsIPv6Only fits the DMTF's naming convention for attributes. I would say to leave the attribute name as is. Sharad Mishra wrote: > Signed-off-by: Sharad Mishra > > _______________________________________________ > 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 snmishra at us.ibm.com Fri Dec 4 01:03:55 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Thu, 3 Dec 2009 17:03:55 -0800 Subject: [Libvirt-cim] [PATCH 0 of 2] Camel case to lower case variable name change. In-Reply-To: <4B185C5F.9090001@linux.vnet.ibm.com> References: <4B185C5F.9090001@linux.vnet.ibm.com> Message-ID: Kaitlin, But when cimtest's vxml.py calls DefineSystem - ########### service.DefineSystem(SystemSettings=sys_settings, ResourceSettings=res_settings, ReferenceConfiguration=ref_conf) ############# it passes "res_settings" and these were set in vsms.py as - ************ class CIM_GraphicsResourceAllocationSettingData(CIMClassMOF): def __init__(self, name, res_sub_type="vnc", ip=None, ipv6_flag=None, lport='-1', keymap="en-us", vnc_passwd=None): self.InstanceID = '%s/graphics' %name self.ResourceType = RASD_TYPE_GRAPHICS if res_sub_type != None: self.ResourceSubType = res_sub_type if ip != None and lport != None: self.Address = '%s:%s' % (ip, lport) if ipv6_flag != None::% self.is_ipv6_only = ipv6_flag ************* So the name should change in VSMS.c too. Sharad Mishra System x Enablement Linux Technology Center IBM: libvirt-cim-bounces at redhat.com wrote on 12/03/2009 04:48:31 PM: > Kaitlin Rupert > Sent by: libvirt-cim-bounces at redhat.com > > 12/03/2009 04:48 PM > > Please respond to > List for discussion and development of libvirt CIM > > To > > List for discussion and development of libvirt CIM > > cc > > Subject > > Re: [Libvirt-cim] [PATCH 0 of 2] Camel case to lower case variable > name change. > > I don't think these changes are necessary. IsIPv6Only fits the DMTF's > naming convention for attributes. I would say to leave the attribute > name as is. > > Sharad Mishra wrote: > > Signed-off-by: Sharad Mishra > > > > _______________________________________________ > > 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 > > _______________________________________________ > Libvirt-cim mailing list > Libvirt-cim at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-cim -------------- next part -------------- An HTML attachment was scrubbed... URL: From kaitlin at linux.vnet.ibm.com Fri Dec 4 15:35:29 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 04 Dec 2009 07:35:29 -0800 Subject: [Libvirt-cim] [PATCH 0 of 2] Camel case to lower case variable name change. In-Reply-To: References: <4B185C5F.9090001@linux.vnet.ibm.com> Message-ID: <4B192C41.7060404@linux.vnet.ibm.com> Sharad Mishra wrote: > Kaitlin, > > But when cimtest's vxml.py calls DefineSystem - > > ########### > service.DefineSystem(SystemSettings=sys_settings, > ResourceSettings=res_settings, > ReferenceConfiguration=ref_conf) > ############# > > > it passes "res_settings" and these were set in vsms.py as - > > ************ > class CIM_GraphicsResourceAllocationSettingData(CIMClassMOF): > def __init__(self, name, res_sub_type="vnc", ip=None, ipv6_flag=None, > lport='-1', keymap="en-us", vnc_passwd=None): > self.InstanceID = '%s/graphics' %name > self.ResourceType = RASD_TYPE_GRAPHICS > > if res_sub_type != None: > self.ResourceSubType = res_sub_type > > if ip != None and lport != None: > self.Address = '%s:%s' % (ip, lport) > > if ipv6_flag != None: > self.is_ipv6_only = ipv6_flag Hi Sharad, Sorry for being unclear here. self.IsIPv6Only is correct. So you should have: ***************** > class CIM_GraphicsResourceAllocationSettingData(CIMClassMOF): > def __init__(self, name, res_sub_type="vnc", ip=None, ipv6_flag=None, > lport='-1', keymap="en-us", vnc_passwd=None): > self.InstanceID = '%s/graphics' %name > self.ResourceType = RASD_TYPE_GRAPHICS > > if res_sub_type != None: > self.ResourceSubType = res_sub_type > > if ip != None and lport != None: > self.Address = '%s:%s' % (ip, lport) > > if ipv6_flag != None: > self.IsIPv6Only = ipv6_flag ******************* The camel case I wanted you to remove from the test case was the following: >diff -r 45c6da8ca664 -r 75243e330ed7 >suites/libvirt-cim/lib/XenKvmLib/vxml.py >--- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Tue Dec 01 16:08:15 >2009 -0800 >+++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Wed Dec 02 16:13:22 >2009 -0800 >@@ -569,7 +569,7 @@ > def __init__(self, virt, dom_name, uuid, pae, acpi, apic, >disk_dev, disk_source, net_type, net_name, net_mac, >vcpus, mem, > mem_allocunits, emu_type, grstype, ip, >- port_num, kmap, irstype, btype, vnc_passwd): >+ IsIPv6Only, port_num, kmap, irstype, btype, >vnc_passwd): Just this piece here. This is the __init__ definition. So "IsIPv6Only" here is simply a parameter name for the __init__ function. It doesn't represent the actual attribute name at this point. It's just holds a value - we can name it whatever. As all other a parameter names for this function are lower case, this one should be as well. Does this make sense? > ************* > > So the name should change in VSMS.c too. > > Sharad Mishra > System x Enablement > Linux Technology Center > IBM > -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From rmaciel at linux.vnet.ibm.com Tue Dec 1 22:36:45 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Tue, 01 Dec 2009 22:36:45 -0000 Subject: [Libvirt-cim] [PATCH] [TEST] VirtCIM init for the LXC virt must also receive pae, acpi and apic param Message-ID: <1c723b6b44a4a49f0139.1259707005@localhost.localdomain> # HG changeset patch # User Richard Maciel # Date 1259704363 7200 # Node ID 1c723b6b44a4a49f01395dc9f30249824e44b9ca # Parent 9445f602d8a8705743254f85ef426d284ab382d4 [TEST] VirtCIM init for the LXC virt must also receive pae, acpi and apic param Signed-off-by: Richard Maciel diff -r 9445f602d8a8 -r 1c723b6b44a4 suites/libvirt-cim/lib/XenKvmLib/vxml.py --- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Wed Nov 18 13:50:16 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Tue Dec 01 19:52:43 2009 -0200 @@ -996,10 +996,13 @@ address="127.0.0.1", port_num='-1', keymap="en-us", irstype="mouse", btype="usb", vnc_passwd=None): VirtXML.__init__(self, 'lxc', test_dom, set_uuid(), mem, vcpus) - VirtCIM.__init__(self, 'LXC', test_dom, uuid, const.LXC_default_mp, - const.LXC_default_source, ntype, net_name, mac, vcpus, - mem, const.default_mallocunits, None, grstype, - address, port_num, keymap, irstype, btype, vnc_passwd) + # pae, acpi and apic parameters doesn't make sense here, so we statically set + # them to False (a.k.a. ignore them) + VirtCIM.__init__(self, 'LXC', test_dom, uuid, False, False, False, + const.LXC_default_mp, const.LXC_default_source, ntype, + net_name, mac, vcpus, mem, const.default_mallocunits, + None, grstype, address, port_num, keymap, irstype, btype, + vnc_passwd) self._os(const.LXC_init_path) self._devices(const.LXC_default_emulator, mac, ntype, net_name, const.LXC_default_tty) self.create_lxc_file(CIM_IP, const.LXC_init_path) From snmishra at us.ibm.com Fri Dec 4 19:18:25 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Fri, 04 Dec 2009 11:18:25 -0800 Subject: [Libvirt-cim] [PATCH 2 of 3] [TEST] (#3) Changes to vsms for IPv6 testcase In-Reply-To: References: Message-ID: <57a2b2bd5855b6b98beb.1259954305@elm3b24.beaverton.ibm.com> # HG changeset patch # User Sharad Mishra # Date 1259953910 28800 # Node ID 57a2b2bd5855b6b98beb4a0a32b013b7aac80293 # Parent 9d767d98ffbf90aaf06f714581f210d17cfca9cb [TEST] (#3) Changes to vsms for IPv6 testcase. #2: Name changes, ipv6 to ipv6_flag and IsIPv6Only to is_ipv6_only #3: Changing is_ipv6_only to IsIPv6Only Signed-off-by: Sharad Mishra diff -r 9d767d98ffbf -r 57a2b2bd5855 suites/libvirt-cim/lib/XenKvmLib/vsms.py --- a/suites/libvirt-cim/lib/XenKvmLib/vsms.py Thu Dec 03 16:35:08 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/vsms.py Fri Dec 04 11:11:50 2009 -0800 @@ -255,7 +255,7 @@ class CIM_GraphicsResourceAllocationSettingData(CIMClassMOF): - def __init__(self, name, res_sub_type="vnc", ip="127.0.0.1", + def __init__(self, name, res_sub_type="vnc", ip=None, ipv6_flag=None, lport='-1', keymap="en-us", vnc_passwd=None): self.InstanceID = '%s/graphics' %name self.ResourceType = RASD_TYPE_GRAPHICS @@ -266,6 +266,9 @@ if ip != None and lport != None: self.Address = '%s:%s' % (ip, lport) + if ipv6_flag != None: + self.IsIPv6Only = ipv6_flag + if keymap != None: self.KeyMap = keymap From snmishra at us.ibm.com Fri Dec 4 19:18:24 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Fri, 04 Dec 2009 11:18:24 -0800 Subject: [Libvirt-cim] [PATCH 1 of 3] [TEST] (#2) Changes to vxml for IPv6 Support In-Reply-To: References: Message-ID: <9d767d98ffbf90aaf06f.1259954304@elm3b24.beaverton.ibm.com> # HG changeset patch # User Sharad Mishra # Date 1259886908 28800 # Node ID 9d767d98ffbf90aaf06f714581f210d17cfca9cb # Parent 45c6da8ca664a61a727b0c0d1811c4337efb53b0 [TEST] (#2) Changes to vxml for IPv6 Support #2: Name changes, ipv6 to ipv6_flag and IsIPv6Only to is_ipv6_only Signed-off-by: Sharad Mishra diff -r 45c6da8ca664 -r 9d767d98ffbf suites/libvirt-cim/lib/XenKvmLib/vxml.py --- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Tue Dec 01 16:08:15 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Thu Dec 03 16:35:08 2009 -0800 @@ -569,7 +569,7 @@ def __init__(self, virt, dom_name, uuid, pae, acpi, apic, disk_dev, disk_source, net_type, net_name, net_mac, vcpus, mem, mem_allocunits, emu_type, grstype, ip, - port_num, kmap, irstype, btype, vnc_passwd): + is_ipv6_only, port_num, kmap, irstype, btype, vnc_passwd): self.virt = virt self.domain_name = dom_name self.err_rc = None @@ -591,6 +591,7 @@ dom_name, emu_type) self.gasd = vsms.get_gasd_class(virt)(name=dom_name, res_sub_type=grstype, ip=ip, + ipv6_flag=is_ipv6_only, lport=port_num, keymap=kmap, vnc_passwd=vnc_passwd) self.masd = vsms.get_masd_class(virt)(megabytes=mem, @@ -813,7 +814,8 @@ disk=const.Xen_default_disk_dev, ntype=const.default_net_type, net_name=const.default_network_name, - emu_type=None, grstype="vnc", address="127.0.0.1", + emu_type=None, grstype="vnc", address=None, + is_ipv6_only=True, port_num='-1', keymap="en-us", irstype="mouse", btype="xen", vnc_passwd=None): if not (os.path.exists(const.Xen_kernel_path) \ @@ -828,7 +830,8 @@ VirtCIM.__init__(self, 'Xen', test_dom, uuid, pae, acpi, apic, disk, disk_file_path, ntype, net_name, mac, vcpus, mem, mem_allocunits, emu_type, grstype, address, - port_num, keymap, irstype, btype, vnc_passwd) + is_ipv6_only, port_num, keymap, irstype, btype, + vnc_passwd) def _os(self, os_kernel, os_initrd): os = self.get_node('/domain/os') @@ -882,7 +885,8 @@ disk=const.KVM_default_disk_dev, ntype=const.default_net_type, net_name=const.default_network_name, - emu_type=None, grstype="vnc", address="127.0.0.1", + emu_type=None, grstype="vnc", address=None, + is_ipv6_only=True, port_num='-1', keymap="en-us", irstype="mouse", btype="ps2", vnc_passwd=None): if not os.path.exists(disk_file_path): @@ -892,7 +896,8 @@ VirtCIM.__init__(self, 'KVM', test_dom, uuid, pae, acpi, apic, disk, disk_file_path, ntype, net_name, mac, vcpus, mem, mem_allocunits, emu_type, grstype, address, - port_num, keymap, irstype, btype, vnc_passwd) + is_ipv6_only, port_num, keymap, irstype, btype, + vnc_passwd) self._os() self._devices(const.KVM_default_emulator, ntype, disk_file_path, disk, mac, net_name) @@ -942,7 +947,8 @@ ntype=const.default_net_type, net_name=const.default_network_name, emu_type=None, grstype="vnc", - address="127.0.0.1", port_num='-1', keymap="en-us", + address=None, is_ipv6_only=True, port_num='-1', + keymap="en-us", irstype="mouse", btype="ps2", vnc_passwd=None): if not os.path.exists(disk_file_path): logger.error('Error: Disk image does not exist') @@ -950,7 +956,8 @@ VirtXML.__init__(self, 'xenfv', test_dom, set_uuid(), mem, vcpus) VirtCIM.__init__(self, 'XenFV', test_dom, disk, uuid, pae, acpi, apic, disk_file_path, ntype, net_name, mac, vcpus, mem, - mem_allocunits, emu_type, grstype, address, port_num, + mem_allocunits, emu_type, grstype, address, + is_ipv6_only, port_num, keymap, irstype, btype, vnc_passwd) self._os(const.XenFV_default_loader) self._devices(const.XenFV_default_emulator, @@ -993,13 +1000,15 @@ ntype=const.default_net_type, net_name=const.default_network_name, tty=const.LXC_default_tty, grstype="vnc", - address="127.0.0.1", port_num='-1', keymap="en-us", + address=None, is_ipv6_only=True, port_num='-1', + keymap="en-us", irstype="mouse", btype="usb", vnc_passwd=None): VirtXML.__init__(self, 'lxc', test_dom, set_uuid(), mem, vcpus) VirtCIM.__init__(self, 'LXC', test_dom, uuid, const.LXC_default_mp, const.LXC_default_source, ntype, net_name, mac, vcpus, mem, const.default_mallocunits, None, grstype, - address, port_num, keymap, irstype, btype, vnc_passwd) + address, is_ipv6_only, port_num, keymap, irstype, + btype, vnc_passwd) self._os(const.LXC_init_path) self._devices(const.LXC_default_emulator, mac, ntype, net_name, const.LXC_default_tty) self.create_lxc_file(CIM_IP, const.LXC_init_path) From snmishra at us.ibm.com Fri Dec 4 19:18:26 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Fri, 04 Dec 2009 11:18:26 -0800 Subject: [Libvirt-cim] [PATCH 3 of 3] [TEST] (#3) IPv6 Support test In-Reply-To: References: Message-ID: <4c6ff17748f6aad392e4.1259954306@elm3b24.beaverton.ibm.com> # HG changeset patch # User Sharad Mishra # Date 1259954298 28800 # Node ID 4c6ff17748f6aad392e40a2c20ae3ba6d6eb563e # Parent 57a2b2bd5855b6b98beb4a0a32b013b7aac80293 [TEST] (#3) IPv6 Support test. This test checks support for IPv6 in libvirt-cim. #2: Changed ipv6 to ipv6_flag and IsIPv6Only to is_ipv6_only #3: Removed some debug print statements, that were accidently left in #2. Signed-off-by: Sharad Mishra diff -r 57a2b2bd5855 -r 4c6ff17748f6 suites/libvirt-cim/cimtest/KVMRedirectionSAP/02_ipv6_support.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/suites/libvirt-cim/cimtest/KVMRedirectionSAP/02_ipv6_support.py Fri Dec 04 11:18:18 2009 -0800 @@ -0,0 +1,132 @@ +#!/usr/bin/python +# +# Copyright 2009 IBM Corp. +# +# Authors: +# Sharad Mishra +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# This test case is used to verify IPv6 support. It verifies that if an IP +# address is supplied, that address gets used for VNC. If an address is not +# supplied then the new is_ipv6_only flag is read. If the flag is set, then +# default ipv6 address is used. Else default ipv4 address gets used. +# This test case: +# +# Defines a guest in a loop with different settings of IP +# address and is_ipv6_only flag. +# +# Once the guest is defined, gets the instance of DisplayController +# and GRASD. +# Checks to make sure expected vnc address is set for both. +# +# Date : Nov. 11, 2009 +# + +import sys +from XenKvmLib.enumclass import GetInstance +from XenKvmLib.vxml import get_class +from XenKvmLib.classes import get_typed_class +from XenKvmLib.const import do_main, get_provider_version +from CimTest.Globals import logger +from CimTest.ReturnCodes import PASS, FAIL, SKIP + +sup_types = ['Xen', 'KVM', 'XenFV'] +libvirtcim_redSAP_changes = 1017 +test_dom = 'test_ipv6_dom' + +address_dict = {('127.0.0.1', None) : '127.0.0.1:-1', + ('[::1]', None) : '[::1]:-1', + ('127.0.0.1', True) : '127.0.0.1:-1', + ('[::1]', False) : '[::1]:-1', + ('127.0.0.1', False) : '127.0.0.1:-1', + ('[::1]', True) : '[::1]:-1', + (None, True) : '[::1]:-1', + (None, False) : '127.0.0.1:-1', + (None, None) : '127.0.0.1:-1' + } + + at do_main(sup_types) +def main(): + status = PASS + virt = main.options.virt + server = main.options.ip + + cname = 'KVMRedirectionSAP' + classname = get_typed_class(virt, cname) + + # This check is required for libvirt-cim providers which do not have + # REDSAP changes in it and the REDSAP provider is available with + # revision >= 1017. + curr_cim_rev, changeset = get_provider_version(virt, server) + if curr_cim_rev < libvirtcim_redSAP_changes: + logger.info("'%s' provider not supported, hence skipping the tc ....", + classname) + return SKIP + + vsxml = None + + try: + virt_xml = get_class(virt) + for key, value in address_dict.iteritems(): + add = key[0] + flg = key[1] + if add == None: + vsxml = virt_xml(test_dom, is_ipv6_only=flg) + else: + vsxml = virt_xml(test_dom, address=add, is_ipv6_only=flg) + # Define the VS + ret = vsxml.cim_define(server) + if not ret: + raise Exception("Failed to define the dom: %s" % test_dom) + + devid = "%s/%s" % (test_dom, 'graphics') + vnc = get_typed_class(virt, "DisplayController") + key_list = { 'DeviceID' : devid, + 'CreationClassName' : vnc, + 'SystemName' : test_dom, + 'SystemCreationClassName' : + get_typed_class(virt, "ComputerSystem") + } + dev = GetInstance(server, vnc, key_list) + vp = "vnc/%s" % value + + if vp != dev.VideoProcessor: + vsxml.undefine(server) + raise Exception("Unxpected VNC server address") + + vnc = get_typed_class(virt, "GraphicsResourceAllocationSettingData") + key_list = { 'InstanceID' : devid, + 'CreationClassName' : vnc, + 'SystemName' : test_dom, + 'SystemCreationClassName' : + get_typed_class(virt, "ComputerSystem") + } + dev = GetInstance(server, vnc, key_list) + + if value != dev.Address: + vsxml.undefine(server) + raise Exception("Unxpected VNC server address") + + vsxml.undefine(server) + + except Exception, detail: + logger.error("Exception: %s", detail) + status = FAIL + + return status + +if __name__ == "__main__": + sys.exit(main()) From snmishra at us.ibm.com Fri Dec 4 19:18:23 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Fri, 04 Dec 2009 11:18:23 -0800 Subject: [Libvirt-cim] [PATCH 0 of 3] [TEST] IPv6 test case Message-ID: Signed-off-by: Sharad Mishra From kaitlin at linux.vnet.ibm.com Fri Dec 4 22:22:32 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 04 Dec 2009 14:22:32 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] VirtCIM init for the LXC virt must also receive pae, acpi and apic param In-Reply-To: <1c723b6b44a4a49f0139.1259707005@localhost.localdomain> References: <1c723b6b44a4a49f0139.1259707005@localhost.localdomain> Message-ID: <4B198BA8.3050409@linux.vnet.ibm.com> Richard Maciel wrote: > # HG changeset patch > # User Richard Maciel > # Date 1259704363 7200 > # Node ID 1c723b6b44a4a49f01395dc9f30249824e44b9ca > # Parent 9445f602d8a8705743254f85ef426d284ab382d4 > [TEST] VirtCIM init for the LXC virt must also receive pae, acpi and apic param > > Signed-off-by: Richard Maciel > > diff -r 9445f602d8a8 -r 1c723b6b44a4 suites/libvirt-cim/lib/XenKvmLib/vxml.py > --- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Wed Nov 18 13:50:16 2009 -0800 > +++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Tue Dec 01 19:52:43 2009 -0200 > @@ -996,10 +996,13 @@ > address="127.0.0.1", port_num='-1', keymap="en-us", > irstype="mouse", btype="usb", vnc_passwd=None): > VirtXML.__init__(self, 'lxc', test_dom, set_uuid(), mem, vcpus) > - VirtCIM.__init__(self, 'LXC', test_dom, uuid, const.LXC_default_mp, > - const.LXC_default_source, ntype, net_name, mac, vcpus, > - mem, const.default_mallocunits, None, grstype, > - address, port_num, keymap, irstype, btype, vnc_passwd) > + # pae, acpi and apic parameters doesn't make sense here, so we statically set This line is over 80 characters. I know some of the other lines in vxml are over 80 characters - they were written prior to when we started enforcing a coding style. I'd love to see those lines fixed as well, but that's a subject for a different patch ;) -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Fri Dec 4 23:14:37 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 04 Dec 2009 15:14:37 -0800 Subject: [Libvirt-cim] [PATCH] Xen version 3.3.0 doesn't accept system in the migration URI Message-ID: # HG changeset patch # User Kaitlin Rupert # Date 1259882291 28800 # Node ID a8972b732291267c0d695709f311f76dbcc015ca # Parent 282660c5e43aba6b284a9909144b9df14dc95f5b Xen version 3.3.0 doesn't accept system in the migration URI This change has been tested with Xen version 3.1.0. Also tests against KVM to check for regressions. diff -r 282660c5e43a -r a8972b732291 src/Virt_VSMigrationService.c --- a/src/Virt_VSMigrationService.c Wed Dec 02 12:48:47 2009 -0800 +++ b/src/Virt_VSMigrationService.c Thu Dec 03 15:18:11 2009 -0800 @@ -186,7 +186,12 @@ goto out; } - rc = asprintf(&uri, "%s+%s://%s/system", prefix, tport, dest); + if (STREQC(prefix, "xen")) + rc = asprintf(&uri, "%s+%s://%s", prefix, tport, dest); + else { + rc = asprintf(&uri, "%s+%s://%s/system", prefix, tport, dest); + } + if (rc == -1) { uri = NULL; goto out; From kaitlin at linux.vnet.ibm.com Fri Dec 4 23:17:02 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 04 Dec 2009 15:17:02 -0800 Subject: [Libvirt-cim] [PATCH] Remove duplicate code in _netpool_member_of() Message-ID: <67abfd38dce38599a702.1259968622@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1259893229 28800 # Node ID 67abfd38dce38599a70213327df509bd1f967d03 # Parent 57490fca41e5b1f2ecc893bf22771a6c718df161 Remove duplicate code in _netpool_member_of() diff -r 57490fca41e5 -r 67abfd38dce3 src/Virt_DevicePool.c --- a/src/Virt_DevicePool.c Thu Dec 03 18:20:28 2009 -0800 +++ b/src/Virt_DevicePool.c Thu Dec 03 18:20:29 2009 -0800 @@ -490,12 +490,6 @@ goto out; } - if (ndev->source == NULL) { - CU_DEBUG("Unable to determine pool since no network " - "source defined"); - goto out; - } - if (STREQ(ndev->type, "bridge")) net = bridge_to_network(conn, ndev->source); else if (STREQ(ndev->type, "network")) From kaitlin at linux.vnet.ibm.com Fri Dec 4 23:32:51 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 04 Dec 2009 15:32:51 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Clean up CS 01 - import necessary items from Globals Message-ID: # HG changeset patch # User Kaitlin Rupert # Date 1259878320 28800 # Node ID e9de3634a25633777e40bd80cc400a07ed42c6e1 # Parent 60eb89c3ac9db80ef89401c48a9711e59f12b4bc [TEST] Clean up CS 01 - import necessary items from Globals No need to import Globals directly. Also, clean up formatting of error messages. diff -r 60eb89c3ac9d -r d3e61b6dde50 suites/libvirt-cim/cimtest/ComputerSystem/0 1_enum.py diff -r 60eb89c3ac9d -r e9de3634a256 suites/libvirt-cim/cimtest/ComputerSystem/01_enum.py --- a/suites/libvirt-cim/cimtest/ComputerSystem/01_enum.py Tue Dec 01 15:08:50 2009 -0800 +++ b/suites/libvirt-cim/cimtest/ComputerSystem/01_enum.py Thu Dec 03 14:12:00 2009 -0800 @@ -28,7 +28,7 @@ from XenKvmLib.xm_virt_util import domain_list from XenKvmLib.classes import get_typed_class from VirtLib import utils -from CimTest import Globals +from CimTest.Globals import logger, CIM_ERROR_ENUMERATE from CimTest.ReturnCodes import PASS, FAIL SUPPORTED_TYPES = ['Xen', 'KVM', 'XenFV', 'LXC'] @@ -48,20 +48,20 @@ idx = live_cs.index(name) del live_cs[idx] except ValueError, detail: - Globals.logger.error("Provider reports system `%s', \ -but virsh does not", name) + logger.error("Provider reports system `%s', but virsh does not", + name) status = FAIL for system in live_cs: - Globals.logger.error("Provider does not report system `%s', \ -but virsh does", system) + logger.error("Provider does not report system `%s', but virsh does", + system) status = FAIL except IndexError, detail: - Globals.logger.error("Exception: %s", detail) + logger.error("Exception: %s", detail) except Exception, detail: - Globals.logger.error(Globals.CIM_ERROR_ENUMERATE, 'ComputerSystem') - Globals.logger.error("Exception: %s", detail) + logger.error(Globals.CIM_ERROR_ENUMERATE, 'ComputerSystem') + logger.error("Exception: %s", detail) return status From kaitlin at linux.vnet.ibm.com Fri Dec 4 23:33:59 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 04 Dec 2009 15:33:59 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Fix calls to virsh to handle potiential extra debug messages from virsh Message-ID: # HG changeset patch # User Kaitlin Rupert # Date 1259878320 28800 # Node ID c19371e7fb585e64291dafc2b7f84dc1f1d8255e # Parent e9de3634a25633777e40bd80cc400a07ed42c6e1 [TEST] Fix calls to virsh to handle potiential extra debug messages from virsh Occasionally, virsh will return additional debug or error messages. This change makes it so our virsh command only returns stdout. We don't care about the output of stderr, so might as well drop it. That way, it doesn't interfere when we parse the output. diff -r e9de3634a256 -r c19371e7fb58 suites/libvirt-cim/lib/XenKvmLib/common_util.py --- a/suites/libvirt-cim/lib/XenKvmLib/common_util.py Thu Dec 03 14:12:00 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/common_util.py Thu Dec 03 14:12:00 2009 -0800 @@ -246,12 +246,12 @@ return rc, out def pre_check(ip, virt): - cmd = "virsh -c %s list --all" % virt2uri(virt) + cmd = "virsh -c %s list --all 2>/dev/null" % virt2uri(virt) ret, out = utils.run_remote(ip, cmd) if ret != 0: return "This libvirt install does not support %s" % virt - cmd = "virsh -c %s version" % virt2uri(virt) + cmd = "virsh -c %s version 2>/dev/null" % virt2uri(virt) ret, out = utils.run_remote(ip, cmd) if ret != 0: # The above version cmd does not work for F10. @@ -341,7 +341,8 @@ dpoolname=dpool_list[0] if dpoolname == None: - cmd = "virsh -c %s pool-info %s" % (virt2uri(virt), dpool) + cmd = "virsh -c %s pool-info %s 2>/dev/null" % \ + (virt2uri(virt), dpool) ret, out = utils.run_remote(server, cmd) if ret == 0: logger.error("Disk pool with name '%s' already exists", dpool) @@ -403,7 +404,7 @@ test_network = vir_network[0] if test_network == None: - cmd = "virsh -c %s net-list --all | grep -w %s" % \ + cmd = "virsh -c %s net-list --all 2>/dev/null | grep -w %s" % \ (virt2uri(virt), net_name) ret, out = utils.run_remote(server, cmd) # If success, network pool with name net_name already exists diff -r e9de3634a256 -r c19371e7fb58 suites/libvirt-cim/lib/XenKvmLib/pool.py --- a/suites/libvirt-cim/lib/XenKvmLib/pool.py Thu Dec 03 14:12:00 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/pool.py Thu Dec 03 14:12:00 2009 -0800 @@ -107,7 +107,7 @@ def enum_volumes(virt, server, pooln=default_pool_name): volume = 0 - cmd = "virsh -c %s vol-list %s | sed -e '1,2 d' -e '$ d'" % \ + cmd = "virsh -c %s vol-list %s 2>/dev/null | sed -e '1,2 d' -e '$ d'" % \ (virt2uri(virt), pooln) ret, out = run_remote(server ,cmd) if ret != 0: @@ -115,7 +115,8 @@ lines = out.split("\n") for line in lines: vol = line.split()[0] - cmd = "virsh -c %s vol-info --pool %s %s" % (virt2uri(virt), pooln, vol) + cmd = "virsh -c %s vol-info --pool %s %s 2>/dev/null" % \ + (virt2uri(virt), pooln, vol) ret, out = run_remote(server ,cmd) if ret == 0: volume = volume + 1 @@ -164,7 +165,7 @@ def net_undefine(network, server, virt="Xen"): """Function undefine a given virtual network""" - cmd = "virsh -c %s net-undefine %s" % (virt2uri(virt), network) + cmd = "virsh -c %s net-undefine %s 2>/dev/null" % (virt2uri(virt), network) ret, out = run_remote(server, cmd) return ret @@ -186,7 +187,8 @@ if dp_name == None: return FAIL - cmd = "virsh -c %s pool-undefine %s" % (virt2uri(virt), dp_name) + cmd = "virsh -c %s pool-undefine %s 2>/dev/null" % \ + (virt2uri(virt), dp_name) ret, out = run_remote(server, cmd) if ret != 0: logger.error("Failed to undefine pool '%s'", dp_name) diff -r e9de3634a256 -r c19371e7fb58 suites/libvirt-cim/lib/XenKvmLib/reporting.py --- a/suites/libvirt-cim/lib/XenKvmLib/reporting.py Thu Dec 03 14:12:00 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/reporting.py Thu Dec 03 14:12:00 2009 -0800 @@ -42,7 +42,7 @@ def get_libvirt_ver(ip): libvirt_ver = "Unknown" hyp_ver = "Unknown" - cmd = "virsh version" + cmd = "virsh version 2>/dev/null" virsh_ver = get_cmd_val(cmd, ip) if virsh_ver != "Unknown": libvirt, tok1, tok2, hypervisor = virsh_ver.splitlines() diff -r e9de3634a256 -r c19371e7fb58 suites/libvirt-cim/lib/XenKvmLib/test_doms.py --- a/suites/libvirt-cim/lib/XenKvmLib/test_doms.py Thu Dec 03 14:12:00 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/test_doms.py Thu Dec 03 14:12:00 2009 -0800 @@ -47,19 +47,19 @@ f.write(xml) f.close() - cmd = "virsh -c %s define %s" % (virt2uri(virt), name) + cmd = "virsh -c %s define %s 2>/dev/null" % (virt2uri(virt), name) s, o = utils.run_remote(server, cmd) return s == 0 def undefine_test_domain(name, server, virt="Xen"): - cmd = "virsh -c %s undefine %s" % (virt2uri(virt), name) + cmd = "virsh -c %s undefine %s 2>/dev/null" % (virt2uri(virt), name) s, o = utils.run_remote(server, cmd) return s == 0 def start_test_domain(name, server, virt="Xen"): - cmd = "virsh -c %s start %s" % (virt2uri(virt), name) + cmd = "virsh -c %s start %s 2>/dev/null" % (virt2uri(virt), name) s, o = utils.run_remote(server, cmd) return s == 0 @@ -119,7 +119,7 @@ def destroy_and_undefine_domain(name, server, virt="Xen"): """Destroy and undefine a domain. name could be domid or domname""" - cmd = "virsh -c %s 'destroy %s ; undefine %s'" % \ + cmd = "virsh -c %s 'destroy %s ; undefine %s' 2>/dev/null" % \ (virt2uri(virt), name, name) utils.run_remote(server, cmd) @@ -154,7 +154,7 @@ else: name = xmlfile_domname - vcmd = "virsh -c %s %s %s" % (virt2uri(virt), cmd, name) + vcmd = "virsh -c %s %s %s 2>/dev/null" % (virt2uri(virt), cmd, name) s, o = utils.run_remote(server, vcmd) if cmd == "define" or cmd == "create": f.close() @@ -164,7 +164,7 @@ """ Get the vcpu lists. The input is either the domid or domname. """ - cmd = "virsh -c %s vcpuinfo %s | grep '^$' | wc -l" % \ + cmd = "virsh -c %s vcpuinfo %s 2>/dev/null | grep '^$' | wc -l" % \ (virt2uri(virt), name_id) ret, out = utils.run_remote(server, cmd) @@ -180,7 +180,7 @@ nf.write(net_xml) nf.flush() fname = nf.name - cmd = "virsh -c %s net-create %s" % (virt2uri(virt), fname) + cmd = "virsh -c %s net-create %s 2>/dev/null" % (virt2uri(virt), fname) ret, out = utils.run_remote(server, cmd) nf.close() if ret != 0: diff -r e9de3634a256 -r c19371e7fb58 suites/libvirt-cim/lib/XenKvmLib/vxml.py --- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Thu Dec 03 14:12:00 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Thu Dec 03 14:12:00 2009 -0800 @@ -176,7 +176,7 @@ " cmd on '%s'", vcmd, ip) return 0 - cmd = 'virsh -c %s %s %s' % (self.vuri, vcmd, name) + cmd = 'virsh -c %s %s %s 2>/dev/null' % (self.vuri, vcmd, name) s, o = utils.run_remote(ip, cmd) if vcmd == 'define' or vcmd == 'create' or vcmd == 'net-create' \ or vcmd == 'pool-create': @@ -223,7 +223,7 @@ self.server = server if is_new_net is False: - cmd = "virsh net-dumpxml %s" % self.net_name + cmd = "virsh net-dumpxml %s 2>/dev/null" % self.net_name s, net_xml = utils.run_remote(server, cmd) if s != 0: logger.error("Encounter error dump netxml") @@ -245,7 +245,8 @@ n_list = net_list(server, virt) for _net_name in n_list: - cmd = "virsh net-dumpxml %s | awk '/ip address/ {print}' | \ + cmd = "virsh net-dumpxml %s 2>/dev/null | \ + awk '/ip address/ {print}' | \ cut -d ' ' -f 4 | sed 's/address=//'" % _net_name s, in_use_addr = utils.run_remote(server, cmd) in_use_addr = in_use_addr.strip("'") @@ -302,7 +303,7 @@ self.server = server if is_new_pool is False: - cmd = "virsh pool-dumpxml %s" % self.pool_name + cmd = "virsh pool-dumpxml %s 2>/dev/null" % self.pool_name s, disk_xml = utils.run_remote(server, cmd) if s != 0: logger.error("Encounter error dump netxml") @@ -516,7 +517,7 @@ return networkStr def dumpxml(self, ip): - cmd = 'virsh -c %s dumpxml %s' % (self.vuri, self.dname) + cmd = 'virsh -c %s dumpxml %s 2>/dev/null' % (self.vuri, self.dname) s, o = utils.run_remote(ip, cmd) if s == 0: self.xml_string = o diff -r e9de3634a256 -r c19371e7fb58 suites/libvirt-cim/lib/XenKvmLib/xm_virt_util.py --- a/suites/libvirt-cim/lib/XenKvmLib/xm_virt_util.py Thu Dec 03 14:12:00 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/xm_virt_util.py Thu Dec 03 14:12:00 2009 -0800 @@ -97,7 +97,7 @@ if virt == "XenFV": virt = "Xen" - cmd = "virsh -c %s destroy %s" % (virt2uri(virt), dom) + cmd = "virsh -c %s destroy %s 2>/dev/null" % (virt2uri(virt), dom) ret, out = utils.run_remote(server, cmd) print cmd, ret, out @@ -108,7 +108,7 @@ if virt == "XenFV": virt = "Xen" - cmd = "virsh -c %s list --all | sed -e '1,2 d' -e '$ d'" % \ + cmd = "virsh -c %s list --all 2>/dev/null | sed -e '1,2 d' -e '$ d'" % \ virt2uri(virt) ret, out = utils.run_remote(server, cmd) @@ -128,7 +128,7 @@ if virt == "XenFV": virt = "Xen" - cmd = "virsh -c %s list | sed -e '1,2 d' -e '$ d'" % \ + cmd = "virsh -c %s list 2>/dev/null | sed -e '1,2 d' -e '$ d'" % \ virt2uri(virt) ret, out = utils.run_remote(server, cmd) @@ -175,7 +175,7 @@ def net_list(server, virt="Xen"): """Function to list active network""" names = [] - cmd = "virsh -c %s net-list | sed -e '1,2 d' -e '$ d'" % \ + cmd = "virsh -c %s net-list 2>/dev/null | sed -e '1,2 d' -e '$ d'" % \ virt2uri(virt) ret, out = utils.run_remote(server, cmd) @@ -192,8 +192,8 @@ def get_bridge_from_network_xml(network, server, virt="Xen"): """Function returns bridge name for a given virtual network""" - cmd = "virsh -c %s net-dumpxml %s | awk '/bridge name/ { print $2 }'" % \ - (virt2uri(virt), network) + cmd = "virsh -c %s net-dumpxml %s 2>/dev/null | \ + awk '/bridge name/ { print $2 }'" % (virt2uri(virt), network) ret, out = utils.run_remote(server, cmd) if ret != 0: @@ -205,7 +205,7 @@ def net_destroy(network, server, virt="Xen"): """Function destroys a given virtual network""" - cmd = "virsh -c %s net-destroy %s" % (virt2uri(virt), network) + cmd = "virsh -c %s net-destroy %s 2>/dev/null" % (virt2uri(virt), network) ret, out = utils.run_remote(server, cmd) return ret @@ -224,7 +224,7 @@ return None def virsh_version(server, virt="KVM"): - cmd = "virsh -c %s -v " % virt2uri(virt) + cmd = "virsh -c %s -v 2>/dev/null" % virt2uri(virt) ret, out = utils.run_remote(server, cmd) if ret != 0: return None @@ -233,7 +233,7 @@ def diskpool_list(server, virt="KVM"): """Function to list active DiskPool list""" names = [] - cmd = "virsh -c %s pool-list | sed -e '1,2 d' -e '$ d'" % \ + cmd = "virsh -c %s pool-list 2>/dev/null | sed -e '1,2 d' -e '$ d'" % \ virt2uri(virt) ret, out = utils.run_remote(server, cmd) @@ -251,7 +251,7 @@ def vol_list(server, virt="KVM", pool_name=None): """ Function to list the volumes of a pool""" - cmd = "virsh -c %s vol-list %s | sed -e '1,2 d' -e '$ d'" \ + cmd = "virsh -c %s vol-list %s 2>/dev/null | sed -e '1,2 d' -e '$ d'" \ % (virt2uri(virt), pool_name) ret, out = utils.run_remote(server, cmd) if ret != 0: @@ -262,7 +262,7 @@ def vol_delete(server, virt="KVM", vol_name=None, pool_name=None): """ Function to delete the volume of a pool""" - cmd = "virsh -c %s vol-delete %s --pool %s"\ + cmd = "virsh -c %s vol-delete %s --pool %s 2>/dev/null" \ % (virt2uri(virt), vol_name, pool_name) ret, out = utils.run_remote(server, cmd) if ret != 0: @@ -272,19 +272,19 @@ def virsh_vcpuinfo(server, dom, virt="Xen"): - cmd = "virsh -c %s vcpuinfo %s | grep VCPU | wc -l" % (virt2uri(virt), - dom) + cmd = "virsh -c %s vcpuinfo %s 2>/dev/null | grep VCPU | wc -l" \ + % (virt2uri(virt), dom) ret, out = utils.run_remote(server, cmd) if out.isdigit(): return out return None def get_hv_ver(server, virt="Xen"): - cmd = "virsh -c %s version" %virt2uri(virt) + cmd = "virsh -c %s version 2>/dev/null" %virt2uri(virt) ret, out = utils.run_remote(server, cmd) if ret == 0: - cmd = "virsh -c %s version | grep ^Running | cut -d ' ' -f 3,4" \ - %virt2uri(virt) + cmd = "virsh -c %s version 2>/dev/null | grep ^Running | \ + cut -d ' ' -f 3,4" % virt2uri(virt) # This is a workaround work for F10. # The version option does not seem to work on F10. From kaitlin at linux.vnet.ibm.com Fri Dec 4 23:36:57 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 04 Dec 2009 15:36:57 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Remove hardcoded image path in RPCS 09 Message-ID: <320b40f37a368cbc801b.1259969817@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1259949819 28800 # Node ID 320b40f37a368cbc801b7e2761e84cf65136e118 # Parent c19371e7fb585e64291dafc2b7f84dc1f1d8255e [TEST] Remove hardcoded image path in RPCS 09 Also fix a line that is over 80 characters long. diff -r 2ba5bf416501 -r a2d8acd05db2 suites/libvirt-cim/cimtest/ResourcePoolConf igurationService/09_DeleteDiskPool.py diff -r c19371e7fb58 -r 320b40f37a36 suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/09_DeleteDiskPool.py --- a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/09_DeleteDiskPool.py Thu Dec 03 14:12:00 2009 -0800 +++ b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/09_DeleteDiskPool.py Fri Dec 04 10:03:39 2009 -0800 @@ -48,7 +48,8 @@ from XenKvmLib import rpcs_service from CimTest.Globals import logger from CimTest.ReturnCodes import FAIL, PASS -from XenKvmLib.const import do_main, platform_sup, get_provider_version +from XenKvmLib.const import do_main, platform_sup, get_provider_version, \ + _image_dir from XenKvmLib.enumclass import EnumInstances, EnumNames from XenKvmLib.classes import get_typed_class from XenKvmLib.pool import create_pool, verify_pool, undefine_diskpool @@ -75,7 +76,8 @@ rpcs_conn.DeleteResourcePool() except pywbem.CIMError, (err_no, desc): if err_no == cim_errno : - logger.info("Got expected exception for '%s' service", cim_mname) + logger.info("Got expected exception for '%s' service", + cim_mname) logger.info("Errno is '%s' ", err_no) logger.info("Error string is '%s'", desc) return PASS @@ -87,7 +89,7 @@ elif curr_cim_rev >= libvirt_cim_child_pool_rev: try: - pool_attr = { "Path" : "/tmp" } + pool_attr = { "Path" : _image_dir } status = create_pool(server, virt, test_pool, pool_attr, pool_type="DiskPool", mode_type=TYPE) if status != PASS: From kaitlin at linux.vnet.ibm.com Fri Dec 4 23:38:48 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 04 Dec 2009 15:38:48 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] In addition to setting the current memory, set the max memory as well Message-ID: # HG changeset patch # User Kaitlin Rupert # Date 1259951709 28800 # Node ID ab6ca2e33255553d0bddd8e5ab2e6524113dcb3b # Parent 320b40f37a368cbc801b7e2761e84cf65136e118 [TEST] In addition to setting the current memory, set the max memory as well Otherwise, you can end up defining a guest with a current memory value that is much higher than the max memory value. That type of guest definition isn't valid with newer versions of Xen. diff -r a2d8acd05db2 -r 943b21b79a04 suites/libvirt-cim/cimtest/VirtualSystemMan agementService/11_define_memrasdunits.py diff -r 320b40f37a36 -r ab6ca2e33255 suites/libvirt-cim/cimtest/VirtualSystemManagementService/11_define_memrasdunits.py --- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/11_define_memrasdunits.py Fri Dec 04 10:03:39 2009 -0800 +++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/11_define_memrasdunits.py Fri Dec 04 10:35:09 2009 -0800 @@ -52,6 +52,7 @@ for rasd in rasds: if rasd.classname == mrasd_cn: rasd['VirtualQuantity'] = Uint64(value) + rasd['Limit'] = Uint64(value) rasd['AllocationUnits'] = units rasd_list[mrasd_cn] = inst_to_mof(rasd) else: From kaitlin at linux.vnet.ibm.com Fri Dec 4 23:30:54 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 04 Dec 2009 15:30:54 -0800 Subject: [Libvirt-cim] [PATCH 1 of 3] [TEST] (#2) Changes to vxml for IPv6 Support In-Reply-To: <9d767d98ffbf90aaf06f.1259954304@elm3b24.beaverton.ibm.com> References: <9d767d98ffbf90aaf06f.1259954304@elm3b24.beaverton.ibm.com> Message-ID: <4B199BAE.7030204@linux.vnet.ibm.com> Sharad Mishra wrote: > # HG changeset patch > # User Sharad Mishra > # Date 1259886908 28800 > # Node ID 9d767d98ffbf90aaf06f714581f210d17cfca9cb > # Parent 45c6da8ca664a61a727b0c0d1811c4337efb53b0 > [TEST] (#2) Changes to vxml for IPv6 Support > > #2: Name changes, ipv6 to ipv6_flag and IsIPv6Only to is_ipv6_only > > Signed-off-by: Sharad Mishra > > diff -r 45c6da8ca664 -r 9d767d98ffbf suites/libvirt-cim/lib/XenKvmLib/vxml.py > --- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Tue Dec 01 16:08:15 2009 -0800 > +++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Thu Dec 03 16:35:08 2009 -0800 > @@ -569,7 +569,7 @@ > def __init__(self, virt, dom_name, uuid, pae, acpi, apic, disk_dev, > disk_source, net_type, net_name, net_mac, vcpus, mem, > mem_allocunits, emu_type, grstype, ip, > - port_num, kmap, irstype, btype, vnc_passwd): > + is_ipv6_only, port_num, kmap, irstype, btype, vnc_passwd): > self.virt = virt > self.domain_name = dom_name > self.err_rc = None > @@ -591,6 +591,7 @@ > dom_name, emu_type) > self.gasd = vsms.get_gasd_class(virt)(name=dom_name, > res_sub_type=grstype, ip=ip, > + ipv6_flag=is_ipv6_only, > lport=port_num, keymap=kmap, > vnc_passwd=vnc_passwd) > self.masd = vsms.get_masd_class(virt)(megabytes=mem, > @@ -813,7 +814,8 @@ > disk=const.Xen_default_disk_dev, > ntype=const.default_net_type, > net_name=const.default_network_name, > - emu_type=None, grstype="vnc", address="127.0.0.1", > + emu_type=None, grstype="vnc", address=None, > + is_ipv6_only=True, I'm sorry, I didn't catch this on the past reviews. This should probably default to None, otherwise all the guests that get created by existing tests will have IPv6 ip addresses. This differs from libvirt-cim's default behavior. Thanks! -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From jfehlig at novell.com Mon Dec 7 04:17:01 2009 From: jfehlig at novell.com (Jim Fehlig) Date: Sun, 06 Dec 2009 21:17:01 -0700 Subject: [Libvirt-cim] [PATCH] Xen version 3.3.0 doesn't accept system in the migration URI In-Reply-To: References: Message-ID: <4B1C81BD.3030805@novell.com> Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1259882291 28800 > # Node ID a8972b732291267c0d695709f311f76dbcc015ca > # Parent 282660c5e43aba6b284a9909144b9df14dc95f5b > Xen version 3.3.0 doesn't accept system in the migration URI > > This change has been tested with Xen version 3.1.0. Also tests against KVM > to check for regressions. > > diff -r 282660c5e43a -r a8972b732291 src/Virt_VSMigrationService.c > --- a/src/Virt_VSMigrationService.c Wed Dec 02 12:48:47 2009 -0800 > +++ b/src/Virt_VSMigrationService.c Thu Dec 03 15:18:11 2009 -0800 > @@ -186,7 +186,12 @@ > goto out; > } > > - rc = asprintf(&uri, "%s+%s://%s/system", prefix, tport, dest); > + if (STREQC(prefix, "xen")) > + rc = asprintf(&uri, "%s+%s://%s", prefix, tport, dest); > + else { > + rc = asprintf(&uri, "%s+%s://%s/system", prefix, tport, dest); > + } > + > if (rc == -1) { > uri = NULL; > goto out; > ACK. From snmishra at us.ibm.com Tue Dec 8 00:11:36 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Mon, 07 Dec 2009 16:11:36 -0800 Subject: [Libvirt-cim] [PATCH 3 of 4] [TEST] (#3) IPv6 Support test In-Reply-To: References: Message-ID: # HG changeset patch # User Sharad Mishra # Date 1260230830 28800 # Node ID d7c67e4d36807857c05eb0d536718b4e1dfd7e33 # Parent 47ff422b8de98ad8e60ce08eb2ef7c3218461eed [TEST] (#3) IPv6 Support test. This test checks support for IPv6 in libvirt-cim. #2: Changed ipv6 to ipv6_flag and IsIPv6Only to is_ipv6_only #3: Removed some debug print statements, that were accidently left in #2. Signed-off-by: Sharad Mishra diff -r 47ff422b8de9 -r d7c67e4d3680 suites/libvirt-cim/cimtest/KVMRedirectionSAP/02_ipv6_support.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/suites/libvirt-cim/cimtest/KVMRedirectionSAP/02_ipv6_support.py Mon Dec 07 16:07:10 2009 -0800 @@ -0,0 +1,132 @@ +#!/usr/bin/python +# +# Copyright 2009 IBM Corp. +# +# Authors: +# Sharad Mishra +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# This test case is used to verify IPv6 support. It verifies that if an IP +# address is supplied, that address gets used for VNC. If an address is not +# supplied then the new is_ipv6_only flag is read. If the flag is set, then +# default ipv6 address is used. Else default ipv4 address gets used. +# This test case: +# +# Defines a guest in a loop with different settings of IP +# address and is_ipv6_only flag. +# +# Once the guest is defined, gets the instance of DisplayController +# and GRASD. +# Checks to make sure expected vnc address is set for both. +# +# Date : Nov. 11, 2009 +# + +import sys +from XenKvmLib.enumclass import GetInstance +from XenKvmLib.vxml import get_class +from XenKvmLib.classes import get_typed_class +from XenKvmLib.const import do_main, get_provider_version +from CimTest.Globals import logger +from CimTest.ReturnCodes import PASS, FAIL, SKIP + +sup_types = ['Xen', 'KVM', 'XenFV'] +libvirtcim_redSAP_changes = 1017 +test_dom = 'test_ipv6_dom' + +address_dict = {('127.0.0.1', None) : '127.0.0.1:-1', + ('[::1]', None) : '[::1]:-1', + ('127.0.0.1', True) : '127.0.0.1:-1', + ('[::1]', False) : '[::1]:-1', + ('127.0.0.1', False) : '127.0.0.1:-1', + ('[::1]', True) : '[::1]:-1', + (None, True) : '[::1]:-1', + (None, False) : '127.0.0.1:-1', + (None, None) : '127.0.0.1:-1' + } + + at do_main(sup_types) +def main(): + status = PASS + virt = main.options.virt + server = main.options.ip + + cname = 'KVMRedirectionSAP' + classname = get_typed_class(virt, cname) + + # This check is required for libvirt-cim providers which do not have + # REDSAP changes in it and the REDSAP provider is available with + # revision >= 1017. + curr_cim_rev, changeset = get_provider_version(virt, server) + if curr_cim_rev < libvirtcim_redSAP_changes: + logger.info("'%s' provider not supported, hence skipping the tc ....", + classname) + return SKIP + + vsxml = None + + try: + virt_xml = get_class(virt) + for key, value in address_dict.iteritems(): + add = key[0] + flg = key[1] + if add == None: + vsxml = virt_xml(test_dom, is_ipv6_only=flg) + else: + vsxml = virt_xml(test_dom, address=add, is_ipv6_only=flg) + # Define the VS + ret = vsxml.cim_define(server) + if not ret: + raise Exception("Failed to define the dom: %s" % test_dom) + + devid = "%s/%s" % (test_dom, 'graphics') + vnc = get_typed_class(virt, "DisplayController") + key_list = { 'DeviceID' : devid, + 'CreationClassName' : vnc, + 'SystemName' : test_dom, + 'SystemCreationClassName' : + get_typed_class(virt, "ComputerSystem") + } + dev = GetInstance(server, vnc, key_list) + vp = "vnc/%s" % value + + if vp != dev.VideoProcessor: + vsxml.undefine(server) + raise Exception("Unxpected VNC server address") + + vnc = get_typed_class(virt, "GraphicsResourceAllocationSettingData") + key_list = { 'InstanceID' : devid, + 'CreationClassName' : vnc, + 'SystemName' : test_dom, + 'SystemCreationClassName' : + get_typed_class(virt, "ComputerSystem") + } + dev = GetInstance(server, vnc, key_list) + + if value != dev.Address: + vsxml.undefine(server) + raise Exception("Unxpected VNC server address") + + vsxml.undefine(server) + + except Exception, detail: + logger.error("Exception: %s", detail) + status = FAIL + + return status + +if __name__ == "__main__": + sys.exit(main()) From snmishra at us.ibm.com Tue Dec 8 00:11:35 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Mon, 07 Dec 2009 16:11:35 -0800 Subject: [Libvirt-cim] [PATCH 2 of 4] [TEST] (#4) Changes to vsms for IPv6 testcase In-Reply-To: References: Message-ID: <47ff422b8de98ad8e60c.1260231095@elm3b24.beaverton.ibm.com> # HG changeset patch # User Sharad Mishra # Date 1260230774 28800 # Node ID 47ff422b8de98ad8e60ce08eb2ef7c3218461eed # Parent 97557bbd149ab83bf48ba597ec951db960f6aa7d [TEST] (#4) Changes to vsms for IPv6 testcase. #2: Name changes, ipv6 to ipv6_flag and IsIPv6Only to is_ipv6_only #3: Changing is_ipv6_only to IsIPv6Only #4: set Address to None by default. Signed-off-by: Sharad Mishra diff -r 97557bbd149a -r 47ff422b8de9 suites/libvirt-cim/lib/XenKvmLib/vsms.py --- a/suites/libvirt-cim/lib/XenKvmLib/vsms.py Mon Dec 07 16:05:01 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/vsms.py Mon Dec 07 16:06:14 2009 -0800 @@ -255,7 +255,7 @@ class CIM_GraphicsResourceAllocationSettingData(CIMClassMOF): - def __init__(self, name, res_sub_type="vnc", ip="127.0.0.1", + def __init__(self, name, res_sub_type="vnc", ip=None, ipv6_flag=None, lport='-1', keymap="en-us", vnc_passwd=None): self.InstanceID = '%s/graphics' %name self.ResourceType = RASD_TYPE_GRAPHICS @@ -266,6 +266,12 @@ if ip != None and lport != None: self.Address = '%s:%s' % (ip, lport) + else: + self.Address = None + + if ipv6_flag != None: + self.IsIPv6Only = ipv6_flag + if keymap != None: self.KeyMap = keymap From snmishra at us.ibm.com Tue Dec 8 00:11:34 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Mon, 07 Dec 2009 16:11:34 -0800 Subject: [Libvirt-cim] [PATCH 1 of 4] [TEST] (#3) Changes to vxml for IPv6 Support In-Reply-To: References: Message-ID: <97557bbd149ab83bf48b.1260231094@elm3b24.beaverton.ibm.com> # HG changeset patch # User Sharad Mishra # Date 1260230701 28800 # Node ID 97557bbd149ab83bf48ba597ec951db960f6aa7d # Parent 60eb89c3ac9db80ef89401c48a9711e59f12b4bc [TEST] (#3) Changes to vxml for IPv6 Support #2: Name changes, ipv6 to ipv6_flag and IsIPv6Only to is_ipv6_only #3: is_ipv6_only defaults to None. Signed-off-by: Sharad Mishra diff -r 60eb89c3ac9d -r 97557bbd149a suites/libvirt-cim/lib/XenKvmLib/vxml.py --- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Tue Dec 01 15:08:50 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Mon Dec 07 16:05:01 2009 -0800 @@ -569,7 +569,7 @@ def __init__(self, virt, dom_name, uuid, pae, acpi, apic, disk_dev, disk_source, net_type, net_name, net_mac, vcpus, mem, mem_allocunits, emu_type, grstype, ip, - port_num, kmap, irstype, btype, vnc_passwd): + is_ipv6_only, port_num, kmap, irstype, btype, vnc_passwd): self.virt = virt self.domain_name = dom_name self.err_rc = None @@ -591,6 +591,7 @@ dom_name, emu_type) self.gasd = vsms.get_gasd_class(virt)(name=dom_name, res_sub_type=grstype, ip=ip, + ipv6_flag=is_ipv6_only, lport=port_num, keymap=kmap, vnc_passwd=vnc_passwd) self.masd = vsms.get_masd_class(virt)(megabytes=mem, @@ -813,7 +814,8 @@ disk=const.Xen_default_disk_dev, ntype=const.default_net_type, net_name=const.default_network_name, - emu_type=None, grstype="vnc", address="127.0.0.1", + emu_type=None, grstype="vnc", address=None, + is_ipv6_only=None, port_num='-1', keymap="en-us", irstype="mouse", btype="xen", vnc_passwd=None): if not (os.path.exists(const.Xen_kernel_path) \ @@ -828,7 +830,8 @@ VirtCIM.__init__(self, 'Xen', test_dom, uuid, pae, acpi, apic, disk, disk_file_path, ntype, net_name, mac, vcpus, mem, mem_allocunits, emu_type, grstype, address, - port_num, keymap, irstype, btype, vnc_passwd) + is_ipv6_only, port_num, keymap, irstype, btype, + vnc_passwd) def _os(self, os_kernel, os_initrd): os = self.get_node('/domain/os') @@ -882,7 +885,8 @@ disk=const.KVM_default_disk_dev, ntype=const.default_net_type, net_name=const.default_network_name, - emu_type=None, grstype="vnc", address="127.0.0.1", + emu_type=None, grstype="vnc", address=None, + is_ipv6_only=None, port_num='-1', keymap="en-us", irstype="mouse", btype="ps2", vnc_passwd=None): if not os.path.exists(disk_file_path): @@ -892,7 +896,8 @@ VirtCIM.__init__(self, 'KVM', test_dom, uuid, pae, acpi, apic, disk, disk_file_path, ntype, net_name, mac, vcpus, mem, mem_allocunits, emu_type, grstype, address, - port_num, keymap, irstype, btype, vnc_passwd) + is_ipv6_only, port_num, keymap, irstype, btype, + vnc_passwd) self._os() self._devices(const.KVM_default_emulator, ntype, disk_file_path, disk, mac, net_name) @@ -942,7 +947,8 @@ ntype=const.default_net_type, net_name=const.default_network_name, emu_type=None, grstype="vnc", - address="127.0.0.1", port_num='-1', keymap="en-us", + address=None, is_ipv6_only=None, port_num='-1', + keymap="en-us", irstype="mouse", btype="ps2", vnc_passwd=None): if not os.path.exists(disk_file_path): logger.error('Error: Disk image does not exist') @@ -950,7 +956,8 @@ VirtXML.__init__(self, 'xenfv', test_dom, set_uuid(), mem, vcpus) VirtCIM.__init__(self, 'XenFV', test_dom, disk, uuid, pae, acpi, apic, disk_file_path, ntype, net_name, mac, vcpus, mem, - mem_allocunits, emu_type, grstype, address, port_num, + mem_allocunits, emu_type, grstype, address, + is_ipv6_only, port_num, keymap, irstype, btype, vnc_passwd) self._os(const.XenFV_default_loader) self._devices(const.XenFV_default_emulator, @@ -993,13 +1000,15 @@ ntype=const.default_net_type, net_name=const.default_network_name, tty=const.LXC_default_tty, grstype="vnc", - address="127.0.0.1", port_num='-1', keymap="en-us", + address=None, is_ipv6_only=None, port_num='-1', + keymap="en-us", irstype="mouse", btype="usb", vnc_passwd=None): VirtXML.__init__(self, 'lxc', test_dom, set_uuid(), mem, vcpus) VirtCIM.__init__(self, 'LXC', test_dom, uuid, const.LXC_default_mp, const.LXC_default_source, ntype, net_name, mac, vcpus, mem, const.default_mallocunits, None, grstype, - address, port_num, keymap, irstype, btype, vnc_passwd) + address, is_ipv6_only, port_num, keymap, irstype, + btype, vnc_passwd) self._os(const.LXC_init_path) self._devices(const.LXC_default_emulator, mac, ntype, net_name, const.LXC_default_tty) self.create_lxc_file(CIM_IP, const.LXC_init_path) From snmishra at us.ibm.com Tue Dec 8 00:11:37 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Mon, 07 Dec 2009 16:11:37 -0800 Subject: [Libvirt-cim] [PATCH 4 of 4] [TEST] Update test to pass an ip address In-Reply-To: References: Message-ID: # HG changeset patch # User Sharad Mishra # Date 1260230884 28800 # Node ID ae7ffb52d6cd8649d202d859d279211e906e096b # Parent d7c67e4d36807857c05eb0d536718b4e1dfd7e33 [TEST] Update test to pass an ip address. Signed-off-by: Sharad Mishra diff -r d7c67e4d3680 -r ae7ffb52d6cd suites/libvirt-cim/cimtest/KVMRedirectionSAP/01_enum_KVMredSAP.py --- a/suites/libvirt-cim/cimtest/KVMRedirectionSAP/01_enum_KVMredSAP.py Mon Dec 07 16:07:10 2009 -0800 +++ b/suites/libvirt-cim/cimtest/KVMRedirectionSAP/01_enum_KVMredSAP.py Mon Dec 07 16:08:04 2009 -0800 @@ -106,7 +106,7 @@ try: virt_xml = get_class(virt) lport = randrange(5900, 5999) - vsxml = virt_xml(test_dom, port_num=str(lport)) + vsxml = virt_xml(test_dom, address='127.0.0.1', port_num=str(lport)) # Define the VS, and verify the KVMRedirectionSAP values. ret = vsxml.cim_define(server) From snmishra at us.ibm.com Tue Dec 8 00:11:33 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Mon, 07 Dec 2009 16:11:33 -0800 Subject: [Libvirt-cim] [PATCH 0 of 4] [TEST] ipv6 support test cases Message-ID: Signed-off-by: Sharad Mishra From rmaciel at linux.vnet.ibm.com Sat Dec 5 04:23:02 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Sat, 05 Dec 2009 04:23:02 -0000 Subject: [Libvirt-cim] [PATCH] [TEST](#2) VirtCIM init for the LXC virt must also receive pae, acpi and apic param Message-ID: <8698f85c7b5fdd68ff4a.1259986982@localhost.localdomain> # HG changeset patch # User Richard Maciel # Date 1259986929 7200 # Node ID 8698f85c7b5fdd68ff4a732852fcb21e5f044497 # Parent 9445f602d8a8705743254f85ef426d284ab382d4 [TEST](#2) VirtCIM init for the LXC virt must also receive pae, acpi and apic param #2: - Fixed code style Signed-off-by: Richard Maciel diff -r 9445f602d8a8 -r 8698f85c7b5f suites/libvirt-cim/lib/XenKvmLib/vxml.py --- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Wed Nov 18 13:50:16 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Sat Dec 05 02:22:09 2009 -0200 @@ -996,10 +996,13 @@ address="127.0.0.1", port_num='-1', keymap="en-us", irstype="mouse", btype="usb", vnc_passwd=None): VirtXML.__init__(self, 'lxc', test_dom, set_uuid(), mem, vcpus) - VirtCIM.__init__(self, 'LXC', test_dom, uuid, const.LXC_default_mp, - const.LXC_default_source, ntype, net_name, mac, vcpus, - mem, const.default_mallocunits, None, grstype, - address, port_num, keymap, irstype, btype, vnc_passwd) + # pae, acpi and apic parameters doesn't make sense here, so we + # statically set them to False (a.k.a. ignore them) + VirtCIM.__init__(self, 'LXC', test_dom, uuid, False, False, False, + const.LXC_default_mp, const.LXC_default_source, ntype, + net_name, mac, vcpus, mem, const.default_mallocunits, + None, grstype, address, port_num, keymap, irstype, btype, + vnc_passwd) self._os(const.LXC_init_path) self._devices(const.LXC_default_emulator, mac, ntype, net_name, const.LXC_default_tty) self.create_lxc_file(CIM_IP, const.LXC_init_path) From rmaciel at linux.vnet.ibm.com Tue Dec 8 14:21:36 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Tue, 08 Dec 2009 12:21:36 -0200 Subject: [Libvirt-cim] [PATCH] Remove duplicate code in _netpool_member_of() In-Reply-To: <67abfd38dce38599a702.1259968622@elm3b41.beaverton.ibm.com> References: <67abfd38dce38599a702.1259968622@elm3b41.beaverton.ibm.com> Message-ID: <4B1E60F0.3070905@linux.vnet.ibm.com> +1 On 12/04/2009 09:17 PM, Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1259893229 28800 > # Node ID 67abfd38dce38599a70213327df509bd1f967d03 > # Parent 57490fca41e5b1f2ecc893bf22771a6c718df161 > Remove duplicate code in _netpool_member_of() > > diff -r 57490fca41e5 -r 67abfd38dce3 src/Virt_DevicePool.c > --- a/src/Virt_DevicePool.c Thu Dec 03 18:20:28 2009 -0800 > +++ b/src/Virt_DevicePool.c Thu Dec 03 18:20:29 2009 -0800 > @@ -490,12 +490,6 @@ > goto out; > } > > - if (ndev->source == NULL) { > - CU_DEBUG("Unable to determine pool since no network " > - "source defined"); > - goto out; > - } > - > if (STREQ(ndev->type, "bridge")) > net = bridge_to_network(conn, ndev->source); > else if (STREQ(ndev->type, "network")) -- Richard Maciel, MSc IBM Linux Technology Center rmaciel at linux.vnet.ibm.com From rmaciel at linux.vnet.ibm.com Tue Dec 8 14:54:09 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Tue, 08 Dec 2009 12:54:09 -0200 Subject: [Libvirt-cim] [PATCH] [TEST] Clean up CS 01 - import necessary items from Globals In-Reply-To: References: Message-ID: <4B1E6891.7040306@linux.vnet.ibm.com> +1 On 12/04/2009 09:32 PM, Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1259878320 28800 > # Node ID e9de3634a25633777e40bd80cc400a07ed42c6e1 > # Parent 60eb89c3ac9db80ef89401c48a9711e59f12b4bc > [TEST] Clean up CS 01 - import necessary items from Globals > > No need to import Globals directly. Also, clean up formatting of error > messages. > > diff -r 60eb89c3ac9d -r d3e61b6dde50 suites/libvirt-cim/cimtest/ComputerSystem/0 > 1_enum.py > > diff -r 60eb89c3ac9d -r e9de3634a256 suites/libvirt-cim/cimtest/ComputerSystem/01_enum.py > --- a/suites/libvirt-cim/cimtest/ComputerSystem/01_enum.py Tue Dec 01 15:08:50 2009 -0800 > +++ b/suites/libvirt-cim/cimtest/ComputerSystem/01_enum.py Thu Dec 03 14:12:00 2009 -0800 > @@ -28,7 +28,7 @@ > from XenKvmLib.xm_virt_util import domain_list > from XenKvmLib.classes import get_typed_class > from VirtLib import utils > -from CimTest import Globals > +from CimTest.Globals import logger, CIM_ERROR_ENUMERATE > from CimTest.ReturnCodes import PASS, FAIL > > SUPPORTED_TYPES = ['Xen', 'KVM', 'XenFV', 'LXC'] > @@ -48,20 +48,20 @@ > idx = live_cs.index(name) > del live_cs[idx] > except ValueError, detail: > - Globals.logger.error("Provider reports system `%s', \ > -but virsh does not", name) > + logger.error("Provider reports system `%s', but virsh does not", > + name) > status = FAIL > > for system in live_cs: > - Globals.logger.error("Provider does not report system `%s', \ > -but virsh does", system) > + logger.error("Provider does not report system `%s', but virsh does", > + system) > status = FAIL > > except IndexError, detail: > - Globals.logger.error("Exception: %s", detail) > + logger.error("Exception: %s", detail) > except Exception, detail: > - Globals.logger.error(Globals.CIM_ERROR_ENUMERATE, 'ComputerSystem') > - Globals.logger.error("Exception: %s", detail) > + logger.error(Globals.CIM_ERROR_ENUMERATE, 'ComputerSystem') > + logger.error("Exception: %s", detail) > > return status > > > _______________________________________________ > 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 rmaciel at linux.vnet.ibm.com Tue Dec 8 14:54:09 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Tue, 08 Dec 2009 12:54:09 -0200 Subject: [Libvirt-cim] [PATCH] [TEST] Clean up CS 01 - import necessary items from Globals In-Reply-To: References: Message-ID: <4B1E6891.7040306@linux.vnet.ibm.com> +1 On 12/04/2009 09:32 PM, Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1259878320 28800 > # Node ID e9de3634a25633777e40bd80cc400a07ed42c6e1 > # Parent 60eb89c3ac9db80ef89401c48a9711e59f12b4bc > [TEST] Clean up CS 01 - import necessary items from Globals > > No need to import Globals directly. Also, clean up formatting of error > messages. > > diff -r 60eb89c3ac9d -r d3e61b6dde50 suites/libvirt-cim/cimtest/ComputerSystem/0 > 1_enum.py > > diff -r 60eb89c3ac9d -r e9de3634a256 suites/libvirt-cim/cimtest/ComputerSystem/01_enum.py > --- a/suites/libvirt-cim/cimtest/ComputerSystem/01_enum.py Tue Dec 01 15:08:50 2009 -0800 > +++ b/suites/libvirt-cim/cimtest/ComputerSystem/01_enum.py Thu Dec 03 14:12:00 2009 -0800 > @@ -28,7 +28,7 @@ > from XenKvmLib.xm_virt_util import domain_list > from XenKvmLib.classes import get_typed_class > from VirtLib import utils > -from CimTest import Globals > +from CimTest.Globals import logger, CIM_ERROR_ENUMERATE > from CimTest.ReturnCodes import PASS, FAIL > > SUPPORTED_TYPES = ['Xen', 'KVM', 'XenFV', 'LXC'] > @@ -48,20 +48,20 @@ > idx = live_cs.index(name) > del live_cs[idx] > except ValueError, detail: > - Globals.logger.error("Provider reports system `%s', \ > -but virsh does not", name) > + logger.error("Provider reports system `%s', but virsh does not", > + name) > status = FAIL > > for system in live_cs: > - Globals.logger.error("Provider does not report system `%s', \ > -but virsh does", system) > + logger.error("Provider does not report system `%s', but virsh does", > + system) > status = FAIL > > except IndexError, detail: > - Globals.logger.error("Exception: %s", detail) > + logger.error("Exception: %s", detail) > except Exception, detail: > - Globals.logger.error(Globals.CIM_ERROR_ENUMERATE, 'ComputerSystem') > - Globals.logger.error("Exception: %s", detail) > + logger.error(Globals.CIM_ERROR_ENUMERATE, 'ComputerSystem') > + logger.error("Exception: %s", detail) > > return status > > > _______________________________________________ > 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 rmaciel at linux.vnet.ibm.com Tue Dec 8 15:45:38 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Tue, 08 Dec 2009 13:45:38 -0200 Subject: [Libvirt-cim] [PATCH] [TEST] Fix calls to virsh to handle potiential extra debug messages from virsh In-Reply-To: References: Message-ID: <4B1E74A2.5040007@linux.vnet.ibm.com> +1 On 12/04/2009 09:33 PM, Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1259878320 28800 > # Node ID c19371e7fb585e64291dafc2b7f84dc1f1d8255e > # Parent e9de3634a25633777e40bd80cc400a07ed42c6e1 > [TEST] Fix calls to virsh to handle potiential extra debug messages from virsh > > Occasionally, virsh will return additional debug or error messages. This > change makes it so our virsh command only returns stdout. We don't care about > the output of stderr, so might as well drop it. That way, it doesn't > interfere when we parse the output. > > diff -r e9de3634a256 -r c19371e7fb58 suites/libvirt-cim/lib/XenKvmLib/common_util.py > --- a/suites/libvirt-cim/lib/XenKvmLib/common_util.py Thu Dec 03 14:12:00 2009 -0800 > +++ b/suites/libvirt-cim/lib/XenKvmLib/common_util.py Thu Dec 03 14:12:00 2009 -0800 > @@ -246,12 +246,12 @@ > return rc, out > > def pre_check(ip, virt): > - cmd = "virsh -c %s list --all" % virt2uri(virt) > + cmd = "virsh -c %s list --all 2>/dev/null" % virt2uri(virt) > ret, out = utils.run_remote(ip, cmd) > if ret != 0: > return "This libvirt install does not support %s" % virt > > - cmd = "virsh -c %s version" % virt2uri(virt) > + cmd = "virsh -c %s version 2>/dev/null" % virt2uri(virt) > ret, out = utils.run_remote(ip, cmd) > if ret != 0: > # The above version cmd does not work for F10. > @@ -341,7 +341,8 @@ > dpoolname=dpool_list[0] > > if dpoolname == None: > - cmd = "virsh -c %s pool-info %s" % (virt2uri(virt), dpool) > + cmd = "virsh -c %s pool-info %s 2>/dev/null" % \ > + (virt2uri(virt), dpool) > ret, out = utils.run_remote(server, cmd) > if ret == 0: > logger.error("Disk pool with name '%s' already exists", dpool) > @@ -403,7 +404,7 @@ > test_network = vir_network[0] > > if test_network == None: > - cmd = "virsh -c %s net-list --all | grep -w %s" % \ > + cmd = "virsh -c %s net-list --all 2>/dev/null | grep -w %s" % \ > (virt2uri(virt), net_name) > ret, out = utils.run_remote(server, cmd) > # If success, network pool with name net_name already exists > diff -r e9de3634a256 -r c19371e7fb58 suites/libvirt-cim/lib/XenKvmLib/pool.py > --- a/suites/libvirt-cim/lib/XenKvmLib/pool.py Thu Dec 03 14:12:00 2009 -0800 > +++ b/suites/libvirt-cim/lib/XenKvmLib/pool.py Thu Dec 03 14:12:00 2009 -0800 > @@ -107,7 +107,7 @@ > > def enum_volumes(virt, server, pooln=default_pool_name): > volume = 0 > - cmd = "virsh -c %s vol-list %s | sed -e '1,2 d' -e '$ d'" % \ > + cmd = "virsh -c %s vol-list %s 2>/dev/null | sed -e '1,2 d' -e '$ d'" % \ > (virt2uri(virt), pooln) > ret, out = run_remote(server ,cmd) > if ret != 0: > @@ -115,7 +115,8 @@ > lines = out.split("\n") > for line in lines: > vol = line.split()[0] > - cmd = "virsh -c %s vol-info --pool %s %s" % (virt2uri(virt), pooln, vol) > + cmd = "virsh -c %s vol-info --pool %s %s 2>/dev/null" % \ > + (virt2uri(virt), pooln, vol) > ret, out = run_remote(server ,cmd) > if ret == 0: > volume = volume + 1 > @@ -164,7 +165,7 @@ > def net_undefine(network, server, virt="Xen"): > """Function undefine a given virtual network""" > > - cmd = "virsh -c %s net-undefine %s" % (virt2uri(virt), network) > + cmd = "virsh -c %s net-undefine %s 2>/dev/null" % (virt2uri(virt), network) > ret, out = run_remote(server, cmd) > > return ret > @@ -186,7 +187,8 @@ > if dp_name == None: > return FAIL > > - cmd = "virsh -c %s pool-undefine %s" % (virt2uri(virt), dp_name) > + cmd = "virsh -c %s pool-undefine %s 2>/dev/null" % \ > + (virt2uri(virt), dp_name) > ret, out = run_remote(server, cmd) > if ret != 0: > logger.error("Failed to undefine pool '%s'", dp_name) > diff -r e9de3634a256 -r c19371e7fb58 suites/libvirt-cim/lib/XenKvmLib/reporting.py > --- a/suites/libvirt-cim/lib/XenKvmLib/reporting.py Thu Dec 03 14:12:00 2009 -0800 > +++ b/suites/libvirt-cim/lib/XenKvmLib/reporting.py Thu Dec 03 14:12:00 2009 -0800 > @@ -42,7 +42,7 @@ > def get_libvirt_ver(ip): > libvirt_ver = "Unknown" > hyp_ver = "Unknown" > - cmd = "virsh version" > + cmd = "virsh version 2>/dev/null" > virsh_ver = get_cmd_val(cmd, ip) > if virsh_ver != "Unknown": > libvirt, tok1, tok2, hypervisor = virsh_ver.splitlines() > diff -r e9de3634a256 -r c19371e7fb58 suites/libvirt-cim/lib/XenKvmLib/test_doms.py > --- a/suites/libvirt-cim/lib/XenKvmLib/test_doms.py Thu Dec 03 14:12:00 2009 -0800 > +++ b/suites/libvirt-cim/lib/XenKvmLib/test_doms.py Thu Dec 03 14:12:00 2009 -0800 > @@ -47,19 +47,19 @@ > f.write(xml) > f.close() > > - cmd = "virsh -c %s define %s" % (virt2uri(virt), name) > + cmd = "virsh -c %s define %s 2>/dev/null" % (virt2uri(virt), name) > s, o = utils.run_remote(server, cmd) > > return s == 0 > > def undefine_test_domain(name, server, virt="Xen"): > - cmd = "virsh -c %s undefine %s" % (virt2uri(virt), name) > + cmd = "virsh -c %s undefine %s 2>/dev/null" % (virt2uri(virt), name) > s, o = utils.run_remote(server, cmd) > > return s == 0 > > def start_test_domain(name, server, virt="Xen"): > - cmd = "virsh -c %s start %s" % (virt2uri(virt), name) > + cmd = "virsh -c %s start %s 2>/dev/null" % (virt2uri(virt), name) > s, o = utils.run_remote(server, cmd) > > return s == 0 > @@ -119,7 +119,7 @@ > def destroy_and_undefine_domain(name, server, virt="Xen"): > """Destroy and undefine a domain. > name could be domid or domname""" > - cmd = "virsh -c %s 'destroy %s ; undefine %s'" % \ > + cmd = "virsh -c %s 'destroy %s ; undefine %s' 2>/dev/null" % \ > (virt2uri(virt), name, name) > utils.run_remote(server, cmd) > > @@ -154,7 +154,7 @@ > else: > name = xmlfile_domname > > - vcmd = "virsh -c %s %s %s" % (virt2uri(virt), cmd, name) > + vcmd = "virsh -c %s %s %s 2>/dev/null" % (virt2uri(virt), cmd, name) > s, o = utils.run_remote(server, vcmd) > if cmd == "define" or cmd == "create": > f.close() > @@ -164,7 +164,7 @@ > """ > Get the vcpu lists. The input is either the domid or domname. > """ > - cmd = "virsh -c %s vcpuinfo %s | grep '^$' | wc -l" % \ > + cmd = "virsh -c %s vcpuinfo %s 2>/dev/null | grep '^$' | wc -l" % \ > (virt2uri(virt), name_id) > ret, out = utils.run_remote(server, cmd) > > @@ -180,7 +180,7 @@ > nf.write(net_xml) > nf.flush() > fname = nf.name > - cmd = "virsh -c %s net-create %s" % (virt2uri(virt), fname) > + cmd = "virsh -c %s net-create %s 2>/dev/null" % (virt2uri(virt), fname) > ret, out = utils.run_remote(server, cmd) > nf.close() > if ret != 0: > diff -r e9de3634a256 -r c19371e7fb58 suites/libvirt-cim/lib/XenKvmLib/vxml.py > --- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Thu Dec 03 14:12:00 2009 -0800 > +++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Thu Dec 03 14:12:00 2009 -0800 > @@ -176,7 +176,7 @@ > " cmd on '%s'", vcmd, ip) > return 0 > > - cmd = 'virsh -c %s %s %s' % (self.vuri, vcmd, name) > + cmd = 'virsh -c %s %s %s 2>/dev/null' % (self.vuri, vcmd, name) > s, o = utils.run_remote(ip, cmd) > if vcmd == 'define' or vcmd == 'create' or vcmd == 'net-create' \ > or vcmd == 'pool-create': > @@ -223,7 +223,7 @@ > self.server = server > > if is_new_net is False: > - cmd = "virsh net-dumpxml %s" % self.net_name > + cmd = "virsh net-dumpxml %s 2>/dev/null" % self.net_name > s, net_xml = utils.run_remote(server, cmd) > if s != 0: > logger.error("Encounter error dump netxml") > @@ -245,7 +245,8 @@ > > n_list = net_list(server, virt) > for _net_name in n_list: > - cmd = "virsh net-dumpxml %s | awk '/ip address/ {print}' | \ > + cmd = "virsh net-dumpxml %s 2>/dev/null | \ > + awk '/ip address/ {print}' | \ > cut -d ' ' -f 4 | sed 's/address=//'" % _net_name > s, in_use_addr = utils.run_remote(server, cmd) > in_use_addr = in_use_addr.strip("'") > @@ -302,7 +303,7 @@ > self.server = server > > if is_new_pool is False: > - cmd = "virsh pool-dumpxml %s" % self.pool_name > + cmd = "virsh pool-dumpxml %s 2>/dev/null" % self.pool_name > s, disk_xml = utils.run_remote(server, cmd) > if s != 0: > logger.error("Encounter error dump netxml") > @@ -516,7 +517,7 @@ > return networkStr > > def dumpxml(self, ip): > - cmd = 'virsh -c %s dumpxml %s' % (self.vuri, self.dname) > + cmd = 'virsh -c %s dumpxml %s 2>/dev/null' % (self.vuri, self.dname) > s, o = utils.run_remote(ip, cmd) > if s == 0: > self.xml_string = o > diff -r e9de3634a256 -r c19371e7fb58 suites/libvirt-cim/lib/XenKvmLib/xm_virt_util.py > --- a/suites/libvirt-cim/lib/XenKvmLib/xm_virt_util.py Thu Dec 03 14:12:00 2009 -0800 > +++ b/suites/libvirt-cim/lib/XenKvmLib/xm_virt_util.py Thu Dec 03 14:12:00 2009 -0800 > @@ -97,7 +97,7 @@ > if virt == "XenFV": > virt = "Xen" > > - cmd = "virsh -c %s destroy %s" % (virt2uri(virt), dom) > + cmd = "virsh -c %s destroy %s 2>/dev/null" % (virt2uri(virt), dom) > ret, out = utils.run_remote(server, cmd) > print cmd, ret, out > > @@ -108,7 +108,7 @@ > if virt == "XenFV": > virt = "Xen" > > - cmd = "virsh -c %s list --all | sed -e '1,2 d' -e '$ d'" % \ > + cmd = "virsh -c %s list --all 2>/dev/null | sed -e '1,2 d' -e '$ d'" % \ > virt2uri(virt) > ret, out = utils.run_remote(server, cmd) > > @@ -128,7 +128,7 @@ > if virt == "XenFV": > virt = "Xen" > > - cmd = "virsh -c %s list | sed -e '1,2 d' -e '$ d'" % \ > + cmd = "virsh -c %s list 2>/dev/null | sed -e '1,2 d' -e '$ d'" % \ > virt2uri(virt) > ret, out = utils.run_remote(server, cmd) > > @@ -175,7 +175,7 @@ > def net_list(server, virt="Xen"): > """Function to list active network""" > names = [] > - cmd = "virsh -c %s net-list | sed -e '1,2 d' -e '$ d'" % \ > + cmd = "virsh -c %s net-list 2>/dev/null | sed -e '1,2 d' -e '$ d'" % \ > virt2uri(virt) > ret, out = utils.run_remote(server, cmd) > > @@ -192,8 +192,8 @@ > def get_bridge_from_network_xml(network, server, virt="Xen"): > """Function returns bridge name for a given virtual network""" > > - cmd = "virsh -c %s net-dumpxml %s | awk '/bridge name/ { print $2 }'" % \ > - (virt2uri(virt), network) > + cmd = "virsh -c %s net-dumpxml %s 2>/dev/null | \ > + awk '/bridge name/ { print $2 }'" % (virt2uri(virt), network) > ret, out = utils.run_remote(server, cmd) > > if ret != 0: > @@ -205,7 +205,7 @@ > def net_destroy(network, server, virt="Xen"): > """Function destroys a given virtual network""" > > - cmd = "virsh -c %s net-destroy %s" % (virt2uri(virt), network) > + cmd = "virsh -c %s net-destroy %s 2>/dev/null" % (virt2uri(virt), network) > ret, out = utils.run_remote(server, cmd) > > return ret > @@ -224,7 +224,7 @@ > return None > > def virsh_version(server, virt="KVM"): > - cmd = "virsh -c %s -v " % virt2uri(virt) > + cmd = "virsh -c %s -v 2>/dev/null" % virt2uri(virt) > ret, out = utils.run_remote(server, cmd) > if ret != 0: > return None > @@ -233,7 +233,7 @@ > def diskpool_list(server, virt="KVM"): > """Function to list active DiskPool list""" > names = [] > - cmd = "virsh -c %s pool-list | sed -e '1,2 d' -e '$ d'" % \ > + cmd = "virsh -c %s pool-list 2>/dev/null | sed -e '1,2 d' -e '$ d'" % \ > virt2uri(virt) > ret, out = utils.run_remote(server, cmd) > > @@ -251,7 +251,7 @@ > def vol_list(server, virt="KVM", pool_name=None): > """ Function to list the volumes of a pool""" > > - cmd = "virsh -c %s vol-list %s | sed -e '1,2 d' -e '$ d'" \ > + cmd = "virsh -c %s vol-list %s 2>/dev/null | sed -e '1,2 d' -e '$ d'" \ > % (virt2uri(virt), pool_name) > ret, out = utils.run_remote(server, cmd) > if ret != 0: > @@ -262,7 +262,7 @@ > def vol_delete(server, virt="KVM", vol_name=None, pool_name=None): > """ Function to delete the volume of a pool""" > > - cmd = "virsh -c %s vol-delete %s --pool %s"\ > + cmd = "virsh -c %s vol-delete %s --pool %s 2>/dev/null" \ > % (virt2uri(virt), vol_name, pool_name) > ret, out = utils.run_remote(server, cmd) > if ret != 0: > @@ -272,19 +272,19 @@ > > > def virsh_vcpuinfo(server, dom, virt="Xen"): > - cmd = "virsh -c %s vcpuinfo %s | grep VCPU | wc -l" % (virt2uri(virt), > - dom) > + cmd = "virsh -c %s vcpuinfo %s 2>/dev/null | grep VCPU | wc -l" \ > + % (virt2uri(virt), dom) > ret, out = utils.run_remote(server, cmd) > if out.isdigit(): > return out > return None > > def get_hv_ver(server, virt="Xen"): > - cmd = "virsh -c %s version" %virt2uri(virt) > + cmd = "virsh -c %s version 2>/dev/null" %virt2uri(virt) > ret, out = utils.run_remote(server, cmd) > if ret == 0: > - cmd = "virsh -c %s version | grep ^Running | cut -d ' ' -f 3,4" \ > - %virt2uri(virt) > + cmd = "virsh -c %s version 2>/dev/null | grep ^Running | \ > + cut -d ' ' -f 3,4" % virt2uri(virt) > > # This is a workaround work for F10. > # The version option does not seem to work on F10. > > _______________________________________________ > 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 rmaciel at linux.vnet.ibm.com Tue Dec 8 16:14:42 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Tue, 08 Dec 2009 14:14:42 -0200 Subject: [Libvirt-cim] [PATCH] [TEST] Remove hardcoded image path in RPCS 09 In-Reply-To: <320b40f37a368cbc801b.1259969817@elm3b41.beaverton.ibm.com> References: <320b40f37a368cbc801b.1259969817@elm3b41.beaverton.ibm.com> Message-ID: <4B1E7B72.2010401@linux.vnet.ibm.com> +1 On 12/04/2009 09:36 PM, Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1259949819 28800 > # Node ID 320b40f37a368cbc801b7e2761e84cf65136e118 > # Parent c19371e7fb585e64291dafc2b7f84dc1f1d8255e > [TEST] Remove hardcoded image path in RPCS 09 > > Also fix a line that is over 80 characters long. > > diff -r 2ba5bf416501 -r a2d8acd05db2 suites/libvirt-cim/cimtest/ResourcePoolConf > igurationService/09_DeleteDiskPool.py > > diff -r c19371e7fb58 -r 320b40f37a36 suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/09_DeleteDiskPool.py > --- a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/09_DeleteDiskPool.py Thu Dec 03 14:12:00 2009 -0800 > +++ b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/09_DeleteDiskPool.py Fri Dec 04 10:03:39 2009 -0800 > @@ -48,7 +48,8 @@ > from XenKvmLib import rpcs_service > from CimTest.Globals import logger > from CimTest.ReturnCodes import FAIL, PASS > -from XenKvmLib.const import do_main, platform_sup, get_provider_version > +from XenKvmLib.const import do_main, platform_sup, get_provider_version, \ > + _image_dir > from XenKvmLib.enumclass import EnumInstances, EnumNames > from XenKvmLib.classes import get_typed_class > from XenKvmLib.pool import create_pool, verify_pool, undefine_diskpool > @@ -75,7 +76,8 @@ > rpcs_conn.DeleteResourcePool() > except pywbem.CIMError, (err_no, desc): > if err_no == cim_errno : > - logger.info("Got expected exception for '%s' service", cim_mname) > + logger.info("Got expected exception for '%s' service", > + cim_mname) > logger.info("Errno is '%s' ", err_no) > logger.info("Error string is '%s'", desc) > return PASS > @@ -87,7 +89,7 @@ > elif curr_cim_rev>= libvirt_cim_child_pool_rev: > > try: > - pool_attr = { "Path" : "/tmp" } > + pool_attr = { "Path" : _image_dir } > status = create_pool(server, virt, test_pool, pool_attr, > pool_type="DiskPool", mode_type=TYPE) > if status != PASS: > > _______________________________________________ > 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 rmaciel at linux.vnet.ibm.com Tue Dec 8 17:07:55 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Tue, 08 Dec 2009 15:07:55 -0200 Subject: [Libvirt-cim] [PATCH] [TEST] In addition to setting the current memory, set the max memory as well In-Reply-To: References: Message-ID: <4B1E87EB.3050708@linux.vnet.ibm.com> +1 On 12/04/2009 09:38 PM, Kaitlin Rupert wrote: > 00 > @@ -52,6 +52,7 @@ -- Richard Maciel, MSc IBM Linux Technology Center rmaciel at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Tue Dec 8 17:24:37 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Tue, 08 Dec 2009 09:24:37 -0800 Subject: [Libvirt-cim] [PATCH] [TEST](#2) VirtCIM init for the LXC virt must also receive pae, acpi and apic param In-Reply-To: <8698f85c7b5fdd68ff4a.1259986982@localhost.localdomain> References: <8698f85c7b5fdd68ff4a.1259986982@localhost.localdomain> Message-ID: <4B1E8BD5.6080005@linux.vnet.ibm.com> Richard Maciel wrote: > # HG changeset patch > # User Richard Maciel > # Date 1259986929 7200 > # Node ID 8698f85c7b5fdd68ff4a732852fcb21e5f044497 > # Parent 9445f602d8a8705743254f85ef426d284ab382d4 > [TEST](#2) VirtCIM init for the LXC virt must also receive pae, acpi and apic param > > #2: > - Fixed code style > > Signed-off-by: Richard Maciel > > diff -r 9445f602d8a8 -r 8698f85c7b5f suites/libvirt-cim/lib/XenKvmLib/vxml.py > --- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Wed Nov 18 13:50:16 2009 -0800 > +++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Sat Dec 05 02:22:09 2009 -0200 > @@ -996,10 +996,13 @@ > address="127.0.0.1", port_num='-1', keymap="en-us", > irstype="mouse", btype="usb", vnc_passwd=None): > VirtXML.__init__(self, 'lxc', test_dom, set_uuid(), mem, vcpus) > - VirtCIM.__init__(self, 'LXC', test_dom, uuid, const.LXC_default_mp, > - const.LXC_default_source, ntype, net_name, mac, vcpus, > - mem, const.default_mallocunits, None, grstype, > - address, port_num, keymap, irstype, btype, vnc_passwd) > + # pae, acpi and apic parameters doesn't make sense here, so we > + # statically set them to False (a.k.a. ignore them) > + VirtCIM.__init__(self, 'LXC', test_dom, uuid, False, False, False, > + const.LXC_default_mp, const.LXC_default_source, ntype, > + net_name, mac, vcpus, mem, const.default_mallocunits, > + None, grstype, address, port_num, keymap, irstype, btype, This line is over 80 characters. Also, this doesn't apply on updated sources. Can you rebase this on updated sources? Thanks! -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Wed Dec 9 19:44:58 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Wed, 09 Dec 2009 11:44:58 -0800 Subject: [Libvirt-cim] [PATCH] Revert net->name to net->source Message-ID: # HG changeset patch # User Kaitlin Rupert # Date 1260387726 28800 # Node ID c3eef4ba0afdf544c36a38759754075fcda68739 # Parent 04bed5a4c113db575b34761ccc2ce06e48839e7e Revert net->name to net->source For Xen guests, a network device is turned into a bridge device. However, the network resource still belongs to the virtual network pool. This change makes sure the bridge name is written to the source field of the net struct so that look ups in Virt_DevicePool.c work properly. Signed-off-by: Kaitlin Rupert diff -r 04bed5a4c113 -r c3eef4ba0afd libxkutil/device_parsing.c --- a/libxkutil/device_parsing.c Tue Dec 08 15:19:04 2009 -0800 +++ b/libxkutil/device_parsing.c Wed Dec 09 11:42:06 2009 -0800 @@ -304,8 +304,8 @@ if (ndev->mac == NULL) goto err; } else if (XSTREQ(child->name, "source")) { - ndev->name = get_attr_value(child, "bridge"); - if (ndev->name != NULL) + ndev->source = get_attr_value(child, "bridge"); + if (ndev->source != NULL) continue; ndev->source = get_attr_value(child, "network"); if (ndev->source != NULL) @@ -659,7 +659,6 @@ DUP_FIELD(dev, _dev, dev.net.mac); DUP_FIELD(dev, _dev, dev.net.type); DUP_FIELD(dev, _dev, dev.net.source); - DUP_FIELD(dev, _dev, dev.net.name); DUP_FIELD(dev, _dev, dev.net.model); } else if (dev->type == CIM_RES_TYPE_DISK) { DUP_FIELD(dev, _dev, dev.disk.type); diff -r 04bed5a4c113 -r c3eef4ba0afd libxkutil/device_parsing.h --- a/libxkutil/device_parsing.h Tue Dec 08 15:19:04 2009 -0800 +++ b/libxkutil/device_parsing.h Wed Dec 09 11:42:06 2009 -0800 @@ -50,7 +50,6 @@ char *mac; char *source; char *model; - char *name; }; struct mem_device { diff -r 04bed5a4c113 -r c3eef4ba0afd libxkutil/xmlgen.c --- a/libxkutil/xmlgen.c Tue Dec 08 15:19:04 2009 -0800 +++ b/libxkutil/xmlgen.c Wed Dec 09 11:42:06 2009 -0800 @@ -165,12 +165,7 @@ { xmlNodePtr tmp; - if ((STREQC(src_type, "bridge")) && (dev->name != NULL)) { - tmp = xmlNewChild(nic, NULL, BAD_CAST "source", NULL); - if (tmp == NULL) - return XML_ERROR; - xmlNewProp(tmp, BAD_CAST src_type, BAD_CAST dev->name); - } else if ((STREQC(src_type, "network")) && (dev->source != NULL)) { + if (dev->source != NULL) { tmp = xmlNewChild(nic, NULL, BAD_CAST "source", NULL); if (tmp == NULL) return XML_ERROR; diff -r 04bed5a4c113 -r c3eef4ba0afd src/Virt_RASD.c --- a/src/Virt_RASD.c Tue Dec 08 15:19:04 2009 -0800 +++ b/src/Virt_RASD.c Wed Dec 09 11:42:06 2009 -0800 @@ -435,11 +435,11 @@ (CMPIValue *)dev->dev.net.mac, CMPI_chars); - if ((dev->dev.net.name != NULL) && - (STREQ(dev->dev.net.type, "bridge"))) + if ((dev->dev.net.source != NULL) + && (STREQ(dev->dev.net.type, "bridge"))) CMSetProperty(inst, "NetworkName", - (CMPIValue *)dev->dev.net.name, + (CMPIValue *)dev->dev.net.source, CMPI_chars); if (dev->dev.net.model != NULL) diff -r 04bed5a4c113 -r c3eef4ba0afd src/Virt_VirtualSystemManagementService.c --- a/src/Virt_VirtualSystemManagementService.c Tue Dec 08 15:19:04 2009 -0800 +++ b/src/Virt_VirtualSystemManagementService.c Wed Dec 09 11:42:06 2009 -0800 @@ -720,15 +720,15 @@ dev->id = strdup(dev->dev.net.mac); free(dev->dev.net.type); - free(dev->dev.net.name); if (cu_get_str_prop(inst, "NetworkType", &val) != CMPI_RC_OK) return "No Network Type specified"; + free(dev->dev.net.source); if (STREQC(val, BRIDGE_TYPE)) { dev->dev.net.type = strdup(BRIDGE_TYPE); if (cu_get_str_prop(inst, "NetworkName", &val) == CMPI_RC_OK) if (strlen(val) > 0) - dev->dev.net.name = strdup(val); + dev->dev.net.source = strdup(val); else return "Bridge name is empty"; else @@ -741,7 +741,6 @@ if (val == NULL) return "No NetworkPool specified no default available"; - free(dev->dev.net.source); network = name_from_pool_id(val); if (network == NULL) { msg = "PoolID specified is not formatted properly"; From snmishra at us.ibm.com Wed Dec 9 19:43:06 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Wed, 9 Dec 2009 11:43:06 -0800 Subject: [Libvirt-cim] [PATCH] Revert net->name to net->source In-Reply-To: References: Message-ID: +1 Sharad Mishra System x Enablement Linux Technology Center IBM Kaitlin Rupert To Sent by: libvirt-cim at redhat.com libvirt-cim-bounc cc es at redhat.com Subject [Libvirt-cim] [PATCH] Revert net-> 12/09/2009 11:44 name to net->source AM Please respond to List for discussion and development of libvirt CIM # HG changeset patch # User Kaitlin Rupert # Date 1260387726 28800 # Node ID c3eef4ba0afdf544c36a38759754075fcda68739 # Parent 04bed5a4c113db575b34761ccc2ce06e48839e7e Revert net->name to net->source For Xen guests, a network device is turned into a bridge device. However, the network resource still belongs to the virtual network pool. This change makes sure the bridge name is written to the source field of the net struct so that look ups in Virt_DevicePool.c work properly. Signed-off-by: Kaitlin Rupert diff -r 04bed5a4c113 -r c3eef4ba0afd libxkutil/device_parsing.c --- a/libxkutil/device_parsing.c Tue Dec 08 15:19:04 2009 -0800 +++ b/libxkutil/device_parsing.c Wed Dec 09 11:42:06 2009 -0800 @@ -304,8 +304,8 @@ if (ndev->mac == NULL) goto err; } else if (XSTREQ(child->name, "source")) { - ndev->name = get_attr_value(child, "bridge"); - if (ndev->name != NULL) + ndev->source = get_attr_value(child, "bridge"); + if (ndev->source != NULL) continue; ndev->source = get_attr_value(child, "network"); if (ndev->source != NULL) @@ -659,7 +659,6 @@ DUP_FIELD(dev, _dev, dev.net.mac); DUP_FIELD(dev, _dev, dev.net.type); DUP_FIELD(dev, _dev, dev.net.source); - DUP_FIELD(dev, _dev, dev.net.name); DUP_FIELD(dev, _dev, dev.net.model); } else if (dev->type == CIM_RES_TYPE_DISK) { DUP_FIELD(dev, _dev, dev.disk.type); diff -r 04bed5a4c113 -r c3eef4ba0afd libxkutil/device_parsing.h --- a/libxkutil/device_parsing.h Tue Dec 08 15:19:04 2009 -0800 +++ b/libxkutil/device_parsing.h Wed Dec 09 11:42:06 2009 -0800 @@ -50,7 +50,6 @@ char *mac; char *source; char *model; - char *name; }; struct mem_device { diff -r 04bed5a4c113 -r c3eef4ba0afd libxkutil/xmlgen.c --- a/libxkutil/xmlgen.c Tue Dec 08 15:19:04 2009 -0800 +++ b/libxkutil/xmlgen.c Wed Dec 09 11:42:06 2009 -0800 @@ -165,12 +165,7 @@ { xmlNodePtr tmp; - if ((STREQC(src_type, "bridge")) && (dev->name != NULL)) { - tmp = xmlNewChild(nic, NULL, BAD_CAST "source", NULL); - if (tmp == NULL) - return XML_ERROR; - xmlNewProp(tmp, BAD_CAST src_type, BAD_CAST dev->name); - } else if ((STREQC(src_type, "network")) && (dev->source != NULL)) { + if (dev->source != NULL) { tmp = xmlNewChild(nic, NULL, BAD_CAST "source", NULL); if (tmp == NULL) return XML_ERROR; diff -r 04bed5a4c113 -r c3eef4ba0afd src/Virt_RASD.c --- a/src/Virt_RASD.c Tue Dec 08 15:19:04 2009 -0800 +++ b/src/Virt_RASD.c Wed Dec 09 11:42:06 2009 -0800 @@ -435,11 +435,11 @@ (CMPIValue *)dev->dev.net.mac, CMPI_chars); - if ((dev->dev.net.name != NULL) && - (STREQ(dev->dev.net.type, "bridge"))) + if ((dev->dev.net.source != NULL) + && (STREQ(dev->dev.net.type, "bridge"))) CMSetProperty(inst, "NetworkName", - (CMPIValue *)dev->dev.net.name, + (CMPIValue *)dev->dev.net.source, CMPI_chars); if (dev->dev.net.model != NULL) diff -r 04bed5a4c113 -r c3eef4ba0afd src/Virt_VirtualSystemManagementService.c --- a/src/Virt_VirtualSystemManagementService.c Tue Dec 08 15:19:04 2009 -0800 +++ b/src/Virt_VirtualSystemManagementService.c Wed Dec 09 11:42:06 2009 -0800 @@ -720,15 +720,15 @@ dev->id = strdup(dev->dev.net.mac); free(dev->dev.net.type); - free(dev->dev.net.name); if (cu_get_str_prop(inst, "NetworkType", &val) != CMPI_RC_OK) return "No Network Type specified"; + free(dev->dev.net.source); if (STREQC(val, BRIDGE_TYPE)) { dev->dev.net.type = strdup(BRIDGE_TYPE); if (cu_get_str_prop(inst, "NetworkName", &val) == CMPI_RC_OK) if (strlen(val) > 0) - dev->dev.net.name = strdup(val); + dev->dev.net.source = strdup(val); else return "Bridge name is empty"; else @@ -741,7 +741,6 @@ if (val == NULL) return "No NetworkPool specified no default available"; - free(dev->dev.net.source); network = name_from_pool_id(val); if (network == NULL) { msg = "PoolID specified is not formatted properly"; _______________________________________________ Libvirt-cim mailing list Libvirt-cim at redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: graycol.gif Type: image/gif Size: 105 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pic27298.gif Type: image/gif Size: 1255 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ecblank.gif Type: image/gif Size: 45 bytes Desc: not available URL: From rmaciel at linux.vnet.ibm.com Thu Dec 10 00:24:33 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Wed, 09 Dec 2009 22:24:33 -0200 Subject: [Libvirt-cim] [PATCH] [TEST](#2) VirtCIM init for the LXC virt must also receive pae, acpi and apic param In-Reply-To: <4B1E8BD5.6080005@linux.vnet.ibm.com> References: <8698f85c7b5fdd68ff4a.1259986982@localhost.localdomain> <4B1E8BD5.6080005@linux.vnet.ibm.com> Message-ID: <4B203FC1.5060906@linux.vnet.ibm.com> On 12/08/2009 03:24 PM, Kaitlin Rupert wrote: > Richard Maciel wrote: >> # HG changeset patch >> # User Richard Maciel >> # Date 1259986929 7200 >> # Node ID 8698f85c7b5fdd68ff4a732852fcb21e5f044497 >> # Parent 9445f602d8a8705743254f85ef426d284ab382d4 >> [TEST](#2) VirtCIM init for the LXC virt must also receive pae, acpi >> and apic param >> >> #2: >> - Fixed code style >> >> Signed-off-by: Richard Maciel >> >> diff -r 9445f602d8a8 -r 8698f85c7b5f >> suites/libvirt-cim/lib/XenKvmLib/vxml.py >> --- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Wed Nov 18 13:50:16 >> 2009 -0800 >> +++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Sat Dec 05 02:22:09 >> 2009 -0200 >> @@ -996,10 +996,13 @@ >> address="127.0.0.1", port_num='-1', keymap="en-us", >> irstype="mouse", btype="usb", vnc_passwd=None): >> VirtXML.__init__(self, 'lxc', test_dom, set_uuid(), mem, vcpus) >> - VirtCIM.__init__(self, 'LXC', test_dom, uuid, const.LXC_default_mp, >> - const.LXC_default_source, ntype, net_name, mac, vcpus, >> - mem, const.default_mallocunits, None, grstype, - address, port_num, >> keymap, irstype, btype, vnc_passwd) >> + # pae, acpi and apic parameters doesn't make sense here, so we + # >> statically set them to False (a.k.a. ignore them) >> + VirtCIM.__init__(self, 'LXC', test_dom, uuid, False, False, False, >> + const.LXC_default_mp, const.LXC_default_source, ntype, >> + net_name, mac, vcpus, mem, const.default_mallocunits, + None, >> grstype, address, port_num, keymap, irstype, btype, > Fixed! Sorry about that! > This line is over 80 characters. Also, this doesn't apply on updated > sources. Can you rebase this on updated sources? > > Thanks! > -- Richard Maciel, MSc IBM Linux Technology Center rmaciel at linux.vnet.ibm.com From rmaciel at linux.vnet.ibm.com Mon Dec 7 04:42:21 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Mon, 07 Dec 2009 04:42:21 -0000 Subject: [Libvirt-cim] [PATCH] [TEST](#3) VirtCIM init for the LXC virt must also receive pae, acpi and apic param Message-ID: <683a8a57d54506032a65.1260160941@localhost.localdomain> # HG changeset patch # User Richard Maciel # Date 1259986929 7200 # Node ID 683a8a57d54506032a659bdb9178b7558827ffde # Parent 9ead5a3d9abf030286ace6137698725edb79ec94 [TEST](#3) VirtCIM init for the LXC virt must also receive pae, acpi and apic param #2: - Fixed code style #3: - Rebased code - Fixed additional code style Signed-off-by: Richard Maciel diff -r 9ead5a3d9abf -r 683a8a57d545 suites/libvirt-cim/lib/XenKvmLib/vxml.py --- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Fri Dec 04 10:35:09 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Sat Dec 05 02:22:09 2009 -0200 @@ -1005,9 +1005,12 @@ keymap="en-us", irstype="mouse", btype="usb", vnc_passwd=None): VirtXML.__init__(self, 'lxc', test_dom, set_uuid(), mem, vcpus) - VirtCIM.__init__(self, 'LXC', test_dom, uuid, const.LXC_default_mp, - const.LXC_default_source, ntype, net_name, mac, vcpus, - mem, const.default_mallocunits, None, grstype, + # pae, acpi and apic parameters doesn't make sense here, so we + # statically set them to False (a.k.a. ignore them) + VirtCIM.__init__(self, 'LXC', test_dom, uuid, False, False, False, + const.LXC_default_mp, const.LXC_default_source, + ntype, net_name, mac, vcpus, mem, + const.default_mallocunits, None, grstype, address, is_ipv6_only, port_num, keymap, irstype, btype, vnc_passwd) self._os(const.LXC_init_path) From kaitlin at linux.vnet.ibm.com Thu Dec 10 00:56:54 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Wed, 09 Dec 2009 16:56:54 -0800 Subject: [Libvirt-cim] [PATCH] [TEST](#2) VirtCIM init for the LXC virt must also receive pae, acpi and apic param In-Reply-To: <4B203FC1.5060906@linux.vnet.ibm.com> References: <8698f85c7b5fdd68ff4a.1259986982@localhost.localdomain> <4B1E8BD5.6080005@linux.vnet.ibm.com> <4B203FC1.5060906@linux.vnet.ibm.com> Message-ID: <4B204756.6050704@linux.vnet.ibm.com> >>> + net_name, mac, vcpus, mem, const.default_mallocunits, + None, >>> grstype, address, port_num, keymap, irstype, btype, >> > > Fixed! Sorry about that! > >> This line is over 80 characters. Also, this doesn't apply on updated >> sources. Can you rebase this on updated sources? >> No worries! I've applied your updated patch. -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From rmaciel at linux.vnet.ibm.com Thu Dec 10 01:39:11 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Thu, 10 Dec 2009 01:39:11 -0000 Subject: [Libvirt-cim] [PATCH] [TEST] (#3) LXC currently doesn't support VNC, so skip appropriated tests Message-ID: <7ce11553d0f236f8bd96.1260409151@localhost.localdomain> # HG changeset patch # User Richard Maciel # Date 1259357082 7200 # Node ID 7ce11553d0f236f8bd961852720e33a6f7c63ac3 # Parent cdb453f85c01098c4e1bce2ff23dc075f2148390 [TEST] (#3) LXC currently doesn't support VNC, so skip appropriated tests #2: - Added missing testcase fix #3: - Fixed codestyle Signed-off-by: Richard Maciel diff -r cdb453f85c01 -r 7ce11553d0f2 suites/libvirt-cim/cimtest/HostedAccessPoint/01_forward.py --- a/suites/libvirt-cim/cimtest/HostedAccessPoint/01_forward.py Sat Dec 05 02:22:09 2009 -0200 +++ b/suites/libvirt-cim/cimtest/HostedAccessPoint/01_forward.py Fri Nov 27 19:24:42 2009 -0200 @@ -110,6 +110,9 @@ "skipping the tc ....") return SKIP + if options.virt == 'LXC': + logger.info("VNC is not supported by LXC, hence skipping the tc ....") + return SKIP status, cxml = setup_env(options.ip, options.virt) if status != PASS: diff -r cdb453f85c01 -r 7ce11553d0f2 suites/libvirt-cim/cimtest/HostedAccessPoint/02_reverse.py --- a/suites/libvirt-cim/cimtest/HostedAccessPoint/02_reverse.py Sat Dec 05 02:22:09 2009 -0200 +++ b/suites/libvirt-cim/cimtest/HostedAccessPoint/02_reverse.py Fri Nov 27 19:24:42 2009 -0200 @@ -116,6 +116,10 @@ logger.info("'HostedAccessPoint' provider not supported, hence " + "skipping the tc ....") return SKIP + + if options.virt == 'LXC': + logger.info("VNC is not supported by LXC, hence skipping the tc ....") + return SKIP status, cxml = setup_env(options.ip, options.virt) if status != PASS: diff -r cdb453f85c01 -r 7ce11553d0f2 suites/libvirt-cim/cimtest/KVMRedirectionSAP/01_enum_KVMredSAP.py --- a/suites/libvirt-cim/cimtest/KVMRedirectionSAP/01_enum_KVMredSAP.py Sat Dec 05 02:22:09 2009 -0200 +++ b/suites/libvirt-cim/cimtest/KVMRedirectionSAP/01_enum_KVMredSAP.py Fri Nov 27 19:24:42 2009 -0200 @@ -100,6 +100,10 @@ classname) return SKIP + if virt == 'LXC': + logger.info("VNC is not supported by LXC, hence skipping the tc ....") + return SKIP + vsxml = None action_start = False diff -r cdb453f85c01 -r 7ce11553d0f2 suites/libvirt-cim/cimtest/RedirectionService/03_RedirectionSAP_errs.py --- a/suites/libvirt-cim/cimtest/RedirectionService/03_RedirectionSAP_errs.py Sat Dec 05 02:22:09 2009 -0200 +++ b/suites/libvirt-cim/cimtest/RedirectionService/03_RedirectionSAP_errs.py Fri Nov 27 19:24:42 2009 -0200 @@ -76,6 +76,10 @@ "hence skipping the test ....") return SKIP + if options.virt == 'LXC': + logger.info("VNC is not supported by LXC, hence skipping the tc ....") + return SKIP + # Getting the VS list and deleting the test_dom if it already exists. cxml = vxml.get_class(options.virt)(test_dom, vcpus=test_vcpus) ret = cxml.cim_define(options.ip) diff -r cdb453f85c01 -r 7ce11553d0f2 suites/libvirt-cim/cimtest/VirtualSystemManagementService/20_verify_vnc_password.py --- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/20_verify_vnc_password.py Sat Dec 05 02:22:09 2009 -0200 +++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/20_verify_vnc_password.py Fri Nov 27 19:24:42 2009 -0200 @@ -76,6 +76,10 @@ logger.info("VNC Password support not available, feature available in"\ " '%s' revision..", libvirtcim_vnc_passwd_changes) return SKIP + + if virt == 'LXC': + logger.info("VNC is not supported by LXC, hence skipping the tc ....") + return SKIP cxml = vxml.get_class(virt)(default_dom, vnc_passwd=passwd) From deeptik at linux.vnet.ibm.com Thu Dec 10 12:02:35 2009 From: deeptik at linux.vnet.ibm.com (Deepti B. Kalakeri) Date: Thu, 10 Dec 2009 04:02:35 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Fixing vsms/08_modifyresource.py Message-ID: # HG changeset patch # User Deepti B. Kalakeri diff -r 683a8a57d545 -r e95a3d156fc2 suites/libvirt-cim/lib/XenKvmLib/vsms_util.py --- a/suites/libvirt-cim/lib/XenKvmLib/vsms_util.py Sat Dec 05 02:22:09 2009 -0200 +++ b/suites/libvirt-cim/lib/XenKvmLib/vsms_util.py Thu Dec 10 03:59:34 2009 -0800 @@ -120,9 +120,10 @@ cxml.dumpxml(server) dom = cxml.xml_get_dom_name() cpu = virsh_vcpuinfo(server, dom, virt) - if cpu is None: + if int(cpu) < int(ncpu) or cpu is None: logger.info("Unable to get vcpuinfo from virsh, using XML values") cpu = cxml.xml_get_vcpu() + if int(cpu) != int(ncpu): logger.error("Got %d, exp %d.", int(cpu), int(ncpu)) raise Exception('Error changing rs for vcpu') From kaitlin at linux.vnet.ibm.com Thu Dec 10 22:58:13 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 10 Dec 2009 14:58:13 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Fixing vsms/08_modifyresource.py In-Reply-To: References: Message-ID: <4B217D05.7090200@linux.vnet.ibm.com> Deepti B. Kalakeri wrote: > # HG changeset patch > # User Deepti B. Kalakeri # Date 1260446374 28800 > # Node ID e95a3d156fc2284484f98f07c39fbfd65929a395 > # Parent 683a8a57d54506032a659bdb9178b7558827ffde > [TEST] Fixing vsms/08_modifyresource.py > > Tested with KVM and current sources on Fedora > Signed-off-by: Deepti B. Kalakeri > > diff -r 683a8a57d545 -r e95a3d156fc2 suites/libvirt-cim/lib/XenKvmLib/vsms_util.py > --- a/suites/libvirt-cim/lib/XenKvmLib/vsms_util.py Sat Dec 05 02:22:09 2009 -0200 > +++ b/suites/libvirt-cim/lib/XenKvmLib/vsms_util.py Thu Dec 10 03:59:34 2009 -0800 > @@ -120,9 +120,10 @@ > cxml.dumpxml(server) > dom = cxml.xml_get_dom_name() > cpu = virsh_vcpuinfo(server, dom, virt) > - if cpu is None: > + if int(cpu) < int(ncpu) or cpu is None: This works, but it's more of a work around. In this case, vcpuinfo returns an error. When we check the output for the VCPU string, we get zero occurrences, which is what virsh_vcpuinfo() returns. A better check would be to see if the virsh call returns an error. If it does, virsh_vcpuinfo() should return None. Otherwise, it should return an integer. > logger.info("Unable to get vcpuinfo from virsh, using XML values") > cpu = cxml.xml_get_vcpu() > + > if int(cpu) != int(ncpu): > logger.error("Got %d, exp %d.", int(cpu), int(ncpu)) > raise Exception('Error changing rs for vcpu') > > _______________________________________________ > 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 Sat Dec 12 01:15:51 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 11 Dec 2009 17:15:51 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Fix CSI to call handle_sub, sub_ind, and poll_for_ind from ind module Message-ID: # HG changeset patch # User Kaitlin Rupert # Date 1260576721 28800 # Node ID f6a811d7118444d411baa03847cb96d8cb483ab4 # Parent bbb978cccd1bd3d08bbb9d5e5ff796771d0bfd77 [TEST] Fix CSI to call handle_sub, sub_ind, and poll_for_ind from ind module No need to have duplicate code in this test case, as these functions already exist in the indications.py module. Signed-off-by: Kaitlin Rupert diff -r bbb978cccd1b -r f6a811d71184 suites/libvirt-cim/cimtest/ComputerSystemIndication/01_created_indication.py --- a/suites/libvirt-cim/cimtest/ComputerSystemIndication/01_created_indication.py Fri Nov 27 19:24:42 2009 -0200 +++ b/suites/libvirt-cim/cimtest/ComputerSystemIndication/01_created_indication.py Fri Dec 11 16:12:01 2009 -0800 @@ -31,39 +31,12 @@ from XenKvmLib.indication_tester import CIMIndicationSubscription from XenKvmLib.vxml import set_default from XenKvmLib.vxml import get_class +from XenKvmLib.indications import sub_ind, handle_request, poll_for_ind SUPPORTED_TYPES = ['Xen', 'XenFV', 'KVM'] test_dom = "domU" -def sub_ind(ip, virt): - dict = set_default(ip) - ind_names = {"define" : 'ComputerSystemCreatedIndication', - "start" : 'ComputerSystemModifiedIndication', - "destroy" : 'ComputerSystemDeletedIndication' - } - - sub_list = {} - port = 5 - - for ind, iname in ind_names.iteritems(): - ind_name = get_typed_class(virt, iname) - - sub_name = "Test%s" % ind_name - port += 1 - - sub = CIMIndicationSubscription(sub_name, ind_name, - dict['default_ns'], - dict['default_print_ind'], - dict['default_sysname'], - port) - sub.subscribe(dict['default_url'], dict['default_auth']) - logger.info("Watching for %s", iname) - ind_names[ind] = ind_name - sub_list[ind] = sub - - return sub_list, ind_names, dict - def gen_ind(test_dom, ip, vtype, ind, cxml): if ind == "define": ret = cxml.cim_define(ip) @@ -85,57 +58,6 @@ return FAIL -def handle_request(sub, ind_name, dict, exp_ind_ct): - #sfcb delivers indications to all registrations, even if the indication - #isn't what the registration was subscribed to. So, for modified and - #deleted indications, we must loop through until the indication we are - #looking for is triggered. - for i in range(0, exp_ind_ct): - sub.server.handle_request() - if len(sub.server.indications) < 1: - logger.error("No valid indications received") - return FAIL - - if str(sub.server.indications[0]) == ind_name: - sub.unsubscribe(dict['default_auth']) - logger.info("Cancelling subscription for %s", ind_name) - return PASS - else: - sub.server.indications.remove(sub.server.indications[0]) - - logger.error("Did not recieve indication %s", ind_name) - return FAIL - -def poll_for_ind(pid, ind_name): - status = FAIL - for i in range(0, 20): - pw = waitpid(pid, WNOHANG) - - # If pid exits, waitpid returns [pid, return_code] - # If pid is still running, waitpid returns [0, 0] - # Only return a success if waitpid returns the expected pid - # and the return code is 0. - if pw[0] == pid and pw[1] == 0: - logger.info("Great, got %s indication successfuly", ind_name) - status = PASS - break - elif pw[1] == 0 and i < 19: - if i % 10 == 0: - logger.info("In child, waiting for %s indication", ind_name) - sleep(1) - else: - # Time is up and waitpid never returned the expected pid - if pw[0] != pid: - logger.error("Waited too long for %s indication", ind_name) - kill(pid, SIGKILL) - else: - logger.error("Received indication error: %d", pw[1]) - - status = FAIL - break - - return status - @do_main(SUPPORTED_TYPES) def main(): options = main.options @@ -143,20 +65,24 @@ virt = options.virt status = FAIL - sub_list, ind_names, dict = sub_ind(ip, virt) - - ind_list = ["define", "start", "destroy"] + ind_names = {"define" : 'ComputerSystemCreatedIndication', + "start" : 'ComputerSystemModifiedIndication', + "destroy" : 'ComputerSystemDeletedIndication' + } cxml = get_class(virt)(test_dom) - for ind in ind_list: + sub_list, ind_names, dict = sub_ind(ip, virt, ind_names) + for ind in ind_names.keys(): + sub = sub_list[ind] ind_name = ind_names[ind] try: pid = fork() if pid == 0: - status = handle_request(sub, ind_name, dict, len(ind_list)) + status = handle_request(sub, ind_name, dict, + len(ind_names.keys())) if status != PASS: _exit(1) @@ -180,6 +106,9 @@ logger.error("Exception: %s", details) status = FAIL + #Give threads time to execute before unsubscribing + sleep(30) + #Make sure all subscriptions are really unsubscribed for ind, sub in sub_list.iteritems(): sub.unsubscribe(dict['default_auth']) From kaitlin at linux.vnet.ibm.com Sat Dec 12 01:16:22 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 11 Dec 2009 17:16:22 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Enable some tests to work with full virt Xen Message-ID: # HG changeset patch # User Kaitlin Rupert # Date 1260576721 28800 # Node ID f4cdb74b80f86892cd5739f86ccb215fa7ac8de3 # Parent f6a811d7118444d411baa03847cb96d8cb483ab4 [TEST] Enable some tests to work with full virt Xen No reason these tests should be skipped for full virt Xen guests. Signed-off-by: Kaitlin Rupert diff -r f6a811d71184 -r f4cdb74b80f8 suites/libvirt-cim/cimtest/ComputerSystemMigrationJobIndication/01_csmig_ind_for_offline_mig.py --- a/suites/libvirt-cim/cimtest/ComputerSystemMigrationJobIndication/01_csmig_ind_for_offline_mig.py Fri Dec 11 16:12:01 2009 -0800 +++ b/suites/libvirt-cim/cimtest/ComputerSystemMigrationJobIndication/01_csmig_ind_for_offline_mig.py Fri Dec 11 16:12:01 2009 -0800 @@ -41,7 +41,7 @@ destroy_netpool from XenKvmLib.indications import sub_ind, handle_request, poll_for_ind -sup_types = ['KVM', 'Xen'] +sup_types = ['KVM', 'Xen', 'XenFV'] REQUESTED_STATE = 3 diff -r f6a811d71184 -r f4cdb74b80f8 suites/libvirt-cim/cimtest/RASD/05_disk_rasd_emu_type.py --- a/suites/libvirt-cim/cimtest/RASD/05_disk_rasd_emu_type.py Fri Dec 11 16:12:01 2009 -0800 +++ b/suites/libvirt-cim/cimtest/RASD/05_disk_rasd_emu_type.py Fri Dec 11 16:12:01 2009 -0800 @@ -30,7 +30,7 @@ from CimTest.Globals import logger from XenKvmLib.const import get_provider_version -SUPPORTED_TYPES = ['KVM', 'Xen'] +SUPPORTED_TYPES = ['KVM', 'Xen', 'XenFV'] default_dom = 'test_domain' libvirt_em_type_changeset = 737 diff -r f6a811d71184 -r f4cdb74b80f8 suites/libvirt-cim/cimtest/VirtualSystemMigrationService/07_remote_offline_migration.py --- a/suites/libvirt-cim/cimtest/VirtualSystemMigrationService/07_remote_offline_migration.py Fri Dec 11 16:12:01 2009 -0800 +++ b/suites/libvirt-cim/cimtest/VirtualSystemMigrationService/07_remote_offline_migration.py Fri Dec 11 16:12:01 2009 -0800 @@ -39,7 +39,7 @@ cleanup_guest_netpool from XenKvmLib.common_util import poll_for_state_change, create_netpool_conf -sup_types = ['KVM', 'Xen'] +sup_types = ['KVM', 'Xen', 'XenFV'] REQUESTED_STATE = 3 From kaitlin at linux.vnet.ibm.com Sat Dec 12 01:16:33 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 11 Dec 2009 17:16:33 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] VSSD uses "Xen" not "XenFV" as part of the InstanceID Message-ID: <5978eee0beb98fb1d2d8.1260580593@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1260576721 28800 # Node ID 5978eee0beb98fb1d2d8780376fc8edd825589d7 # Parent f4cdb74b80f86892cd5739f86ccb215fa7ac8de3 [TEST] VSSD uses "Xen" not "XenFV" as part of the InstanceID Fix several tests to use the right InstanceID for Xen full virt guests. Signed-off-by: Kaitlin Rupert diff -r f4cdb74b80f8 -r 5978eee0beb9 suites/libvirt-cim/cimtest/RASDIndications/02_guest_add_mod_rem_rasd_ind.py --- a/suites/libvirt-cim/cimtest/RASDIndications/02_guest_add_mod_rem_rasd_ind.py Fri Dec 11 16:12:01 2009 -0800 +++ b/suites/libvirt-cim/cimtest/RASDIndications/02_guest_add_mod_rem_rasd_ind.py Fri Dec 11 16:12:01 2009 -0800 @@ -82,11 +82,17 @@ def gen_indication(test_dom, s_sysname, virt, cxml, service, ind_name, rasd=None, nmem_disk=None): status = FAIL + + if virt == "XenFV": + prefix = "Xen" + else: + prefix = virt + try: if ind_name == "add": cn = 'VirtualSystemSettingData' - inst_id = '%s:%s' % (virt, test_dom) + inst_id = '%s:%s' % (prefix, test_dom) classname = get_typed_class(virt, cn) vssd_ref = get_rasd_rec(virt, cn, s_sysname, inst_id) diff -r f4cdb74b80f8 -r 5978eee0beb9 suites/libvirt-cim/cimtest/VirtualSystemManagementService/22_addmulti_brg_interface.py --- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/22_addmulti_brg_interface.py Fri Dec 11 16:12:01 2009 -0800 +++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/22_addmulti_brg_interface.py Fri Dec 11 16:12:01 2009 -0800 @@ -74,7 +74,12 @@ if ret: raise Exception("Failed to define the dom: %s" % default_dom) - inst_id = '%s:%s' % (options.virt, test_dom) + if options.virt == "XenFV": + prefix = "Xen" + else: + prefix = options.virt + + inst_id = '%s:%s' % (prefix, test_dom) netpool = EnumNames(options.ip, classname) vssd_ref = None for i in range(0, len(netpool)): diff -r f4cdb74b80f8 -r 5978eee0beb9 suites/libvirt-cim/cimtest/VirtualSystemManagementService/23_verify_duplicate_mac_err.py --- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/23_verify_duplicate_mac_err.py Fri Dec 11 16:12:01 2009 -0800 +++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/23_verify_duplicate_mac_err.py Fri Dec 11 16:12:01 2009 -0800 @@ -113,7 +113,13 @@ service = get_vsms_class(options.virt)(options.ip) classname = get_typed_class(options.virt, 'VirtualSystemSettingData') netpool = EnumNames(options.ip, classname) - inst_id = '%s:%s' % (options.virt, default_dom) + + if options.virt == "XenFV": + prefix = "Xen" + else: + prefix = options.virt + + inst_id = '%s:%s' % (prefix, default_dom) vssd_ref = None for i in range(0, len(netpool)): ret_pool = netpool[i].keybindings['InstanceID'] From kaitlin at linux.vnet.ibm.com Sat Dec 12 01:16:45 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 11 Dec 2009 17:16:45 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] For Xen enabled systems, a storage volume template is generated for Message-ID: <2a52495fd1c2c47440b6.1260580605@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1260576721 28800 # Node ID 2a52495fd1c2c47440b65f723366ccc3826f1548 # Parent 5978eee0beb98fb1d2d8780376fc8edd825589d7 [TEST] For Xen enabled systems, a storage volume template is generated for ... Both para virt guests and full virt guests. Signed-off-by: Kaitlin Rupert diff -r 5978eee0beb9 -r 2a52495fd1c2 suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py --- a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py Fri Dec 11 16:12:01 2009 -0800 +++ b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py Fri Dec 11 16:12:01 2009 -0800 @@ -122,8 +122,15 @@ if item['Address'] == exp_vol_path and item['PoolID'] == dp_inst_id: dv_rasds.append(item) - if len(dv_rasds) != 4: - logger.error("Got '%s' StorageVolRASD's expected 4", len(dv_rasds)) + exp_template_rasd = 4 + + if virt == "Xen" or virt == "XenFV": + #There's one of each RASD type for both paravirt Xen and full virt Xen + exp_template_rasd = exp_template_rasd * 2 + + if len(dv_rasds) != exp_template_rasd: + logger.error("Got '%s' StorageVolRASD's expected %s", len(dv_rasds), + exp_template_rasd) return FAIL return PASS From kaitlin at linux.vnet.ibm.com Sat Dec 12 01:16:55 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 11 Dec 2009 17:16:55 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Have VSMS 24 test SKIP for para virt Xen guests Message-ID: # HG changeset patch # User Kaitlin Rupert # Date 1260576721 28800 # Node ID a3ab7e83b4cf90d4bdf338196621c36f50a4719d # Parent 2a52495fd1c2c47440b65f723366ccc3826f1548 [TEST] Have VSMS 24 test SKIP for para virt Xen guests Signed-off-by: Kaitlin Rupert diff -r 2a52495fd1c2 -r a3ab7e83b4cf suites/libvirt-cim/cimtest/VirtualSystemManagementService/24_define_sys_features.py --- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/24_define_sys_features.py Fri Dec 11 16:12:01 2009 -0800 +++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/24_define_sys_features.py Fri Dec 11 16:12:01 2009 -0800 @@ -28,7 +28,8 @@ from CimTest.ReturnCodes import FAIL, PASS from XenKvmLib.const import do_main -sup_types = ['Xen', 'KVM', 'XenFV'] +#Xen paravirt doesn't support ACPI, PAE, or APIC +sup_types = ['KVM', 'XenFV'] default_dom = 'features_domain' @do_main(sup_types) From kaitlin at linux.vnet.ibm.com Sat Dec 12 01:17:04 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 11 Dec 2009 17:17:04 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Remove hardcoded classname Message-ID: # HG changeset patch # User Kaitlin Rupert # Date 1260576721 28800 # Node ID ceb3cf5bc4d887de99e59f8c1ca7833ed0550b22 # Parent a3ab7e83b4cf90d4bdf338196621c36f50a4719d [TEST] Remove hardcoded classname Signed-off-by: Kaitlin Rupert diff -r a3ab7e83b4cf -r ceb3cf5bc4d8 suites/libvirt-cim/cimtest/VirtualSystemManagementService/24_verify_modifyres_output.py --- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/24_verify_modifyres_output.py Fri Dec 11 16:12:01 2009 -0800 +++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/24_verify_modifyres_output.py Fri Dec 11 16:12:01 2009 -0800 @@ -32,6 +32,7 @@ from XenKvmLib.const import do_main from CimTest.ReturnCodes import PASS, FAIL from XenKvmLib.vsms_util import call_modify_res +from XenKvmLib.classes import get_typed_class sup_types = ['Xen', 'KVM', 'XenFV'] default_dom = 'rstest_domain' @@ -40,7 +41,7 @@ def main(): options = main.options - cn = "KVM_DiskResourceAllocationSettingData" + cn = get_typed_class(options.virt, "DiskResourceAllocationSettingData") service = get_vsms_class(options.virt)(options.ip) cxml = vxml.get_class(options.virt)(default_dom) From kaitlin at linux.vnet.ibm.com Sat Dec 12 01:17:15 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 11 Dec 2009 17:17:15 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Fix order XenFV args are passed to VirtCIM __init__() Message-ID: <4c73bb18cd2d6144debd.1260580635@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1260576721 28800 # Node ID 4c73bb18cd2d6144debd06135ad8de6e569f6747 # Parent ceb3cf5bc4d887de99e59f8c1ca7833ed0550b22 [TEST] Fix order XenFV args are passed to VirtCIM __init__() When the acip, pae, and acpi args were added, they were added in the wrong order for XenFV guests. Signed-off-by: Kaitlin Rupert diff -r ceb3cf5bc4d8 -r 4c73bb18cd2d suites/libvirt-cim/lib/XenKvmLib/vxml.py --- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Fri Dec 11 16:12:01 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Fri Dec 11 16:12:01 2009 -0800 @@ -955,7 +955,7 @@ logger.error('Error: Disk image does not exist') sys.exit(1) VirtXML.__init__(self, 'xenfv', test_dom, set_uuid(), mem, vcpus) - VirtCIM.__init__(self, 'XenFV', test_dom, disk, uuid, pae, acpi, apic, + VirtCIM.__init__(self, 'XenFV', test_dom, uuid, pae, acpi, apic, disk, disk_file_path, ntype, net_name, mac, vcpus, mem, mem_allocunits, emu_type, grstype, address, is_ipv6_only, port_num, @@ -964,6 +964,8 @@ self._devices(const.XenFV_default_emulator, ntype, mac, net_name, disk_file_path, disk) + print address, port_num, is_ipv6_only + def _os(self, os_loader): os = self.get_node('/domain/os') self.add_sub_node(os, 'type', 'hvm') From kaitlin at linux.vnet.ibm.com Sat Dec 12 01:17:24 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 11 Dec 2009 17:17:24 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Get the proper default net template RASD Message-ID: <7635e4deb3516ffe938e.1260580644@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1260576721 28800 # Node ID 7635e4deb3516ffe938ee597bd5e771cd7fae491 # Parent 4c73bb18cd2d6144debd06135ad8de6e569f6747 [TEST] Get the proper default net template RASD The test caes assume "network" for the default interface type. Depending on how the templates are returned, SettingsDefineCapabilities might return a "bridge" or "user" type interface. This fix adds some additional filtering to get the proper template. Signed-off-by: Kaitlin Rupert diff -r 4c73bb18cd2d -r 7635e4deb351 suites/libvirt-cim/lib/XenKvmLib/rasd.py --- a/suites/libvirt-cim/lib/XenKvmLib/rasd.py Fri Dec 11 16:12:01 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/rasd.py Fri Dec 11 16:12:01 2009 -0800 @@ -29,7 +29,7 @@ from XenKvmLib.enumclass import GetInstance, EnumInstances from XenKvmLib.assoc import Associators from XenKvmLib.const import default_pool_name, default_network_name, \ - get_provider_version + get_provider_version, default_net_type from XenKvmLib.pool import enum_volumes from XenKvmLib.xm_virt_util import virsh_version from XenKvmLib.common_util import parse_instance_id @@ -251,6 +251,8 @@ ac_id_list.append("NetworkPool/%s" % default_network_name) ac_id_list.append("ProcessorPool/0") + net_cn = "NetResourceAllocationSettingData" + templates = [] for id in ac_id_list: @@ -260,7 +262,10 @@ return [] for rasd in rasd_list: - if rasd['InstanceID'] == "Default": + if rasd['InstanceID'] == "Default": + if rasd.classname.find(net_cn) > 0 and \ + rasd['NetworkType'] != default_net_type: + continue templates.append(rasd) return templates From rmaciel at linux.vnet.ibm.com Sat Dec 12 01:05:25 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Sat, 12 Dec 2009 01:05:25 -0000 Subject: [Libvirt-cim] [PATCH] [TEST] Fixed expected LXC devices Message-ID: <7377a5c5b8d587fac75f.1260579925@localhost.localdomain> # HG changeset patch # User Richard Maciel # Date 1260579910 7200 # Node ID 7377a5c5b8d587fac75f06a511f3f43f666b7294 # Parent 7ce11553d0f236f8bd961852720e33a6f7c63ac3 [TEST] Fixed expected LXC devices List of expected devices must not include LXC_Processor, but must include LXC_PointingDevice and LXC_LogicalDisk (with proper path) Signed-off-by: Richard Maciel diff -r 7ce11553d0f2 -r 7377a5c5b8d5 suites/libvirt-cim/cimtest/SystemDevice/01_forward.py --- a/suites/libvirt-cim/cimtest/SystemDevice/01_forward.py Fri Nov 27 19:24:42 2009 -0200 +++ b/suites/libvirt-cim/cimtest/SystemDevice/01_forward.py Fri Dec 11 23:05:10 2009 -0200 @@ -49,6 +49,8 @@ if virt == 'Xen': test_disk = 'xvdb' + elif virt == 'LXC': + test_disk = '/tmp' else: test_disk = 'hdb' @@ -90,29 +92,32 @@ mem_cn = get_typed_class(virt, "Memory") exp_pllist = { mem_cn : ['%s/mem' % test_dom] } - proc_cn = get_typed_class(virt, "Processor") - exp_pllist[proc_cn] = [] - for i in range(test_cpu): - exp_pllist[proc_cn].append( '%s/%s' % (test_dom, i)) + + input_cn = get_typed_class(virt, "PointingDevice") + if virt == 'LXC': + point_device = "%s/%s" %(test_dom, "mouse:usb") + elif virt == 'Xen': + point_device = "%s/%s" %(test_dom, "mouse:xen") + else: + point_device = "%s/%s" %(test_dom, "mouse:ps2") + + exp_pllist[input_cn] = [point_device] + + disk_cn = get_typed_class(virt, "LogicalDisk") + exp_pllist[disk_cn] = [ '%s/%s' % (test_dom, test_disk)] if virt != 'LXC': net_cn = get_typed_class(virt, "NetworkPort") - disk_cn = get_typed_class(virt, "LogicalDisk") exp_pllist[net_cn] = ['%s/%s' % (test_dom, test_mac)] - exp_pllist[disk_cn] = [ '%s/%s' % (test_dom, test_disk)] + + proc_cn = get_typed_class(virt, "Processor") + exp_pllist[proc_cn] = [] + for i in range(test_cpu): + exp_pllist[proc_cn].append( '%s/%s' % (test_dom, i)) curr_cim_rev, changeset = get_provider_version(virt, server) if curr_cim_rev >= input_graphics_pool_rev: - input_cn = get_typed_class(virt, "PointingDevice") graphics_cn = get_typed_class(virt, "DisplayController") - if virt == 'LXC': - point_device = "%s/%s" %(test_dom, "mouse:usb") - elif virt == 'Xen': - point_device = "%s/%s" %(test_dom, "mouse:xen") - else: - point_device = "%s/%s" %(test_dom, "mouse:ps2") - - exp_pllist[input_cn] = [point_device] exp_pllist[graphics_cn] = ['%s/graphics' % test_dom] From kaitlin at linux.vnet.ibm.com Sat Dec 12 02:06:47 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 11 Dec 2009 18:06:47 -0800 Subject: [Libvirt-cim] [PATCH 0 of 2] Add support for floppy devices Message-ID: From kaitlin at linux.vnet.ibm.com Sat Dec 12 02:06:49 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 11 Dec 2009 18:06:49 -0800 Subject: [Libvirt-cim] [PATCH 2 of 2] Add template RASD for floppy devices In-Reply-To: References: Message-ID: # HG changeset patch # User Kaitlin Rupert # Date 1260583468 28800 # Node ID e9f73b7c78fdde79996eb6a3a54cf56219153cc0 # Parent b7bb0916ce5f3e6b70b4ff666160e076bfd8783a Add template RASD for floppy devices Signed-off-by: Kaitlin Rupert diff -r b7bb0916ce5f -r e9f73b7c78fd src/Virt_SettingsDefineCapabilities.c --- a/src/Virt_SettingsDefineCapabilities.c Fri Dec 11 18:04:28 2009 -0800 +++ b/src/Virt_SettingsDefineCapabilities.c Fri Dec 11 18:04:28 2009 -0800 @@ -811,6 +811,8 @@ (CMPIValue *)&disk_size, CMPI_uint64); } else if (emu_type == 1) { dev = "hdc"; + } else if (emu_type == 1) { + dev = "fda"; } CMSetProperty(inst, "VirtualDevice", @@ -825,29 +827,36 @@ return s; } -static CMPIStatus cdrom_template(const CMPIObjectPath *ref, - int template_type, - struct inst_list *list) +static CMPIStatus cdrom_or_floppy_template(const CMPIObjectPath *ref, + int template_type, + uint16_t emu_type, + struct inst_list *list) { char *pfx = NULL; const char *id; const char *vol_path = "/dev/null"; uint64_t vol_size = 0; CMPIStatus s = {CMPI_RC_OK, NULL}; - uint16_t emu_type = 1; + const char *dev_str = NULL; + char *id_str = NULL; + + if (emu_type == VIRT_DISK_TYPE_CDROM) + dev_str = "CDROM"; + else + dev_str = "floppy"; switch(template_type) { case SDC_RASD_MIN: - id = "Minimum CDROM"; + id = "Minimum"; break; case SDC_RASD_MAX: - id = "Maximum CDROM"; + id = "Maximum"; break; case SDC_RASD_INC: - id = "Increment CDROM"; + id = "Increment"; break; case SDC_RASD_DEF: - id = "Default CDROM"; + id = "Default"; break; default: cu_statusf(_BROKER, &s, @@ -856,6 +865,13 @@ goto out; } + if (asprintf(&id_str, "%s %s", id, dev_str) == -1) { + cu_statusf(_BROKER, &s, + CMPI_RC_ERR_NOT_FOUND, + "Unable to build disk device caption"); + goto out; + } + pfx = class_prefix_name(CLASSNAME(ref)); if (STREQ(pfx, "Xen")) { int xen_type[2] = {DOMAIN_XENFV, DOMAIN_XENPV}; @@ -864,7 +880,7 @@ for (; i < 2; i++) { s = set_disk_props(xen_type[i], ref, - id, + id_str, vol_path, vol_size, emu_type, @@ -873,7 +889,7 @@ } else if (STREQ(pfx, "KVM")) { s = set_disk_props(DOMAIN_KVM, ref, - id, + id_str, vol_path, vol_size, emu_type, @@ -887,6 +903,7 @@ out: free(pfx); + free(id_str); return s; } @@ -1305,7 +1322,17 @@ goto out; } - s = cdrom_template(ref, template_type, list); + s = cdrom_or_floppy_template(ref, + template_type, + VIRT_DISK_TYPE_CDROM, + list); + if (s.rc != CMPI_RC_OK) + goto out; + + s = cdrom_or_floppy_template(ref, + template_type, + VIRT_DISK_TYPE_FLOPPY, + list); out: free(pfx); @@ -1334,7 +1361,17 @@ if (STREQ(pfx, "LXC")) goto out; - s = cdrom_template(ref, template_type, list); + s = cdrom_or_floppy_template(ref, + template_type, + VIRT_DISK_TYPE_CDROM, + list); + if (s.rc != CMPI_RC_OK) + goto out; + + s = cdrom_or_floppy_template(ref, + template_type, + VIRT_DISK_TYPE_FLOPPY, + list); out: free(pfx); From kaitlin at linux.vnet.ibm.com Sat Dec 12 02:06:48 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 11 Dec 2009 18:06:48 -0800 Subject: [Libvirt-cim] [PATCH 1 of 2] Add support for floppy devices In-Reply-To: References: Message-ID: # HG changeset patch # User Kaitlin Rupert # Date 1260583468 28800 # Node ID b7bb0916ce5f3e6b70b4ff666160e076bfd8783a # Parent 54c432d2bec6493cbbd3fa7c5a28b2e461014f68 Add support for floppy devices Signed-off-by: Kaitlin Rupert diff -r 54c432d2bec6 -r b7bb0916ce5f schema/ResourceAllocationSettingData.mof --- a/schema/ResourceAllocationSettingData.mof Wed Dec 09 11:42:06 2009 -0800 +++ b/schema/ResourceAllocationSettingData.mof Fri Dec 11 18:04:28 2009 -0800 @@ -10,8 +10,8 @@ string VirtualDevice; [Description ("Device emulation type"), - ValueMap {"0", "1"}, - Values {"Disk", "CDROM"}] + ValueMap {"0", "1", "2"}, + Values {"Disk", "CDROM", "floppy"}] uint16 EmulatedType; [Description ("Bus type of the device")] @@ -29,8 +29,8 @@ string VirtualDevice; [Description ("Device emulation type"), - ValueMap {"0", "1"}, - Values {"Disk", "CDROM"}] + ValueMap {"0", "1", "2"}, + Values {"Disk", "CDROM", "floppy"}] uint16 EmulatedType; [Description ("Bus type of the device")] diff -r 54c432d2bec6 -r b7bb0916ce5f src/Virt_RASD.c --- a/src/Virt_RASD.c Wed Dec 09 11:42:06 2009 -0800 +++ b/src/Virt_RASD.c Fri Dec 11 18:04:28 2009 -0800 @@ -264,6 +264,9 @@ if ((dev->dev.disk.device != NULL) && STREQ(dev->dev.disk.device, "cdrom")) type = VIRT_DISK_TYPE_CDROM; + else if ((dev->dev.disk.device != NULL) && + STREQ(dev->dev.disk.device, "floppy")) + type = VIRT_DISK_TYPE_FLOPPY; else type = VIRT_DISK_TYPE_DISK; diff -r 54c432d2bec6 -r b7bb0916ce5f src/Virt_RASD.h --- a/src/Virt_RASD.h Wed Dec 09 11:42:06 2009 -0800 +++ b/src/Virt_RASD.h Fri Dec 11 18:04:28 2009 -0800 @@ -25,6 +25,7 @@ #define VIRT_DISK_TYPE_DISK 0 #define VIRT_DISK_TYPE_CDROM 1 +#define VIRT_DISK_TYPE_FLOPPY 2 char *rasd_to_xml(CMPIInstance *rasd); diff -r 54c432d2bec6 -r b7bb0916ce5f src/Virt_VirtualSystemManagementService.c --- a/src/Virt_VirtualSystemManagementService.c Wed Dec 09 11:42:06 2009 -0800 +++ b/src/Virt_VirtualSystemManagementService.c Fri Dec 11 18:04:28 2009 -0800 @@ -789,6 +789,8 @@ dev->dev.disk.device = strdup("disk"); else if (type == VIRT_DISK_TYPE_CDROM) dev->dev.disk.device = strdup("cdrom"); + else if (type == VIRT_DISK_TYPE_FLOPPY) + dev->dev.disk.device = strdup("floppy"); else return "Invalid value for EmulatedType"; From deeptik at linux.vnet.ibm.com Mon Dec 14 11:19:12 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Mon, 14 Dec 2009 16:49:12 +0530 Subject: [Libvirt-cim] [PATCH] [TEST] Fixing vsms/08_modifyresource.py In-Reply-To: <4B217D05.7090200@linux.vnet.ibm.com> References: <4B217D05.7090200@linux.vnet.ibm.com> Message-ID: <4B261F30.2070805@linux.vnet.ibm.com> Kaitlin Rupert wrote: > Deepti B. Kalakeri wrote: >> # HG changeset patch >> # User Deepti B. Kalakeri> # Date 1260446374 28800 >> # Node ID e95a3d156fc2284484f98f07c39fbfd65929a395 >> # Parent 683a8a57d54506032a659bdb9178b7558827ffde >> [TEST] Fixing vsms/08_modifyresource.py >> >> Tested with KVM and current sources on Fedora >> Signed-off-by: Deepti B. Kalakeri >> >> diff -r 683a8a57d545 -r e95a3d156fc2 >> suites/libvirt-cim/lib/XenKvmLib/vsms_util.py >> --- a/suites/libvirt-cim/lib/XenKvmLib/vsms_util.py Sat Dec 05 >> 02:22:09 2009 -0200 >> +++ b/suites/libvirt-cim/lib/XenKvmLib/vsms_util.py Thu Dec 10 >> 03:59:34 2009 -0800 >> @@ -120,9 +120,10 @@ >> cxml.dumpxml(server) >> dom = cxml.xml_get_dom_name() >> cpu = virsh_vcpuinfo(server, dom, virt) >> - if cpu is None: >> + if int(cpu) < int(ncpu) or cpu is None: > > This works, but it's more of a work around. In this case, vcpuinfo > returns an error. When we check the output for the VCPU string, we get > zero occurrences, which is what virsh_vcpuinfo() returns. > > A better check would be to see if the virsh call returns an error. If > it does, virsh_vcpuinfo() should return None. Otherwise, it should > return an integer. virsh_vcpuinfo() uses the following command cmd = "virsh -c %s vcpuinfo %s 2>/dev/null | grep VCPU | wc -l" % (virt2uri(virt), dom) which would return success even when no records are found. So I think a better way would be to verify the value returned and return the out when command returns something >0, otherwise None. Any suggestions ? > >> logger.info("Unable to get vcpuinfo from virsh, using XML values") >> cpu = cxml.xml_get_vcpu() >> + >> if int(cpu) != int(ncpu): >> logger.error("Got %d, exp %d.", int(cpu), int(ncpu)) >> raise Exception('Error changing rs for vcpu') >> >> _______________________________________________ >> 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 Mon Dec 14 12:53:24 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Mon, 14 Dec 2009 18:23:24 +0530 Subject: [Libvirt-cim] [PATCH] [TEST] Fix CSI to call handle_sub, sub_ind, and poll_for_ind from ind module In-Reply-To: References: Message-ID: <4B263544.7060401@linux.vnet.ibm.com> This test gives a false positive: Starting test suite: libvirt-cim Cleaned log files. Testing KVM hypervisor -------------------------------------------------------------------- ComputerSystemIndication - 01_created_indication.py: PASS -------------------------------------------------------------------- [cimtest]# cat suites/libvirt-cim/cimtest/ComputerSystemIndication/cimtest.log Mon, 14 Dec 2009 04:47:48:TEST LOG:INFO - ====01_created_indication.py Log==== Mon, 14 Dec 2009 04:47:48:TEST LOG:INFO - Watching for ComputerSystemDeletedIndication Mon, 14 Dec 2009 04:47:49:TEST LOG:INFO - Watching for ComputerSystemModifiedIndication Mon, 14 Dec 2009 04:47:49:TEST LOG:INFO - Watching for ComputerSystemCreatedIndication Mon, 14 Dec 2009 04:47:49:TEST LOG:ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain `domU' does not exist: Domain not found with return code 6 Mon, 14 Dec 2009 04:47:49:TEST LOG:ERROR - Unable to destroy domU Mon, 14 Dec 2009 04:47:49:TEST LOG:ERROR - Exception: Unable to generate indication Mon, 14 Dec 2009 04:47:49:TEST LOG:ERROR - Failed to start domain: domU Mon, 14 Dec 2009 04:47:49:TEST LOG:ERROR - Exception: Unable to generate indication Mon, 14 Dec 2009 04:47:49:TEST LOG:INFO - Cancelling subscription for KVM_ComputerSystemCreatedIndication Mon, 14 Dec 2009 04:47:49:TEST LOG:INFO - Great, got 'define' indication successfully Mon, 14 Dec 2009 04:48:20:TEST LOG:INFO - Cancelling subscription for KVM_ComputerSystemDeletedIndication Mon, 14 Dec 2009 04:48:20:TEST LOG:INFO - Cancelling subscription for KVM_ComputerSystemCreatedIndication Mon, 14 Dec 2009 04:48:20:TEST LOG:INFO - Cancelling subscription for KVM_ComputerSystemModifiedIndication The test needs to fail as there is an exception while destroying the domain. The order in which the define, destroy, start is not proper because of which the test fails. -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From deeptik at linux.vnet.ibm.com Mon Dec 14 13:00:47 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Mon, 14 Dec 2009 18:30:47 +0530 Subject: [Libvirt-cim] [PATCH] [TEST] Have VSMS 24 test SKIP for para virt Xen guests In-Reply-To: References: Message-ID: <4B2636FF.5090109@linux.vnet.ibm.com> +1 -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From deeptik at linux.vnet.ibm.com Mon Dec 14 13:01:38 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Mon, 14 Dec 2009 18:31:38 +0530 Subject: [Libvirt-cim] [PATCH] [TEST] Remove hardcoded classname In-Reply-To: References: Message-ID: <4B263732.5020102@linux.vnet.ibm.com> +1 -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Mon Dec 14 21:35:41 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Mon, 14 Dec 2009 13:35:41 -0800 Subject: [Libvirt-cim] Test Run Summary (Dec 14 2009): KVM on Fedora release 11 (Leonidas) with Pegasus Message-ID: <4B26AFAD.3020707@linux.vnet.ibm.com> ================================================= Test Run Summary (Dec 14 2009): KVM on Fedora release 11 (Leonidas) with Pegasus ================================================= Distro: Fedora release 11 (Leonidas) Kernel: 2.6.30.9-96.fc11.x86_64 libvirt: 0.6.2 Hypervisor: QEMU 0.10.6 CIMOM: Pegasus 2.7.2 Libvirt-cim revision: 986 Libvirt-cim changeset: fac371b2f43e Cimtest revision: 823 Cimtest changeset: bbb978cccd1b Total test execution: Unknown ================================================= FAIL : 5 XFAIL : 3 SKIP : 11 PASS : 32 ----------------- Total : 35 ================================================= FAIL Test Summary: RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: FAIL VirtualSystemManagementService - 06_addresource.py: FAIL VirtualSystemManagementService - 08_modifyresource.py: FAIL VirtualSystemManagementService - 24_define_sys_features.py: FAIL VirtualSystemManagementService - 24_verify_modifyres_output.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 VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL ================================================= SKIP Test Summary: ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP KVMRedirectionSAP - 02_ipv6_support.py: SKIP Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP ResourcePoolConfigurationService - 04_CreateChildResourcePool.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 VSSD - 02_bootldr.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 -------------------------------------------------------------------- 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 -------------------------------------------------------------------- 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 -------------------------------------------------------------------- KVMRedirectionSAP - 01_enum_KVMredSAP.py: PASS -------------------------------------------------------------------- KVMRedirectionSAP - 02_ipv6_support.py: SKIP -------------------------------------------------------------------- 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 -------------------------------------------------------------------- Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP 04_verify_libvirt_cim_slp_profiles.py:30: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - SLP tool does not exist on the machine -------------------------------------------------------------------- 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: FAIL ERROR - 'ResultingResourceSettings' ERROR - Error invoking AddRS: add_disk_res ERROR - AddResourceSettings call failed ERROR - Exception: Unable to generate indication -------------------------------------------------------------------- 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 - Need to give different bridge name since it already exists -------------------------------------------------------------------- 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 -------------------------------------------------------------------- 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 - Failed to create Virtual Network 'cimtest-networkpool80' ERROR - Unable to create network pool -------------------------------------------------------------------- VirtualSystemManagementService - 07_addresource_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 08_modifyresource.py: FAIL ERROR - 'ResultingResourceSettings' ERROR - Error invoking ModifyRS: mod_vcpu_res ERROR - ModifyResourceSettings call failed -------------------------------------------------------------------- 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 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 - (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 - Error invoking AddRS: add_net_res ERROR - AddResourceSettings call failed 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 -------------------------------------------------------------------- VirtualSystemManagementService - 24_define_sys_features.py: FAIL ERROR - Failed to set pae for dom: features_domain -------------------------------------------------------------------- VirtualSystemManagementService - 24_verify_modifyres_output.py: FAIL ERROR - 'ResultingResourceSettings' ERROR - Failed to modify rstest_domain's disk -------------------------------------------------------------------- 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 -------------------------------------------------------------------- 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 -------------------------------------------------------------------- -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Tue Dec 15 00:46:35 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Mon, 14 Dec 2009 16:46:35 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Fixing vsms/08_modifyresource.py In-Reply-To: <4B261F30.2070805@linux.vnet.ibm.com> References: <4B217D05.7090200@linux.vnet.ibm.com> <4B261F30.2070805@linux.vnet.ibm.com> Message-ID: <4B26DC6B.8000302@linux.vnet.ibm.com> Deepti B Kalakeri wrote: > > > Kaitlin Rupert wrote: >> Deepti B. Kalakeri wrote: >>> # HG changeset patch >>> # User Deepti B. Kalakeri>> # Date 1260446374 28800 >>> # Node ID e95a3d156fc2284484f98f07c39fbfd65929a395 >>> # Parent 683a8a57d54506032a659bdb9178b7558827ffde >>> [TEST] Fixing vsms/08_modifyresource.py >>> >>> Tested with KVM and current sources on Fedora >>> Signed-off-by: Deepti B. Kalakeri >>> >>> diff -r 683a8a57d545 -r e95a3d156fc2 >>> suites/libvirt-cim/lib/XenKvmLib/vsms_util.py >>> --- a/suites/libvirt-cim/lib/XenKvmLib/vsms_util.py Sat Dec 05 >>> 02:22:09 2009 -0200 >>> +++ b/suites/libvirt-cim/lib/XenKvmLib/vsms_util.py Thu Dec 10 >>> 03:59:34 2009 -0800 >>> @@ -120,9 +120,10 @@ >>> cxml.dumpxml(server) >>> dom = cxml.xml_get_dom_name() >>> cpu = virsh_vcpuinfo(server, dom, virt) >>> - if cpu is None: >>> + if int(cpu) < int(ncpu) or cpu is None: >> >> This works, but it's more of a work around. In this case, vcpuinfo >> returns an error. When we check the output for the VCPU string, we get >> zero occurrences, which is what virsh_vcpuinfo() returns. >> >> A better check would be to see if the virsh call returns an error. If >> it does, virsh_vcpuinfo() should return None. Otherwise, it should >> return an integer. > virsh_vcpuinfo() uses the following command cmd = "virsh -c %s vcpuinfo > %s 2>/dev/null | grep VCPU | wc -l" % (virt2uri(virt), dom) > which would return success even when no records are found. So I think a Agreed. I think that's a flaw of the virsh_vcpuinfo() call though. Because you never know whether "virsh -c %s vcpuinfo %s" fails. I would remove the "| grep VCPU | wc -l" portion of the command. Check to see if the call fails - if it does, return None from virsh_vcpuinfo(). If the call doesn't fall, parse the output to get the VCPU count. Thoughts? This is a lot more work, but then you would know when the virsh call is failing (as opposed to just returning 0 VCPus). > better way would be to verify the value returned and return the out when > command returns something >0, > otherwise None. > > Any suggestions ? > -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Tue Dec 15 00:48:23 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Mon, 14 Dec 2009 16:48:23 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Fix CSI to call handle_sub, sub_ind, and poll_for_ind from ind module In-Reply-To: <4B263544.7060401@linux.vnet.ibm.com> References: <4B263544.7060401@linux.vnet.ibm.com> Message-ID: <4B26DCD7.8080502@linux.vnet.ibm.com> Oh, yuck! Thanks for catching this! Agreed - this test should fail if there's a problem destroying / starting the domain. I'll rework this patch. Deepti B Kalakeri wrote: > This test gives a false positive: > > Starting test suite: libvirt-cim > Cleaned log files. > > Testing KVM hypervisor > -------------------------------------------------------------------- > ComputerSystemIndication - 01_created_indication.py: PASS > -------------------------------------------------------------------- > > [cimtest]# cat > suites/libvirt-cim/cimtest/ComputerSystemIndication/cimtest.log Mon, 14 > Dec 2009 04:47:48:TEST LOG:INFO - ====01_created_indication.py Log==== > Mon, 14 Dec 2009 04:47:48:TEST LOG:INFO - Watching for > ComputerSystemDeletedIndication > Mon, 14 Dec 2009 04:47:49:TEST LOG:INFO - Watching for > ComputerSystemModifiedIndication > Mon, 14 Dec 2009 04:47:49:TEST LOG:INFO - Watching for > ComputerSystemCreatedIndication > Mon, 14 Dec 2009 04:47:49:TEST LOG:ERROR - Got CIM error > CIM_ERR_NOT_FOUND: Referenced domain `domU' does not exist: Domain not > found with return code 6 > Mon, 14 Dec 2009 04:47:49:TEST LOG:ERROR - Unable to destroy domU > Mon, 14 Dec 2009 04:47:49:TEST LOG:ERROR - Exception: Unable to generate > indication > Mon, 14 Dec 2009 04:47:49:TEST LOG:ERROR - Failed to start domain: domU > Mon, 14 Dec 2009 04:47:49:TEST LOG:ERROR - Exception: Unable to generate > indication > Mon, 14 Dec 2009 04:47:49:TEST LOG:INFO - Cancelling subscription for > KVM_ComputerSystemCreatedIndication > Mon, 14 Dec 2009 04:47:49:TEST LOG:INFO - Great, got 'define' indication > successfully > Mon, 14 Dec 2009 04:48:20:TEST LOG:INFO - Cancelling subscription for > KVM_ComputerSystemDeletedIndication > Mon, 14 Dec 2009 04:48:20:TEST LOG:INFO - Cancelling subscription for > KVM_ComputerSystemCreatedIndication > Mon, 14 Dec 2009 04:48:20:TEST LOG:INFO - Cancelling subscription for > KVM_ComputerSystemModifiedIndication > > The test needs to fail as there is an exception while destroying the > domain. The order in which the define, destroy, start is not proper > because of which the test fails. > > -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From deeptik at linux.vnet.ibm.com Tue Dec 15 10:03:03 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Tue, 15 Dec 2009 15:33:03 +0530 Subject: [Libvirt-cim] [PATCH] [TEST] Fixing vsms/08_modifyresource.py In-Reply-To: <4B26DC6B.8000302@linux.vnet.ibm.com> References: <4B217D05.7090200@linux.vnet.ibm.com> <4B261F30.2070805@linux.vnet.ibm.com> <4B26DC6B.8000302@linux.vnet.ibm.com> Message-ID: <4B275ED7.4070501@linux.vnet.ibm.com> Kaitlin Rupert wrote: > Deepti B Kalakeri wrote: >> >> >> Kaitlin Rupert wrote: >>> Deepti B. Kalakeri wrote: >>>> # HG changeset patch >>>> # User Deepti B. Kalakeri>>> # Date 1260446374 28800 >>>> # Node ID e95a3d156fc2284484f98f07c39fbfd65929a395 >>>> # Parent 683a8a57d54506032a659bdb9178b7558827ffde >>>> [TEST] Fixing vsms/08_modifyresource.py >>>> >>>> Tested with KVM and current sources on Fedora >>>> Signed-off-by: Deepti B. Kalakeri >>>> >>>> diff -r 683a8a57d545 -r e95a3d156fc2 >>>> suites/libvirt-cim/lib/XenKvmLib/vsms_util.py >>>> --- a/suites/libvirt-cim/lib/XenKvmLib/vsms_util.py Sat Dec 05 >>>> 02:22:09 2009 -0200 >>>> +++ b/suites/libvirt-cim/lib/XenKvmLib/vsms_util.py Thu Dec 10 >>>> 03:59:34 2009 -0800 >>>> @@ -120,9 +120,10 @@ >>>> cxml.dumpxml(server) >>>> dom = cxml.xml_get_dom_name() >>>> cpu = virsh_vcpuinfo(server, dom, virt) >>>> - if cpu is None: >>>> + if int(cpu) < int(ncpu) or cpu is None: >>> >>> This works, but it's more of a work around. In this case, vcpuinfo >>> returns an error. When we check the output for the VCPU string, we >>> get zero occurrences, which is what virsh_vcpuinfo() returns. >>> >>> A better check would be to see if the virsh call returns an error. >>> If it does, virsh_vcpuinfo() should return None. Otherwise, it >>> should return an integer. >> virsh_vcpuinfo() uses the following command cmd = "virsh -c %s >> vcpuinfo %s 2>/dev/null | grep VCPU | wc -l" % (virt2uri(virt), dom) >> which would return success even when no records are found. So I think a > > Agreed. I think that's a flaw of the virsh_vcpuinfo() call though. > Because you never know whether "virsh -c %s vcpuinfo %s" fails. I > would remove the "| grep VCPU | wc -l" portion of the command. Check > to see if the call fails - if it does, return None from > virsh_vcpuinfo(). If the call doesn't fall, parse the output to get > the VCPU count. > Yes! This is what I was thinking of, but was as you said this will take little more code than the one line which did the work for us. > Thoughts? This is a lot more work, but then you would know when the > virsh call is failing (as opposed to just returning 0 VCPus). I will work on this and send the patch. > >> better way would be to verify the value returned and return the out >> when command returns something >0, >> otherwise None. >> >> Any suggestions ? > > >> > > -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Tue Dec 15 23:44:07 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Tue, 15 Dec 2009 15:44:07 -0800 Subject: [Libvirt-cim] Test Run Summary (Dec 14 2009): KVM on Fedora release 11 (Leonidas) with Pegasus In-Reply-To: <4B26AFAD.3020707@linux.vnet.ibm.com> References: <4B26AFAD.3020707@linux.vnet.ibm.com> Message-ID: <4B281F47.8040903@linux.vnet.ibm.com> > -------------------------------------------------------------------- > RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: FAIL > ERROR - 'ResultingResourceSettings' > ERROR - Error invoking AddRS: add_disk_res > ERROR - AddResourceSettings call failed > ERROR - Exception: Unable to generate indication > -------------------------------------------------------------------- This is a test case issue. libvirt-cim version 986 doesn't return 'ResultingResourceSettings' from AddResourceSettings. The test needs to verify the libvirt-cim version before expecting to see 'ResultingResourceSettings'. > -------------------------------------------------------------------- > VirtualSystemManagementService - 06_addresource.py: FAIL > ERROR - Failed to create Virtual Network 'cimtest-networkpool80' > ERROR - Unable to create network pool > -------------------------------------------------------------------- This is an environment issue - I had far too many bridges defined on my system, which lead to a conflict when attempting to create a new pool. > -------------------------------------------------------------------- > VirtualSystemManagementService - 08_modifyresource.py: FAIL > ERROR - 'ResultingResourceSettings' > ERROR - Error invoking ModifyRS: mod_vcpu_res > ERROR - ModifyResourceSettings call failed > -------------------------------------------------------------------- This is a test case issue. libvirt-cim version 986 doesn't return 'ResultingResourceSettings' from AddResourceSettings. The test needs to verify the libvirt-cim version before expecting to see 'ResultingResourceSettings'. > -------------------------------------------------------------------- > VirtualSystemManagementService - 24_define_sys_features.py: FAIL > ERROR - Failed to set pae for dom: features_domain > -------------------------------------------------------------------- This is a test case issue. libvirt-cim version 986 doesn't support specifying PAE - this test needs to skip on older versions. > -------------------------------------------------------------------- > VirtualSystemManagementService - 24_verify_modifyres_output.py: FAIL > ERROR - 'ResultingResourceSettings' > ERROR - Failed to modify rstest_domain's disk > -------------------------------------------------------------------- This is a test case issue. libvirt-cim version 986 doesn't return 'ResultingResourceSettings' from AddResourceSettings. The test needs to verify the libvirt-cim version before expecting to see 'ResultingResourceSettings'. -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Tue Dec 15 23:53:11 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Tue, 15 Dec 2009 15:53:11 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Fixing vsms/08_modifyresource.py In-Reply-To: <4B275ED7.4070501@linux.vnet.ibm.com> References: <4B217D05.7090200@linux.vnet.ibm.com> <4B261F30.2070805@linux.vnet.ibm.com> <4B26DC6B.8000302@linux.vnet.ibm.com> <4B275ED7.4070501@linux.vnet.ibm.com> Message-ID: <4B282167.5070808@linux.vnet.ibm.com> >>>>> cxml.dumpxml(server) >>>>> dom = cxml.xml_get_dom_name() >>>>> cpu = virsh_vcpuinfo(server, dom, virt) >>>>> - if cpu is None: >>>>> + if int(cpu) < int(ncpu) or cpu is None: >>>> >>>> This works, but it's more of a work around. In this case, vcpuinfo >>>> returns an error. When we check the output for the VCPU string, we >>>> get zero occurrences, which is what virsh_vcpuinfo() returns. >>>> >>>> A better check would be to see if the virsh call returns an error. >>>> If it does, virsh_vcpuinfo() should return None. Otherwise, it >>>> should return an integer. >>> virsh_vcpuinfo() uses the following command cmd = "virsh -c %s >>> vcpuinfo %s 2>/dev/null | grep VCPU | wc -l" % (virt2uri(virt), dom) >>> which would return success even when no records are found. So I think a >> >> Agreed. I think that's a flaw of the virsh_vcpuinfo() call though. >> Because you never know whether "virsh -c %s vcpuinfo %s" fails. I >> would remove the "| grep VCPU | wc -l" portion of the command. Check >> to see if the call fails - if it does, return None from >> virsh_vcpuinfo(). If the call doesn't fall, parse the output to get >> the VCPU count. >> > Yes! This is what I was thinking of, but was as you said this will take > little more code than the one line which did the work for us. >> Thoughts? This is a lot more work, but then you would know when the >> virsh call is failing (as opposed to just returning 0 VCPus). > I will work on this and send the patch. Sounds great. Thanks! -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Tue Dec 15 23:57:20 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Tue, 15 Dec 2009 15:57:20 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Fixed expected LXC devices In-Reply-To: <7377a5c5b8d587fac75f.1260579925@localhost.localdomain> References: <7377a5c5b8d587fac75f.1260579925@localhost.localdomain> Message-ID: <4B282260.4080809@linux.vnet.ibm.com> Richard Maciel wrote: > # HG changeset patch > # User Richard Maciel > # Date 1260579910 7200 > # Node ID 7377a5c5b8d587fac75f06a511f3f43f666b7294 > # Parent 7ce11553d0f236f8bd961852720e33a6f7c63ac3 > [TEST] Fixed expected LXC devices > > List of expected devices must not include LXC_Processor, but must include LXC_PointingDevice and > LXC_LogicalDisk (with proper path) Sorry I was late on this one Richard. I just saw it in my mailbox - not sure how I missed it. This one has been applied. Thanks! -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Wed Dec 16 01:00:17 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Tue, 15 Dec 2009 17:00:17 -0800 Subject: [Libvirt-cim] Test Run Summary (Dec 15 2009): KVM on Fedora release 12 (Constantine) with Pegasus Message-ID: <4B283121.20707@linux.vnet.ibm.com> ================================================= Test Run Summary (Dec 15 2009): KVM on Fedora release 12 (Constantine) with Pegasus ================================================= Distro: Fedora release 12 (Constantine) Kernel: 2.6.30.9-96.fc11.x86_64 libvirt: 0.7.1 Hypervisor: QEMU 0.11.0 CIMOM: Pegasus 2.9.0 Libvirt-cim revision: 986 Libvirt-cim changeset: fac371b2f43e Cimtest revision: 826 Cimtest changeset: ee2414c0be5c Total test execution: Unknown ================================================= FAIL : 9 XFAIL : 5 SKIP : 10 PASS : 156 ----------------- Total : 180 ================================================= FAIL Test Summary: HostSystem - 04_hs_to_EAPF.py: FAIL HostSystem - 05_hs_gi_errs.py: FAIL HostSystem - 06_hs_to_vsms.py: FAIL RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: FAIL VirtualSystemManagementService - 06_addresource.py: FAIL VirtualSystemManagementService - 08_modifyresource.py: FAIL VirtualSystemManagementService - 24_define_sys_features.py: FAIL VirtualSystemManagementService - 24_verify_modifyres_output.py: FAIL VirtualSystemSnapshotService - 03_create_snapshot.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 VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL ================================================= SKIP Test Summary: ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP KVMRedirectionSAP - 02_ipv6_support.py: SKIP Profile - 04_verify_libvirt_cim_slp_profiles.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 VSSD - 02_bootldr.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 -------------------------------------------------------------------- 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 -------------------------------------------------------------------- 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: FAIL ERROR - DEBUG host_name is elm3b41.beaverton.ibm.com ERROR - KVM_ElementAllocatedFromPool returned 0 KVM_DiskPool objects CIM_ERR_INVALID_CLASS: Linux_ComputerSystem The web server returned a bad status line: '' -------------------------------------------------------------------- HostSystem - 05_hs_gi_errs.py: FAIL ERROR - Error in getting HostSystem instance Socket error: [Errno 111] Connection refused Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- HostSystem - 06_hs_to_vsms.py: FAIL ERROR - Error in getting HostSystem instance ERROR - Did not get the expected MigrationService record Socket error: [Errno 111] Connection refused Socket error: [Errno 111] Connection refused -------------------------------------------------------------------- KVMRedirectionSAP - 01_enum_KVMredSAP.py: PASS -------------------------------------------------------------------- KVMRedirectionSAP - 02_ipv6_support.py: SKIP -------------------------------------------------------------------- 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 -------------------------------------------------------------------- Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP 04_verify_libvirt_cim_slp_profiles.py:30: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - SLP tool does not exist on the machine -------------------------------------------------------------------- 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: FAIL ERROR - 'ResultingResourceSettings' ERROR - Error invoking AddRS: add_disk_res ERROR - AddResourceSettings call failed ERROR - Exception: Unable to generate indication -------------------------------------------------------------------- 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 -------------------------------------------------------------------- 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 - 'ResultingResourceSettings' ERROR - Error invoking AddRS: add_disk_res ERROR - AddResourceSettings call failed -------------------------------------------------------------------- VirtualSystemManagementService - 07_addresource_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 08_modifyresource.py: FAIL ERROR - 'ResultingResourceSettings' ERROR - Error invoking ModifyRS: mod_vcpu_res ERROR - ModifyResourceSettings call failed -------------------------------------------------------------------- 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 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 - 'ResultingResourceSettings' ERROR - Error invoking AddRS: add_net_res ERROR - AddResourceSettings call failed ERROR - Failed to destroy Virtual Network 'my_network1' Bug:<00015> -------------------------------------------------------------------- VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 24_define_sys_features.py: FAIL ERROR - Failed to set pae for dom: features_domain -------------------------------------------------------------------- VirtualSystemManagementService - 24_verify_modifyres_output.py: FAIL ERROR - 'ResultingResourceSettings' ERROR - Failed to modify rstest_domain's disk -------------------------------------------------------------------- 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 - Got CIM error CIM_ERR_NOT_SUPPORTED: Domain has a snapshot with return code 7 ERROR - Exception: Failed to start the defined domain: snapshot_vm InvokeMethod(RequestStateChange): CIM_ERR_NOT_SUPPORTED: Domain has a snapshot -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.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 -------------------------------------------------------------------- -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From rmaciel at linux.vnet.ibm.com Wed Dec 16 15:40:52 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Wed, 16 Dec 2009 13:40:52 -0200 Subject: [Libvirt-cim] [PATCH 2 of 2] Add template RASD for floppy devices In-Reply-To: References: Message-ID: <4B28FF84.8040701@linux.vnet.ibm.com> On 12/12/2009 12:06 AM, Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1260583468 28800 > # Node ID e9f73b7c78fdde79996eb6a3a54cf56219153cc0 > # Parent b7bb0916ce5f3e6b70b4ff666160e076bfd8783a > Add template RASD for floppy devices > > Signed-off-by: Kaitlin Rupert > > diff -r b7bb0916ce5f -r e9f73b7c78fd src/Virt_SettingsDefineCapabilities.c > --- a/src/Virt_SettingsDefineCapabilities.c Fri Dec 11 18:04:28 2009 -0800 > +++ b/src/Virt_SettingsDefineCapabilities.c Fri Dec 11 18:04:28 2009 -0800 > @@ -811,6 +811,8 @@ > (CMPIValue *)&disk_size, CMPI_uint64); > } else if (emu_type == 1) { > dev = "hdc"; > + } else if (emu_type == 1) { emu_type value should be 2 > + dev = "fda"; > } > > CMSetProperty(inst, "VirtualDevice", > @@ -825,29 +827,36 @@ > return s; > } > > -static CMPIStatus cdrom_template(const CMPIObjectPath *ref, > - int template_type, > - struct inst_list *list) > +static CMPIStatus cdrom_or_floppy_template(const CMPIObjectPath *ref, > + int template_type, > + uint16_t emu_type, > + struct inst_list *list) > { > char *pfx = NULL; > const char *id; > const char *vol_path = "/dev/null"; > uint64_t vol_size = 0; > CMPIStatus s = {CMPI_RC_OK, NULL}; > - uint16_t emu_type = 1; > + const char *dev_str = NULL; > + char *id_str = NULL; > + > + if (emu_type == VIRT_DISK_TYPE_CDROM) > + dev_str = "CDROM"; > + else > + dev_str = "floppy"; > > switch(template_type) { > case SDC_RASD_MIN: > - id = "Minimum CDROM"; > + id = "Minimum"; > break; > case SDC_RASD_MAX: > - id = "Maximum CDROM"; > + id = "Maximum"; > break; > case SDC_RASD_INC: > - id = "Increment CDROM"; > + id = "Increment"; > break; > case SDC_RASD_DEF: > - id = "Default CDROM"; > + id = "Default"; > break; > default: > cu_statusf(_BROKER,&s, > @@ -856,6 +865,13 @@ > goto out; > } > > + if (asprintf(&id_str, "%s %s", id, dev_str) == -1) { > + cu_statusf(_BROKER,&s, > + CMPI_RC_ERR_NOT_FOUND, > + "Unable to build disk device caption"); > + goto out; > + } > + > pfx = class_prefix_name(CLASSNAME(ref)); > if (STREQ(pfx, "Xen")) { > int xen_type[2] = {DOMAIN_XENFV, DOMAIN_XENPV}; > @@ -864,7 +880,7 @@ > for (; i< 2; i++) { > s = set_disk_props(xen_type[i], > ref, > - id, > + id_str, > vol_path, > vol_size, > emu_type, > @@ -873,7 +889,7 @@ > } else if (STREQ(pfx, "KVM")) { > s = set_disk_props(DOMAIN_KVM, > ref, > - id, > + id_str, > vol_path, > vol_size, > emu_type, > @@ -887,6 +903,7 @@ > > out: > free(pfx); > + free(id_str); > > return s; > } > @@ -1305,7 +1322,17 @@ > goto out; > } > > - s = cdrom_template(ref, template_type, list); > + s = cdrom_or_floppy_template(ref, > + template_type, > + VIRT_DISK_TYPE_CDROM, > + list); > + if (s.rc != CMPI_RC_OK) > + goto out; > + > + s = cdrom_or_floppy_template(ref, > + template_type, > + VIRT_DISK_TYPE_FLOPPY, > + list); > > out: > free(pfx); > @@ -1334,7 +1361,17 @@ > if (STREQ(pfx, "LXC")) > goto out; > > - s = cdrom_template(ref, template_type, list); > + s = cdrom_or_floppy_template(ref, > + template_type, > + VIRT_DISK_TYPE_CDROM, > + list); > + if (s.rc != CMPI_RC_OK) > + goto out; > + > + s = cdrom_or_floppy_template(ref, > + template_type, > + VIRT_DISK_TYPE_FLOPPY, > + list); > > out: > free(pfx); > > _______________________________________________ > 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 Thu Dec 17 00:04:15 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Wed, 16 Dec 2009 16:04:15 -0800 Subject: [Libvirt-cim] [PATCH 2 of 2] Add template RASD for floppy devices In-Reply-To: <4B28FF84.8040701@linux.vnet.ibm.com> References: <4B28FF84.8040701@linux.vnet.ibm.com> Message-ID: <4B29757F.9040608@linux.vnet.ibm.com> Richard Maciel wrote: > On 12/12/2009 12:06 AM, Kaitlin Rupert wrote: >> # HG changeset patch >> # User Kaitlin Rupert >> # Date 1260583468 28800 >> # Node ID e9f73b7c78fdde79996eb6a3a54cf56219153cc0 >> # Parent b7bb0916ce5f3e6b70b4ff666160e076bfd8783a >> Add template RASD for floppy devices >> >> Signed-off-by: Kaitlin Rupert >> >> diff -r b7bb0916ce5f -r e9f73b7c78fd >> src/Virt_SettingsDefineCapabilities.c >> --- a/src/Virt_SettingsDefineCapabilities.c Fri Dec 11 18:04:28 >> 2009 -0800 >> +++ b/src/Virt_SettingsDefineCapabilities.c Fri Dec 11 18:04:28 >> 2009 -0800 >> @@ -811,6 +811,8 @@ >> (CMPIValue *)&disk_size, >> CMPI_uint64); >> } else if (emu_type == 1) { >> dev = "hdc"; >> + } else if (emu_type == 1) { > > emu_type value should be 2 Good catch - thanks! Actually, these should use the actual types IRT_DISK_TYPE_FLOPPY, etc. -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Thu Dec 17 00:40:40 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Wed, 16 Dec 2009 16:40:40 -0800 Subject: [Libvirt-cim] [PATCH 0 of 2] #2 Add support for defining guests with floppy devices Message-ID: From kaitlin at linux.vnet.ibm.com Thu Dec 17 00:40:41 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Wed, 16 Dec 2009 16:40:41 -0800 Subject: [Libvirt-cim] [PATCH 1 of 2] Add support for floppy devices In-Reply-To: References: Message-ID: # HG changeset patch # User Kaitlin Rupert # Date 1260583468 28800 # Node ID b7bb0916ce5f3e6b70b4ff666160e076bfd8783a # Parent 54c432d2bec6493cbbd3fa7c5a28b2e461014f68 Add support for floppy devices Signed-off-by: Kaitlin Rupert diff -r 54c432d2bec6 -r b7bb0916ce5f schema/ResourceAllocationSettingData.mof --- a/schema/ResourceAllocationSettingData.mof Wed Dec 09 11:42:06 2009 -0800 +++ b/schema/ResourceAllocationSettingData.mof Fri Dec 11 18:04:28 2009 -0800 @@ -10,8 +10,8 @@ string VirtualDevice; [Description ("Device emulation type"), - ValueMap {"0", "1"}, - Values {"Disk", "CDROM"}] + ValueMap {"0", "1", "2"}, + Values {"Disk", "CDROM", "floppy"}] uint16 EmulatedType; [Description ("Bus type of the device")] @@ -29,8 +29,8 @@ string VirtualDevice; [Description ("Device emulation type"), - ValueMap {"0", "1"}, - Values {"Disk", "CDROM"}] + ValueMap {"0", "1", "2"}, + Values {"Disk", "CDROM", "floppy"}] uint16 EmulatedType; [Description ("Bus type of the device")] diff -r 54c432d2bec6 -r b7bb0916ce5f src/Virt_RASD.c --- a/src/Virt_RASD.c Wed Dec 09 11:42:06 2009 -0800 +++ b/src/Virt_RASD.c Fri Dec 11 18:04:28 2009 -0800 @@ -264,6 +264,9 @@ if ((dev->dev.disk.device != NULL) && STREQ(dev->dev.disk.device, "cdrom")) type = VIRT_DISK_TYPE_CDROM; + else if ((dev->dev.disk.device != NULL) && + STREQ(dev->dev.disk.device, "floppy")) + type = VIRT_DISK_TYPE_FLOPPY; else type = VIRT_DISK_TYPE_DISK; diff -r 54c432d2bec6 -r b7bb0916ce5f src/Virt_RASD.h --- a/src/Virt_RASD.h Wed Dec 09 11:42:06 2009 -0800 +++ b/src/Virt_RASD.h Fri Dec 11 18:04:28 2009 -0800 @@ -25,6 +25,7 @@ #define VIRT_DISK_TYPE_DISK 0 #define VIRT_DISK_TYPE_CDROM 1 +#define VIRT_DISK_TYPE_FLOPPY 2 char *rasd_to_xml(CMPIInstance *rasd); diff -r 54c432d2bec6 -r b7bb0916ce5f src/Virt_VirtualSystemManagementService.c --- a/src/Virt_VirtualSystemManagementService.c Wed Dec 09 11:42:06 2009 -0800 +++ b/src/Virt_VirtualSystemManagementService.c Fri Dec 11 18:04:28 2009 -0800 @@ -789,6 +789,8 @@ dev->dev.disk.device = strdup("disk"); else if (type == VIRT_DISK_TYPE_CDROM) dev->dev.disk.device = strdup("cdrom"); + else if (type == VIRT_DISK_TYPE_FLOPPY) + dev->dev.disk.device = strdup("floppy"); else return "Invalid value for EmulatedType"; From kaitlin at linux.vnet.ibm.com Thu Dec 17 00:40:42 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Wed, 16 Dec 2009 16:40:42 -0800 Subject: [Libvirt-cim] [PATCH 2 of 2] (#2) Add template RASD for floppy devices In-Reply-To: References: Message-ID: <2e80fd8fdbc575decc0b.1261010442@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1260583468 28800 # Node ID 2e80fd8fdbc575decc0b8a1623f8b9ad9122dccf # Parent b7bb0916ce5f3e6b70b4ff666160e076bfd8783a (#2) Add template RASD for floppy devices Use VIRT_DISK_TYPE_FLOPPY (etc) value for determining the emulated type in set_disk_props(). Signed-off-by: Kaitlin Rupert diff -r b7bb0916ce5f -r 2e80fd8fdbc5 src/Virt_SettingsDefineCapabilities.c --- a/src/Virt_SettingsDefineCapabilities.c Fri Dec 11 18:04:28 2009 -0800 +++ b/src/Virt_SettingsDefineCapabilities.c Fri Dec 11 18:04:28 2009 -0800 @@ -806,11 +806,13 @@ (CMPIValue *)"FV disk", CMPI_chars); } - if (emu_type == 0) { + if (emu_type == VIRT_DISK_TYPE_DISK) { CMSetProperty(inst, "VirtualQuantity", (CMPIValue *)&disk_size, CMPI_uint64); - } else if (emu_type == 1) { + } else if (emu_type == VIRT_DISK_TYPE_CDROM) { dev = "hdc"; + } else if (emu_type == VIRT_DISK_TYPE_FLOPPY) { + dev = "fda"; } CMSetProperty(inst, "VirtualDevice", @@ -825,29 +827,36 @@ return s; } -static CMPIStatus cdrom_template(const CMPIObjectPath *ref, - int template_type, - struct inst_list *list) +static CMPIStatus cdrom_or_floppy_template(const CMPIObjectPath *ref, + int template_type, + uint16_t emu_type, + struct inst_list *list) { char *pfx = NULL; const char *id; const char *vol_path = "/dev/null"; uint64_t vol_size = 0; CMPIStatus s = {CMPI_RC_OK, NULL}; - uint16_t emu_type = 1; + const char *dev_str = NULL; + char *id_str = NULL; + + if (emu_type == VIRT_DISK_TYPE_CDROM) + dev_str = "CDROM"; + else + dev_str = "floppy"; switch(template_type) { case SDC_RASD_MIN: - id = "Minimum CDROM"; + id = "Minimum"; break; case SDC_RASD_MAX: - id = "Maximum CDROM"; + id = "Maximum"; break; case SDC_RASD_INC: - id = "Increment CDROM"; + id = "Increment"; break; case SDC_RASD_DEF: - id = "Default CDROM"; + id = "Default"; break; default: cu_statusf(_BROKER, &s, @@ -856,6 +865,13 @@ goto out; } + if (asprintf(&id_str, "%s %s", id, dev_str) == -1) { + cu_statusf(_BROKER, &s, + CMPI_RC_ERR_NOT_FOUND, + "Unable to build disk device caption"); + goto out; + } + pfx = class_prefix_name(CLASSNAME(ref)); if (STREQ(pfx, "Xen")) { int xen_type[2] = {DOMAIN_XENFV, DOMAIN_XENPV}; @@ -864,7 +880,7 @@ for (; i < 2; i++) { s = set_disk_props(xen_type[i], ref, - id, + id_str, vol_path, vol_size, emu_type, @@ -873,7 +889,7 @@ } else if (STREQ(pfx, "KVM")) { s = set_disk_props(DOMAIN_KVM, ref, - id, + id_str, vol_path, vol_size, emu_type, @@ -887,6 +903,7 @@ out: free(pfx); + free(id_str); return s; } @@ -1305,7 +1322,17 @@ goto out; } - s = cdrom_template(ref, template_type, list); + s = cdrom_or_floppy_template(ref, + template_type, + VIRT_DISK_TYPE_CDROM, + list); + if (s.rc != CMPI_RC_OK) + goto out; + + s = cdrom_or_floppy_template(ref, + template_type, + VIRT_DISK_TYPE_FLOPPY, + list); out: free(pfx); @@ -1334,7 +1361,17 @@ if (STREQ(pfx, "LXC")) goto out; - s = cdrom_template(ref, template_type, list); + s = cdrom_or_floppy_template(ref, + template_type, + VIRT_DISK_TYPE_CDROM, + list); + if (s.rc != CMPI_RC_OK) + goto out; + + s = cdrom_or_floppy_template(ref, + template_type, + VIRT_DISK_TYPE_FLOPPY, + list); out: free(pfx); From snmishra at us.ibm.com Thu Dec 17 01:00:23 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Wed, 16 Dec 2009 17:00:23 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Fix order XenFV args are passed to VirtCIM __init__() In-Reply-To: <4c73bb18cd2d6144debd.1260580635@elm3b41.beaverton.ibm.com> References: <4c73bb18cd2d6144debd.1260580635@elm3b41.beaverton.ibm.com> Message-ID: > > # HG changeset patch > # User Kaitlin Rupert > # Date 1260576721 28800 > # Node ID 4c73bb18cd2d6144debd06135ad8de6e569f6747 > # Parent ceb3cf5bc4d887de99e59f8c1ca7833ed0550b22 > [TEST] Fix order XenFV args are passed to VirtCIM __init__() > > When the acip, pae, and acpi args were added, they were added in the wrong > order for XenFV guests. > > Signed-off-by: Kaitlin Rupert > > diff -r ceb3cf5bc4d8 -r 4c73bb18cd2d suites/libvirt-cim/lib/XenKvmLib/vxml.py > --- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Fri Dec 11 16:12:012009 -0800 > +++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Fri Dec 11 16:12:012009 -0800 > @@ -955,7 +955,7 @@ > logger.error('Error: Disk image does not exist') > sys.exit(1) > VirtXML.__init__(self, 'xenfv', test_dom, set_uuid(), mem, vcpus) > - VirtCIM.__init__(self, 'XenFV', test_dom, disk, uuid, pae, > acpi, apic, > + VirtCIM.__init__(self, 'XenFV', test_dom, uuid, pae, acpi, > apic, disk, > disk_file_path, ntype, net_name, mac, vcpus, mem, > mem_allocunits, emu_type, grstype, address, > is_ipv6_only, port_num, > @@ -964,6 +964,8 @@ > self._devices(const.XenFV_default_emulator, > ntype, mac, net_name, disk_file_path, disk) > > + print address, port_num, is_ipv6_only > + Do you want to leave the print statement there? I don't mind. > def _os(self, os_loader): > os = self.get_node('/domain/os') > self.add_sub_node(os, 'type', 'hvm') > > _______________________________________________ > Libvirt-cim mailing list > Libvirt-cim at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-cim -------------- next part -------------- An HTML attachment was scrubbed... URL: From deeptik at linux.vnet.ibm.com Thu Dec 17 09:54:56 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Thu, 17 Dec 2009 15:24:56 +0530 Subject: [Libvirt-cim] Test Run Summary (Dec 17 2009): KVM on Fedora release 13 (Rawhide) with sfcb Message-ID: <4B29FFF0.5020703@linux.vnet.ibm.com> ================================================= Test Run Summary (Dec 17 2009): KVM on Fedora release 13 (Rawhide) with sfcb ================================================= Distro: Fedora release 13 (Rawhide) Kernel: 2.6.32.1-9.fc13.x86_64 libvirt: 0.7.4 Hypervisor: QEMU 0.11.0 CIMOM: sfcb sfcbd 1.3.6preview Libvirt-cim revision: 1022 Libvirt-cim changeset: 54c432d2bec6 Cimtest revision: 827 Cimtest changeset: 8f0220b94152 Total test execution: Unknown ================================================= FAIL : 4 XFAIL : 4 SKIP : 10 PASS : 161 ----------------- Total : 179 ================================================= FAIL Test Summary: ComputerSystemIndication - 01_created_indication.py: FAIL RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: FAIL VirtualSystemManagementService - 08_modifyresource.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 Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP ResourcePoolConfigurationService - 04_CreateChildResourcePool.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 VSSD - 02_bootldr.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 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: FAIL ERROR - Waited too long for define indication ERROR - Exception: Poll for indication Failed ERROR - Waited too long for start indication ERROR - Exception: Poll for indication Failed ERROR - Waited too long for destroy indication ERROR - Exception: Poll for indication Failed -------------------------------------------------------------------- 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 -------------------------------------------------------------------- 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 -------------------------------------------------------------------- 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 -------------------------------------------------------------------- KVMRedirectionSAP - 01_enum_KVMredSAP.py: PASS -------------------------------------------------------------------- KVMRedirectionSAP - 02_ipv6_support.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 -------------------------------------------------------------------- Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP 04_verify_libvirt_cim_slp_profiles.py:30: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - SLP tool does not exist on the machine -------------------------------------------------------------------- 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: 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: SKIP ERROR - Need to give different bridge name since it already exists -------------------------------------------------------------------- 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 -------------------------------------------------------------------- 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: FAIL ERROR - Got 0, exp 1. ERROR - Error invoking ModifyRS: mod_vcpu_res ERROR - Error changing rs for vcpu -------------------------------------------------------------------- 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 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 - 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 -------------------------------------------------------------------- VirtualSystemManagementService - 24_define_sys_features.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 24_verify_modifyres_output.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 - Got CIM error Domain has a snapshot with return code 7 ERROR - Exception: Failed to start the defined domain: snapshot_vm InvokeMethod(RequestStateChange): Domain has a snapshot -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.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 -------------------------------------------------------------------- -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From rmaciel at linux.vnet.ibm.com Thu Dec 17 12:52:52 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Thu, 17 Dec 2009 10:52:52 -0200 Subject: [Libvirt-cim] [PATCH] [TEST] Get the proper default net template RASD In-Reply-To: <7635e4deb3516ffe938e.1260580644@elm3b41.beaverton.ibm.com> References: <7635e4deb3516ffe938e.1260580644@elm3b41.beaverton.ibm.com> Message-ID: <4B2A29A4.2030401@linux.vnet.ibm.com> +1 On 12/11/2009 11:17 PM, Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1260576721 28800 > # Node ID 7635e4deb3516ffe938ee597bd5e771cd7fae491 > # Parent 4c73bb18cd2d6144debd06135ad8de6e569f6747 > [TEST] Get the proper default net template RASD > > The test caes assume "network" for the default interface type. Depending on > how the templates are returned, SettingsDefineCapabilities might return a > "bridge" or "user" type interface. This fix adds some additional filtering > to get the proper template. > > > Signed-off-by: Kaitlin Rupert > > diff -r 4c73bb18cd2d -r 7635e4deb351 suites/libvirt-cim/lib/XenKvmLib/rasd.py > --- a/suites/libvirt-cim/lib/XenKvmLib/rasd.py Fri Dec 11 16:12:01 2009 -0800 > +++ b/suites/libvirt-cim/lib/XenKvmLib/rasd.py Fri Dec 11 16:12:01 2009 -0800 > @@ -29,7 +29,7 @@ > from XenKvmLib.enumclass import GetInstance, EnumInstances > from XenKvmLib.assoc import Associators > from XenKvmLib.const import default_pool_name, default_network_name, \ > - get_provider_version > + get_provider_version, default_net_type > from XenKvmLib.pool import enum_volumes > from XenKvmLib.xm_virt_util import virsh_version > from XenKvmLib.common_util import parse_instance_id > @@ -251,6 +251,8 @@ > ac_id_list.append("NetworkPool/%s" % default_network_name) > ac_id_list.append("ProcessorPool/0") > > + net_cn = "NetResourceAllocationSettingData" > + > templates = [] > > for id in ac_id_list: > @@ -260,7 +262,10 @@ > return [] > > for rasd in rasd_list: > - if rasd['InstanceID'] == "Default": > + if rasd['InstanceID'] == "Default": > + if rasd.classname.find(net_cn)> 0 and \ > + rasd['NetworkType'] != default_net_type: > + continue > templates.append(rasd) > > return templates > > _______________________________________________ > 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 rmaciel at linux.vnet.ibm.com Thu Dec 17 13:42:43 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Thu, 17 Dec 2009 08:42:43 -0500 Subject: [Libvirt-cim] Test Run Summary (Dec 17 2009): LXC on Fedora release 12 (Constantine) with Pegasus Message-ID: <200912171342.nBHDghav022665@d01av04.pok.ibm.com> ================================================= Test Run Summary (Dec 17 2009): LXC on Fedora release 12 (Constantine) with Pegasus ================================================= Distro: Fedora release 12 (Constantine) Kernel: 2.6.31.6-166.fc12.x86_64 libvirt: 0.7.1 Hypervisor: QEMU 0.11.0 CIMOM: Pegasus 2.9.0 Libvirt-cim revision: 1022 Libvirt-cim changeset: 54c432d2bec6 Cimtest revision: 828 Cimtest changeset: a5c1b6950f87 Total test execution: Unknown ================================================= FAIL : 8 XFAIL : 6 SKIP : 60 PASS : 105 ----------------- Total : 179 ================================================= FAIL Test Summary: 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 VirtualSystemManagementService - 21_createVS_verifyMAC.py: FAIL VirtualSystemSnapshotService - 03_create_snapshot.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 - 15_mod_system_settings.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 HostedAccessPoint - 01_forward.py: SKIP HostedAccessPoint - 02_reverse.py: SKIP KVMRedirectionSAP - 01_enum_KVMredSAP.py: SKIP KVMRedirectionSAP - 02_ipv6_support.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 Profile - 04_verify_libvirt_cim_slp_profiles.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 RedirectionService - 03_RedirectionSAP_errs.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 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 VirtualSystemManagementService - 24_define_sys_features.py: SKIP VirtualSystemManagementService - 24_verify_modifyres_output.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 VSSD - 02_bootldr.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: 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 -------------------------------------------------------------------- HostedAccessPoint - 01_forward.py: SKIP -------------------------------------------------------------------- HostedAccessPoint - 02_reverse.py: SKIP -------------------------------------------------------------------- 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 -------------------------------------------------------------------- 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 -------------------------------------------------------------------- KVMRedirectionSAP - 01_enum_KVMredSAP.py: SKIP -------------------------------------------------------------------- KVMRedirectionSAP - 02_ipv6_support.py: SKIP -------------------------------------------------------------------- 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 -------------------------------------------------------------------- Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP 04_verify_libvirt_cim_slp_profiles.py:30: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - SLP tool does not exist on the machine -------------------------------------------------------------------- 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: SKIP -------------------------------------------------------------------- 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: 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 -------------------------------------------------------------------- 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: 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: XFAIL -------------------------------------------------------------------- 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 - LXC_NetResourceAllocationSettingData returned 0 instances, excepted at least 1. -------------------------------------------------------------------- VirtualSystemManagementService - 22_addmulti_brg_interface.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 24_define_sys_features.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 24_verify_modifyres_output.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: 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 - Got CIM error CIM_ERR_NOT_SUPPORTED: Domain has a snapshot with return code 7 ERROR - Exception: Failed to start the defined domain: snapshot_vm InvokeMethod(RequestStateChange): CIM_ERR_NOT_SUPPORTED: Domain has a snapshot -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.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 -------------------------------------------------------------------- From snmishra at us.ibm.com Thu Dec 17 16:18:58 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Thu, 17 Dec 2009 08:18:58 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Enable some tests to work with full virt Xen In-Reply-To: References: Message-ID: +1 Sharad Mishra System x Enablement Linux Technology Center IBM Kaitlin Rupert To Sent by: libvirt-cim at redhat.com libvirt-cim-bounc cc es at redhat.com Subject [Libvirt-cim] [PATCH] [TEST] Enable 12/11/2009 05:16 some tests to work with full PM virt Xen Please respond to List for discussion and development of libvirt CIM # HG changeset patch # User Kaitlin Rupert # Date 1260576721 28800 # Node ID f4cdb74b80f86892cd5739f86ccb215fa7ac8de3 # Parent f6a811d7118444d411baa03847cb96d8cb483ab4 [TEST] Enable some tests to work with full virt Xen No reason these tests should be skipped for full virt Xen guests. Signed-off-by: Kaitlin Rupert diff -r f6a811d71184 -r f4cdb74b80f8 suites/libvirt-cim/cimtest/ComputerSystemMigrationJobIndication/01_csmig_ind_for_offline_mig.py --- a/suites/libvirt-cim/cimtest/ComputerSystemMigrationJobIndication/01_csmig_ind_for_offline_mig.py Fri Dec 11 16:12:01 2009 -0800 +++ b/suites/libvirt-cim/cimtest/ComputerSystemMigrationJobIndication/01_csmig_ind_for_offline_mig.py Fri Dec 11 16:12:01 2009 -0800 @@ -41,7 +41,7 @@ destroy_netpool from XenKvmLib.indications import sub_ind, handle_request, poll_for_ind -sup_types = ['KVM', 'Xen'] +sup_types = ['KVM', 'Xen', 'XenFV'] REQUESTED_STATE = 3 diff -r f6a811d71184 -r f4cdb74b80f8 suites/libvirt-cim/cimtest/RASD/05_disk_rasd_emu_type.py --- a/suites/libvirt-cim/cimtest/RASD/05_disk_rasd_emu_type.py Fri Dec 11 16:12:01 2009 -0800 +++ b/suites/libvirt-cim/cimtest/RASD/05_disk_rasd_emu_type.py Fri Dec 11 16:12:01 2009 -0800 @@ -30,7 +30,7 @@ from CimTest.Globals import logger from XenKvmLib.const import get_provider_version -SUPPORTED_TYPES = ['KVM', 'Xen'] +SUPPORTED_TYPES = ['KVM', 'Xen', 'XenFV'] default_dom = 'test_domain' libvirt_em_type_changeset = 737 diff -r f6a811d71184 -r f4cdb74b80f8 suites/libvirt-cim/cimtest/VirtualSystemMigrationService/07_remote_offline_migration.py --- a/suites/libvirt-cim/cimtest/VirtualSystemMigrationService/07_remote_offline_migration.py Fri Dec 11 16:12:01 2009 -0800 +++ b/suites/libvirt-cim/cimtest/VirtualSystemMigrationService/07_remote_offline_migration.py Fri Dec 11 16:12:01 2009 -0800 @@ -39,7 +39,7 @@ cleanup_guest_netpool from XenKvmLib.common_util import poll_for_state_change, create_netpool_conf -sup_types = ['KVM', 'Xen'] +sup_types = ['KVM', 'Xen', 'XenFV'] REQUESTED_STATE = 3 _______________________________________________ Libvirt-cim mailing list Libvirt-cim at redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: graycol.gif Type: image/gif Size: 105 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pic18538.gif Type: image/gif Size: 1255 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ecblank.gif Type: image/gif Size: 45 bytes Desc: not available URL: From rmaciel at linux.vnet.ibm.com Thu Dec 17 16:26:24 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Thu, 17 Dec 2009 14:26:24 -0200 Subject: [Libvirt-cim] [PATCH 0 of 2] #2 Add support for defining guests with floppy devices In-Reply-To: References: Message-ID: <4B2A5BB0.5010605@linux.vnet.ibm.com> On 12/16/2009 10:40 PM, Kaitlin Rupert wrote: > > _______________________________________________ > 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 Thu Dec 17 16:28:23 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Thu, 17 Dec 2009 08:28:23 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Get the proper default net template RASD In-Reply-To: <7635e4deb3516ffe938e.1260580644@elm3b41.beaverton.ibm.com> References: <7635e4deb3516ffe938e.1260580644@elm3b41.beaverton.ibm.com> Message-ID: +1 Sharad Mishra System x Enablement Linux Technology Center IBM Kaitlin Rupert To Sent by: libvirt-cim at redhat.com libvirt-cim-bounc cc es at redhat.com Subject [Libvirt-cim] [PATCH] [TEST] Get 12/11/2009 05:17 the proper default net template PM RASD Please respond to List for discussion and development of libvirt CIM # HG changeset patch # User Kaitlin Rupert # Date 1260576721 28800 # Node ID 7635e4deb3516ffe938ee597bd5e771cd7fae491 # Parent 4c73bb18cd2d6144debd06135ad8de6e569f6747 [TEST] Get the proper default net template RASD The test caes assume "network" for the default interface type. Depending on how the templates are returned, SettingsDefineCapabilities might return a "bridge" or "user" type interface. This fix adds some additional filtering to get the proper template. Signed-off-by: Kaitlin Rupert diff -r 4c73bb18cd2d -r 7635e4deb351 suites/libvirt-cim/lib/XenKvmLib/rasd.py --- a/suites/libvirt-cim/lib/XenKvmLib/rasd.py Fri Dec 11 16:12:01 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/rasd.py Fri Dec 11 16:12:01 2009 -0800 @@ -29,7 +29,7 @@ from XenKvmLib.enumclass import GetInstance, EnumInstances from XenKvmLib.assoc import Associators from XenKvmLib.const import default_pool_name, default_network_name, \ - get_provider_version + get_provider_version, default_net_type from XenKvmLib.pool import enum_volumes from XenKvmLib.xm_virt_util import virsh_version from XenKvmLib.common_util import parse_instance_id @@ -251,6 +251,8 @@ ac_id_list.append("NetworkPool/%s" % default_network_name) ac_id_list.append("ProcessorPool/0") + net_cn = "NetResourceAllocationSettingData" + templates = [] for id in ac_id_list: @@ -260,7 +262,10 @@ return [] for rasd in rasd_list: - if rasd['InstanceID'] == "Default": + if rasd['InstanceID'] == "Default": + if rasd.classname.find(net_cn) > 0 and \ + rasd['NetworkType'] != default_net_type: + continue templates.append(rasd) return templates _______________________________________________ Libvirt-cim mailing list Libvirt-cim at redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: graycol.gif Type: image/gif Size: 105 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pic26931.gif Type: image/gif Size: 1255 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ecblank.gif Type: image/gif Size: 45 bytes Desc: not available URL: From snmishra at us.ibm.com Thu Dec 17 16:30:16 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Thu, 17 Dec 2009 08:30:16 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] VSSD uses "Xen" not "XenFV" as part of the InstanceID In-Reply-To: <5978eee0beb98fb1d2d8.1260580593@elm3b41.beaverton.ibm.com> References: <5978eee0beb98fb1d2d8.1260580593@elm3b41.beaverton.ibm.com> Message-ID: +1 Sharad Mishra System x Enablement Linux Technology Center IBM Kaitlin Rupert To Sent by: libvirt-cim at redhat.com libvirt-cim-bounc cc es at redhat.com Subject [Libvirt-cim] [PATCH] [TEST] VSSD 12/11/2009 05:16 uses "Xen" not "XenFV" as part of PM the InstanceID Please respond to List for discussion and development of libvirt CIM # HG changeset patch # User Kaitlin Rupert # Date 1260576721 28800 # Node ID 5978eee0beb98fb1d2d8780376fc8edd825589d7 # Parent f4cdb74b80f86892cd5739f86ccb215fa7ac8de3 [TEST] VSSD uses "Xen" not "XenFV" as part of the InstanceID Fix several tests to use the right InstanceID for Xen full virt guests. Signed-off-by: Kaitlin Rupert diff -r f4cdb74b80f8 -r 5978eee0beb9 suites/libvirt-cim/cimtest/RASDIndications/02_guest_add_mod_rem_rasd_ind.py --- a/suites/libvirt-cim/cimtest/RASDIndications/02_guest_add_mod_rem_rasd_ind.py Fri Dec 11 16:12:01 2009 -0800 +++ b/suites/libvirt-cim/cimtest/RASDIndications/02_guest_add_mod_rem_rasd_ind.py Fri Dec 11 16:12:01 2009 -0800 @@ -82,11 +82,17 @@ def gen_indication(test_dom, s_sysname, virt, cxml, service, ind_name, rasd=None, nmem_disk=None): status = FAIL + + if virt == "XenFV": + prefix = "Xen" + else: + prefix = virt + try: if ind_name == "add": cn = 'VirtualSystemSettingData' - inst_id = '%s:%s' % (virt, test_dom) + inst_id = '%s:%s' % (prefix, test_dom) classname = get_typed_class(virt, cn) vssd_ref = get_rasd_rec(virt, cn, s_sysname, inst_id) diff -r f4cdb74b80f8 -r 5978eee0beb9 suites/libvirt-cim/cimtest/VirtualSystemManagementService/22_addmulti_brg_interface.py --- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/22_addmulti_brg_interface.py Fri Dec 11 16:12:01 2009 -0800 +++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/22_addmulti_brg_interface.py Fri Dec 11 16:12:01 2009 -0800 @@ -74,7 +74,12 @@ if ret: raise Exception("Failed to define the dom: %s" % default_dom) - inst_id = '%s:%s' % (options.virt, test_dom) + if options.virt == "XenFV": + prefix = "Xen" + else: + prefix = options.virt + + inst_id = '%s:%s' % (prefix, test_dom) netpool = EnumNames(options.ip, classname) vssd_ref = None for i in range(0, len(netpool)): diff -r f4cdb74b80f8 -r 5978eee0beb9 suites/libvirt-cim/cimtest/VirtualSystemManagementService/23_verify_duplicate_mac_err.py --- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/23_verify_duplicate_mac_err.py Fri Dec 11 16:12:01 2009 -0800 +++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/23_verify_duplicate_mac_err.py Fri Dec 11 16:12:01 2009 -0800 @@ -113,7 +113,13 @@ service = get_vsms_class(options.virt)(options.ip) classname = get_typed_class(options.virt, 'VirtualSystemSettingData') netpool = EnumNames(options.ip, classname) - inst_id = '%s:%s' % (options.virt, default_dom) + + if options.virt == "XenFV": + prefix = "Xen" + else: + prefix = options.virt + + inst_id = '%s:%s' % (prefix, default_dom) vssd_ref = None for i in range(0, len(netpool)): ret_pool = netpool[i].keybindings['InstanceID'] _______________________________________________ Libvirt-cim mailing list Libvirt-cim at redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: graycol.gif Type: image/gif Size: 105 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pic30380.gif Type: image/gif Size: 1255 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ecblank.gif Type: image/gif Size: 45 bytes Desc: not available URL: From deeptik at linux.vnet.ibm.com Thu Dec 17 17:54:35 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Thu, 17 Dec 2009 23:24:35 +0530 Subject: [Libvirt-cim] Re: Test Run Summary (Dec 17 2009): KVM on Fedora release 13 (Rawhide) with sfcb In-Reply-To: <4B29FFF0.5020703@linux.vnet.ibm.com> References: <4B29FFF0.5020703@linux.vnet.ibm.com> Message-ID: <4B2A705B.5010307@linux.vnet.ibm.com> Deepti B Kalakeri wrote: > ================================================= > Test Run Summary (Dec 17 2009): KVM on Fedora release 13 (Rawhide) > with sfcb > ================================================= > Distro: Fedora release 13 (Rawhide) > Kernel: 2.6.32.1-9.fc13.x86_64 > libvirt: 0.7.4 > Hypervisor: QEMU 0.11.0 > CIMOM: sfcb sfcbd 1.3.6preview > Libvirt-cim revision: 1022 > Libvirt-cim changeset: 54c432d2bec6 > Cimtest revision: 827 > Cimtest changeset: 8f0220b94152 > Total test execution: Unknown > ================================================= > FAIL : 4 > XFAIL : 4 > SKIP : 10 > PASS : 161 > ----------------- > Total : 179 > ================================================= > FAIL Test Summary: > ComputerSystemIndication - 01_created_indication.py: FAIL Passed when run manually > RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: FAIL The test case is causing the VSMS to segfault when tried running manually. -------------------------------------------------------------------- RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: FAIL ERROR - Got CIM error *** Provider Virt_VirtualSystemManagementService(29880) exiting due to a SIGSEGV signal with return code 1 ERROR - Exception details: Failed to define domain VM ERROR - Error setting up the guest 'VM' InvokeMethod(DefineSystem): *** Provider Virt_VirtualSystemManagementService(29880) exiting due to a SIGSEGV signal -------------------------------------------------------------------- > VirtualSystemManagementService - 08_modifyresource.py: FAIL > VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL Will look into this. > > ================================================= > 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 > Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP > ResourcePoolConfigurationService - 04_CreateChildResourcePool.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 > VSSD - 02_bootldr.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 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: FAIL > ERROR - Waited too long for define indication > ERROR - Exception: Poll for indication Failed > ERROR - Waited too long for start indication > ERROR - Exception: Poll for indication Failed > ERROR - Waited too long for destroy indication > ERROR - Exception: Poll for indication Failed > -------------------------------------------------------------------- > 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 > -------------------------------------------------------------------- > 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 > -------------------------------------------------------------------- > 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 > -------------------------------------------------------------------- > KVMRedirectionSAP - 01_enum_KVMredSAP.py: PASS > -------------------------------------------------------------------- > KVMRedirectionSAP - 02_ipv6_support.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 > -------------------------------------------------------------------- > Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP > 04_verify_libvirt_cim_slp_profiles.py:30: DeprecationWarning: the sets > module is deprecated > from sets import Set > ERROR - SLP tool does not exist on the machine > -------------------------------------------------------------------- > 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: 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: SKIP > ERROR - Need to give different bridge name since it already exists > -------------------------------------------------------------------- > 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 > -------------------------------------------------------------------- > 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: FAIL > ERROR - Got 0, exp 1. > ERROR - Error invoking ModifyRS: mod_vcpu_res > ERROR - Error changing rs for vcpu > -------------------------------------------------------------------- > 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 > 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 - 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 > -------------------------------------------------------------------- > VirtualSystemManagementService - 24_define_sys_features.py: PASS > -------------------------------------------------------------------- > VirtualSystemManagementService - 24_verify_modifyres_output.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 - Got CIM error Domain has a snapshot with return code 7 > ERROR - Exception: Failed to start the defined domain: snapshot_vm > InvokeMethod(RequestStateChange): Domain has a snapshot > -------------------------------------------------------------------- > VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS > -------------------------------------------------------------------- > VirtualSystemSnapshotServiceCapabilities - > 02_vs_sservicecap_gi_errs.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 > -------------------------------------------------------------------- > > -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From deeptik at linux.vnet.ibm.com Thu Dec 17 18:18:55 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Thu, 17 Dec 2009 23:48:55 +0530 Subject: [Libvirt-cim] Re: Test Run Summary (Dec 17 2009): KVM on Fedora release 13 (Rawhide) with sfcb In-Reply-To: <4B2A705B.5010307@linux.vnet.ibm.com> References: <4B29FFF0.5020703@linux.vnet.ibm.com> <4B2A705B.5010307@linux.vnet.ibm.com> Message-ID: <4B2A760F.2090204@linux.vnet.ibm.com> Deepti B Kalakeri wrote: > > > Deepti B Kalakeri wrote: >> ================================================= >> Test Run Summary (Dec 17 2009): KVM on Fedora release 13 (Rawhide) >> with sfcb >> ================================================= >> Distro: Fedora release 13 (Rawhide) >> Kernel: 2.6.32.1-9.fc13.x86_64 >> libvirt: 0.7.4 >> Hypervisor: QEMU 0.11.0 >> CIMOM: sfcb sfcbd 1.3.6preview >> Libvirt-cim revision: 1022 >> Libvirt-cim changeset: 54c432d2bec6 >> Cimtest revision: 827 >> Cimtest changeset: 8f0220b94152 >> Total test execution: Unknown >> ================================================= >> FAIL : 4 >> XFAIL : 4 >> SKIP : 10 >> PASS : 161 >> ----------------- >> Total : 179 >> ================================================= >> FAIL Test Summary: >> ComputerSystemIndication - 01_created_indication.py: FAIL > Passed when run manually >> RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: FAIL > The test case is causing the VSMS to segfault when tried running > manually. > > -------------------------------------------------------------------- > RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: FAIL > ERROR - Got CIM error *** Provider > Virt_VirtualSystemManagementService(29880) exiting due to a SIGSEGV > signal with return code 1 > ERROR - Exception details: Failed to define domain VM > ERROR - Error setting up the guest 'VM' > InvokeMethod(DefineSystem): *** Provider > Virt_VirtualSystemManagementService(29880) exiting due to a SIGSEGV > signal > -------------------------------------------------------------------- > >> VirtualSystemManagementService - 08_modifyresource.py: FAIL This is test case issue >> VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL > Will look into this. >> >> ================================================= >> 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 >> Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP >> ResourcePoolConfigurationService - 04_CreateChildResourcePool.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 >> VSSD - 02_bootldr.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 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: FAIL >> ERROR - Waited too long for define indication >> ERROR - Exception: Poll for indication Failed >> ERROR - Waited too long for start indication >> ERROR - Exception: Poll for indication Failed >> ERROR - Waited too long for destroy indication >> ERROR - Exception: Poll for indication Failed >> -------------------------------------------------------------------- >> 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 >> -------------------------------------------------------------------- >> 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 >> -------------------------------------------------------------------- >> 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 >> -------------------------------------------------------------------- >> KVMRedirectionSAP - 01_enum_KVMredSAP.py: PASS >> -------------------------------------------------------------------- >> KVMRedirectionSAP - 02_ipv6_support.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 >> -------------------------------------------------------------------- >> Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP >> 04_verify_libvirt_cim_slp_profiles.py:30: DeprecationWarning: the >> sets module is deprecated >> from sets import Set >> ERROR - SLP tool does not exist on the machine >> -------------------------------------------------------------------- >> 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: 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: SKIP >> ERROR - Need to give different bridge name since it already exists >> -------------------------------------------------------------------- >> 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 >> -------------------------------------------------------------------- >> 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: FAIL >> ERROR - Got 0, exp 1. >> ERROR - Error invoking ModifyRS: mod_vcpu_res >> ERROR - Error changing rs for vcpu >> -------------------------------------------------------------------- >> 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 >> 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 - 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 >> -------------------------------------------------------------------- >> VirtualSystemManagementService - 24_define_sys_features.py: PASS >> -------------------------------------------------------------------- >> VirtualSystemManagementService - 24_verify_modifyres_output.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 - Got CIM error Domain has a snapshot with return code 7 >> ERROR - Exception: Failed to start the defined domain: snapshot_vm >> InvokeMethod(RequestStateChange): Domain has a snapshot >> -------------------------------------------------------------------- >> VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS >> -------------------------------------------------------------------- >> VirtualSystemSnapshotServiceCapabilities - >> 02_vs_sservicecap_gi_errs.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 >> -------------------------------------------------------------------- >> >> > -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From deeptik at linux.vnet.ibm.com Thu Dec 17 18:57:22 2009 From: deeptik at linux.vnet.ibm.com (Deepti B. Kalakeri) Date: Thu, 17 Dec 2009 10:57:22 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] #2 Fixing vsms/08_modifyresource.py Message-ID: # HG changeset patch # User Deepti B. Kalakeri # Date 1261076229 28800 # Node ID c645bc67171f032edfe15e4e2390e201a218423d # Parent 8f0220b94152171cd71f7a8181a7d8549e9ee064 [TEST] #2 Fixing vsms/08_modifyresource.py Tested with KVM and current sources on Fedora Signed-off-by: Deepti B. Kalakeri diff -r 8f0220b94152 -r c645bc67171f suites/libvirt-cim/lib/XenKvmLib/xm_virt_util.py --- a/suites/libvirt-cim/lib/XenKvmLib/xm_virt_util.py Fri Dec 11 23:05:10 2009 -0200 +++ b/suites/libvirt-cim/lib/XenKvmLib/xm_virt_util.py Thu Dec 17 10:57:09 2009 -0800 @@ -272,11 +272,11 @@ def virsh_vcpuinfo(server, dom, virt="Xen"): - cmd = "virsh -c %s vcpuinfo %s 2>/dev/null | grep VCPU | wc -l" \ - % (virt2uri(virt), dom) + cmd = "virsh -c %s vcpuinfo %s 2>/dev/null " % (virt2uri(virt), dom) ret, out = utils.run_remote(server, cmd) - if out.isdigit(): - return out + if ret == 0 : + vcpu = out.count("VCPU") + return vcpu return None def get_hv_ver(server, virt="Xen"): From kaitlin at linux.vnet.ibm.com Thu Dec 17 21:48:24 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 17 Dec 2009 13:48:24 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Fix order XenFV args are passed to VirtCIM __init__() In-Reply-To: References: <4c73bb18cd2d6144debd.1260580635@elm3b41.beaverton.ibm.com> Message-ID: <4B2AA728.7000105@linux.vnet.ibm.com> Sharad Mishra wrote: > > > > # HG changeset patch > > # User Kaitlin Rupert > > # Date 1260576721 28800 > > # Node ID 4c73bb18cd2d6144debd06135ad8de6e569f6747 > > # Parent ceb3cf5bc4d887de99e59f8c1ca7833ed0550b22 > > [TEST] Fix order XenFV args are passed to VirtCIM __init__() > > > > When the acip, pae, and acpi args were added, they were added in the > wrong > > order for XenFV guests. > > > > Signed-off-by: Kaitlin Rupert > > > > diff -r ceb3cf5bc4d8 -r 4c73bb18cd2d > suites/libvirt-cim/lib/XenKvmLib/vxml.py > > --- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Fri Dec 11 > 16:12:012009 -0800 > > +++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Fri Dec 11 > 16:12:012009 -0800 > > @@ -955,7 +955,7 @@ > > logger.error('Error: Disk image does not exist') > > sys.exit(1) > > VirtXML.__init__(self, 'xenfv', test_dom, set_uuid(), mem, > vcpus) > > - VirtCIM.__init__(self, 'XenFV', test_dom, disk, uuid, pae, > > acpi, apic, > > + VirtCIM.__init__(self, 'XenFV', test_dom, uuid, pae, acpi, > > apic, disk, > > disk_file_path, ntype, net_name, mac, > vcpus, mem, > > mem_allocunits, emu_type, grstype, address, > > is_ipv6_only, port_num, > > @@ -964,6 +964,8 @@ > > self._devices(const.XenFV_default_emulator, > > ntype, mac, net_name, disk_file_path, disk) > > > > + print address, port_num, is_ipv6_only > > + > > Do you want to leave the print statement there? I don't mind. Oops, nope - that should be removed. That was my fault for not reviewing the patch well before sending it. I'll rework this. Thanks! -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Thu Dec 17 22:26:03 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 17 Dec 2009 14:26:03 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] #2 Fix order XenFV args are passed to VirtCIM __init__() Message-ID: <3a2a010a8f81ccbd933b.1261088763@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1260576721 28800 # Node ID 3a2a010a8f81ccbd933b8c8e5a87e9651160af18 # Parent 7bccba16845335df21d3d4e754c95d0905049da7 [TEST] #2 Fix order XenFV args are passed to VirtCIM __init__() When the acip, pae, and acpi args were added, they were added in the wrong order for XenFV guests. Updates: -Remove unnecessary print statement Signed-off-by: Kaitlin Rupert diff -r 7bccba168453 -r 3a2a010a8f81 suites/libvirt-cim/lib/XenKvmLib/vxml.py --- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Fri Dec 11 16:12:01 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Fri Dec 11 16:12:01 2009 -0800 @@ -955,7 +955,7 @@ logger.error('Error: Disk image does not exist') sys.exit(1) VirtXML.__init__(self, 'xenfv', test_dom, set_uuid(), mem, vcpus) - VirtCIM.__init__(self, 'XenFV', test_dom, disk, uuid, pae, acpi, apic, + VirtCIM.__init__(self, 'XenFV', test_dom, uuid, pae, acpi, apic, disk, disk_file_path, ntype, net_name, mac, vcpus, mem, mem_allocunits, emu_type, grstype, address, is_ipv6_only, port_num, From kaitlin at linux.vnet.ibm.com Thu Dec 17 22:20:16 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 17 Dec 2009 14:20:16 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] #2 Fixing vsms/08_modifyresource.py In-Reply-To: References: Message-ID: <4B2AAEA0.5030603@linux.vnet.ibm.com> Deepti B. Kalakeri wrote: > # HG changeset patch > # User Deepti B. Kalakeri > # Date 1261076229 28800 > # Node ID c645bc67171f032edfe15e4e2390e201a218423d > # Parent 8f0220b94152171cd71f7a8181a7d8549e9ee064 > [TEST] #2 Fixing vsms/08_modifyresource.py > > Tested with KVM and current sources on Fedora > Signed-off-by: Deepti B. Kalakeri > > diff -r 8f0220b94152 -r c645bc67171f suites/libvirt-cim/lib/XenKvmLib/xm_virt_util.py > --- a/suites/libvirt-cim/lib/XenKvmLib/xm_virt_util.py Fri Dec 11 23:05:10 2009 -0200 > +++ b/suites/libvirt-cim/lib/XenKvmLib/xm_virt_util.py Thu Dec 17 10:57:09 2009 -0800 > @@ -272,11 +272,11 @@ > > > def virsh_vcpuinfo(server, dom, virt="Xen"): > - cmd = "virsh -c %s vcpuinfo %s 2>/dev/null | grep VCPU | wc -l" \ > - % (virt2uri(virt), dom) > + cmd = "virsh -c %s vcpuinfo %s 2>/dev/null " % (virt2uri(virt), dom) > ret, out = utils.run_remote(server, cmd) > - if out.isdigit(): > - return out > + if ret == 0 : > + vcpu = out.count("VCPU") > + return vcpu Nice! I wouldn't have thought to use count here. This is much cleaner than what I was thinking of. =) -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Thu Dec 17 22:31:34 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 17 Dec 2009 14:31:34 -0800 Subject: [Libvirt-cim] Test Run Summary (Dec 15 2009): KVM on Fedora release 12 (Constantine) with Pegasus In-Reply-To: <4B283121.20707@linux.vnet.ibm.com> References: <4B283121.20707@linux.vnet.ibm.com> Message-ID: <4B2AB146.8030200@linux.vnet.ibm.com> > -------------------------------------------------------------------- > HostSystem - 04_hs_to_EAPF.py: FAIL > ERROR - DEBUG host_name is elm3b41.beaverton.ibm.com > ERROR - KVM_ElementAllocatedFromPool returned 0 KVM_DiskPool objects > CIM_ERR_INVALID_CLASS: Linux_ComputerSystem > The web server returned a bad status line: '' Seg fault - need to investigate whether this is in libvirt-cim or Pegasus itself. > -------------------------------------------------------------------- > HostSystem - 05_hs_gi_errs.py: FAIL > ERROR - Error in getting HostSystem instance > Socket error: [Errno 111] Connection refused > Socket error: [Errno 111] Connection refused The seg fault crashed Pegasus; no CIMOM was available when this test ran. > -------------------------------------------------------------------- > HostSystem - 06_hs_to_vsms.py: FAIL > ERROR - Error in getting HostSystem instance > ERROR - Did not get the expected MigrationService record > Socket error: [Errno 111] Connection refused > Socket error: [Errno 111] Connection refused The seg fault crashed Pegasus; no CIMOM was available when this test ran. CIMOM was restarted at this point. > -------------------------------------------------------------------- > -------------------------------------------------------------------- > RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: FAIL > ERROR - 'ResultingResourceSettings' > ERROR - Error invoking AddRS: add_disk_res > ERROR - AddResourceSettings call failed > ERROR - Exception: Unable to generate indication This is because provider version 986 doesn't support ResultingResourceSettings. Need to update the test case. > -------------------------------------------------------------------- > -------------------------------------------------------------------- > VirtualSystemManagementService - 06_addresource.py: FAIL > ERROR - 'ResultingResourceSettings' > ERROR - Error invoking AddRS: add_disk_res > ERROR - AddResourceSettings call failed This is because provider version 986 doesn't support ResultingResourceSettings. Need to update the test case. > -------------------------------------------------------------------- > -------------------------------------------------------------------- > VirtualSystemManagementService - 08_modifyresource.py: FAIL > ERROR - 'ResultingResourceSettings' > ERROR - Error invoking ModifyRS: mod_vcpu_res > ERROR - ModifyResourceSettings call failed This is because provider version 986 doesn't support ResultingResourceSettings. Need to update the test case. > -------------------------------------------------------------------- > -------------------------------------------------------------------- > VirtualSystemManagementService - 24_define_sys_features.py: FAIL > ERROR - Failed to set pae for dom: features_domain This is because provider version 986 doesn't support setting PAE, ACPI, and APIC. > -------------------------------------------------------------------- > VirtualSystemManagementService - 24_verify_modifyres_output.py: FAIL > ERROR - 'ResultingResourceSettings' > ERROR - Failed to modify rstest_domain's disk This is because provider version 986 doesn't support ResultingResourceSettings. Need to update the test case. > -------------------------------------------------------------------- > -------------------------------------------------------------------- > VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL > ERROR - Got CIM error CIM_ERR_NOT_SUPPORTED: Domain has a snapshot > with return code 7 > ERROR - Exception: Failed to start the defined domain: snapshot_vm > InvokeMethod(RequestStateChange): CIM_ERR_NOT_SUPPORTED: Domain has a > snapshot Unable to reproduce this error running the test as is. It's likely a prior test isn't cleaning up properly. > -------------------------------------------------------------------- -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From deeptik at linux.vnet.ibm.com Fri Dec 18 11:33:26 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Fri, 18 Dec 2009 17:03:26 +0530 Subject: [Libvirt-cim] Re: Test Run Summary (Dec 17 2009): KVM on Fedora release 13 (Rawhide) with sfcb In-Reply-To: <4B2A760F.2090204@linux.vnet.ibm.com> References: <4B29FFF0.5020703@linux.vnet.ibm.com> <4B2A705B.5010307@linux.vnet.ibm.com> <4B2A760F.2090204@linux.vnet.ibm.com> Message-ID: <4B2B6886.8030904@linux.vnet.ibm.com> Deepti B Kalakeri wrote: > > > Deepti B Kalakeri wrote: >> >> >> Deepti B Kalakeri wrote: >>> ================================================= >>> Test Run Summary (Dec 17 2009): KVM on Fedora release 13 (Rawhide) >>> with sfcb >>> ================================================= >>> Distro: Fedora release 13 (Rawhide) >>> Kernel: 2.6.32.1-9.fc13.x86_64 >>> libvirt: 0.7.4 >>> Hypervisor: QEMU 0.11.0 >>> CIMOM: sfcb sfcbd 1.3.6preview >>> Libvirt-cim revision: 1022 >>> Libvirt-cim changeset: 54c432d2bec6 >>> Cimtest revision: 827 >>> Cimtest changeset: 8f0220b94152 >>> Total test execution: Unknown >>> ================================================= >>> FAIL : 4 >>> XFAIL : 4 >>> SKIP : 10 >>> PASS : 161 >>> ----------------- >>> Total : 179 >>> ================================================= >>> FAIL Test Summary: >>> ComputerSystemIndication - 01_created_indication.py: FAIL >> Passed when run manually >>> RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: FAIL >> The test case is causing the VSMS to segfault when tried running >> manually. >> >> -------------------------------------------------------------------- >> RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: FAIL >> ERROR - Got CIM error *** Provider >> Virt_VirtualSystemManagementService(29880) exiting due to a SIGSEGV >> signal with return code 1 >> ERROR - Exception details: Failed to define domain VM >> ERROR - Error setting up the guest 'VM' >> InvokeMethod(DefineSystem): *** Provider >> Virt_VirtualSystemManagementService(29880) exiting due to a SIGSEGV >> signal >> -------------------------------------------------------------------- >> >>> VirtualSystemManagementService - 08_modifyresource.py: FAIL > This is test case issue >>> VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL The libvirt on the machine is hanging and the libivrt-cim hangs at the point where it tries to connect to the qemu:///system. Heres the final set of debug message after which the test hangs: std_invokemethod.c(303): Executing handler for method `CreateSnapshot' Virt_VirtualSystemSnapshotService.c(297): ref was root/virt:CIM_ConcreteJob.InstanceID="077c1c9f-1778-4dee-b3d0-6608d8a56379" misc_util.c(75): Connecting to libvirt with uri `qemu:///system' Virt_VirtualSystemSnapshotService.c(221): Snapshot thread alive Virt_VirtualSystemSnapshotService.c(138): Set 077c1c9f-1778-4dee-b3d0-6608d8a56379 status to 4:Running misc_util.c(75): Connecting to libvirt with uri `qemu:///system' misc_util.c(202): URI of connection is: qemu:///system Virt_VirtualSystemSnapshotService.c(166): Starting save to /var/lib/libvirt/snapshot_vm.save device_parsing.c(273): Disk node: disk Virt_VSSD.c(59): bootlist_ct = 1 Virt_VSSD.c(80): BootList[0]=hd std_invokemethod.c(305): Method `CreateSnapshot' returned 0 misc_util.c(75): Connecting to libvirt with uri `qemu:///system' I started libvirtd from one more terminal and killed the old libvirtd process and the test proceeded with the following message. libvir: Remote error : cannot recv data: Connection reset by peer misc_util.c(79): Unable to connect to `qemu:///system' std_invokemethod.c(279): Method `DestroySystem' execution attempted std_invokemethod.c(230): Method parameter `AffectedSystem' validated type 0x1100 std_invokemethod.c(303): Executing handler for method `DestroySystem' misc_util.c(75): Connecting to libvirt with uri `qemu:///system' misc_util.c(75): Connecting to libvirt with uri `qemu:///system' At the end of the execution the test passed. I was not able to reproduce the error because of which this test had failed. >> Will look into this. >>> >>> ================================================= >>> 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 >>> Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP >>> ResourcePoolConfigurationService - 04_CreateChildResourcePool.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 >>> VSSD - 02_bootldr.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 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: FAIL >>> ERROR - Waited too long for define indication >>> ERROR - Exception: Poll for indication Failed >>> ERROR - Waited too long for start indication >>> ERROR - Exception: Poll for indication Failed >>> ERROR - Waited too long for destroy indication >>> ERROR - Exception: Poll for indication Failed >>> -------------------------------------------------------------------- >>> 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 >>> -------------------------------------------------------------------- >>> 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 >>> -------------------------------------------------------------------- >>> 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 >>> -------------------------------------------------------------------- >>> KVMRedirectionSAP - 01_enum_KVMredSAP.py: PASS >>> -------------------------------------------------------------------- >>> KVMRedirectionSAP - 02_ipv6_support.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 >>> -------------------------------------------------------------------- >>> Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP >>> 04_verify_libvirt_cim_slp_profiles.py:30: DeprecationWarning: the >>> sets module is deprecated >>> from sets import Set >>> ERROR - SLP tool does not exist on the machine >>> -------------------------------------------------------------------- >>> 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: 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: SKIP >>> ERROR - Need to give different bridge name since it already exists >>> -------------------------------------------------------------------- >>> 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 >>> -------------------------------------------------------------------- >>> 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: FAIL >>> ERROR - Got 0, exp 1. >>> ERROR - Error invoking ModifyRS: mod_vcpu_res >>> ERROR - Error changing rs for vcpu >>> -------------------------------------------------------------------- >>> 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 >>> 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 - 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 >>> -------------------------------------------------------------------- >>> VirtualSystemManagementService - 24_define_sys_features.py: PASS >>> -------------------------------------------------------------------- >>> VirtualSystemManagementService - 24_verify_modifyres_output.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 - Got CIM error Domain has a snapshot with return code 7 >>> ERROR - Exception: Failed to start the defined domain: snapshot_vm >>> InvokeMethod(RequestStateChange): Domain has a snapshot >>> -------------------------------------------------------------------- >>> VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS >>> -------------------------------------------------------------------- >>> VirtualSystemSnapshotServiceCapabilities - >>> 02_vs_sservicecap_gi_errs.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 >>> -------------------------------------------------------------------- >>> >>> >> > -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From rmaciel at linux.vnet.ibm.com Fri Dec 18 13:10:02 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Fri, 18 Dec 2009 11:10:02 -0200 Subject: [Libvirt-cim] [PATCH] [TEST] For Xen enabled systems, a storage volume template is generated for In-Reply-To: <2a52495fd1c2c47440b6.1260580605@elm3b41.beaverton.ibm.com> References: <2a52495fd1c2c47440b6.1260580605@elm3b41.beaverton.ibm.com> Message-ID: <4B2B7F2A.4040501@linux.vnet.ibm.com> On 12/11/2009 11:16 PM, Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1260576721 28800 > # Node ID 2a52495fd1c2c47440b65f723366ccc3826f1548 > # Parent 5978eee0beb98fb1d2d8780376fc8edd825589d7 > [TEST] For Xen enabled systems, a storage volume template is generated for ... > > Both para virt guests and full virt guests. > > Signed-off-by: Kaitlin Rupert > > diff -r 5978eee0beb9 -r 2a52495fd1c2 suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py > --- a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py Fri Dec 11 16:12:01 2009 -0800 > +++ b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py Fri Dec 11 16:12:01 2009 -0800 > @@ -122,8 +122,15 @@ > if item['Address'] == exp_vol_path and item['PoolID'] == dp_inst_id: > dv_rasds.append(item) > > - if len(dv_rasds) != 4: > - logger.error("Got '%s' StorageVolRASD's expected 4", len(dv_rasds)) > + exp_template_rasd = 4 > + > + if virt == "Xen" or virt == "XenFV": > + #There's one of each RASD type for both paravirt Xen and full virt Xen > + exp_template_rasd = exp_template_rasd * 2 Since you can have a system with only paravirt Xen installed, this test will fail (it expects 8 template_rasd's when it should only expect 4). > + > + if len(dv_rasds) != exp_template_rasd: > + logger.error("Got '%s' StorageVolRASD's expected %s", len(dv_rasds), > + exp_template_rasd) > return FAIL > > return PASS > > _______________________________________________ > 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 rmaciel at linux.vnet.ibm.com Fri Dec 18 13:52:10 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Fri, 18 Dec 2009 06:52:10 -0700 Subject: [Libvirt-cim] Test Run Summary (Dec 18 2009): LXC on Fedora release 12 (Constantine) with Pegasus Message-ID: <200912181352.nBIDqAu6024645@d03av04.boulder.ibm.com> ================================================= Test Run Summary (Dec 18 2009): LXC on Fedora release 12 (Constantine) with Pegasus ================================================= Distro: Fedora release 12 (Constantine) Kernel: 2.6.31.6-166.fc12.x86_64 libvirt: Unknown Hypervisor: Unknown CIMOM: Pegasus 2.9.0 Libvirt-cim revision: 0 Libvirt-cim changeset: Unknown Cimtest revision: 828 Cimtest changeset: a5c1b6950f87 Total test execution: Unknown ================================================= FAIL : 46 XFAIL : 6 SKIP : 67 PASS : 60 ----------------- Total : 179 ================================================= FAIL Test Summary: ReferencedProfile - 01_verify_refprof.py: FAIL ReferencedProfile - 02_refprofile_errs.py: FAIL ResourceAllocationFromPool - 01_forward.py: FAIL ResourceAllocationFromPool - 02_reverse.py: FAIL ResourcePool - 02_rp_gi_errors.py: FAIL ResourcePoolConfigurationCapabilities - 01_enum.py: FAIL ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: FAIL ResourcePoolConfigurationService - 01_enum.py: FAIL ResourcePoolConfigurationService - 02_rcps_gi_errors.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 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 VirtualSystemManagementCapabilities - 01_enum.py: FAIL VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: FAIL VirtualSystemManagementService - 01_definesystem_name.py: FAIL VirtualSystemManagementService - 02_destroysystem.py: FAIL VirtualSystemManagementService - 05_destroysystem_neg.py: FAIL VirtualSystemManagementService - 10_hv_version.py: FAIL VirtualSystemManagementService - 14_define_sys_disk.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 VSSD - 01_enum.py: FAIL VSSD - 03_vssd_gi_errs.py: FAIL VSSD - 04_vssd_to_rasd.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 - 15_mod_system_settings.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 HostedAccessPoint - 01_forward.py: SKIP HostedAccessPoint - 02_reverse.py: SKIP KVMRedirectionSAP - 01_enum_KVMredSAP.py: SKIP KVMRedirectionSAP - 02_ipv6_support.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 Profile - 04_verify_libvirt_cim_slp_profiles.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 RedirectionService - 01_enum_crs.py: SKIP RedirectionService - 02_enum_crscap.py: SKIP RedirectionService - 03_RedirectionSAP_errs.py: SKIP ResourceAllocationFromPool - 05_RAPF_err.py: SKIP ResourcePool - 01_enum.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 ServiceAccessBySAP - 01_forward.py: SKIP ServiceAccessBySAP - 02_reverse.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 VirtualSystemManagementService - 24_define_sys_features.py: SKIP VirtualSystemManagementService - 24_verify_modifyres_output.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 VSSD - 02_bootldr.py: SKIP VSSD - 05_set_uuid.py: SKIP VSSD - 06_duplicate_uuid.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: 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 -------------------------------------------------------------------- HostedAccessPoint - 01_forward.py: SKIP -------------------------------------------------------------------- HostedAccessPoint - 02_reverse.py: SKIP -------------------------------------------------------------------- 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 -------------------------------------------------------------------- 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 -------------------------------------------------------------------- KVMRedirectionSAP - 01_enum_KVMredSAP.py: SKIP -------------------------------------------------------------------- KVMRedirectionSAP - 02_ipv6_support.py: SKIP -------------------------------------------------------------------- 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 -------------------------------------------------------------------- Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP 04_verify_libvirt_cim_slp_profiles.py:30: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - SLP tool does not exist on the machine -------------------------------------------------------------------- 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: SKIP 01_enum_crs.py:29: DeprecationWarning: the sets module is deprecated from sets import Set -------------------------------------------------------------------- RedirectionService - 02_enum_crscap.py: SKIP -------------------------------------------------------------------- RedirectionService - 03_RedirectionSAP_errs.py: SKIP -------------------------------------------------------------------- ReferencedProfile - 01_verify_refprof.py: FAIL ERROR - LXC_RegisteredProfile returned 0 Profile objects, expected atleast 5 -------------------------------------------------------------------- ReferencedProfile - 02_refprofile_errs.py: FAIL ERROR - LXC_RegisteredProfile returned 0 Profile objects, expected atleast 5 -------------------------------------------------------------------- ResourceAllocationFromPool - 01_forward.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 ERROR - Failed to Define the domain: RAFP_dom InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt -------------------------------------------------------------------- ResourceAllocationFromPool - 02_reverse.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 ERROR - Failed to Define the domain: RAFP_dom InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt -------------------------------------------------------------------- ResourceAllocationFromPool - 03_forward_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 05_RAPF_err.py: SKIP -------------------------------------------------------------------- ResourcePool - 01_enum.py: SKIP ERROR - Failed to create the Virtual Network 'default-net' ERROR - Failed to initialise the list -------------------------------------------------------------------- ResourcePool - 02_rp_gi_errors.py: FAIL ERROR - LXC_ProcessorPool did not return any instances ERROR - Unable to build pool instance list -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 01_enum.py: FAIL ERROR - LXC_ResourcePoolConfigurationCapabilities return 0 instances, excepted only 1 instance -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: FAIL ERROR - Unexpected errno 6 and desc CIM_ERR_NOT_FOUND: No such instance ERROR - Expected No such instance (InstanceID) 6 ERROR - ------ FAILED: Invalid InstanceID Key Value.------ -------------------------------------------------------------------- ResourcePoolConfigurationService - 01_enum.py: FAIL ERROR - Error in getting HostSystem instance ERROR - Error in calling get_host_info function CIM_ERR_INVALID_CLASS: Linux_ComputerSystem -------------------------------------------------------------------- ResourcePoolConfigurationService - 02_rcps_gi_errors.py: FAIL ERROR - No LXC_ResourcePoolConfigurationService instances returned -------------------------------------------------------------------- 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: SKIP -------------------------------------------------------------------- ServiceAccessBySAP - 02_reverse.py: SKIP -------------------------------------------------------------------- ServiceAffectsElement - 01_forward.py: FAIL 01_forward.py:51: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 ERROR - Failed to define the dom: SAE_dom InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt -------------------------------------------------------------------- ServiceAffectsElement - 02_reverse.py: FAIL 02_reverse.py:47: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 ERROR - Failed to define the dom: SAE_dom InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt -------------------------------------------------------------------- SettingsDefine - 01_forward.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 ERROR - Failed to Create the dom: domu1 ERROR - NameError : global name 'cmxl' is not defined Traceback (most recent call last): File "/root/richard/cimtest/suites/libvirt-cim/lib/XenKvmLib/const.py", line 140, in do_try rc = f() File "01_forward.py", line 144, in main status, cxml = setup_env(options.ip, options.virt) File "01_forward.py", line 58, in setup_env return FAIL, cmxl NameError: global name 'cmxl' is not defined ERROR - None InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt -------------------------------------------------------------------- SettingsDefine - 02_reverse.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 ERROR - Failed to Create the dom: virtgst InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt -------------------------------------------------------------------- SettingsDefine - 03_sds_fwd_errs.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 ERROR - Failed to define the dom: domu1 InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt -------------------------------------------------------------------- SettingsDefine - 04_sds_rev_errs.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 ERROR - Failed to define the dom: domu1 InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt -------------------------------------------------------------------- SettingsDefineCapabilities - 01_forward.py: FAIL ERROR - Exception: 'NoneType' object has no attribute 'InstanceID' CIM_ERR_NOT_FOUND: No such instance CIM_ERR_NOT_FOUND: No such instance CIM_ERR_NOT_FOUND: No such instance CIM_ERR_NOT_FOUND: No such instance -------------------------------------------------------------------- SettingsDefineCapabilities - 03_forward_errs.py: FAIL ERROR - Unexpected rc code 6 and description CIM_ERR_NOT_FOUND: No such instance ERROR - ------ FAILED: Invalid InstanceID Key Value.------ -------------------------------------------------------------------- SettingsDefineCapabilities - 04_forward_vsmsdata.py: FAIL ERROR - LXC_SettingsDefineCapabilities returned 0 LXC_VirtualSystemMigrationCapabilities objects CIM_ERR_NOT_FOUND: No such instance -------------------------------------------------------------------- SettingsDefineCapabilities - 05_reverse_vsmcap.py: FAIL ERROR - LXC_SettingsDefineCapabilities returned 0 LXC_VirtualSystemMigrationSettingData objects CIM_ERR_NOT_FOUND: No such instance -------------------------------------------------------------------- SystemDevice - 01_forward.py: FAIL 01_forward.py:29: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 ERROR - Unable to define domain test_domain InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt -------------------------------------------------------------------- SystemDevice - 02_reverse.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 ERROR - Unable to define domain test_domain InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt -------------------------------------------------------------------- SystemDevice - 03_fwderrs.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 ERROR - Failed to define the domain 'virt1' InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt -------------------------------------------------------------------- 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 -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: FAIL ERROR - Unexpected errno 6 and desc CIM_ERR_NOT_FOUND: No such instance ERROR - Expected No such instance (InstanceID) 6 ERROR - ------ FAILED: Invalid InstanceID Key Value.------ -------------------------------------------------------------------- VirtualSystemManagementService - 01_definesystem_name.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 ERROR - Unable to define test_domain InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt -------------------------------------------------------------------- VirtualSystemManagementService - 02_destroysystem.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 ERROR - Failed to define the domain 'test_domain' InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt -------------------------------------------------------------------- VirtualSystemManagementService - 03_definesystem_ess.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 04_definesystem_ers.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 05_destroysystem_neg.py: FAIL ERROR - Got error no 6, but expected no 1 ERROR - Got error desc: CIM_ERR_NOT_FOUND: Unable to connect to libvirt: unable to connect to '/var/run/libvirt/libvirt-sock': Connection refused, but expected desc: Unable to retrieve domain name. ERROR - Got error no 6, but expected no 1 ERROR - Got error desc: CIM_ERR_NOT_FOUND: Unable to connect to libvirt: unable to connect to '/var/run/libvirt/libvirt-sock': Connection refused, but expected desc: Failed to find domain InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Unable to connect to libvirt: unable to connect to '/var/run/libvirt/libvirt-sock': Connection refused InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Unable to connect to libvirt: unable to connect to '/var/run/libvirt/libvirt-sock': Connection refused -------------------------------------------------------------------- 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: FAIL ERROR - Did not find VSMS instance ERROR - list index out of range -------------------------------------------------------------------- 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 CIM_ERR_NOT_FOUND: Instance not found. -------------------------------------------------------------------- VirtualSystemManagementService - 15_mod_system_settings.py: XFAIL ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 ERROR - Failed to define the dom: rstest_domain InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt Bug:<00008> -------------------------------------------------------------------- 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 CIM_ERR_FAILED: Error connecting to libvirt with return code 1 ERROR - Exception details: Unable to define dom_mac_notspecified InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt -------------------------------------------------------------------- VirtualSystemManagementService - 22_addmulti_brg_interface.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 24_define_sys_features.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 24_verify_modifyres_output.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 01_enum.py: FAIL ERROR - LXC_VirtualSystemMigrationCapabilities return 0 instances, excepted only 1 instance -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: FAIL ERROR - Unexpected errno 6 and desc CIM_ERR_NOT_FOUND: No such instance 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 -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: FAIL ERROR - Unexpected errno 6 and desc CIM_ERR_NOT_FOUND: No such instance ERROR - Expected No such instance (InstanceID) 6 ERROR - ------ FAILED: Invalid InstanceID Key Value.------ -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 01_forward.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 ERROR - Failed to define the dom: VSSDC_dom InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 02_reverse.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 ERROR - Failed to define the dom: VSSDC_dom InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 ERROR - Unable to define domain domu1 InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 ERROR - Unable to define domain domu1 InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt -------------------------------------------------------------------- VirtualSystemSnapshotService - 01_enum.py: FAIL ERROR - Error in getting HostSystem instance CIM_ERR_INVALID_CLASS: Linux_ComputerSystem -------------------------------------------------------------------- VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: FAIL ERROR - list index out of range -------------------------------------------------------------------- VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 ERROR - Exception: ('Unable to define %s', 'snapshot_vm') ERROR - Got CIM error CIM_ERR_NOT_FOUND: Unable to connect to libvirt: unable to connect to '/var/run/libvirt/libvirt-sock': Connection refused with return code 6 ERROR - Failed to remove snapshot file for snapshot_vm InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Unable to connect to libvirt: unable to connect to '/var/run/libvirt/libvirt-sock': Connection refused -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 01_enum.py: FAIL ERROR - LXC_VirtualSystemSnapshotServiceCapabilities return 0 instances, excepted only 1 instance -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: FAIL ERROR - Unexpected errno 6 and desc CIM_ERR_NOT_FOUND: No such instance ERROR - Expected No such instance (InstanceID) 6 ERROR - ------ FAILED: Invalid InstanceID Key Value.------ -------------------------------------------------------------------- VSSD - 01_enum.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 ERROR - error while create of VS ERROR - Missing VSSD instance for the system VSSD_dom InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt -------------------------------------------------------------------- VSSD - 02_bootldr.py: SKIP -------------------------------------------------------------------- VSSD - 03_vssd_gi_errs.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 ERROR - error while define of VS InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt -------------------------------------------------------------------- VSSD - 04_vssd_to_rasd.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 ERROR - Failed to Define the domain: VSSDC_dom InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt -------------------------------------------------------------------- VSSD - 05_set_uuid.py: SKIP -------------------------------------------------------------------- VSSD - 06_duplicate_uuid.py: SKIP -------------------------------------------------------------------- Fri, 18 Dec 2009 06:02:56:TEST LOG:ERROR - Failed to destroy Virtual Network 'cimtest-networkpool' From rmaciel at linux.vnet.ibm.com Fri Dec 18 14:26:27 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Fri, 18 Dec 2009 07:26:27 -0700 Subject: [Libvirt-cim] Test Run Summary (Dec 18 2009): LXC on Fedora release 12 (Constantine) with Pegasus Message-ID: <200912181426.nBIEQRq3021141@d03av04.boulder.ibm.com> ================================================= Test Run Summary (Dec 18 2009): LXC on Fedora release 12 (Constantine) with Pegasus ================================================= Distro: Fedora release 12 (Constantine) Kernel: 2.6.31.6-166.fc12.x86_64 libvirt: 0.7.1 Hypervisor: QEMU 0.11.0 CIMOM: Pegasus 2.9.0 Libvirt-cim revision: 1024 Libvirt-cim changeset: 2e80fd8fdbc5 Cimtest revision: 831 Cimtest changeset: c0bff64681fc Total test execution: Unknown ================================================= FAIL : 7 XFAIL : 6 SKIP : 60 PASS : 106 ----------------- Total : 179 ================================================= FAIL Test Summary: 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 VirtualSystemManagementService - 21_createVS_verifyMAC.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 - 15_mod_system_settings.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 HostedAccessPoint - 01_forward.py: SKIP HostedAccessPoint - 02_reverse.py: SKIP KVMRedirectionSAP - 01_enum_KVMredSAP.py: SKIP KVMRedirectionSAP - 02_ipv6_support.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 Profile - 04_verify_libvirt_cim_slp_profiles.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 RedirectionService - 03_RedirectionSAP_errs.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 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 VirtualSystemManagementService - 24_define_sys_features.py: SKIP VirtualSystemManagementService - 24_verify_modifyres_output.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 VSSD - 02_bootldr.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: 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 -------------------------------------------------------------------- HostedAccessPoint - 01_forward.py: SKIP -------------------------------------------------------------------- HostedAccessPoint - 02_reverse.py: SKIP -------------------------------------------------------------------- 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 -------------------------------------------------------------------- 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 -------------------------------------------------------------------- KVMRedirectionSAP - 01_enum_KVMredSAP.py: SKIP -------------------------------------------------------------------- KVMRedirectionSAP - 02_ipv6_support.py: SKIP -------------------------------------------------------------------- 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 -------------------------------------------------------------------- Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP 04_verify_libvirt_cim_slp_profiles.py:30: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - SLP tool does not exist on the machine -------------------------------------------------------------------- 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: SKIP -------------------------------------------------------------------- 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: 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 -------------------------------------------------------------------- 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: 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: XFAIL -------------------------------------------------------------------- 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 - LXC_NetResourceAllocationSettingData returned 0 instances, excepted at least 1. -------------------------------------------------------------------- VirtualSystemManagementService - 22_addmulti_brg_interface.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 24_define_sys_features.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 24_verify_modifyres_output.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: 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 -------------------------------------------------------------------- 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 -------------------------------------------------------------------- From rmaciel at linux.vnet.ibm.com Fri Dec 18 14:32:36 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Fri, 18 Dec 2009 12:32:36 -0200 Subject: [Libvirt-cim] Test Run Summary (Dec 18 2009): LXC on Fedora release 12 (Constantine) with Pegasus In-Reply-To: <200912181352.nBIDqAu6024645@d03av04.boulder.ibm.com> References: <200912181352.nBIDqAu6024645@d03av04.boulder.ibm.com> Message-ID: <4B2B9284.9070703@linux.vnet.ibm.com> On 12/18/2009 11:52 AM, Richard Maciel wrote: > ================================================= > Test Run Summary (Dec 18 2009): LXC on Fedora release 12 (Constantine) with Pegasus > ================================================= > Distro: Fedora release 12 (Constantine) > Kernel: 2.6.31.6-166.fc12.x86_64 > libvirt: Unknown > Hypervisor: Unknown > CIMOM: Pegasus 2.9.0 > Libvirt-cim revision: 0 > Libvirt-cim changeset: Unknown > Cimtest revision: 828 > Cimtest changeset: a5c1b6950f87 > Total test execution: Unknown > ================================================= > FAIL : 46 > XFAIL : 6 > SKIP : 67 > PASS : 60 > ----------------- > Total : 179 > ================================================= > FAIL Test Summary: > ReferencedProfile - 01_verify_refprof.py: FAIL > ReferencedProfile - 02_refprofile_errs.py: FAIL > ResourceAllocationFromPool - 01_forward.py: FAIL > ResourceAllocationFromPool - 02_reverse.py: FAIL > ResourcePool - 02_rp_gi_errors.py: FAIL > ResourcePoolConfigurationCapabilities - 01_enum.py: FAIL > ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: FAIL > ResourcePoolConfigurationService - 01_enum.py: FAIL > ResourcePoolConfigurationService - 02_rcps_gi_errors.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 > 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 > VirtualSystemManagementCapabilities - 01_enum.py: FAIL > VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: FAIL > VirtualSystemManagementService - 01_definesystem_name.py: FAIL > VirtualSystemManagementService - 02_destroysystem.py: FAIL > VirtualSystemManagementService - 05_destroysystem_neg.py: FAIL > VirtualSystemManagementService - 10_hv_version.py: FAIL > VirtualSystemManagementService - 14_define_sys_disk.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 > VSSD - 01_enum.py: FAIL > VSSD - 03_vssd_gi_errs.py: FAIL > VSSD - 04_vssd_to_rasd.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 - 15_mod_system_settings.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 > HostedAccessPoint - 01_forward.py: SKIP > HostedAccessPoint - 02_reverse.py: SKIP > KVMRedirectionSAP - 01_enum_KVMredSAP.py: SKIP > KVMRedirectionSAP - 02_ipv6_support.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 > Profile - 04_verify_libvirt_cim_slp_profiles.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 > RedirectionService - 01_enum_crs.py: SKIP > RedirectionService - 02_enum_crscap.py: SKIP > RedirectionService - 03_RedirectionSAP_errs.py: SKIP > ResourceAllocationFromPool - 05_RAPF_err.py: SKIP > ResourcePool - 01_enum.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 > ServiceAccessBySAP - 01_forward.py: SKIP > ServiceAccessBySAP - 02_reverse.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 > VirtualSystemManagementService - 24_define_sys_features.py: SKIP > VirtualSystemManagementService - 24_verify_modifyres_output.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 > VSSD - 02_bootldr.py: SKIP > VSSD - 05_set_uuid.py: SKIP > VSSD - 06_duplicate_uuid.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: 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 > -------------------------------------------------------------------- > HostedAccessPoint - 01_forward.py: SKIP > -------------------------------------------------------------------- > HostedAccessPoint - 02_reverse.py: SKIP > -------------------------------------------------------------------- > 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 > -------------------------------------------------------------------- > 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 > -------------------------------------------------------------------- > KVMRedirectionSAP - 01_enum_KVMredSAP.py: SKIP > -------------------------------------------------------------------- > KVMRedirectionSAP - 02_ipv6_support.py: SKIP > -------------------------------------------------------------------- > 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 > -------------------------------------------------------------------- > Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP > 04_verify_libvirt_cim_slp_profiles.py:30: DeprecationWarning: the sets module is deprecated > from sets import Set > ERROR - SLP tool does not exist on the machine > -------------------------------------------------------------------- > 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: SKIP > 01_enum_crs.py:29: DeprecationWarning: the sets module is deprecated > from sets import Set > -------------------------------------------------------------------- > RedirectionService - 02_enum_crscap.py: SKIP > -------------------------------------------------------------------- > RedirectionService - 03_RedirectionSAP_errs.py: SKIP > -------------------------------------------------------------------- > ReferencedProfile - 01_verify_refprof.py: FAIL > ERROR - LXC_RegisteredProfile returned 0 Profile objects, expected atleast 5 > -------------------------------------------------------------------- > ReferencedProfile - 02_refprofile_errs.py: FAIL > ERROR - LXC_RegisteredProfile returned 0 Profile objects, expected atleast 5 > -------------------------------------------------------------------- > ResourceAllocationFromPool - 01_forward.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 > ERROR - Failed to Define the domain: RAFP_dom > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt > -------------------------------------------------------------------- > ResourceAllocationFromPool - 02_reverse.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 > ERROR - Failed to Define the domain: RAFP_dom > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt > -------------------------------------------------------------------- > ResourceAllocationFromPool - 03_forward_errs.py: PASS > -------------------------------------------------------------------- > ResourceAllocationFromPool - 04_reverse_errs.py: PASS > -------------------------------------------------------------------- > ResourceAllocationFromPool - 05_RAPF_err.py: SKIP > -------------------------------------------------------------------- > ResourcePool - 01_enum.py: SKIP > ERROR - Failed to create the Virtual Network 'default-net' > ERROR - Failed to initialise the list > -------------------------------------------------------------------- > ResourcePool - 02_rp_gi_errors.py: FAIL > ERROR - LXC_ProcessorPool did not return any instances > ERROR - Unable to build pool instance list > -------------------------------------------------------------------- > ResourcePoolConfigurationCapabilities - 01_enum.py: FAIL > ERROR - LXC_ResourcePoolConfigurationCapabilities return 0 instances, excepted only 1 instance > -------------------------------------------------------------------- > ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: FAIL > ERROR - Unexpected errno 6 and desc CIM_ERR_NOT_FOUND: No such instance > ERROR - Expected No such instance (InstanceID) 6 > ERROR - ------ FAILED: Invalid InstanceID Key Value.------ > -------------------------------------------------------------------- > ResourcePoolConfigurationService - 01_enum.py: FAIL > ERROR - Error in getting HostSystem instance > ERROR - Error in calling get_host_info function > CIM_ERR_INVALID_CLASS: Linux_ComputerSystem > -------------------------------------------------------------------- > ResourcePoolConfigurationService - 02_rcps_gi_errors.py: FAIL > ERROR - No LXC_ResourcePoolConfigurationService instances returned > -------------------------------------------------------------------- > 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: SKIP > -------------------------------------------------------------------- > ServiceAccessBySAP - 02_reverse.py: SKIP > -------------------------------------------------------------------- > ServiceAffectsElement - 01_forward.py: FAIL > 01_forward.py:51: DeprecationWarning: the sets module is deprecated > from sets import Set > ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 > ERROR - Failed to define the dom: SAE_dom > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt > -------------------------------------------------------------------- > ServiceAffectsElement - 02_reverse.py: FAIL > 02_reverse.py:47: DeprecationWarning: the sets module is deprecated > from sets import Set > ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 > ERROR - Failed to define the dom: SAE_dom > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt > -------------------------------------------------------------------- > SettingsDefine - 01_forward.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 > ERROR - Failed to Create the dom: domu1 > ERROR - NameError : global name 'cmxl' is not defined > Traceback (most recent call last): > File "/root/richard/cimtest/suites/libvirt-cim/lib/XenKvmLib/const.py", line 140, in do_try > rc = f() > File "01_forward.py", line 144, in main > status, cxml = setup_env(options.ip, options.virt) > File "01_forward.py", line 58, in setup_env > return FAIL, cmxl > NameError: global name 'cmxl' is not defined > ERROR - None > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt > -------------------------------------------------------------------- > SettingsDefine - 02_reverse.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 > ERROR - Failed to Create the dom: virtgst > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt > -------------------------------------------------------------------- > SettingsDefine - 03_sds_fwd_errs.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 > ERROR - Failed to define the dom: domu1 > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt > -------------------------------------------------------------------- > SettingsDefine - 04_sds_rev_errs.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 > ERROR - Failed to define the dom: domu1 > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt > -------------------------------------------------------------------- > SettingsDefineCapabilities - 01_forward.py: FAIL > ERROR - Exception: 'NoneType' object has no attribute 'InstanceID' > CIM_ERR_NOT_FOUND: No such instance > CIM_ERR_NOT_FOUND: No such instance > CIM_ERR_NOT_FOUND: No such instance > CIM_ERR_NOT_FOUND: No such instance > -------------------------------------------------------------------- > SettingsDefineCapabilities - 03_forward_errs.py: FAIL > ERROR - Unexpected rc code 6 and description CIM_ERR_NOT_FOUND: No such instance > > ERROR - ------ FAILED: Invalid InstanceID Key Value.------ > -------------------------------------------------------------------- > SettingsDefineCapabilities - 04_forward_vsmsdata.py: FAIL > ERROR - LXC_SettingsDefineCapabilities returned 0 LXC_VirtualSystemMigrationCapabilities objects > CIM_ERR_NOT_FOUND: No such instance > -------------------------------------------------------------------- > SettingsDefineCapabilities - 05_reverse_vsmcap.py: FAIL > ERROR - LXC_SettingsDefineCapabilities returned 0 LXC_VirtualSystemMigrationSettingData objects > CIM_ERR_NOT_FOUND: No such instance > -------------------------------------------------------------------- > SystemDevice - 01_forward.py: FAIL > 01_forward.py:29: DeprecationWarning: the sets module is deprecated > from sets import Set > ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 > ERROR - Unable to define domain test_domain > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt > -------------------------------------------------------------------- > SystemDevice - 02_reverse.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 > ERROR - Unable to define domain test_domain > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt > -------------------------------------------------------------------- > SystemDevice - 03_fwderrs.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 > ERROR - Failed to define the domain 'virt1' > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt > -------------------------------------------------------------------- > 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 > -------------------------------------------------------------------- > VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: FAIL > ERROR - Unexpected errno 6 and desc CIM_ERR_NOT_FOUND: No such instance > ERROR - Expected No such instance (InstanceID) 6 > ERROR - ------ FAILED: Invalid InstanceID Key Value.------ > -------------------------------------------------------------------- > VirtualSystemManagementService - 01_definesystem_name.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 > ERROR - Unable to define test_domain > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt > -------------------------------------------------------------------- > VirtualSystemManagementService - 02_destroysystem.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 > ERROR - Failed to define the domain 'test_domain' > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt > -------------------------------------------------------------------- > VirtualSystemManagementService - 03_definesystem_ess.py: PASS > -------------------------------------------------------------------- > VirtualSystemManagementService - 04_definesystem_ers.py: PASS > -------------------------------------------------------------------- > VirtualSystemManagementService - 05_destroysystem_neg.py: FAIL > ERROR - Got error no 6, but expected no 1 > ERROR - Got error desc: CIM_ERR_NOT_FOUND: Unable to connect to libvirt: unable to connect to '/var/run/libvirt/libvirt-sock': Connection refused, but expected desc: Unable to retrieve domain name. > ERROR - Got error no 6, but expected no 1 > ERROR - Got error desc: CIM_ERR_NOT_FOUND: Unable to connect to libvirt: unable to connect to '/var/run/libvirt/libvirt-sock': Connection refused, but expected desc: Failed to find domain > InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Unable to connect to libvirt: unable to connect to '/var/run/libvirt/libvirt-sock': Connection refused > InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Unable to connect to libvirt: unable to connect to '/var/run/libvirt/libvirt-sock': Connection refused > -------------------------------------------------------------------- > 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: FAIL > ERROR - Did not find VSMS instance > ERROR - list index out of range > -------------------------------------------------------------------- > 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 > CIM_ERR_NOT_FOUND: Instance not found. > -------------------------------------------------------------------- > VirtualSystemManagementService - 15_mod_system_settings.py: XFAIL > ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 > ERROR - Failed to define the dom: rstest_domain > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt > Bug:<00008> > -------------------------------------------------------------------- > 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 CIM_ERR_FAILED: Error connecting to libvirt with return code 1 > ERROR - Exception details: Unable to define dom_mac_notspecified > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt > -------------------------------------------------------------------- > VirtualSystemManagementService - 22_addmulti_brg_interface.py: SKIP > -------------------------------------------------------------------- > VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: SKIP > -------------------------------------------------------------------- > VirtualSystemManagementService - 24_define_sys_features.py: SKIP > -------------------------------------------------------------------- > VirtualSystemManagementService - 24_verify_modifyres_output.py: SKIP > -------------------------------------------------------------------- > VirtualSystemMigrationCapabilities - 01_enum.py: FAIL > ERROR - LXC_VirtualSystemMigrationCapabilities return 0 instances, excepted only 1 instance > -------------------------------------------------------------------- > VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: FAIL > ERROR - Unexpected errno 6 and desc CIM_ERR_NOT_FOUND: No such instance > 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 > -------------------------------------------------------------------- > VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: FAIL > ERROR - Unexpected errno 6 and desc CIM_ERR_NOT_FOUND: No such instance > ERROR - Expected No such instance (InstanceID) 6 > ERROR - ------ FAILED: Invalid InstanceID Key Value.------ > -------------------------------------------------------------------- > VirtualSystemSettingDataComponent - 01_forward.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 > ERROR - Failed to define the dom: VSSDC_dom > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt > -------------------------------------------------------------------- > VirtualSystemSettingDataComponent - 02_reverse.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 > ERROR - Failed to define the dom: VSSDC_dom > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt > -------------------------------------------------------------------- > VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 > ERROR - Unable to define domain domu1 > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt > -------------------------------------------------------------------- > VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 > ERROR - Unable to define domain domu1 > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt > -------------------------------------------------------------------- > VirtualSystemSnapshotService - 01_enum.py: FAIL > ERROR - Error in getting HostSystem instance > CIM_ERR_INVALID_CLASS: Linux_ComputerSystem > -------------------------------------------------------------------- > VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: FAIL > ERROR - list index out of range > -------------------------------------------------------------------- > VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 > ERROR - Exception: ('Unable to define %s', 'snapshot_vm') > ERROR - Got CIM error CIM_ERR_NOT_FOUND: Unable to connect to libvirt: unable to connect to '/var/run/libvirt/libvirt-sock': Connection refused with return code 6 > ERROR - Failed to remove snapshot file for snapshot_vm > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt > InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Unable to connect to libvirt: unable to connect to '/var/run/libvirt/libvirt-sock': Connection refused > -------------------------------------------------------------------- > VirtualSystemSnapshotServiceCapabilities - 01_enum.py: FAIL > ERROR - LXC_VirtualSystemSnapshotServiceCapabilities return 0 instances, excepted only 1 instance > -------------------------------------------------------------------- > VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: FAIL > ERROR - Unexpected errno 6 and desc CIM_ERR_NOT_FOUND: No such instance > ERROR - Expected No such instance (InstanceID) 6 > ERROR - ------ FAILED: Invalid InstanceID Key Value.------ > -------------------------------------------------------------------- > VSSD - 01_enum.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 > ERROR - error while create of VS > ERROR - Missing VSSD instance for the system VSSD_dom > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt > -------------------------------------------------------------------- > VSSD - 02_bootldr.py: SKIP > -------------------------------------------------------------------- > VSSD - 03_vssd_gi_errs.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 > ERROR - error while define of VS > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt > -------------------------------------------------------------------- > VSSD - 04_vssd_to_rasd.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Error connecting to libvirt with return code 1 > ERROR - Failed to Define the domain: VSSDC_dom > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Error connecting to libvirt > -------------------------------------------------------------------- > VSSD - 05_set_uuid.py: SKIP > -------------------------------------------------------------------- > VSSD - 06_duplicate_uuid.py: SKIP > -------------------------------------------------------------------- > > Fri, 18 Dec 2009 06:02:56:TEST LOG:ERROR - Failed to destroy Virtual Network 'cimtest-networkpool' > > _______________________________________________ > Libvirt-cim mailing list > Libvirt-cim at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-cim This is an invalid test run, since I changed some tests (one to leave the created pools at the end of the test and other to leave a domain). However, looks like these changes generated a chain-reaction that culminate in the crash of libvirtd. And according to the /var/log/messages, libvirtd died from memory starvation (???). See the transcribed message below: Dec 18 06:01:36 elm3b41 kernel: Out of memory: kill process 24628 (libvirtd) score 33312 or a child Did anyone face this same problem? Deepti? Also, in the same file there are many messages complaining about an invalid command executed on a test image file (copied below). I don't think they're related, though. Dec 18 06:22:30 elm3b41 kernel: ioctl32(grub:24053): Unknown cmd fd(3) cmd(00001261){t:12;sz:0} arg(00000000) on /root/richard/cimtest/suites/libvirt-cim/images/xm-test/xmt_disk.img -- Richard Maciel, MSc IBM Linux Technology Center rmaciel at linux.vnet.ibm.com From rmaciel at linux.vnet.ibm.com Fri Dec 18 16:19:54 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Fri, 18 Dec 2009 14:19:54 -0200 Subject: [Libvirt-cim] Test Run Summary (Dec 18 2009): LXC on Fedora release 13 (Rawhide) with sfcb Message-ID: <200912181619.nBIGJspO001925@d01av02.pok.ibm.com> ================================================= Test Run Summary (Dec 18 2009): LXC on Fedora release 13 (Rawhide) with sfcb ================================================= Distro: Fedora release 13 (Rawhide) Kernel: 2.6.32.1-9.fc13.x86_64 libvirt: 0.7.4 Hypervisor: QEMU 0.11.0 CIMOM: sfcb sfcbd 1.3.6preview Libvirt-cim revision: 1024 Libvirt-cim changeset: 2e80fd8fdbc5 Cimtest revision: 831 Cimtest changeset: c0bff64681fc Total test execution: Unknown ================================================= FAIL : 7 XFAIL : 6 SKIP : 60 PASS : 106 ----------------- Total : 179 ================================================= FAIL Test Summary: 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 VirtualSystemManagementService - 21_createVS_verifyMAC.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 - 15_mod_system_settings.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 HostedAccessPoint - 01_forward.py: SKIP HostedAccessPoint - 02_reverse.py: SKIP KVMRedirectionSAP - 01_enum_KVMredSAP.py: SKIP KVMRedirectionSAP - 02_ipv6_support.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 Profile - 04_verify_libvirt_cim_slp_profiles.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 RedirectionService - 03_RedirectionSAP_errs.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 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 VirtualSystemManagementService - 24_define_sys_features.py: SKIP VirtualSystemManagementService - 24_verify_modifyres_output.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 VSSD - 02_bootldr.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: XFAIL ERROR - Got CIM error Unable to pause domain: operation failed: Suspend operation failed with return code 1 ERROR - Exception variable: Unable pause dom 'DomST1' InvokeMethod(RequestStateChange): Unable to pause domain: operation failed: Suspend operation failed Bug:<00011> -------------------------------------------------------------------- ComputerSystem - 22_define_suspend.py: PASS -------------------------------------------------------------------- ComputerSystem - 23_pause_pause.py: XFAIL ERROR - Got CIM error Unable to pause domain: operation failed: Suspend operation failed with return code 1 ERROR - Exception: 'Unable pause dom 'cs_test_domain'' InvokeMethod(RequestStateChange): Unable to pause domain: operation failed: Suspend operation failed Bug:<00011> -------------------------------------------------------------------- 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: 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 -------------------------------------------------------------------- HostedAccessPoint - 01_forward.py: SKIP -------------------------------------------------------------------- HostedAccessPoint - 02_reverse.py: SKIP -------------------------------------------------------------------- HostedDependency - 01_forward.py: PASS -------------------------------------------------------------------- HostedDependency - 02_reverse.py: PASS -------------------------------------------------------------------- HostedDependency - 03_enabledstate.py: XFAIL ERROR - Exception: (1, u'Unable to pause domain: operation failed: Suspend operation failed') ERROR - Failed to suspend the dom: hd_domain1 InvokeMethod(RequestStateChange): Unable to pause domain: operation failed: Suspend operation failed 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 -------------------------------------------------------------------- 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 -------------------------------------------------------------------- KVMRedirectionSAP - 01_enum_KVMredSAP.py: SKIP -------------------------------------------------------------------- KVMRedirectionSAP - 02_ipv6_support.py: SKIP -------------------------------------------------------------------- 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 -------------------------------------------------------------------- Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP 04_verify_libvirt_cim_slp_profiles.py:30: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - SLP tool does not exist on the machine -------------------------------------------------------------------- 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: SKIP -------------------------------------------------------------------- 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 768, in emit msg = self.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 648, in format return fmt.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 436, in format record.message = record.getMessage() File "/usr/lib64/python2.6/logging/__init__.py", line 306, 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 768, in emit msg = self.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 648, in format return fmt.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 436, in format record.message = record.getMessage() File "/usr/lib64/python2.6/logging/__init__.py", line 306, 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 768, in emit msg = self.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 648, in format return fmt.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 436, in format record.message = record.getMessage() File "/usr/lib64/python2.6/logging/__init__.py", line 306, 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 768, in emit msg = self.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 648, in format return fmt.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 436, in format record.message = record.getMessage() File "/usr/lib64/python2.6/logging/__init__.py", line 306, 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 768, in emit msg = self.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 648, in format return fmt.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 436, in format record.message = record.getMessage() File "/usr/lib64/python2.6/logging/__init__.py", line 306, 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 768, in emit msg = self.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 648, in format return fmt.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 436, in format record.message = record.getMessage() File "/usr/lib64/python2.6/logging/__init__.py", line 306, 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: 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 -------------------------------------------------------------------- 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: 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: XFAIL -------------------------------------------------------------------- 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 - LXC_NetResourceAllocationSettingData returned 0 instances, excepted at least 1. -------------------------------------------------------------------- VirtualSystemManagementService - 22_addmulti_brg_interface.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 24_define_sys_features.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 24_verify_modifyres_output.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: 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 -------------------------------------------------------------------- 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 -------------------------------------------------------------------- From snmishra at us.ibm.com Fri Dec 18 17:52:46 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Fri, 18 Dec 2009 09:52:46 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] #2 Fix order XenFV args are passed to VirtCIM __init__() In-Reply-To: <3a2a010a8f81ccbd933b.1261088763@elm3b41.beaverton.ibm.com> References: <3a2a010a8f81ccbd933b.1261088763@elm3b41.beaverton.ibm.com> Message-ID: +1 Sharad Mishra System x Enablement Linux Technology Center IBM Kaitlin Rupert To Sent by: libvirt-cim at redhat.com libvirt-cim-bounc cc es at redhat.com Subject [Libvirt-cim] [PATCH] [TEST] #2 Fix 12/17/2009 02:26 order XenFV args are passed to PM VirtCIM __init__() Please respond to List for discussion and development of libvirt CIM # HG changeset patch # User Kaitlin Rupert # Date 1260576721 28800 # Node ID 3a2a010a8f81ccbd933b8c8e5a87e9651160af18 # Parent 7bccba16845335df21d3d4e754c95d0905049da7 [TEST] #2 Fix order XenFV args are passed to VirtCIM __init__() When the acip, pae, and acpi args were added, they were added in the wrong order for XenFV guests. Updates: -Remove unnecessary print statement Signed-off-by: Kaitlin Rupert diff -r 7bccba168453 -r 3a2a010a8f81 suites/libvirt-cim/lib/XenKvmLib/vxml.py --- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Fri Dec 11 16:12:01 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Fri Dec 11 16:12:01 2009 -0800 @@ -955,7 +955,7 @@ logger.error('Error: Disk image does not exist') sys.exit(1) VirtXML.__init__(self, 'xenfv', test_dom, set_uuid(), mem, vcpus) - VirtCIM.__init__(self, 'XenFV', test_dom, disk, uuid, pae, acpi, apic, + VirtCIM.__init__(self, 'XenFV', test_dom, uuid, pae, acpi, apic, disk, disk_file_path, ntype, net_name, mac, vcpus, mem, mem_allocunits, emu_type, grstype, address, is_ipv6_only, port_num, _______________________________________________ Libvirt-cim mailing list Libvirt-cim at redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: graycol.gif Type: image/gif Size: 105 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pic05548.gif Type: image/gif Size: 1255 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ecblank.gif Type: image/gif Size: 45 bytes Desc: not available URL: From kaitlin at linux.vnet.ibm.com Fri Dec 18 20:37:54 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 18 Dec 2009 12:37:54 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] For Xen enabled systems, a storage volume template is generated for In-Reply-To: <4B2B7F2A.4040501@linux.vnet.ibm.com> References: <2a52495fd1c2c47440b6.1260580605@elm3b41.beaverton.ibm.com> <4B2B7F2A.4040501@linux.vnet.ibm.com> Message-ID: <4B2BE822.8040201@linux.vnet.ibm.com> Richard Maciel wrote: > On 12/11/2009 11:16 PM, Kaitlin Rupert wrote: >> # HG changeset patch >> # User Kaitlin Rupert >> # Date 1260576721 28800 >> # Node ID 2a52495fd1c2c47440b65f723366ccc3826f1548 >> # Parent 5978eee0beb98fb1d2d8780376fc8edd825589d7 >> [TEST] For Xen enabled systems, a storage volume template is generated >> for ... >> >> Both para virt guests and full virt guests. >> >> Signed-off-by: Kaitlin Rupert >> >> diff -r 5978eee0beb9 -r 2a52495fd1c2 >> suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py >> >> --- >> a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py >> Fri Dec 11 16:12:01 2009 -0800 >> +++ >> b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py >> Fri Dec 11 16:12:01 2009 -0800 >> @@ -122,8 +122,15 @@ >> if item['Address'] == exp_vol_path and item['PoolID'] == >> dp_inst_id: >> dv_rasds.append(item) >> >> - if len(dv_rasds) != 4: >> - logger.error("Got '%s' StorageVolRASD's expected 4", >> len(dv_rasds)) >> + exp_template_rasd = 4 >> + >> + if virt == "Xen" or virt == "XenFV": >> + #There's one of each RASD type for both paravirt Xen and full >> virt Xen >> + exp_template_rasd = exp_template_rasd * 2 > > Since you can have a system with only paravirt Xen installed, this test > will fail (it expects 8 template_rasd's when it should only expect 4). > SDC generates both PV and FV templates; this happens regardless of whether the system supports FV. Is this test failing for you? On your PV-only Xen system, do you not see the FV templates? -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Fri Dec 18 20:47:51 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 18 Dec 2009 12:47:51 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] For Xen enabled systems, a storage volume template is generated for In-Reply-To: <4B2BE822.8040201@linux.vnet.ibm.com> References: <2a52495fd1c2c47440b6.1260580605@elm3b41.beaverton.ibm.com> <4B2B7F2A.4040501@linux.vnet.ibm.com> <4B2BE822.8040201@linux.vnet.ibm.com> Message-ID: <4B2BEA77.1020407@linux.vnet.ibm.com> Kaitlin Rupert wrote: > Richard Maciel wrote: >> On 12/11/2009 11:16 PM, Kaitlin Rupert wrote: >>> # HG changeset patch >>> # User Kaitlin Rupert >>> # Date 1260576721 28800 >>> # Node ID 2a52495fd1c2c47440b65f723366ccc3826f1548 >>> # Parent 5978eee0beb98fb1d2d8780376fc8edd825589d7 >>> [TEST] For Xen enabled systems, a storage volume template is >>> generated for ... >>> >>> Both para virt guests and full virt guests. >>> >>> Signed-off-by: Kaitlin Rupert >>> >>> diff -r 5978eee0beb9 -r 2a52495fd1c2 >>> suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py >>> >>> --- >>> a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py >>> Fri Dec 11 16:12:01 2009 -0800 >>> +++ >>> b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py >>> Fri Dec 11 16:12:01 2009 -0800 >>> @@ -122,8 +122,15 @@ >>> if item['Address'] == exp_vol_path and item['PoolID'] == >>> dp_inst_id: >>> dv_rasds.append(item) >>> >>> - if len(dv_rasds) != 4: >>> - logger.error("Got '%s' StorageVolRASD's expected 4", >>> len(dv_rasds)) >>> + exp_template_rasd = 4 >>> + >>> + if virt == "Xen" or virt == "XenFV": >>> + #There's one of each RASD type for both paravirt Xen and >>> full virt Xen >>> + exp_template_rasd = exp_template_rasd * 2 >> >> Since you can have a system with only paravirt Xen installed, this >> test will fail (it expects 8 template_rasd's when it should only >> expect 4). >> > > SDC generates both PV and FV templates; this happens regardless of > whether the system supports FV. Is this test failing for you? On your > PV-only Xen system, do you not see the FV templates? > Ack - my mistake here. This test is for storage volumes. Not for assigning a disk to a guest. So in this context, PV and FV don't apply. This patch doesn't address the issue. I'll send an updated version. -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Fri Dec 18 21:05:53 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 18 Dec 2009 13:05:53 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] For Xen enabled systems, a storage volume template is generated for In-Reply-To: <4B2BEA77.1020407@linux.vnet.ibm.com> References: <2a52495fd1c2c47440b6.1260580605@elm3b41.beaverton.ibm.com> <4B2B7F2A.4040501@linux.vnet.ibm.com> <4B2BE822.8040201@linux.vnet.ibm.com> <4B2BEA77.1020407@linux.vnet.ibm.com> Message-ID: <4B2BEEB1.4000900@linux.vnet.ibm.com> >>>> + >>>> + if virt == "Xen" or virt == "XenFV": >>>> + #There's one of each RASD type for both paravirt Xen and >>>> full virt Xen >>>> + exp_template_rasd = exp_template_rasd * 2 >>> >>> Since you can have a system with only paravirt Xen installed, this >>> test will fail (it expects 8 template_rasd's when it should only >>> expect 4). >>> >> >> SDC generates both PV and FV templates; this happens regardless of >> whether the system supports FV. Is this test failing for you? On >> your PV-only Xen system, do you not see the FV templates? >> > > Ack - my mistake here. This test is for storage volumes. Not for > assigning a disk to a guest. So in this context, PV and FV don't apply. > This patch doesn't address the issue. I'll send an updated version. > Sorry for all the confusion here. I'm including a detailed note on the rework of the patch. Let me know if this test fails for you, or if you don't see both PV and FV templates on your Xen host. -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Fri Dec 18 21:22:31 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 18 Dec 2009 13:22:31 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] #2 For Xen enabled systems, a storage volume template is generated for Message-ID: <4c5704672c1f5a196a65.1261171351@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1260576721 28800 # Node ID 4c5704672c1f5a196a6547f285dba87e66617a68 # Parent 01b88f487b415f6daa4529a3c1cf673d55cfc558 [TEST] #2 For Xen enabled systems, a storage volume template is generated for .. Both para virt guests and full virt guests. Updates: -Reworked this test, as the verify_sto_vol_rasd() had a misleading name. This function doesn't check SDC for storage volume templates, it checks to see if there are template disk RASDs that correspond to the newly created storage volume. Changed the name of this function to verify_template_rasd_exists() On Xen systems, disk templates are generated for both PV and FV guests. This occurs regardless of whether the system support both PV and FV. Signed-off-by: Kaitlin Rupert diff -r 01b88f487b41 -r 4c5704672c1f suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py --- a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py Fri Dec 11 16:12:01 2009 -0800 +++ b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py Fri Dec 11 16:12:01 2009 -0800 @@ -33,7 +33,7 @@ from CimTest.ReturnCodes import FAIL, PASS, SKIP from XenKvmLib.const import do_main, platform_sup, default_pool_name, \ get_provider_version, _image_dir -from XenKvmLib.vsms import RASD_TYPE_STOREVOL +from XenKvmLib.vsms import RASD_TYPE_STOREVOL, RASD_TYPE_DISK from XenKvmLib.rasd import libvirt_rasd_storagepool_changes from XenKvmLib import rpcs_service from XenKvmLib.assoc import Associators @@ -46,7 +46,7 @@ pool_attr = { 'Path' : _image_dir } vol_name = "cimtest-vol.img" -def get_stovol_rasd_from_sdc(virt, server, dp_inst_id): +def get_template_rasd_from_sdc(virt, server, dp_inst_id): rasd = None ac_cn = get_typed_class(virt, "AllocationCapabilities") an_cn = get_typed_class(virt, "SettingsDefineCapabilities") @@ -62,7 +62,7 @@ return PASS, rasd def get_stovol_settings(server, virt, dp_id, pool_name): - status, dp_rasds = get_stovol_rasd_from_sdc(virt, server, dp_id) + status, dp_rasds = get_template_rasd_from_sdc(virt, server, dp_id) if status != PASS: logger.error("Failed to get the StorageVol RASD's") return None @@ -111,19 +111,29 @@ return found -def verify_sto_vol_rasd(virt, server, dp_inst_id, exp_vol_path): +#This function verifies that a template DiskRASD exists for the newly created +#storage volume. +def verify_template_rasd_exists(virt, server, dp_inst_id, exp_vol_path): dv_rasds = [] - status, rasds = get_stovol_rasd_from_sdc(virt, server, dp_inst_id) + status, rasds = get_template_rasd_from_sdc(virt, server, dp_inst_id) if status != PASS: logger.error("Failed to get the StorageVol for '%s' vol", exp_vol_path) return FAIL for item in rasds: - if item['Address'] == exp_vol_path and item['PoolID'] == dp_inst_id: + if item['Address'] == exp_vol_path and item['PoolID'] == dp_inst_id \ + and item['ResourceType'] == RASD_TYPE_DISK: dv_rasds.append(item) - if len(dv_rasds) != 4: - logger.error("Got '%s' StorageVolRASD's expected 4", len(dv_rasds)) + exp_template_rasd = 4 + + if virt == "Xen" or virt == "XenFV": + #There's one of each RASD type for both paravirt Xen and full virt Xen + exp_template_rasd = exp_template_rasd * 2 + + if len(dv_rasds) != exp_template_rasd: + logger.error("Got '%s' StorageVolRASD's expected %s", len(dv_rasds), + exp_template_rasd) return FAIL return PASS @@ -222,8 +232,9 @@ raise Exception("Failed to create the Vol %s" % vol_name) found = verify_vol(server, virt, pool_name, exp_vol_path, found) - stovol_status = verify_sto_vol_rasd(virt, server, dp_inst_id, - exp_vol_path) + stovol_status = verify_template_rasd_exists(virt, server, + dp_inst_id, + exp_vol_path) ret = cleanup_pool_vol(server, virt, pool_name, clean_pool, exp_vol_path) @@ -237,7 +248,6 @@ logger.error("Exception details: %s", details) status = FAIL - return status if __name__ == "__main__": sys.exit(main()) From rmaciel at linux.vnet.ibm.com Wed Dec 23 16:03:47 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Wed, 23 Dec 2009 14:03:47 -0200 Subject: [Libvirt-cim] Test Run Summary (Dec 23 2009): LXC on Fedora release 13 (Rawhide) with sfcb Message-ID: <200912231603.nBNG3lIS012011@d01av02.pok.ibm.com> ================================================= Test Run Summary (Dec 23 2009): LXC on Fedora release 13 (Rawhide) with sfcb ================================================= Distro: Fedora release 13 (Rawhide) Kernel: 2.6.32.1-9.fc13.x86_64 libvirt: 0.7.4 Hypervisor: QEMU 0.11.0 CIMOM: sfcb sfcbd 1.3.6preview Libvirt-cim revision: 1024 Libvirt-cim changeset: 2e80fd8fdbc5 Cimtest revision: 831 Cimtest changeset: c0bff64681fc Total test execution: Unknown ================================================= FAIL : 7 XFAIL : 6 SKIP : 60 PASS : 106 ----------------- Total : 179 ================================================= FAIL Test Summary: 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 VirtualSystemManagementService - 21_createVS_verifyMAC.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 - 15_mod_system_settings.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 HostedAccessPoint - 01_forward.py: SKIP HostedAccessPoint - 02_reverse.py: SKIP KVMRedirectionSAP - 01_enum_KVMredSAP.py: SKIP KVMRedirectionSAP - 02_ipv6_support.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 Profile - 04_verify_libvirt_cim_slp_profiles.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 RedirectionService - 03_RedirectionSAP_errs.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 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 VirtualSystemManagementService - 24_define_sys_features.py: SKIP VirtualSystemManagementService - 24_verify_modifyres_output.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 VSSD - 02_bootldr.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: XFAIL ERROR - Got CIM error Unable to pause domain: operation failed: Suspend operation failed with return code 1 ERROR - Exception variable: Unable pause dom 'DomST1' InvokeMethod(RequestStateChange): Unable to pause domain: operation failed: Suspend operation failed Bug:<00011> -------------------------------------------------------------------- ComputerSystem - 22_define_suspend.py: PASS -------------------------------------------------------------------- ComputerSystem - 23_pause_pause.py: XFAIL ERROR - Got CIM error Unable to pause domain: operation failed: Suspend operation failed with return code 1 ERROR - Exception: 'Unable pause dom 'cs_test_domain'' InvokeMethod(RequestStateChange): Unable to pause domain: operation failed: Suspend operation failed Bug:<00011> -------------------------------------------------------------------- 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: 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 -------------------------------------------------------------------- HostedAccessPoint - 01_forward.py: SKIP -------------------------------------------------------------------- HostedAccessPoint - 02_reverse.py: SKIP -------------------------------------------------------------------- HostedDependency - 01_forward.py: PASS -------------------------------------------------------------------- HostedDependency - 02_reverse.py: PASS -------------------------------------------------------------------- HostedDependency - 03_enabledstate.py: XFAIL ERROR - Exception: (1, u'Unable to pause domain: operation failed: Suspend operation failed') ERROR - Failed to suspend the dom: hd_domain1 InvokeMethod(RequestStateChange): Unable to pause domain: operation failed: Suspend operation failed 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 -------------------------------------------------------------------- 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 -------------------------------------------------------------------- KVMRedirectionSAP - 01_enum_KVMredSAP.py: SKIP -------------------------------------------------------------------- KVMRedirectionSAP - 02_ipv6_support.py: SKIP -------------------------------------------------------------------- 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 -------------------------------------------------------------------- Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP 04_verify_libvirt_cim_slp_profiles.py:30: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - SLP tool does not exist on the machine -------------------------------------------------------------------- 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: SKIP -------------------------------------------------------------------- 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 768, in emit msg = self.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 648, in format return fmt.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 436, in format record.message = record.getMessage() File "/usr/lib64/python2.6/logging/__init__.py", line 306, 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 768, in emit msg = self.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 648, in format return fmt.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 436, in format record.message = record.getMessage() File "/usr/lib64/python2.6/logging/__init__.py", line 306, 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 768, in emit msg = self.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 648, in format return fmt.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 436, in format record.message = record.getMessage() File "/usr/lib64/python2.6/logging/__init__.py", line 306, 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 768, in emit msg = self.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 648, in format return fmt.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 436, in format record.message = record.getMessage() File "/usr/lib64/python2.6/logging/__init__.py", line 306, 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 768, in emit msg = self.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 648, in format return fmt.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 436, in format record.message = record.getMessage() File "/usr/lib64/python2.6/logging/__init__.py", line 306, 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 768, in emit msg = self.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 648, in format return fmt.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 436, in format record.message = record.getMessage() File "/usr/lib64/python2.6/logging/__init__.py", line 306, 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: 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 -------------------------------------------------------------------- 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: 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: XFAIL -------------------------------------------------------------------- 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 - LXC_NetResourceAllocationSettingData returned 0 instances, excepted at least 1. -------------------------------------------------------------------- VirtualSystemManagementService - 22_addmulti_brg_interface.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 24_define_sys_features.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 24_verify_modifyres_output.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: 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 -------------------------------------------------------------------- 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 -------------------------------------------------------------------- From rmaciel at linux.vnet.ibm.com Wed Dec 23 16:13:12 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Wed, 23 Dec 2009 09:13:12 -0700 Subject: [Libvirt-cim] Test Run Summary (Dec 23 2009): LXC on Fedora release 12 (Constantine) with Pegasus Message-ID: <200912231613.nBNGDCW6026659@d03av04.boulder.ibm.com> ================================================= Test Run Summary (Dec 23 2009): LXC on Fedora release 12 (Constantine) with Pegasus ================================================= Distro: Fedora release 12 (Constantine) Kernel: 2.6.31.6-166.fc12.x86_64 libvirt: 0.7.1 Hypervisor: QEMU 0.11.0 CIMOM: Pegasus 2.9.0 Libvirt-cim revision: 1024 Libvirt-cim changeset: 2e80fd8fdbc5 Cimtest revision: 832 Cimtest changeset: cd79700b6362 Total test execution: Unknown ================================================= FAIL : 7 XFAIL : 6 SKIP : 61 PASS : 105 ----------------- Total : 179 ================================================= FAIL Test Summary: 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 VirtualSystemManagementService - 21_createVS_verifyMAC.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 - 15_mod_system_settings.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 HostedAccessPoint - 01_forward.py: SKIP HostedAccessPoint - 02_reverse.py: SKIP KVMRedirectionSAP - 01_enum_KVMredSAP.py: SKIP KVMRedirectionSAP - 02_ipv6_support.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 Profile - 04_verify_libvirt_cim_slp_profiles.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 RedirectionService - 03_RedirectionSAP_errs.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 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 VirtualSystemManagementService - 24_define_sys_features.py: SKIP VirtualSystemManagementService - 24_verify_modifyres_output.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 VSSD - 02_bootldr.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 -------------------------------------------------------------------- HostedAccessPoint - 01_forward.py: SKIP -------------------------------------------------------------------- HostedAccessPoint - 02_reverse.py: SKIP -------------------------------------------------------------------- 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 -------------------------------------------------------------------- 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 -------------------------------------------------------------------- KVMRedirectionSAP - 01_enum_KVMredSAP.py: SKIP -------------------------------------------------------------------- KVMRedirectionSAP - 02_ipv6_support.py: SKIP -------------------------------------------------------------------- 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 -------------------------------------------------------------------- Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP 04_verify_libvirt_cim_slp_profiles.py:30: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - SLP tool does not exist on the machine -------------------------------------------------------------------- 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: SKIP -------------------------------------------------------------------- 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: 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 -------------------------------------------------------------------- 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: 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: XFAIL -------------------------------------------------------------------- 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 - LXC_NetResourceAllocationSettingData returned 0 instances, excepted at least 1. -------------------------------------------------------------------- VirtualSystemManagementService - 22_addmulti_brg_interface.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 24_define_sys_features.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 24_verify_modifyres_output.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: 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 -------------------------------------------------------------------- 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 --------------------------------------------------------------------