From deeptik at linux.vnet.ibm.com Tue Nov 3 08:38:02 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Tue, 03 Nov 2009 14:08:02 +0530 Subject: [Libvirt-cim] [PATCH 2 of 2] [TEST] Update tests to expect images to be in /var/lib/libvirt/images In-Reply-To: <4047a548c85f56c139dc.1255985753@elm3b41.beaverton.ibm.com> References: <4047a548c85f56c139dc.1255985753@elm3b41.beaverton.ibm.com> Message-ID: <4AEFEBEA.3070900@linux.vnet.ibm.com> +1 Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1255985311 25200 > # Node ID 4047a548c85f56c139dc32cbf6953337a0789482 > # Parent 32e63009d0906fb9cf79799205e6d4ea84e18117 > [TEST] Update tests to expect images to be in /var/lib/libvirt/images > > Signed-off-by: Kaitlin Rupert > > diff -r 32e63009d090 -r 4047a548c85f suites/libvirt-cim/lib/XenKvmLib/const.py > --- a/suites/libvirt-cim/lib/XenKvmLib/const.py Mon Oct 19 13:48:30 2009 -0700 > +++ b/suites/libvirt-cim/lib/XenKvmLib/const.py Mon Oct 19 13:48:31 2009 -0700 > @@ -72,7 +72,7 @@ > default_mallocunits="MegaBytes" > > > -_image_dir = '/tmp' > +_image_dir = '/var/lib/libvirt/images' > > # vxml.XenXML > Xen_kernel_path = os.path.join(_image_dir, 'default-xen-kernel') > diff -r 32e63009d090 -r 4047a548c85f suites/libvirt-cim/lib/XenKvmLib/vxml.py > --- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Mon Oct 19 13:48:30 2009 -0700 > +++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Mon Oct 19 13:48:31 2009 -0700 > @@ -316,7 +316,7 @@ > pool = self.add_sub_node(self.xdoc, 'pool', type='dir') > self.add_sub_node(pool, 'name', self.pool_name) > target = self.add_sub_node(pool, 'target') > - self.add_sub_node(target, 'path', '/tmp') > + self.add_sub_node(target, 'path', const._image_dir) > > def create_vpool(self): > return self.run(self.server, 'pool-create', self.xml_string) > > _______________________________________________ > Libvirt-cim mailing list > Libvirt-cim at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-cim > -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From deeptik at linux.vnet.ibm.com Tue Nov 3 08:38:22 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Tue, 03 Nov 2009 14:08:22 +0530 Subject: [Libvirt-cim] [PATCH 1 of 2] [TEST] Change default image creation location from /tmp In-Reply-To: <32e63009d0906fb9cf79.1255985752@elm3b41.beaverton.ibm.com> References: <32e63009d0906fb9cf79.1255985752@elm3b41.beaverton.ibm.com> Message-ID: <4AEFEBFE.3020104@linux.vnet.ibm.com> Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1255985310 25200 > # Node ID 32e63009d0906fb9cf79799205e6d4ea84e18117 > # Parent a159cb05bdc7d78861d4b13d3d3f0d42fbb41026 > [TEST] Change default image creation location from /tmp... > > To /var/lib/libvirt/images. > > Signed-off-by: Kaitlin Rupert > > diff -r a159cb05bdc7 -r 32e63009d090 suites/libvirt-cim/images/Makefile > --- a/suites/libvirt-cim/images/Makefile Tue Oct 13 11:08:06 2009 -0700 > +++ b/suites/libvirt-cim/images/Makefile Mon Oct 19 13:48:30 2009 -0700 > @@ -19,13 +19,15 @@ > # License along with this library; if not, write to the Free Software > # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > # > -DEFAULT_KERNEL = /tmp/default-xen-kernel > -DEFAULT_INITRD = /tmp/default-xen-initrd > -DEFAULT_DIMAGE = /tmp/default-xen-dimage > -DEFAULT_KVMIMG = /tmp/default-kvm-dimage > +DEFAULT_IMG_LOC = /var/lib/libvirt/images > > -DEFAULT_LXCINIT = /tmp/cimtest_lxc_init > -DEFAULT_LXC_MNT_DIR = /tmp/lxc_files > +DEFAULT_KERNEL = $(DEFAULT_IMG_LOC)/default-xen-kernel > +DEFAULT_INITRD = $(DEFAULT_IMG_LOC)/default-xen-initrd > +DEFAULT_DIMAGE = $(DEFAULT_IMG_LOC)/default-xen-dimage > +DEFAULT_KVMIMG = $(DEFAULT_IMG_LOC)/default-kvm-dimage > + > +DEFAULT_LXCINIT = $(DEFAULT_IMG_LOC)/cimtest_lxc_init > +DEFAULT_LXC_MNT_DIR = $(DEFAULT_IMG_LOC)/lxc_files > > SECONDARY_DIMAGE = $(DEFAULT_DIMAGE).2ND > SECONDARY_KVMIMG = $(DEFAULT_KVMIMG).2ND > @@ -72,7 +74,7 @@ > chmod 755 $(DEFAULT_LXCINIT) > > $(DEFAULT_LXC_MNT_DIR): > - mkdir /tmp/lxc_files > + mkdir $(DEFAULT_IMG_LOC)/lxc_files > > clean: > rm -f $(DEFAULT_KERNEL) $(DEFAULT_INITRD) $(DEFAULT_DIMAGE) $(SECONDARY_DIMAGE) > > _______________________________________________ > Libvirt-cim mailing list > Libvirt-cim at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-cim > -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From deeptik at linux.vnet.ibm.com Wed Nov 4 11:16:35 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Wed, 04 Nov 2009 16:46:35 +0530 Subject: [Libvirt-cim] Test Run Summary (Nov 04 2009): KVM on Red Hat Enterprise Linux Server release 5.4 Beta (Tikanga) with Pegasus Message-ID: <4AF16293.60407@linux.vnet.ibm.com> ================================================= Test Run Summary (Nov 04 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: 997 Libvirt-cim changeset: b9ee6fd16113 Cimtest revision: 793 Cimtest changeset: 55c3c3f3bc77 Total test execution: Unknown ================================================= FAIL : 3 XFAIL : 4 SKIP : 10 PASS : 158 ----------------- Total : 175 ================================================= FAIL Test Summary: ResourcePoolConfigurationService - 10_create_storagevolume.py: FAIL ResourcePoolConfigurationService - 13_delete_storagevolume.py: FAIL ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: FAIL ================================================= XFAIL Test Summary: ComputerSystem - 32_start_reboot.py: XFAIL ComputerSystem - 33_suspend_reboot.py: XFAIL VirtualSystemManagementService - 16_removeresource.py: XFAIL VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL ================================================= SKIP Test Summary: ComputerSystem - 02_nosystems.py: SKIP ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP LogicalDisk - 02_nodevs.py: SKIP VSSD - 02_bootldr.py: SKIP VirtualSystemMigrationService - 01_migratable_host.py: SKIP VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: SKIP ================================================= Full report: -------------------------------------------------------------------- AllocationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- AllocationCapabilities - 02_alloccap_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 01_enum.py: PASS -------------------------------------------------------------------- ComputerSystem - 02_nosystems.py: SKIP ERROR - System has defined domains; unable to run -------------------------------------------------------------------- ComputerSystem - 03_defineVS.py: PASS -------------------------------------------------------------------- ComputerSystem - 04_defineStartVS.py: PASS -------------------------------------------------------------------- ComputerSystem - 05_activate_defined_start.py: PASS -------------------------------------------------------------------- ComputerSystem - 06_paused_active_suspend.py: PASS -------------------------------------------------------------------- ComputerSystem - 22_define_suspend.py: PASS -------------------------------------------------------------------- ComputerSystem - 23_pause_pause.py: PASS -------------------------------------------------------------------- ComputerSystem - 27_define_pause_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 32_start_reboot.py: XFAIL ERROR - Got CIM error CIM_ERR_FAILED: Unable to reboot domain: this function is not supported by the hypervisor: virDomainReboot with return code 1 ERROR - Exception: Unable reboot dom 'cs_test_domain' InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to reboot domain: this function is not supported by the hypervisor: virDomainReboot Bug:<00005> -------------------------------------------------------------------- ComputerSystem - 33_suspend_reboot.py: XFAIL ERROR - Got CIM error CIM_ERR_NOT_SUPPORTED: State not supported with return code 7 ERROR - Exception: Unable Suspend dom 'test_domain' InvokeMethod(RequestStateChange): CIM_ERR_NOT_SUPPORTED: State not supported Bug:<00012> -------------------------------------------------------------------- ComputerSystem - 34_start_disable.py: PASS -------------------------------------------------------------------- ComputerSystem - 35_start_reset.py: PASS -------------------------------------------------------------------- ComputerSystem - 40_RSC_start.py: PASS -------------------------------------------------------------------- ComputerSystem - 41_cs_to_settingdefinestate.py: PASS -------------------------------------------------------------------- ComputerSystem - 42_cs_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystemIndication - 01_created_indication.py: PASS -------------------------------------------------------------------- ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP -------------------------------------------------------------------- ElementAllocatedFromPool - 01_forward.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 02_reverse.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 03_reverse_errs.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 04_forward_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- ElementCapabilities - 02_reverse.py: PASS -------------------------------------------------------------------- ElementCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 05_hostsystem_cap.py: PASS -------------------------------------------------------------------- ElementConforms - 01_forward.py: PASS -------------------------------------------------------------------- ElementConforms - 02_reverse.py: PASS -------------------------------------------------------------------- ElementConforms - 03_ectp_fwd_errs.py: PASS -------------------------------------------------------------------- ElementConforms - 04_ectp_rev_errs.py: PASS -------------------------------------------------------------------- ElementSettingData - 01_forward.py: PASS -------------------------------------------------------------------- ElementSettingData - 03_esd_assoc_with_rasd_errs.py: PASS -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: PASS -------------------------------------------------------------------- HostSystem - 01_enum.py: PASS -------------------------------------------------------------------- HostSystem - 02_hostsystem_to_rasd.py: PASS -------------------------------------------------------------------- HostSystem - 03_hs_to_settdefcap.py: PASS -------------------------------------------------------------------- HostSystem - 04_hs_to_EAPF.py: PASS -------------------------------------------------------------------- HostSystem - 05_hs_gi_errs.py: PASS -------------------------------------------------------------------- HostSystem - 06_hs_to_vsms.py: PASS -------------------------------------------------------------------- HostedAccessPoint - 01_forward.py: PASS -------------------------------------------------------------------- HostedAccessPoint - 02_reverse.py: PASS -------------------------------------------------------------------- HostedDependency - 01_forward.py: PASS -------------------------------------------------------------------- HostedDependency - 02_reverse.py: PASS -------------------------------------------------------------------- HostedDependency - 03_enabledstate.py: PASS -------------------------------------------------------------------- HostedDependency - 04_reverse_errs.py: PASS -------------------------------------------------------------------- HostedResourcePool - 01_forward.py: PASS -------------------------------------------------------------------- HostedResourcePool - 02_reverse.py: PASS -------------------------------------------------------------------- HostedResourcePool - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedResourcePool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- HostedService - 01_forward.py: PASS -------------------------------------------------------------------- HostedService - 02_reverse.py: PASS -------------------------------------------------------------------- HostedService - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedService - 04_reverse_errs.py: PASS -------------------------------------------------------------------- KVMRedirectionSAP - 01_enum_KVMredSAP.py: PASS -------------------------------------------------------------------- LogicalDisk - 01_disk.py: PASS -------------------------------------------------------------------- LogicalDisk - 02_nodevs.py: SKIP ERROR - System has defined domains; unable to run -------------------------------------------------------------------- LogicalDisk - 03_ld_gi_errs.py: PASS -------------------------------------------------------------------- Memory - 01_memory.py: PASS -------------------------------------------------------------------- Memory - 02_defgetmem.py: PASS -------------------------------------------------------------------- Memory - 03_mem_gi_errs.py: PASS -------------------------------------------------------------------- NetworkPort - 01_netport.py: PASS -------------------------------------------------------------------- NetworkPort - 02_np_gi_errors.py: PASS -------------------------------------------------------------------- NetworkPort - 03_user_netport.py: PASS -------------------------------------------------------------------- Processor - 01_processor.py: PASS -------------------------------------------------------------------- Processor - 02_definesys_get_procs.py: PASS -------------------------------------------------------------------- Processor - 03_proc_gi_errs.py: PASS -------------------------------------------------------------------- Profile - 01_enum.py: PASS -------------------------------------------------------------------- Profile - 02_profile_to_elec.py: PASS -------------------------------------------------------------------- Profile - 03_rprofile_gi_errs.py: PASS -------------------------------------------------------------------- RASD - 01_verify_rasd_fields.py: PASS -------------------------------------------------------------------- RASD - 02_enum.py: PASS -------------------------------------------------------------------- RASD - 03_rasd_errs.py: PASS -------------------------------------------------------------------- RASD - 04_disk_rasd_size.py: PASS -------------------------------------------------------------------- RASD - 05_disk_rasd_emu_type.py: PASS -------------------------------------------------------------------- RASD - 06_parent_net_pool.py: PASS -------------------------------------------------------------------- RASD - 07_parent_disk_pool.py: PASS -------------------------------------------------------------------- RASDIndications - 01_guest_states_rasd_ind.py: PASS -------------------------------------------------------------------- RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: PASS -------------------------------------------------------------------- RedirectionService - 01_enum_crs.py: PASS -------------------------------------------------------------------- RedirectionService - 02_enum_crscap.py: PASS -------------------------------------------------------------------- RedirectionService - 03_RedirectionSAP_errs.py: PASS -------------------------------------------------------------------- ReferencedProfile - 01_verify_refprof.py: PASS -------------------------------------------------------------------- ReferencedProfile - 02_refprofile_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 01_forward.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 02_reverse.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 03_forward_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 05_RAPF_err.py: PASS -------------------------------------------------------------------- ResourcePool - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePool - 02_rp_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 02_rcps_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 03_CreateResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 07_DeleteResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 09_DeleteDiskPool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 10_create_storagevolume.py: FAIL ERROR - Exception details: (1, u'CIM_ERR_FAILED: Unable to create storage volume: invalid storage pool pointer in storage vol already exists') InvokeMethod(CreateResourceInPool): CIM_ERR_FAILED: Unable to create storage volume: invalid storage pool pointer in storage vol already exists -------------------------------------------------------------------- ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 13_delete_storagevolume.py: FAIL ERROR - Exception details: Failed to get the resource settings for 'cimtest-vol.img' Vol -------------------------------------------------------------------- ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: FAIL ERROR - Exception details: (1, u'CIM_ERR_FAILED: Unable to create storage volume: invalid storage pool pointer in storage vol already exists') InvokeMethod(CreateResourceInPool): CIM_ERR_FAILED: Unable to create storage volume: invalid storage pool pointer in storage vol already exists -------------------------------------------------------------------- ServiceAccessBySAP - 01_forward.py: PASS -------------------------------------------------------------------- ServiceAccessBySAP - 02_reverse.py: PASS -------------------------------------------------------------------- ServiceAffectsElement - 01_forward.py: PASS -------------------------------------------------------------------- ServiceAffectsElement - 02_reverse.py: PASS -------------------------------------------------------------------- SettingsDefine - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefine - 02_reverse.py: PASS -------------------------------------------------------------------- SettingsDefine - 03_sds_fwd_errs.py: PASS -------------------------------------------------------------------- SettingsDefine - 04_sds_rev_errs.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 04_forward_vsmsdata.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 05_reverse_vsmcap.py: PASS -------------------------------------------------------------------- SystemDevice - 01_forward.py: PASS -------------------------------------------------------------------- SystemDevice - 02_reverse.py: PASS -------------------------------------------------------------------- SystemDevice - 03_fwderrs.py: PASS -------------------------------------------------------------------- VSSD - 01_enum.py: PASS -------------------------------------------------------------------- VSSD - 02_bootldr.py: SKIP -------------------------------------------------------------------- VSSD - 03_vssd_gi_errs.py: PASS -------------------------------------------------------------------- VSSD - 04_vssd_to_rasd.py: PASS -------------------------------------------------------------------- VSSD - 05_set_uuid.py: PASS -------------------------------------------------------------------- VSSD - 06_duplicate_uuid.py: PASS -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 01_definesystem_name.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 02_destroysystem.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 03_definesystem_ess.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 04_definesystem_ers.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 05_destroysystem_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 06_addresource.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 07_addresource_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 08_modifyresource.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 09_procrasd_persist.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 10_hv_version.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 11_define_memrasdunits.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 12_referenced_config.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 13_refconfig_additional_devs.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 14_define_sys_disk.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 15_mod_system_settings.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 16_removeresource.py: XFAIL ERROR - 0 RASD insts for domain/mouse:ps2 CIM_ERR_NOT_FOUND: No such instance (no device domain/mouse:ps2) Bug:<00014> -------------------------------------------------------------------- VirtualSystemManagementService - 17_removeresource_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 18_define_sys_bridge.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 19_definenetwork_ers.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 20_verify_vnc_password.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 21_createVS_verifyMAC.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL ERROR - Error invoking AddRS: add_net_res ERROR - (1, u"CIM_ERR_FAILED: Unable to change (0) device: this function is not supported by the hypervisor: device type 'interface' cannot be attached") ERROR - Failed to destroy Virtual Network 'my_network1' InvokeMethod(AddResourceSettings): CIM_ERR_FAILED: Unable to change (0) device: this function is not supported by the hypervisor: device type 'interface' cannot be attached Bug:<00015> -------------------------------------------------------------------- VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationService - 01_migratable_host.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 01_forward.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 02_reverse.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 03_create_snapshot.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: PASS -------------------------------------------------------------------- -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From deeptik at linux.vnet.ibm.com Wed Nov 4 11:28:51 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Wed, 04 Nov 2009 16:58:51 +0530 Subject: [Libvirt-cim] Test Run Summary (Nov 04 2009): KVM on Fedora release 11.92 (Rawhide) with Pegasus Message-ID: <4AF16573.3010306@linux.vnet.ibm.com> ================================================= Test Run Summary (Nov 04 2009): KVM on Fedora release 11.92 (Rawhide) with Pegasus ================================================= Distro: Fedora release 11.92 (Rawhide) Kernel: 2.6.30.5-43.fc11.x86_64 libvirt: 0.7.1 Hypervisor: QEMU 0.11.0 CIMOM: Pegasus 2.9.0 Libvirt-cim revision: 997 Libvirt-cim changeset: b9ee6fd16113 Cimtest revision: 793 Cimtest changeset: 55c3c3f3bc77 Total test execution: Unknown ================================================= FAIL : 8 XFAIL : 4 SKIP : 10 PASS : 153 ----------------- Total : 175 ================================================= FAIL Test Summary: ElementAllocatedFromPool - 01_forward.py: FAIL ResourceAllocationFromPool - 01_forward.py: FAIL ResourceAllocationFromPool - 02_reverse.py: FAIL ResourcePoolConfigurationService - 10_create_storagevolume.py: FAIL ResourcePoolConfigurationService - 13_delete_storagevolume.py: FAIL ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: FAIL VirtualSystemManagementService - 18_define_sys_bridge.py: FAIL VirtualSystemManagementService - 19_definenetwork_ers.py: FAIL ================================================= XFAIL Test Summary: ComputerSystem - 32_start_reboot.py: XFAIL ComputerSystem - 33_suspend_reboot.py: XFAIL VirtualSystemManagementService - 16_removeresource.py: XFAIL VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL ================================================= SKIP Test Summary: ComputerSystem - 02_nosystems.py: SKIP ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP LogicalDisk - 02_nodevs.py: SKIP VSSD - 02_bootldr.py: SKIP VirtualSystemMigrationService - 01_migratable_host.py: SKIP VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: SKIP ================================================= Full report: -------------------------------------------------------------------- AllocationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- AllocationCapabilities - 02_alloccap_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 01_enum.py: PASS -------------------------------------------------------------------- ComputerSystem - 02_nosystems.py: SKIP ERROR - System has defined domains; unable to run -------------------------------------------------------------------- ComputerSystem - 03_defineVS.py: PASS -------------------------------------------------------------------- ComputerSystem - 04_defineStartVS.py: PASS -------------------------------------------------------------------- ComputerSystem - 05_activate_defined_start.py: PASS -------------------------------------------------------------------- ComputerSystem - 06_paused_active_suspend.py: PASS -------------------------------------------------------------------- ComputerSystem - 22_define_suspend.py: PASS -------------------------------------------------------------------- ComputerSystem - 23_pause_pause.py: PASS -------------------------------------------------------------------- ComputerSystem - 27_define_pause_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 32_start_reboot.py: XFAIL ERROR - Got CIM error CIM_ERR_FAILED: Unable to reboot domain: this function is not supported by the hypervisor: virDomainReboot with return code 1 ERROR - Exception: Unable reboot dom 'cs_test_domain' InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to reboot domain: this function is not supported by the hypervisor: virDomainReboot Bug:<00005> -------------------------------------------------------------------- ComputerSystem - 33_suspend_reboot.py: XFAIL ERROR - Got CIM error CIM_ERR_NOT_SUPPORTED: State not supported with return code 7 ERROR - Exception: Unable Suspend dom 'test_domain' InvokeMethod(RequestStateChange): CIM_ERR_NOT_SUPPORTED: State not supported Bug:<00012> -------------------------------------------------------------------- ComputerSystem - 34_start_disable.py: PASS -------------------------------------------------------------------- ComputerSystem - 35_start_reset.py: PASS -------------------------------------------------------------------- ComputerSystem - 40_RSC_start.py: PASS -------------------------------------------------------------------- ComputerSystem - 41_cs_to_settingdefinestate.py: PASS -------------------------------------------------------------------- ComputerSystem - 42_cs_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystemIndication - 01_created_indication.py: PASS -------------------------------------------------------------------- ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP -------------------------------------------------------------------- ElementAllocatedFromPool - 01_forward.py: FAIL ERROR - InstanceID Mismatch ERROR - Returned DiskPool/default instead of DiskPool/cimtest-diskpool -------------------------------------------------------------------- ElementAllocatedFromPool - 02_reverse.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 03_reverse_errs.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 04_forward_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- ElementCapabilities - 02_reverse.py: PASS -------------------------------------------------------------------- ElementCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 05_hostsystem_cap.py: PASS -------------------------------------------------------------------- ElementConforms - 01_forward.py: PASS -------------------------------------------------------------------- ElementConforms - 02_reverse.py: PASS -------------------------------------------------------------------- ElementConforms - 03_ectp_fwd_errs.py: PASS -------------------------------------------------------------------- ElementConforms - 04_ectp_rev_errs.py: PASS -------------------------------------------------------------------- ElementSettingData - 01_forward.py: PASS -------------------------------------------------------------------- ElementSettingData - 03_esd_assoc_with_rasd_errs.py: PASS -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: PASS -------------------------------------------------------------------- HostSystem - 01_enum.py: PASS -------------------------------------------------------------------- HostSystem - 02_hostsystem_to_rasd.py: PASS -------------------------------------------------------------------- HostSystem - 03_hs_to_settdefcap.py: PASS -------------------------------------------------------------------- HostSystem - 04_hs_to_EAPF.py: PASS -------------------------------------------------------------------- HostSystem - 05_hs_gi_errs.py: PASS -------------------------------------------------------------------- HostSystem - 06_hs_to_vsms.py: PASS -------------------------------------------------------------------- HostedAccessPoint - 01_forward.py: PASS -------------------------------------------------------------------- HostedAccessPoint - 02_reverse.py: PASS -------------------------------------------------------------------- HostedDependency - 01_forward.py: PASS -------------------------------------------------------------------- HostedDependency - 02_reverse.py: PASS -------------------------------------------------------------------- HostedDependency - 03_enabledstate.py: PASS -------------------------------------------------------------------- HostedDependency - 04_reverse_errs.py: PASS -------------------------------------------------------------------- HostedResourcePool - 01_forward.py: PASS -------------------------------------------------------------------- HostedResourcePool - 02_reverse.py: PASS -------------------------------------------------------------------- HostedResourcePool - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedResourcePool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- HostedService - 01_forward.py: PASS -------------------------------------------------------------------- HostedService - 02_reverse.py: PASS -------------------------------------------------------------------- HostedService - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedService - 04_reverse_errs.py: PASS -------------------------------------------------------------------- KVMRedirectionSAP - 01_enum_KVMredSAP.py: PASS -------------------------------------------------------------------- LogicalDisk - 01_disk.py: PASS -------------------------------------------------------------------- LogicalDisk - 02_nodevs.py: SKIP ERROR - System has defined domains; unable to run -------------------------------------------------------------------- LogicalDisk - 03_ld_gi_errs.py: PASS -------------------------------------------------------------------- Memory - 01_memory.py: PASS -------------------------------------------------------------------- Memory - 02_defgetmem.py: PASS -------------------------------------------------------------------- Memory - 03_mem_gi_errs.py: PASS -------------------------------------------------------------------- NetworkPort - 01_netport.py: PASS -------------------------------------------------------------------- NetworkPort - 02_np_gi_errors.py: PASS -------------------------------------------------------------------- NetworkPort - 03_user_netport.py: PASS -------------------------------------------------------------------- Processor - 01_processor.py: PASS -------------------------------------------------------------------- Processor - 02_definesys_get_procs.py: PASS -------------------------------------------------------------------- Processor - 03_proc_gi_errs.py: PASS -------------------------------------------------------------------- Profile - 01_enum.py: PASS -------------------------------------------------------------------- Profile - 02_profile_to_elec.py: PASS -------------------------------------------------------------------- Profile - 03_rprofile_gi_errs.py: PASS -------------------------------------------------------------------- RASD - 01_verify_rasd_fields.py: PASS -------------------------------------------------------------------- RASD - 02_enum.py: PASS -------------------------------------------------------------------- RASD - 03_rasd_errs.py: PASS -------------------------------------------------------------------- RASD - 04_disk_rasd_size.py: PASS -------------------------------------------------------------------- RASD - 05_disk_rasd_emu_type.py: PASS -------------------------------------------------------------------- RASD - 06_parent_net_pool.py: PASS -------------------------------------------------------------------- RASD - 07_parent_disk_pool.py: PASS -------------------------------------------------------------------- RASDIndications - 01_guest_states_rasd_ind.py: PASS -------------------------------------------------------------------- RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: PASS -------------------------------------------------------------------- RedirectionService - 01_enum_crs.py: PASS -------------------------------------------------------------------- RedirectionService - 02_enum_crscap.py: PASS -------------------------------------------------------------------- RedirectionService - 03_RedirectionSAP_errs.py: PASS -------------------------------------------------------------------- ReferencedProfile - 01_verify_refprof.py: PASS -------------------------------------------------------------------- ReferencedProfile - 02_refprofile_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 01_forward.py: FAIL ERROR - No RASD associated with DiskPool/cimtest-diskpool -------------------------------------------------------------------- ResourceAllocationFromPool - 02_reverse.py: FAIL ERROR - InstanceID Mismatch ERROR - Got DiskPool/default instead of DiskPool/cimtest-diskpool -------------------------------------------------------------------- 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: FAIL ERROR - Exception details: (1, u'CIM_ERR_FAILED: Unable to create storage volume: invalid storage pool pointer in storage vol already exists') InvokeMethod(CreateResourceInPool): CIM_ERR_FAILED: Unable to create storage volume: invalid storage pool pointer in storage vol already exists -------------------------------------------------------------------- ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 13_delete_storagevolume.py: FAIL ERROR - Exception details: Failed to get the resource settings for 'cimtest-vol.img' Vol -------------------------------------------------------------------- ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: FAIL ERROR - Exception details: (1, u'CIM_ERR_FAILED: Unable to create storage volume: invalid storage pool pointer in storage vol already exists') InvokeMethod(CreateResourceInPool): CIM_ERR_FAILED: Unable to create storage volume: invalid storage pool pointer in storage vol already exists -------------------------------------------------------------------- ServiceAccessBySAP - 01_forward.py: PASS -------------------------------------------------------------------- ServiceAccessBySAP - 02_reverse.py: PASS -------------------------------------------------------------------- ServiceAffectsElement - 01_forward.py: PASS -------------------------------------------------------------------- ServiceAffectsElement - 02_reverse.py: PASS -------------------------------------------------------------------- SettingsDefine - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefine - 02_reverse.py: PASS -------------------------------------------------------------------- SettingsDefine - 03_sds_fwd_errs.py: PASS -------------------------------------------------------------------- SettingsDefine - 04_sds_rev_errs.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 04_forward_vsmsdata.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 05_reverse_vsmcap.py: PASS -------------------------------------------------------------------- SystemDevice - 01_forward.py: PASS -------------------------------------------------------------------- SystemDevice - 02_reverse.py: PASS -------------------------------------------------------------------- SystemDevice - 03_fwderrs.py: PASS -------------------------------------------------------------------- VSSD - 01_enum.py: PASS -------------------------------------------------------------------- VSSD - 02_bootldr.py: SKIP -------------------------------------------------------------------- VSSD - 03_vssd_gi_errs.py: PASS -------------------------------------------------------------------- VSSD - 04_vssd_to_rasd.py: PASS -------------------------------------------------------------------- VSSD - 05_set_uuid.py: PASS -------------------------------------------------------------------- VSSD - 06_duplicate_uuid.py: PASS -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 01_definesystem_name.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 02_destroysystem.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 03_definesystem_ess.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 04_definesystem_ers.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 05_destroysystem_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 06_addresource.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 07_addresource_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 08_modifyresource.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 09_procrasd_persist.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 10_hv_version.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 11_define_memrasdunits.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 12_referenced_config.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 13_refconfig_additional_devs.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 14_define_sys_disk.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 15_mod_system_settings.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 16_removeresource.py: XFAIL ERROR - 0 RASD insts for domain/mouse:ps2 CIM_ERR_NOT_FOUND: No such instance (no device domain/mouse:ps2) Bug:<00014> -------------------------------------------------------------------- VirtualSystemManagementService - 17_removeresource_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 18_define_sys_bridge.py: FAIL ERROR - Failed to create Virtual Network 'cimtest-networkpool4' ERROR - Unable to create network pool -------------------------------------------------------------------- VirtualSystemManagementService - 19_definenetwork_ers.py: FAIL ERROR - DEBUG nettype is network, field is None, tc is none ERROR - DEBUG nettype is network, field is , tc is empty ERROR - Got CIM error CIM_ERR_FAILED: Unable to start domain: Network not found: no network with matching name '' with return code 1 ERROR - DEBUG nettype is network, field is invalid, tc is invalid ERROR - Got CIM error CIM_ERR_FAILED: Unable to start domain: Network not found: no network with matching name 'invalid' with return code 1 ERROR - DEBUG nettype is bridge, field is None, tc is none ERROR - Got CIM error CIM_ERR_FAILED: ResourceSettings Error: No Network bridge name specified with return code 1 ERROR - DEBUG nettype is bridge, field is , tc is empty ERROR - Got CIM error CIM_ERR_FAILED: ResourceSettings Error: Bridge name is empty with return code 1 ERROR - DEBUG nettype is bridge, field is invalid, tc is invalid ERROR - Got CIM error CIM_ERR_FAILED: Unable to start domain: Failed to add tap interface to bridge 'invalid': No such device with return code 1 ERROR - Desc Mismatch, Got desc: 'CIM_ERR_FAILED: Unable to start domain: Failed to add tap interface to bridge 'invalid': No such device', exp 'internal error Failed to add tap interface' ERROR - Starting domain with invalid bridge name invalid gave unexpected rc code 1 and description: CIM_ERR_FAILED: Unable to start domain: Failed to add tap interface to bridge 'invalid': No such device InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to start domain: Network not found: no network with matching name '' InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to start domain: Network not found: no network with matching name 'invalid' InvokeMethod(DefineSystem): CIM_ERR_FAILED: ResourceSettings Error: No Network bridge name specified InvokeMethod(DefineSystem): CIM_ERR_FAILED: ResourceSettings Error: Bridge name is empty InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to start domain: Failed to add tap interface to bridge 'invalid': No such device -------------------------------------------------------------------- VirtualSystemManagementService - 20_verify_vnc_password.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 21_createVS_verifyMAC.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL ERROR - Got 99:aa:bb:cc:ee:ff, exp 99:aa:bb:cc:ee:ff. Got None, exp my_network1. ERROR - Error invoking AddRS: add_net_res ERROR - Error adding rs for net mac ERROR - Failed to destroy Virtual Network 'my_network1' Bug:<00015> -------------------------------------------------------------------- VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationService - 01_migratable_host.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 01_forward.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 02_reverse.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 03_create_snapshot.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: PASS -------------------------------------------------------------------- -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From rmaciel at linux.vnet.ibm.com Wed Nov 4 16:56:08 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Wed, 04 Nov 2009 14:56:08 -0200 Subject: [Libvirt-cim] [PATCH] Call _set_fv_prop() in VSSD for XenFV, KVM, and QEMU guests In-Reply-To: References: Message-ID: <4AF1B228.1020808@linux.vnet.ibm.com> +1 On 10/30/2009 09:47 PM, Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1256945272 25200 > # Node ID d9ec0ec02cec9c1b9e690e403f3c080a9a6589a7 > # Parent fa2c916f6772d7e02ab32f1d167d83826898cacb > Call _set_fv_prop() in VSSD for XenFV, KVM, and QEMU guests. > > This if statement is missing a few brackets... > > Signed-off-by: Kaitlin Rupert > > diff -r fa2c916f6772 -r d9ec0ec02cec src/Virt_VSSD.c > --- a/src/Virt_VSSD.c Fri Oct 30 15:42:45 2009 -0700 > +++ b/src/Virt_VSSD.c Fri Oct 30 16:27:52 2009 -0700 > @@ -233,12 +233,13 @@ > > > if ((dominfo->type == DOMAIN_XENFV) || > - (dominfo->type == DOMAIN_KVM) || (dominfo->type == DOMAIN_QEMU)) > + (dominfo->type == DOMAIN_KVM) || (dominfo->type == DOMAIN_QEMU)) { > s = _set_fv_prop(broker, dominfo, inst); > if (s.rc != CMPI_RC_OK) { > ret = 0; > goto out; > } > + } > > else if (dominfo->type == DOMAIN_XENPV) > _set_pv_prop(dominfo, inst); > > _______________________________________________ > 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 Wed Nov 4 17:30:31 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Wed, 04 Nov 2009 15:30:31 -0200 Subject: [Libvirt-cim] [PATCH] Allow user to specify whether ACPI should be enabled In-Reply-To: References: Message-ID: <4AF1BA37.4080409@linux.vnet.ibm.com> On 10/30/2009 09:47 PM, Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1256942565 25200 > # Node ID fa2c916f6772d7e02ab32f1d167d83826898cacb > # Parent a5cfc77fe35238cf4e17f4d09fcd09633f6f3149 > Allow user to specify whether ACPI should be enabled. > > Signed-off-by: Kaitlin Rupert > > diff -r a5cfc77fe352 -r fa2c916f6772 libxkutil/device_parsing.c > --- a/libxkutil/device_parsing.c Fri Oct 30 05:11:06 2009 -0700 > +++ b/libxkutil/device_parsing.c Fri Oct 30 15:42:45 2009 -0700 > @@ -866,6 +866,18 @@ > return 1; > } > > +static int parse_features(struct domain *dominfo, xmlNode *features) > +{ > + xmlNode *child; > + > + for (child = features->children; child != NULL; child = child->next) { > + if (XSTREQ(child->name, "acpi")) > + dominfo->acpi = true; You only check for the acpi property here... (rest of the text is below) > + } > + > + return 1; > +} > + > static void set_action(int *val, xmlNode *child) > { > const char *action = (char *)xmlNodeGetContent(child); > @@ -910,6 +922,8 @@ > set_action(&dominfo->on_crash, child); > else if (XSTREQ(child->name, "clock")) > dominfo->clock = get_attr_value(child, "offset"); > + else if (XSTREQ(child->name, "features")) > + parse_features(dominfo, child); > } > > return 1; > diff -r a5cfc77fe352 -r fa2c916f6772 libxkutil/device_parsing.h > --- a/libxkutil/device_parsing.h Fri Oct 30 05:11:06 2009 -0700 > +++ b/libxkutil/device_parsing.h Fri Oct 30 15:42:45 2009 -0700 > @@ -126,6 +126,7 @@ > char *bootloader; > char *bootloader_args; > char *clock; > + bool acpi; > > union { > struct pv_os_info pv; > diff -r a5cfc77fe352 -r fa2c916f6772 libxkutil/xmlgen.c > --- a/libxkutil/xmlgen.c Fri Oct 30 05:11:06 2009 -0700 > +++ b/libxkutil/xmlgen.c Fri Oct 30 15:42:45 2009 -0700 > @@ -503,11 +503,6 @@ > if (ret == 0) > return XML_ERROR; > > - tmp = xmlNewChild(root, NULL, BAD_CAST "features", NULL); > - xmlNewChild(tmp, NULL, BAD_CAST "pae", NULL); > - xmlNewChild(tmp, NULL, BAD_CAST "acpi", NULL); > - xmlNewChild(tmp, NULL, BAD_CAST "apic", NULL); > - > return NULL; > } > > @@ -576,6 +571,25 @@ > return "Unsupported domain type"; > } > > +static char *features_xml(xmlNodePtr root, struct domain *domain) > +{ > + xmlNodePtr features; > + > + features = xmlNewChild(root, NULL, BAD_CAST "features", NULL); > + if (features == NULL) > + return "Failed to allocate XML memory"; > + > + if (domain->type == DOMAIN_XENFV) { > + xmlNewChild(features, NULL, BAD_CAST "pae", NULL); > + xmlNewChild(features, NULL, BAD_CAST "apic", NULL); > + } But you actually create a XML with two more properties (pae and apic). Are these properties always defined for a Xen domain? > + > + if (domain->acpi) > + xmlNewChild(features, NULL, BAD_CAST "acpi", NULL); > + > + return NULL; > +} > + > static char *tree_to_xml(xmlNodePtr root) > { > xmlBufferPtr buffer = NULL; > @@ -748,6 +762,10 @@ > if (msg != NULL) > goto out; > > + msg = features_xml(root, dominfo); > + if (msg != NULL) > + goto out; > + > msg = mem_xml(root, dominfo); > if (msg != NULL) > goto out; > diff -r a5cfc77fe352 -r fa2c916f6772 schema/Virt_VSSD.mof > --- a/schema/Virt_VSSD.mof Fri Oct 30 05:11:06 2009 -0700 > +++ b/schema/Virt_VSSD.mof Fri Oct 30 15:42:45 2009 -0700 > @@ -15,4 +15,7 @@ > [Description("UUID assigned to this DomU.")] > string UUID; > > + [Description ("Flag to determine whether this guest has acpi enabled")] > + boolean EnableACPI; > + > }; > diff -r a5cfc77fe352 -r fa2c916f6772 src/Virt_VSSD.c > --- a/src/Virt_VSSD.c Fri Oct 30 05:11:06 2009 -0700 > +++ b/src/Virt_VSSD.c Fri Oct 30 15:42:45 2009 -0700 > @@ -211,6 +211,9 @@ > CMSetProperty(inst, "AutomaticRecoveryAction", > (CMPIValue *)&dominfo->on_crash, CMPI_uint16); > > + CMSetProperty(inst, "EnableACPI", > + (CMPIValue *)&dominfo->acpi, CMPI_boolean); > + > if (dominfo->clock != NULL) { > uint16_t clock = VSSD_CLOCK_UTC; > > diff -r a5cfc77fe352 -r fa2c916f6772 src/Virt_VirtualSystemManagementService.c > --- a/src/Virt_VirtualSystemManagementService.c Fri Oct 30 05:11:06 2009 -0700 > +++ b/src/Virt_VirtualSystemManagementService.c Fri Oct 30 15:42:45 2009 -0700 > @@ -425,6 +425,7 @@ > const char *val; > const char *cn; > char *pfx = NULL; > + bool bool_val; > bool fullvirt; > CMPIObjectPath *opathp = NULL; > > @@ -470,6 +471,13 @@ > if (cu_get_bool_prop(inst, "IsFullVirt",&fullvirt) != CMPI_RC_OK) > fullvirt = false; > > + if (cu_get_bool_prop(inst, "EnableACPI",&bool_val) != CMPI_RC_OK) { > + if (fullvirt || STREQC(pfx, "KVM")) > + bool_val = true; > + } > + > + domain->acpi = bool_val; > + > if (cu_get_u16_prop(inst, "ClockOffset",&tmp) == CMPI_RC_OK) { > if (tmp == VSSD_CLOCK_UTC) > domain->clock = strdup("utc"); > > _______________________________________________ > Libvirt-cim mailing list > Libvirt-cim at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-cim -- Richard Maciel, MSc IBM Linux Technology Center rmaciel at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Wed Nov 4 23:30:40 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Wed, 04 Nov 2009 15:30:40 -0800 Subject: [Libvirt-cim] [PATCH] Allow user to specify whether ACPI should be enabled In-Reply-To: <4AF1BA37.4080409@linux.vnet.ibm.com> References: <4AF1BA37.4080409@linux.vnet.ibm.com> Message-ID: <4AF20EA0.8060903@linux.vnet.ibm.com> >> +static int parse_features(struct domain *dominfo, xmlNode *features) >> +{ >> + xmlNode *child; >> + >> + for (child = features->children; child != NULL; child = >> child->next) { >> + if (XSTREQ(child->name, "acpi")) >> + dominfo->acpi = true; > > You only check for the acpi property here... (rest of the text is below) Right now we don't have VSSD attributes for the other features. Those will follow in follow up patches. >> + features = xmlNewChild(root, NULL, BAD_CAST "features", NULL); >> + if (features == NULL) >> + return "Failed to allocate XML memory"; >> + >> + if (domain->type == DOMAIN_XENFV) { >> + xmlNewChild(features, NULL, BAD_CAST "pae", NULL); >> + xmlNewChild(features, NULL, BAD_CAST "apic", NULL); >> + } > > But you actually create a XML with two more properties (pae and apic). > Are these properties always defined for a Xen domain? > Yes, these should always be set for full virt Xen guests. We don't set these for para virt Xen, KVM, or LXC guests though. -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From rmaciel at linux.vnet.ibm.com Thu Nov 5 20:33:51 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Thu, 05 Nov 2009 18:33:51 -0200 Subject: [Libvirt-cim] [PATCH] Allow user to specify whether ACPI should be enabled In-Reply-To: <4AF20EA0.8060903@linux.vnet.ibm.com> References: <4AF1BA37.4080409@linux.vnet.ibm.com> <4AF20EA0.8060903@linux.vnet.ibm.com> Message-ID: <4AF336AF.6030001@linux.vnet.ibm.com> +1 On 11/04/2009 09:30 PM, Kaitlin Rupert wrote: >>> +static int parse_features(struct domain *dominfo, xmlNode *features) >>> +{ >>> + xmlNode *child; >>> + >>> + for (child = features->children; child != NULL; child = child->next) { >>> + if (XSTREQ(child->name, "acpi")) >>> + dominfo->acpi = true; >> >> You only check for the acpi property here... (rest of the text is below) > > Right now we don't have VSSD attributes for the other features. Those > will follow in follow up patches. > > >>> + features = xmlNewChild(root, NULL, BAD_CAST "features", NULL); >>> + if (features == NULL) >>> + return "Failed to allocate XML memory"; >>> + >>> + if (domain->type == DOMAIN_XENFV) { >>> + xmlNewChild(features, NULL, BAD_CAST "pae", NULL); >>> + xmlNewChild(features, NULL, BAD_CAST "apic", NULL); >>> + } >> >> But you actually create a XML with two more properties (pae and apic). >> Are these properties always defined for a Xen domain? >> > > Yes, these should always be set for full virt Xen guests. We don't set > these for para virt Xen, KVM, or LXC guests though. > > -- Richard Maciel, MSc IBM Linux Technology Center rmaciel at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Thu Nov 5 22:15:07 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 05 Nov 2009 22:15:07 -0000 Subject: [Libvirt-cim] [PATCH 1 of 2] Signed-off-by: Kaitlin Rupert In-Reply-To: References: Message-ID: <2626e8fa10ad022b1dde.1257459307@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1257459289 28800 # Node ID 2626e8fa10ad022b1ddee21efd46ffa950938200 # Parent 2a194008eef87ee652bf550030203e3ef81b7468 Signed-off-by: Kaitlin Rupert diff -r 2a194008eef8 -r 2626e8fa10ad libxkutil/device_parsing.c --- a/libxkutil/device_parsing.c Fri Oct 30 15:42:45 2009 -0700 +++ b/libxkutil/device_parsing.c Thu Nov 05 14:14:49 2009 -0800 @@ -873,6 +873,8 @@ for (child = features->children; child != NULL; child = child->next) { if (XSTREQ(child->name, "acpi")) dominfo->acpi = true; + else if (XSTREQ(child->name, "apic")) + dominfo->apic = true; } return 1; diff -r 2a194008eef8 -r 2626e8fa10ad libxkutil/device_parsing.h --- a/libxkutil/device_parsing.h Fri Oct 30 15:42:45 2009 -0700 +++ b/libxkutil/device_parsing.h Thu Nov 05 14:14:49 2009 -0800 @@ -127,6 +127,7 @@ char *bootloader_args; char *clock; bool acpi; + bool apic; union { struct pv_os_info pv; diff -r 2a194008eef8 -r 2626e8fa10ad libxkutil/xmlgen.c --- a/libxkutil/xmlgen.c Fri Oct 30 15:42:45 2009 -0700 +++ b/libxkutil/xmlgen.c Thu Nov 05 14:14:49 2009 -0800 @@ -581,12 +581,14 @@ if (domain->type == DOMAIN_XENFV) { xmlNewChild(features, NULL, BAD_CAST "pae", NULL); - xmlNewChild(features, NULL, BAD_CAST "apic", NULL); } if (domain->acpi) xmlNewChild(features, NULL, BAD_CAST "acpi", NULL); + if (domain->apic) + xmlNewChild(features, NULL, BAD_CAST "apic", NULL); + return NULL; } diff -r 2a194008eef8 -r 2626e8fa10ad schema/Virt_VSSD.mof --- a/schema/Virt_VSSD.mof Fri Oct 30 15:42:45 2009 -0700 +++ b/schema/Virt_VSSD.mof Thu Nov 05 14:14:49 2009 -0800 @@ -18,4 +18,7 @@ [Description ("Flag to determine whether this guest has acpi enabled")] boolean EnableACPI; + [Description ("Flag to determine whether this guest has apic enabled")] + boolean EnableAPIC; + }; diff -r 2a194008eef8 -r 2626e8fa10ad src/Virt_VSSD.c --- a/src/Virt_VSSD.c Fri Oct 30 15:42:45 2009 -0700 +++ b/src/Virt_VSSD.c Thu Nov 05 14:14:49 2009 -0800 @@ -214,6 +214,9 @@ CMSetProperty(inst, "EnableACPI", (CMPIValue *)&dominfo->acpi, CMPI_boolean); + CMSetProperty(inst, "EnableAPIC", + (CMPIValue *)&dominfo->apic, CMPI_boolean); + if (dominfo->clock != NULL) { uint16_t clock = VSSD_CLOCK_UTC; diff -r 2a194008eef8 -r 2626e8fa10ad src/Virt_VirtualSystemManagementService.c --- a/src/Virt_VirtualSystemManagementService.c Fri Oct 30 15:42:45 2009 -0700 +++ b/src/Virt_VirtualSystemManagementService.c Thu Nov 05 14:14:49 2009 -0800 @@ -472,12 +472,25 @@ fullvirt = false; if (cu_get_bool_prop(inst, "EnableACPI", &bool_val) != CMPI_RC_OK) { + /* Always set for XenFV and KVM guests */ if (fullvirt || STREQC(pfx, "KVM")) bool_val = true; + else + bool_val = false; } domain->acpi = bool_val; + if (cu_get_bool_prop(inst, "EnableAPIC", &bool_val) != CMPI_RC_OK) { + /* Always set for XenFV guests */ + if (fullvirt && !STREQC(pfx, "KVM")) + bool_val = true; + else + bool_val = false; + } + + domain->apic = bool_val; + if (cu_get_u16_prop(inst, "ClockOffset", &tmp) == CMPI_RC_OK) { if (tmp == VSSD_CLOCK_UTC) domain->clock = strdup("utc"); From kaitlin at linux.vnet.ibm.com Thu Nov 5 22:15:08 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 05 Nov 2009 22:15:08 -0000 Subject: [Libvirt-cim] [PATCH 2 of 2] Allow user to enable PAE support when defining a guest In-Reply-To: References: Message-ID: <2835f92785b2df6b2b9b.1257459308@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1257459289 28800 # Node ID 2835f92785b2df6b2b9b384cde4561d12b8ef703 # Parent 2626e8fa10ad022b1ddee21efd46ffa950938200 Allow user to enable PAE support when defining a guest Signed-off-by: Kaitlin Rupert diff -r 2626e8fa10ad -r 2835f92785b2 libxkutil/device_parsing.c --- a/libxkutil/device_parsing.c Thu Nov 05 14:14:49 2009 -0800 +++ b/libxkutil/device_parsing.c Thu Nov 05 14:14:49 2009 -0800 @@ -875,6 +875,8 @@ dominfo->acpi = true; else if (XSTREQ(child->name, "apic")) dominfo->apic = true; + else if (XSTREQ(child->name, "pae")) + dominfo->pae = true; } return 1; diff -r 2626e8fa10ad -r 2835f92785b2 libxkutil/device_parsing.h --- a/libxkutil/device_parsing.h Thu Nov 05 14:14:49 2009 -0800 +++ b/libxkutil/device_parsing.h Thu Nov 05 14:14:49 2009 -0800 @@ -128,6 +128,7 @@ char *clock; bool acpi; bool apic; + bool pae; union { struct pv_os_info pv; diff -r 2626e8fa10ad -r 2835f92785b2 libxkutil/xmlgen.c --- a/libxkutil/xmlgen.c Thu Nov 05 14:14:49 2009 -0800 +++ b/libxkutil/xmlgen.c Thu Nov 05 14:14:49 2009 -0800 @@ -579,16 +579,15 @@ if (features == NULL) return "Failed to allocate XML memory"; - if (domain->type == DOMAIN_XENFV) { - xmlNewChild(features, NULL, BAD_CAST "pae", NULL); - } - if (domain->acpi) xmlNewChild(features, NULL, BAD_CAST "acpi", NULL); if (domain->apic) xmlNewChild(features, NULL, BAD_CAST "apic", NULL); + if (domain->pae) + xmlNewChild(features, NULL, BAD_CAST "pae", NULL); + return NULL; } diff -r 2626e8fa10ad -r 2835f92785b2 schema/Virt_VSSD.mof --- a/schema/Virt_VSSD.mof Thu Nov 05 14:14:49 2009 -0800 +++ b/schema/Virt_VSSD.mof Thu Nov 05 14:14:49 2009 -0800 @@ -21,4 +21,7 @@ [Description ("Flag to determine whether this guest has apic enabled")] boolean EnableAPIC; + [Description ("Flag to determine whether this guest has pae enabled")] + boolean EnablePAE; + }; diff -r 2626e8fa10ad -r 2835f92785b2 src/Virt_VSSD.c --- a/src/Virt_VSSD.c Thu Nov 05 14:14:49 2009 -0800 +++ b/src/Virt_VSSD.c Thu Nov 05 14:14:49 2009 -0800 @@ -217,6 +217,9 @@ CMSetProperty(inst, "EnableAPIC", (CMPIValue *)&dominfo->apic, CMPI_boolean); + CMSetProperty(inst, "EnablePAE", + (CMPIValue *)&dominfo->pae, CMPI_boolean); + if (dominfo->clock != NULL) { uint16_t clock = VSSD_CLOCK_UTC; diff -r 2626e8fa10ad -r 2835f92785b2 src/Virt_VirtualSystemManagementService.c --- a/src/Virt_VirtualSystemManagementService.c Thu Nov 05 14:14:49 2009 -0800 +++ b/src/Virt_VirtualSystemManagementService.c Thu Nov 05 14:14:49 2009 -0800 @@ -491,6 +491,16 @@ domain->apic = bool_val; + if (cu_get_bool_prop(inst, "EnablePAE", &bool_val) != CMPI_RC_OK) { + /* Always set for XenFV guests */ + if (fullvirt && !STREQC(pfx, "KVM")) + bool_val = true; + else + bool_val = false; + } + + domain->pae = bool_val; + if (cu_get_u16_prop(inst, "ClockOffset", &tmp) == CMPI_RC_OK) { if (tmp == VSSD_CLOCK_UTC) domain->clock = strdup("utc"); From kaitlin at linux.vnet.ibm.com Thu Nov 5 22:15:06 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 05 Nov 2009 22:15:06 -0000 Subject: [Libvirt-cim] [PATCH 0 of 2] Expose remaining features: apic and pae Message-ID: From kaitlin at linux.vnet.ibm.com Thu Nov 5 22:20:56 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 05 Nov 2009 22:20:56 -0000 Subject: [Libvirt-cim] [PATCH 0 of 2] #2 Expose remaining features: apic and pae Message-ID: Update to patch 2. From kaitlin at linux.vnet.ibm.com Thu Nov 5 22:20:57 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 05 Nov 2009 22:20:57 -0000 Subject: [Libvirt-cim] [PATCH 1 of 2] (#2) Allow user to enable APIC support when defining a guest In-Reply-To: References: Message-ID: # HG changeset patch # User Kaitlin Rupert # Date 1257459645 28800 # Node ID f82b7a0c6f21bae8587449fd949dc011cf5b7fb9 # Parent 2a194008eef87ee652bf550030203e3ef81b7468 (#2) Allow user to enable APIC support when defining a guest Update: -Add appropriate subject to patch Signed-off-by: Kaitlin Rupert diff -r 2a194008eef8 -r f82b7a0c6f21 libxkutil/device_parsing.c --- a/libxkutil/device_parsing.c Fri Oct 30 15:42:45 2009 -0700 +++ b/libxkutil/device_parsing.c Thu Nov 05 14:20:45 2009 -0800 @@ -873,6 +873,8 @@ for (child = features->children; child != NULL; child = child->next) { if (XSTREQ(child->name, "acpi")) dominfo->acpi = true; + else if (XSTREQ(child->name, "apic")) + dominfo->apic = true; } return 1; diff -r 2a194008eef8 -r f82b7a0c6f21 libxkutil/device_parsing.h --- a/libxkutil/device_parsing.h Fri Oct 30 15:42:45 2009 -0700 +++ b/libxkutil/device_parsing.h Thu Nov 05 14:20:45 2009 -0800 @@ -127,6 +127,7 @@ char *bootloader_args; char *clock; bool acpi; + bool apic; union { struct pv_os_info pv; diff -r 2a194008eef8 -r f82b7a0c6f21 libxkutil/xmlgen.c --- a/libxkutil/xmlgen.c Fri Oct 30 15:42:45 2009 -0700 +++ b/libxkutil/xmlgen.c Thu Nov 05 14:20:45 2009 -0800 @@ -581,12 +581,14 @@ if (domain->type == DOMAIN_XENFV) { xmlNewChild(features, NULL, BAD_CAST "pae", NULL); - xmlNewChild(features, NULL, BAD_CAST "apic", NULL); } if (domain->acpi) xmlNewChild(features, NULL, BAD_CAST "acpi", NULL); + if (domain->apic) + xmlNewChild(features, NULL, BAD_CAST "apic", NULL); + return NULL; } diff -r 2a194008eef8 -r f82b7a0c6f21 schema/Virt_VSSD.mof --- a/schema/Virt_VSSD.mof Fri Oct 30 15:42:45 2009 -0700 +++ b/schema/Virt_VSSD.mof Thu Nov 05 14:20:45 2009 -0800 @@ -18,4 +18,7 @@ [Description ("Flag to determine whether this guest has acpi enabled")] boolean EnableACPI; + [Description ("Flag to determine whether this guest has apic enabled")] + boolean EnableAPIC; + }; diff -r 2a194008eef8 -r f82b7a0c6f21 src/Virt_VSSD.c --- a/src/Virt_VSSD.c Fri Oct 30 15:42:45 2009 -0700 +++ b/src/Virt_VSSD.c Thu Nov 05 14:20:45 2009 -0800 @@ -214,6 +214,9 @@ CMSetProperty(inst, "EnableACPI", (CMPIValue *)&dominfo->acpi, CMPI_boolean); + CMSetProperty(inst, "EnableAPIC", + (CMPIValue *)&dominfo->apic, CMPI_boolean); + if (dominfo->clock != NULL) { uint16_t clock = VSSD_CLOCK_UTC; diff -r 2a194008eef8 -r f82b7a0c6f21 src/Virt_VirtualSystemManagementService.c --- a/src/Virt_VirtualSystemManagementService.c Fri Oct 30 15:42:45 2009 -0700 +++ b/src/Virt_VirtualSystemManagementService.c Thu Nov 05 14:20:45 2009 -0800 @@ -472,12 +472,25 @@ fullvirt = false; if (cu_get_bool_prop(inst, "EnableACPI", &bool_val) != CMPI_RC_OK) { + /* Always set for XenFV and KVM guests */ if (fullvirt || STREQC(pfx, "KVM")) bool_val = true; + else + bool_val = false; } domain->acpi = bool_val; + if (cu_get_bool_prop(inst, "EnableAPIC", &bool_val) != CMPI_RC_OK) { + /* Always set for XenFV guests */ + if (fullvirt && !STREQC(pfx, "KVM")) + bool_val = true; + else + bool_val = false; + } + + domain->apic = bool_val; + if (cu_get_u16_prop(inst, "ClockOffset", &tmp) == CMPI_RC_OK) { if (tmp == VSSD_CLOCK_UTC) domain->clock = strdup("utc"); From kaitlin at linux.vnet.ibm.com Thu Nov 5 22:20:58 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 05 Nov 2009 22:20:58 -0000 Subject: [Libvirt-cim] [PATCH 2 of 2] Allow user to enable PAE support when defining a guest In-Reply-To: References: Message-ID: <910c18bbb6264c902943.1257459658@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1257459654 28800 # Node ID 910c18bbb6264c90294375e94882e600f3dd8237 # Parent f82b7a0c6f21bae8587449fd949dc011cf5b7fb9 Allow user to enable PAE support when defining a guest Signed-off-by: Kaitlin Rupert diff -r f82b7a0c6f21 -r 910c18bbb626 libxkutil/device_parsing.c --- a/libxkutil/device_parsing.c Thu Nov 05 14:20:45 2009 -0800 +++ b/libxkutil/device_parsing.c Thu Nov 05 14:20:54 2009 -0800 @@ -875,6 +875,8 @@ dominfo->acpi = true; else if (XSTREQ(child->name, "apic")) dominfo->apic = true; + else if (XSTREQ(child->name, "pae")) + dominfo->pae = true; } return 1; diff -r f82b7a0c6f21 -r 910c18bbb626 libxkutil/device_parsing.h --- a/libxkutil/device_parsing.h Thu Nov 05 14:20:45 2009 -0800 +++ b/libxkutil/device_parsing.h Thu Nov 05 14:20:54 2009 -0800 @@ -128,6 +128,7 @@ char *clock; bool acpi; bool apic; + bool pae; union { struct pv_os_info pv; diff -r f82b7a0c6f21 -r 910c18bbb626 libxkutil/xmlgen.c --- a/libxkutil/xmlgen.c Thu Nov 05 14:20:45 2009 -0800 +++ b/libxkutil/xmlgen.c Thu Nov 05 14:20:54 2009 -0800 @@ -579,16 +579,15 @@ if (features == NULL) return "Failed to allocate XML memory"; - if (domain->type == DOMAIN_XENFV) { - xmlNewChild(features, NULL, BAD_CAST "pae", NULL); - } - if (domain->acpi) xmlNewChild(features, NULL, BAD_CAST "acpi", NULL); if (domain->apic) xmlNewChild(features, NULL, BAD_CAST "apic", NULL); + if (domain->pae) + xmlNewChild(features, NULL, BAD_CAST "pae", NULL); + return NULL; } diff -r f82b7a0c6f21 -r 910c18bbb626 schema/Virt_VSSD.mof --- a/schema/Virt_VSSD.mof Thu Nov 05 14:20:45 2009 -0800 +++ b/schema/Virt_VSSD.mof Thu Nov 05 14:20:54 2009 -0800 @@ -21,4 +21,7 @@ [Description ("Flag to determine whether this guest has apic enabled")] boolean EnableAPIC; + [Description ("Flag to determine whether this guest has pae enabled")] + boolean EnablePAE; + }; diff -r f82b7a0c6f21 -r 910c18bbb626 src/Virt_VSSD.c --- a/src/Virt_VSSD.c Thu Nov 05 14:20:45 2009 -0800 +++ b/src/Virt_VSSD.c Thu Nov 05 14:20:54 2009 -0800 @@ -217,6 +217,9 @@ CMSetProperty(inst, "EnableAPIC", (CMPIValue *)&dominfo->apic, CMPI_boolean); + CMSetProperty(inst, "EnablePAE", + (CMPIValue *)&dominfo->pae, CMPI_boolean); + if (dominfo->clock != NULL) { uint16_t clock = VSSD_CLOCK_UTC; diff -r f82b7a0c6f21 -r 910c18bbb626 src/Virt_VirtualSystemManagementService.c --- a/src/Virt_VirtualSystemManagementService.c Thu Nov 05 14:20:45 2009 -0800 +++ b/src/Virt_VirtualSystemManagementService.c Thu Nov 05 14:20:54 2009 -0800 @@ -491,6 +491,16 @@ domain->apic = bool_val; + if (cu_get_bool_prop(inst, "EnablePAE", &bool_val) != CMPI_RC_OK) { + /* Always set for XenFV guests */ + if (fullvirt && !STREQC(pfx, "KVM")) + bool_val = true; + else + bool_val = false; + } + + domain->pae = bool_val; + if (cu_get_u16_prop(inst, "ClockOffset", &tmp) == CMPI_RC_OK) { if (tmp == VSSD_CLOCK_UTC) domain->clock = strdup("utc"); From snmishra at us.ibm.com Fri Nov 6 19:52:54 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Fri, 06 Nov 2009 11:52:54 -0800 Subject: [Libvirt-cim] [PATCH 2 of 4] This patch add support to input IPv6 address for vncserver In-Reply-To: References: Message-ID: <6e39d3b64240e12aa6b2.1257537174@elm3b24.beaverton.ibm.com> # HG changeset patch # User Sharad Mishra # Date 1257536616 28800 # Node ID 6e39d3b64240e12aa6b2fa2769ac4e794abf0e3a # Parent 131932045d30226468c63942407321f29c65a33f This patch add support to input IPv6 address for vncserver. Signed-off-by: Sharad Mishra diff -r 131932045d30 -r 6e39d3b64240 src/Virt_VirtualSystemManagementService.c --- a/src/Virt_VirtualSystemManagementService.c Fri Nov 06 11:43:25 2009 -0800 +++ b/src/Virt_VirtualSystemManagementService.c Fri Nov 06 11:43:36 2009 -0800 @@ -895,6 +895,44 @@ return NULL; } +static int parse_vnc_address(const char *id, + char **ip, + char **port) +{ + int ret; + char *tmp_ip = NULL; + char *tmp_port = NULL; + + CU_DEBUG("Entering parse_vnc_address, address is %s", id); + if (strstr(id, "[") != NULL) { + /* its an ipv6 address */ + ret = sscanf(id, "%a[^]]]:%as", &tmp_ip, &tmp_port); + strcat(tmp_ip, "]"); + } else { + ret = sscanf(id, "%a[^:]:%as", &tmp_ip, &tmp_port); + } + + if (ret != 2) { + ret = 0; + goto out; + } + + if (ip) + *ip = strdup(tmp_ip); + + if (port) + *port = strdup(tmp_port); + + ret = 1; + + out: + CU_DEBUG("Exiting parse_vnc_address, ip is %s, port is %s", *ip, *port); + free(tmp_ip); + free(tmp_port); + + return ret; +} + static const char *graphics_rasd_to_vdev(CMPIInstance *inst, struct virt_device *dev) { @@ -914,7 +952,7 @@ dev->dev.graphics.port = strdup("-1"); dev->dev.graphics.host = strdup("127.0.0.1"); } else { - ret = parse_id(val, + ret = parse_vnc_address(val, &dev->dev.graphics.host, &dev->dev.graphics.port); if (ret != 1) { From snmishra at us.ibm.com Fri Nov 6 19:52:55 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Fri, 06 Nov 2009 11:52:55 -0800 Subject: [Libvirt-cim] [PATCH 3 of 4] Added "Address" field to RASD mof file In-Reply-To: References: Message-ID: <9bcb945a1a3b61b2dceb.1257537175@elm3b24.beaverton.ibm.com> # HG changeset patch # User Sharad Mishra # Date 1257536626 28800 # Node ID 9bcb945a1a3b61b2dceb99d84378ede5b3d6167b # Parent 6e39d3b64240e12aa6b2fa2769ac4e794abf0e3a Added "Address" field to RASD mof file. Signed-off-by: Sharad Mishra diff -r 6e39d3b64240 -r 9bcb945a1a3b schema/ResourceAllocationSettingData.mof --- a/schema/ResourceAllocationSettingData.mof Fri Nov 06 11:43:36 2009 -0800 +++ b/schema/ResourceAllocationSettingData.mof Fri Nov 06 11:43:46 2009 -0800 @@ -130,6 +130,10 @@ ] class Xen_GraphicsResourceAllocationSettingData : Xen_ResourceAllocationSettingData { + [Description ("VNC Address. IPv4 in a.b.c.d:port or" + "IPv6 in [ip]:port format")] + string Address; + [Description ("Keyboard keymapping")] string KeyMap; @@ -142,6 +146,10 @@ ] class KVM_GraphicsResourceAllocationSettingData : KVM_ResourceAllocationSettingData { + [Description ("VNC Address. IPv4 in a.b.c.d:port or" + "IPv6 in [ip]:port format")] + string Address; + [Description ("Keyboard keymapping")] string KeyMap; @@ -154,6 +162,10 @@ ] class LXC_GraphicsResourceAllocationSettingData : LXC_ResourceAllocationSettingData { + [Description ("VNC Address. IPv4 in a.b.c.d:port or" + "IPv6 in [ip]:port format")] + string Address; + [Description ("Keyboard keymapping")] string KeyMap; From snmishra at us.ibm.com Fri Nov 6 19:52:53 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Fri, 06 Nov 2009 11:52:53 -0800 Subject: [Libvirt-cim] [PATCH 1 of 4] (#2) This patch adds support for IPv6 in KVMRedirectionSAP provider In-Reply-To: References: Message-ID: <131932045d30226468c6.1257537173@elm3b24.beaverton.ibm.com> # HG changeset patch # User Sharad Mishra # Date 1257536605 28800 # Node ID 131932045d30226468c63942407321f29c65a33f # Parent 906a78ecf9f3e4972133c6792c1ff543cc57b493 (#2) This patch adds support for IPv6 in KVMRedirectionSAP provider. The code now loops through currently active IPv4 and IPv6 connections. It tries to read both /proc/net/tcp and /proc/net/tcp6 files. If one of the two files is successfully read, it does not return an error. For the function to return an error, both IPv4 and IPv6 file reads should fail. Signed-off-by: Sharad Mishra diff -r 906a78ecf9f3 -r 131932045d30 src/Virt_KVMRedirectionSAP.c --- a/src/Virt_KVMRedirectionSAP.c Mon Oct 05 06:02:39 2009 -0700 +++ b/src/Virt_KVMRedirectionSAP.c Fri Nov 06 11:43:25 2009 -0800 @@ -39,7 +39,8 @@ #include "Virt_KVMRedirectionSAP.h" -#define PROC_TCP "/proc/net/tcp" +#define PROC_TCP4 "/proc/net/tcp" +#define PROC_TCP6 "/proc/net/tcp6" const static CMPIBroker *_BROKER; @@ -139,50 +140,47 @@ return inst; } -static CMPIStatus get_vnc_sessions(const CMPIBroker *broker, - const CMPIObjectPath *ref, - virConnectPtr conn, - struct vnc_ports ports, - struct inst_list *list) +static CMPIStatus read_tcp_file(const CMPIBroker *broker, + const CMPIObjectPath *ref, + virConnectPtr conn, + struct vnc_ports ports, + struct inst_list *list, + FILE *fl) { CMPIStatus s = {CMPI_RC_OK, NULL}; CMPIInstance *inst; - const char *path = PROC_TCP; unsigned int lport = 0; unsigned int rport = 0; - FILE *tcp_info; char *line = NULL; size_t len = 0; int val; int ret; int i; - tcp_info = fopen(path, "r"); - if (tcp_info == NULL) { - cu_statusf(broker, &s, + if (getline(&line, &len, fl) == -1) { + cu_statusf(broker, + &s, CMPI_RC_ERR_FAILED, - "Failed to open %s: %m", tcp_info); + "Failed to read from %s", + fl); goto out; } - if (getline(&line, &len, tcp_info) == -1) { - cu_statusf(broker, &s, - CMPI_RC_ERR_FAILED, - "Failed to read from %s", tcp_info); - goto out; - } - - while (getline(&line, &len, tcp_info) > 0) { - ret = sscanf(line, "%d: %*[^:]:%X %*[^:]:%X", &val, &lport, + while (getline(&line, &len, fl) > 0) { + ret = sscanf(line, + "%d: %*[^:]:%X %*[^:]:%X", + &val, + &lport, &rport); if (ret != 3) { - cu_statusf(broker, &s, + cu_statusf(broker, + &s, CMPI_RC_ERR_FAILED, "Unable to determine active sessions"); goto out; } - for (i = 0; i < ports.max; i++) { + for (i = 0; i < ports.max; i++) { if (lport != ports.list[i]->port) continue; @@ -198,6 +196,46 @@ inst_list_add(list, inst); } } + + out: + return s; +} + +static CMPIStatus get_vnc_sessions(const CMPIBroker *broker, + const CMPIObjectPath *ref, + virConnectPtr conn, + struct vnc_ports ports, + struct inst_list *list) +{ + CMPIStatus s = {CMPI_RC_OK, NULL}; + CMPIInstance *inst; + const char *path[2] = {PROC_TCP4, PROC_TCP6}; + FILE *tcp_info; + int i, j; + int error = 0; + + for (j = 0; j < 2; j++) { + tcp_info = fopen(path[j], "r"); + if (tcp_info == NULL) { + cu_statusf(broker, &s, + CMPI_RC_ERR_FAILED, + "Failed to open %s: %m", tcp_info); + error++; + continue; + } + + s = read_tcp_file(broker, + ref, + conn, + ports, + list, + tcp_info); + + fclose(tcp_info); + + if (s.rc != CMPI_RC_OK) + error++; + } /* Handle any guests that were missed. These guest don't have active or enabled sessions. */ @@ -212,8 +250,10 @@ inst_list_add(list, inst); } + if (error != 2) + s.rc = CMPI_RC_OK; + out: - fclose(tcp_info); return s; } From snmishra at us.ibm.com Fri Nov 6 19:52:56 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Fri, 06 Nov 2009 11:52:56 -0800 Subject: [Libvirt-cim] [PATCH 4 of 4] Added template RASD for IPv6 addresses In-Reply-To: References: Message-ID: # HG changeset patch # User Sharad Mishra # Date 1257536640 28800 # Node ID d52ebba7ae4c0a30078d67b79f68c91eaa5ae137 # Parent 9bcb945a1a3b61b2dceb99d84378ede5b3d6167b Added template RASD for IPv6 addresses. Signed-off-by: Sharad Mishra diff -r 9bcb945a1a3b -r d52ebba7ae4c src/Virt_SettingsDefineCapabilities.c --- a/src/Virt_SettingsDefineCapabilities.c Fri Nov 06 11:43:46 2009 -0800 +++ b/src/Virt_SettingsDefineCapabilities.c Fri Nov 06 11:44:00 2009 -0800 @@ -1523,6 +1523,7 @@ static CMPIStatus set_graphics_props(const CMPIObjectPath *ref, const char *id, const char *type, + const char *addr, struct inst_list *list) { CMPIInstance *inst; @@ -1533,8 +1534,6 @@ CMSetProperty(inst, "InstanceID", (CMPIValue *)id, CMPI_chars); if (STREQC(type, "vnc")) { - const char *addr = "127.0.0.1:-1"; - CMSetProperty(inst, "Address", (CMPIValue *)addr, CMPI_chars); CMSetProperty(inst, "KeyMap", (CMPIValue *)"en-us", CMPI_chars); @@ -1553,9 +1552,10 @@ { const char *id; CMPIStatus s = {CMPI_RC_OK, NULL}; - const char *type[] = {"vnc", "sdl"}; + const char *type[] = {"sdl", "vnc"}; + const char *addr[] = {NULL, "127.0.0.1:-1", "[::1]:-1"}; int type_ct = 2; - int i; + int i,j; switch(template_type) { case SDC_RASD_MIN: @@ -1578,9 +1578,18 @@ } for (i = 0; i < type_ct; i++) { - s = set_graphics_props(ref, id, type[i], list); - if (s.rc != CMPI_RC_OK) - goto out; + for (j = 1; j < 3; j++){ + s = set_graphics_props(ref, + id, + type[i], + addr[i*j], + list); + if (s.rc != CMPI_RC_OK) + goto out; + + if (i == 0) + break; + } } out: From snmishra at us.ibm.com Fri Nov 6 19:52:52 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Fri, 06 Nov 2009 11:52:52 -0800 Subject: [Libvirt-cim] [PATCH 0 of 4] Add IPv6 Support Message-ID: Signed-off-by: Sharad Mishra From kaitlin at linux.vnet.ibm.com Fri Nov 6 22:41:44 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 06 Nov 2009 22:41:44 -0000 Subject: [Libvirt-cim] [PATCH] Add GraphicsPool mof to Makefile.am so it gets registered with CIMOM Message-ID: <289823a45e86aac53df9.1257547304@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1257547293 28800 # Node ID 289823a45e86aac53df978c6e27716e8f31c3418 # Parent 9bda715b0f068911c69a5632e147c68666fcb7d0 Add GraphicsPool mof to Makefile.am so it gets registered with CIMOM Signed-off-by: Kaitlin Rupert diff -r 9bda715b0f06 -r 289823a45e86 Makefile.am --- a/Makefile.am Fri Nov 06 11:44:00 2009 -0800 +++ b/Makefile.am Fri Nov 06 14:41:33 2009 -0800 @@ -52,6 +52,7 @@ schema/KVMRedirectionSAP.mof \ schema/DisplayController.mof \ schema/PointingDevice.mof \ + schema/GraphicsPool.mof \ schema/InputPool.mof \ schema/HostedAccessPoint.mof \ schema/ServiceAccessBySAP.mof \ From kaitlin at linux.vnet.ibm.com Fri Nov 6 23:14:32 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 06 Nov 2009 23:14:32 -0000 Subject: [Libvirt-cim] [PATCH] Fix memory leaks in RASD, RAFP, and DevicePool Message-ID: <280a12d7c513129ebf86.1257549272@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1257545021 28800 # Node ID 280a12d7c513129ebf86ac271aac5474161d3aae # Parent 910c18bbb6264c90294375e94882e600f3dd8237 Fix memory leaks in RASD, RAFP, and DevicePool Signed-off-by: Kaitlin Rupert diff -r 910c18bbb626 -r 280a12d7c513 src/Virt_DevicePool.c --- a/src/Virt_DevicePool.c Thu Nov 05 14:20:54 2009 -0800 +++ b/src/Virt_DevicePool.c Fri Nov 06 14:03:41 2009 -0800 @@ -102,11 +102,14 @@ return 0; *pool = malloc(sizeof(**pool)); - if (*pool == NULL) - return 0; + if (*pool == NULL) { + ret = 0; + goto out; + } ret = get_pool_from_xml(xml, *pool, CIM_RES_TYPE_DISK); + out: free(xml); return ret; @@ -130,30 +133,31 @@ goto out; } + if (virConnectListStoragePools(conn, names, count) == -1) { + CU_DEBUG("Failed to get storage pools"); + goto out; + } + pools = calloc(count, sizeof(*pools)); if (pools == NULL) { CU_DEBUG("Failed to alloc space for %i pool structs", count); goto out; } - if (virConnectListStoragePools(conn, names, count) == -1) { - CU_DEBUG("Failed to get storage pools"); - free(pools); - goto out; - } - for (i = 0; i < count; i++) { pools[i].tag = names[i]; pools[i].primordial = false; } out: + for (i = 0; i < count; i++) + free(names[i]); + free(names); + get_disk_parent(&pools, &count); *_pools = pools; - free(names); - return count; } @@ -464,6 +468,8 @@ free(_bridge); } + for (i = 0; i < num; i++) + free(networks[i]); free(networks); return network; @@ -870,12 +876,12 @@ } set_params(inst, CIM_RES_TYPE_NET, id, NULL, cap, false); - free(id); free(cap); - free(bridge); inst_list_add(list, inst); out: + free(bridge); + free(id); virNetworkFree(network); return s; @@ -890,7 +896,7 @@ CMPIStatus s = {CMPI_RC_OK, NULL}; char **netnames = NULL; int i; - int nets; + int nets = 0; if (id != NULL) { return _netpool_for_network(list, @@ -942,6 +948,8 @@ } out: + for (i = 0; i < nets; i++) + free(netnames[i]); free(netnames); return s; @@ -1350,8 +1358,6 @@ break; } - inst_list_free(&list); - if (inst == NULL) { cu_statusf(broker, s, CMPI_RC_ERR_FAILED, @@ -1362,6 +1368,7 @@ } out: + inst_list_free(&list); return inst; } diff -r 910c18bbb626 -r 280a12d7c513 src/Virt_RASD.c --- a/src/Virt_RASD.c Thu Nov 05 14:20:54 2009 -0800 +++ b/src/Virt_RASD.c Fri Nov 06 14:03:41 2009 -0800 @@ -407,6 +407,8 @@ CLASSNAME(ref), base, NAMESPACE(ref)); + free(base); + if (inst == NULL) return inst; @@ -523,6 +525,8 @@ else *_inst = inst; + cleanup_virt_device(dev); + out: virConnectClose(conn); free(host); @@ -696,6 +700,10 @@ cu_statusf(broker, &s, CMPI_RC_ERR_FAILED, "Failed to get domain name"); + + for (i = 0; i < count; i++) + cleanup_virt_device(&devs[i]); + goto out; } diff -r 910c18bbb626 -r 280a12d7c513 src/Virt_ResourceAllocationFromPool.c --- a/src/Virt_ResourceAllocationFromPool.c Thu Nov 05 14:20:54 2009 -0800 +++ b/src/Virt_ResourceAllocationFromPool.c Fri Nov 06 14:03:41 2009 -0800 @@ -120,6 +120,8 @@ inst_list_add(dest, inst); } + free(poolid); + return dest->cur; } From deeptik at linux.vnet.ibm.com Fri Nov 6 23:15:37 2009 From: deeptik at linux.vnet.ibm.com (Deepti B. Kalakeri) Date: Fri, 6 Nov 2009 18:15:37 -0500 Subject: [Libvirt-cim] Test Run Summary (Nov 06 2009): LXC on Fedora release 12 (Constantine) with Pegasus Message-ID: <200911062315.nA6NFbdo002407@d01av04.pok.ibm.com> ================================================= Test Run Summary (Nov 06 2009): LXC on Fedora release 12 (Constantine) with Pegasus ================================================= Distro: Fedora release 12 (Constantine) Kernel: 2.6.30.5-43.fc11.x86_64 libvirt: 0.7.1 Hypervisor: QEMU 0.11.0 CIMOM: Pegasus 2.9.0 Libvirt-cim revision: 989 Libvirt-cim changeset: 3e3c266c1157 Cimtest revision: 786 Cimtest changeset: 215cbc24f8f9 ================================================= FAIL : 39 XFAIL : 3 SKIP : 54 PASS : 79 ----------------- Total : 175 ================================================= FAIL Test Summary: ComputerSystem - 04_defineStartVS.py: FAIL ComputerSystem - 05_activate_defined_start.py: FAIL ComputerSystem - 06_paused_active_suspend.py: FAIL ComputerSystem - 32_start_reboot.py: FAIL ComputerSystem - 34_start_disable.py: FAIL ComputerSystem - 35_start_reset.py: FAIL ComputerSystem - 40_RSC_start.py: FAIL ElementAllocatedFromPool - 01_forward.py: FAIL ElementAllocatedFromPool - 02_reverse.py: FAIL ElementSettingData - 03_esd_assoc_with_rasd_errs.py: FAIL EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: FAIL HostedAccessPoint - 01_forward.py: FAIL HostedAccessPoint - 02_reverse.py: FAIL HostedDependency - 04_reverse_errs.py: FAIL KVMRedirectionSAP - 01_enum_KVMredSAP.py: FAIL Profile - 02_profile_to_elec.py: FAIL RASD - 01_verify_rasd_fields.py: FAIL RedirectionService - 03_RedirectionSAP_errs.py: FAIL ResourceAllocationFromPool - 01_forward.py: FAIL ResourceAllocationFromPool - 02_reverse.py: FAIL ServiceAccessBySAP - 01_forward.py: FAIL ServiceAccessBySAP - 02_reverse.py: FAIL ServiceAffectsElement - 01_forward.py: FAIL ServiceAffectsElement - 02_reverse.py: FAIL SettingsDefine - 01_forward.py: FAIL SettingsDefine - 02_reverse.py: FAIL SettingsDefine - 03_sds_fwd_errs.py: FAIL SettingsDefine - 04_sds_rev_errs.py: FAIL SystemDevice - 01_forward.py: FAIL SystemDevice - 02_reverse.py: FAIL SystemDevice - 03_fwderrs.py: FAIL VirtualSystemManagementService - 01_definesystem_name.py: FAIL VirtualSystemManagementService - 02_destroysystem.py: FAIL VirtualSystemManagementService - 20_verify_vnc_password.py: FAIL VirtualSystemManagementService - 21_createVS_verifyMAC.py: FAIL VirtualSystemSettingDataComponent - 02_reverse.py: FAIL VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: FAIL VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: FAIL VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL ================================================= XFAIL Test Summary: ComputerSystem - 23_pause_pause.py: XFAIL ComputerSystem - 33_suspend_reboot.py: XFAIL HostedDependency - 03_enabledstate.py: XFAIL ================================================= SKIP Test Summary: ComputerSystem - 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 HostSystem - 05_hs_gi_errs.py: SKIP LogicalDisk - 01_disk.py: SKIP LogicalDisk - 02_nodevs.py: SKIP LogicalDisk - 03_ld_gi_errs.py: SKIP NetworkPort - 01_netport.py: SKIP NetworkPort - 02_np_gi_errors.py: SKIP NetworkPort - 03_user_netport.py: SKIP Processor - 01_processor.py: SKIP Processor - 02_definesys_get_procs.py: SKIP Processor - 03_proc_gi_errs.py: SKIP RASD - 04_disk_rasd_size.py: SKIP RASD - 05_disk_rasd_emu_type.py: SKIP RASD - 06_parent_net_pool.py: SKIP RASD - 07_parent_disk_pool.py: SKIP RASDIndications - 01_guest_states_rasd_ind.py: SKIP RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: SKIP ResourceAllocationFromPool - 05_RAPF_err.py: SKIP ResourcePoolConfigurationService - 03_CreateResourcePool.py: SKIP ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: SKIP ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: SKIP ResourcePoolConfigurationService - 07_DeleteResourcePool.py: SKIP ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: SKIP ResourcePoolConfigurationService - 09_DeleteDiskPool.py: SKIP ResourcePoolConfigurationService - 10_create_storagevolume.py: SKIP ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: SKIP ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: SKIP ResourcePoolConfigurationService - 13_delete_storagevolume.py: SKIP ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: SKIP VSSD - 02_bootldr.py: SKIP VirtualSystemManagementService - 06_addresource.py: SKIP VirtualSystemManagementService - 08_modifyresource.py: SKIP VirtualSystemManagementService - 09_procrasd_persist.py: SKIP VirtualSystemManagementService - 11_define_memrasdunits.py: SKIP VirtualSystemManagementService - 12_referenced_config.py: SKIP VirtualSystemManagementService - 13_refconfig_additional_devs.py: SKIP VirtualSystemManagementService - 16_removeresource.py: SKIP VirtualSystemManagementService - 17_removeresource_neg.py: SKIP VirtualSystemManagementService - 18_define_sys_bridge.py: SKIP VirtualSystemManagementService - 19_definenetwork_ers.py: SKIP VirtualSystemManagementService - 22_addmulti_brg_interface.py: SKIP VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: SKIP VirtualSystemMigrationService - 01_migratable_host.py: SKIP VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: SKIP ================================================= Full report: -------------------------------------------------------------------- AllocationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- AllocationCapabilities - 02_alloccap_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 01_enum.py: PASS -------------------------------------------------------------------- ComputerSystem - 02_nosystems.py: SKIP ERROR - System has defined domains; unable to run -------------------------------------------------------------------- ComputerSystem - 03_defineVS.py: PASS -------------------------------------------------------------------- ComputerSystem - 04_defineStartVS.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Failed to define domain: operation failed: domain 'domguest' is already defined with uuid 6aacf333-a20c-442e-8855-6964159a6f99 with return code 1 ERROR - Unable to define domguest InvokeMethod(DefineSystem): CIM_ERR_FAILED: Failed to define domain: operation failed: domain 'domguest' is already defined with uuid 6aacf333-a20c-442e-8855-6964159a6f99 -------------------------------------------------------------------- ComputerSystem - 05_activate_defined_start.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Exception: Unable start dom 'DomST1' -------------------------------------------------------------------- ComputerSystem - 06_paused_active_suspend.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Exception variable: Unable start dom 'DomST1' -------------------------------------------------------------------- ComputerSystem - 22_define_suspend.py: PASS -------------------------------------------------------------------- ComputerSystem - 23_pause_pause.py: XFAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Exception: 'Unable start dom 'cs_test_domain'' Bug:<00011> -------------------------------------------------------------------- ComputerSystem - 27_define_pause_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 32_start_reboot.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Exception: Unable start dom 'cs_test_domain' -------------------------------------------------------------------- ComputerSystem - 33_suspend_reboot.py: XFAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Exception: Unable Start dom 'test_domain' Bug:<00012> -------------------------------------------------------------------- ComputerSystem - 34_start_disable.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Exception: Unable start dom 'cs_test_domain' -------------------------------------------------------------------- ComputerSystem - 35_start_reset.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Exception: Unable start dom 'cs_test_domain' -------------------------------------------------------------------- ComputerSystem - 40_RSC_start.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Exception: Unable start dom 'cs_test_domain' -------------------------------------------------------------------- ComputerSystem - 41_cs_to_settingdefinestate.py: SKIP -------------------------------------------------------------------- ComputerSystem - 42_cs_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystemIndication - 01_created_indication.py: SKIP -------------------------------------------------------------------- ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP -------------------------------------------------------------------- ElementAllocatedFromPool - 01_forward.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to start the dom: 'hd_domain' -------------------------------------------------------------------- ElementAllocatedFromPool - 02_reverse.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to start the dom: 'eafp_domain' -------------------------------------------------------------------- ElementAllocatedFromPool - 03_reverse_errs.py: SKIP -------------------------------------------------------------------- ElementAllocatedFromPool - 04_forward_errs.py: SKIP -------------------------------------------------------------------- ElementCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- ElementCapabilities - 02_reverse.py: PASS -------------------------------------------------------------------- ElementCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 05_hostsystem_cap.py: PASS -------------------------------------------------------------------- ElementConforms - 01_forward.py: PASS -------------------------------------------------------------------- ElementConforms - 02_reverse.py: PASS -------------------------------------------------------------------- ElementConforms - 03_ectp_fwd_errs.py: PASS -------------------------------------------------------------------- ElementConforms - 04_ectp_rev_errs.py: PASS -------------------------------------------------------------------- ElementSettingData - 01_forward.py: PASS -------------------------------------------------------------------- ElementSettingData - 03_esd_assoc_with_rasd_errs.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to start the dom: hd_domain1 -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to Start the dom: qemu -------------------------------------------------------------------- HostSystem - 01_enum.py: PASS -------------------------------------------------------------------- HostSystem - 02_hostsystem_to_rasd.py: PASS -------------------------------------------------------------------- HostSystem - 03_hs_to_settdefcap.py: PASS -------------------------------------------------------------------- HostSystem - 04_hs_to_EAPF.py: PASS -------------------------------------------------------------------- HostSystem - 05_hs_gi_errs.py: SKIP -------------------------------------------------------------------- HostSystem - 06_hs_to_vsms.py: PASS -------------------------------------------------------------------- HostedAccessPoint - 01_forward.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable start dom 'domu1' -------------------------------------------------------------------- HostedAccessPoint - 02_reverse.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable start dom 'domu1' -------------------------------------------------------------------- HostedDependency - 01_forward.py: PASS -------------------------------------------------------------------- HostedDependency - 02_reverse.py: PASS -------------------------------------------------------------------- HostedDependency - 03_enabledstate.py: XFAIL ERROR - Exception: (1, u'CIM_ERR_FAILED: Domain not running') ERROR - Failed to suspend the dom: hd_domain1 InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Domain not running Bug:<00011> -------------------------------------------------------------------- HostedDependency - 04_reverse_errs.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to start the dom: hd_domain1 -------------------------------------------------------------------- HostedResourcePool - 01_forward.py: PASS -------------------------------------------------------------------- HostedResourcePool - 02_reverse.py: PASS -------------------------------------------------------------------- HostedResourcePool - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedResourcePool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- HostedService - 01_forward.py: PASS -------------------------------------------------------------------- HostedService - 02_reverse.py: PASS -------------------------------------------------------------------- HostedService - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedService - 04_reverse_errs.py: PASS -------------------------------------------------------------------- KVMRedirectionSAP - 01_enum_KVMredSAP.py: FAIL ERROR - Exception: Failed to get information on the defined dom:test_kvmredsap_dom -------------------------------------------------------------------- LogicalDisk - 01_disk.py: SKIP -------------------------------------------------------------------- LogicalDisk - 02_nodevs.py: SKIP ERROR - System has defined domains; unable to run -------------------------------------------------------------------- LogicalDisk - 03_ld_gi_errs.py: SKIP -------------------------------------------------------------------- Memory - 01_memory.py: PASS -------------------------------------------------------------------- Memory - 02_defgetmem.py: PASS -------------------------------------------------------------------- Memory - 03_mem_gi_errs.py: PASS -------------------------------------------------------------------- NetworkPort - 01_netport.py: SKIP -------------------------------------------------------------------- NetworkPort - 02_np_gi_errors.py: SKIP -------------------------------------------------------------------- NetworkPort - 03_user_netport.py: SKIP -------------------------------------------------------------------- Processor - 01_processor.py: SKIP -------------------------------------------------------------------- Processor - 02_definesys_get_procs.py: SKIP -------------------------------------------------------------------- Processor - 03_proc_gi_errs.py: SKIP -------------------------------------------------------------------- Profile - 01_enum.py: PASS -------------------------------------------------------------------- Profile - 02_profile_to_elec.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Failed to define domain: operation failed: domain 'domguest' is already defined with uuid 6aacf333-a20c-442e-8855-6964159a6f99 with return code 1 ERROR - Unable define domain domguest using DefineSystem() InvokeMethod(DefineSystem): CIM_ERR_FAILED: Failed to define domain: operation failed: domain 'domguest' is already defined with uuid 6aacf333-a20c-442e-8855-6964159a6f99 -------------------------------------------------------------------- Profile - 03_rprofile_gi_errs.py: PASS -------------------------------------------------------------------- RASD - 01_verify_rasd_fields.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to start the domain VSSDC_dom -------------------------------------------------------------------- RASD - 02_enum.py: PASS -------------------------------------------------------------------- RASD - 03_rasd_errs.py: PASS -------------------------------------------------------------------- RASD - 04_disk_rasd_size.py: SKIP -------------------------------------------------------------------- RASD - 05_disk_rasd_emu_type.py: SKIP -------------------------------------------------------------------- RASD - 06_parent_net_pool.py: SKIP 06_parent_net_pool.py:50: DeprecationWarning: the sets module is deprecated from sets import Set -------------------------------------------------------------------- RASD - 07_parent_disk_pool.py: SKIP 07_parent_disk_pool.py:47: DeprecationWarning: the sets module is deprecated from sets import Set -------------------------------------------------------------------- RASDIndications - 01_guest_states_rasd_ind.py: SKIP -------------------------------------------------------------------- RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: SKIP -------------------------------------------------------------------- RedirectionService - 01_enum_crs.py: PASS -------------------------------------------------------------------- RedirectionService - 02_enum_crscap.py: PASS -------------------------------------------------------------------- RedirectionService - 03_RedirectionSAP_errs.py: FAIL -------------------------------------------------------------------- ReferencedProfile - 01_verify_refprof.py: PASS -------------------------------------------------------------------- ReferencedProfile - 02_refprofile_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 01_forward.py: FAIL ERROR - 3 RASD insts != 4 pool insts -------------------------------------------------------------------- ResourceAllocationFromPool - 02_reverse.py: FAIL ERROR - 3 RASD insts != 4 pool insts -------------------------------------------------------------------- ResourceAllocationFromPool - 03_forward_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 05_RAPF_err.py: SKIP -------------------------------------------------------------------- ResourcePool - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePool - 02_rp_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 02_rcps_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 03_CreateResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 07_DeleteResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 09_DeleteDiskPool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 10_create_storagevolume.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 13_delete_storagevolume.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: SKIP -------------------------------------------------------------------- ServiceAccessBySAP - 01_forward.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable start dom 'domu1' -------------------------------------------------------------------- ServiceAccessBySAP - 02_reverse.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable start dom 'domu1' -------------------------------------------------------------------- ServiceAffectsElement - 01_forward.py: FAIL 01_forward.py:51: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - Exception in fn verify_assoc() ERROR - Exception details: Failed to get init_list -------------------------------------------------------------------- ServiceAffectsElement - 02_reverse.py: FAIL 02_reverse.py:47: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - Exception : 'LXC_DisplayController' -------------------------------------------------------------------- SettingsDefine - 01_forward.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable start dom 'domu1' -------------------------------------------------------------------- SettingsDefine - 02_reverse.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable start dom 'virtgst' -------------------------------------------------------------------- SettingsDefine - 03_sds_fwd_errs.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to start the dom: domu1 -------------------------------------------------------------------- SettingsDefine - 04_sds_rev_errs.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to start the dom: domu1 -------------------------------------------------------------------- SettingsDefineCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 04_forward_vsmsdata.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 05_reverse_vsmcap.py: PASS -------------------------------------------------------------------- SystemDevice - 01_forward.py: FAIL 01_forward.py:29: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to start domain test_domain -------------------------------------------------------------------- SystemDevice - 02_reverse.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to start domain test_domain -------------------------------------------------------------------- SystemDevice - 03_fwderrs.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to start the domain 'virt1' -------------------------------------------------------------------- VSSD - 01_enum.py: PASS -------------------------------------------------------------------- VSSD - 02_bootldr.py: SKIP -------------------------------------------------------------------- VSSD - 03_vssd_gi_errs.py: PASS -------------------------------------------------------------------- VSSD - 04_vssd_to_rasd.py: PASS -------------------------------------------------------------------- VSSD - 05_set_uuid.py: PASS -------------------------------------------------------------------- VSSD - 06_duplicate_uuid.py: PASS -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 01_definesystem_name.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to start the defined domain: test_domain -------------------------------------------------------------------- VirtualSystemManagementService - 02_destroysystem.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to start the domain 'test_domain' -------------------------------------------------------------------- VirtualSystemManagementService - 03_definesystem_ess.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 04_definesystem_ers.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 05_destroysystem_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 06_addresource.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 07_addresource_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 08_modifyresource.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 09_procrasd_persist.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 10_hv_version.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 11_define_memrasdunits.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 12_referenced_config.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 13_refconfig_additional_devs.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 14_define_sys_disk.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 15_mod_system_settings.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 16_removeresource.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 17_removeresource_neg.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 18_define_sys_bridge.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 19_definenetwork_ers.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 20_verify_vnc_password.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to start the dom: vncpasswd_domain ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain `vncpasswd_domain' does not exist: Domain not found with return code 6 InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain `vncpasswd_domain' does not exist: Domain not found -------------------------------------------------------------------- VirtualSystemManagementService - 21_createVS_verifyMAC.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Exception details: Failed to start the defined domain: dom_mac_notspecified -------------------------------------------------------------------- VirtualSystemManagementService - 22_addmulti_brg_interface.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationService - 01_migratable_host.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 01_forward.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 02_reverse.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Failed to start the dom: VSSDC_dom -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to start domain domu1 -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to start domain domu1 -------------------------------------------------------------------- VirtualSystemSnapshotService - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 3, expected 2. ERROR - Exception: Failed to start the defined domain: snapshot_vm ERROR - Failed to remove snapshot file for snapshot_vm -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: PASS -------------------------------------------------------------------- From kaitlin at linux.vnet.ibm.com Fri Nov 6 23:57:25 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 06 Nov 2009 15:57:25 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Fix VSMS 23 to not start a second Xen guest In-Reply-To: <3f334de6a0713170a649.1255986963@elm3b41.beaverton.ibm.com> References: <3f334de6a0713170a649.1255986963@elm3b41.beaverton.ibm.com> Message-ID: <4AF4B7E5.50102@linux.vnet.ibm.com> This test is no longer failing on RHEL 5.4 systems. It's likely that this patch is not needed. Please ignore this for now. Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1255986945 25200 > # Node ID 3f334de6a0713170a64990ba0ad21d7591ab8349 > # Parent 4047a548c85f56c139dc32cbf6953337a0789482 > [TEST] Fix VSMS 23 to not start a second Xen guest > > See the comment in the test - starting a second guest is valid for KVM guests, > but not for Xen guests. > > Signed-off-by: Kaitlin Rupert > > diff -r 4047a548c85f -r 3f334de6a071 suites/libvirt-cim/cimtest/VirtualSystemManagementService/23_verify_duplicate_mac_err.py > --- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/23_verify_duplicate_mac_err.py Mon Oct 19 13:48:31 2009 -0700 > +++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/23_verify_duplicate_mac_err.py Mon Oct 19 14:15:45 2009 -0700 > @@ -50,7 +50,7 @@ > cxml.undefine(ip) > destroy_netpool(ip, virt, npool_name) > > -def start_dom(cxml,ip,dom): > +def start_dom(cxml, ip, dom, virt): > ret = cxml.cim_define(ip) > if not ret: > status = cxml.verify_error_msg(exp_rc, exp_desc) > @@ -58,6 +58,12 @@ > raise Exception("Got unexpected rc code %s and description %s" > % (cxml.err_rc, cxml.err_desc)) > return FAIL > + > + #Xen will return an error about how the image is already in use > + #Because of this, this test isn't valid with Xen guests > + if virt == 'Xen' or virt == 'XenFV': > + return PASS > + > ret = cxml.cim_start(ip) > if ret: > status = cxml.verify_error_msg(exp_rc, exp_desc) > @@ -81,7 +87,7 @@ > cxml = get_class(options.virt)(default_dom, mac=nmac, > ntype=ntype, net_name=npool_name) > try: > - status = start_dom(cxml, options.ip, default_dom) > + status = start_dom(cxml, options.ip, default_dom, options.virt) > if status == FAIL: > raise Exception("Starting %s domain failed, got unexpeceted rc" > "code %s and description %s" % (default_dom, > @@ -95,12 +101,14 @@ > sxml = get_class(options.virt)(test_dom, mac=nmac, > ntype=ntype, net_name=npool_name) > try: > - status = start_dom(sxml, options.ip, test_dom) > + status = start_dom(sxml, options.ip, test_dom, options.virt) > > - if status == PASS: > + #start_dom() passes because it doesn't attempt to start a guest > + if status == PASS and options.virt != 'Xen' \ > + and options.virt != 'XenFV': > sxml.cim_destroy(options.ip) > sxml.undefine(options.ip) > - raise Exception("Was able to create two domains with" > + raise Exception("Was able to create two domains with " > "Conflicting MAC Addresses") > > service = get_vsms_class(options.virt)(options.ip) > > _______________________________________________ > Libvirt-cim mailing list > Libvirt-cim at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-cim -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Mon Nov 9 19:31:13 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Mon, 09 Nov 2009 11:31:13 -0800 Subject: [Libvirt-cim] Test Run Summary (Nov 09 2009): KVM on Fedora release 10 (Cambridge) with Pegasus Message-ID: <4AF86E01.6070409@linux.vnet.ibm.com> ================================================= Test Run Summary (Nov 09 2009): KVM on Fedora release 10 (Cambridge) with Pegasus ================================================= Distro: Fedora release 10 (Cambridge) Kernel: 2.6.27.21-170.2.56.fc10.i686 libvirt: 0.5.1 Hypervisor: QEMU 0.9.1 CIMOM: Pegasus 2.7.1 Libvirt-cim revision: 853 Libvirt-cim changeset: 8bb1100e5bd2 Cimtest revision: 794 Cimtest changeset: 3cab35af3919 Total test execution: Unknown ================================================= FAIL : 8 XFAIL : 4 SKIP : 29 PASS : 137 ----------------- Total : 178 ================================================= FAIL Test Summary: ComputerSystem - 34_start_disable.py: FAIL ComputerSystemIndication - 01_created_indication.py: FAIL VirtualSystemManagementService - 09_procrasd_persist.py: FAIL VirtualSystemManagementService - 11_define_memrasdunits.py: FAIL VirtualSystemManagementService - 12_referenced_config.py: FAIL VirtualSystemManagementService - 14_define_sys_disk.py: FAIL VirtualSystemManagementService - 15_mod_system_settings.py: FAIL VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: FAIL ================================================= XFAIL Test Summary: ComputerSystem - 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 ERROR - NameError : global name 'SKIP' is not defined return SKIP NameError: global name 'SKIP' is not defined ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP LogicalDisk - 02_nodevs.py: SKIP RASD - 06_parent_net_pool.py: SKIP RASD - 07_parent_disk_pool.py: SKIP RASDIndications - 01_guest_states_rasd_ind.py: SKIP RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: SKIP ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP ResourcePoolConfigurationService - 07_DeleteResourcePool.py: SKIP ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: SKIP ResourcePoolConfigurationService - 09_DeleteDiskPool.py: SKIP ResourcePoolConfigurationService - 10_create_storagevolume.py: SKIP ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: SKIP ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: SKIP ResourcePoolConfigurationService - 13_delete_storagevolume.py: SKIP ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: SKIP VSSD - 02_bootldr.py: SKIP VSSD - 05_set_uuid.py: SKIP VSSD - 06_duplicate_uuid.py: SKIP VirtualSystemManagementService - 20_verify_vnc_password.py: SKIP VirtualSystemMigrationService - 01_migratable_host.py: SKIP VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: SKIP ================================================= Full report: -------------------------------------------------------------------- AllocationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- AllocationCapabilities - 02_alloccap_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 01_enum.py: PASS -------------------------------------------------------------------- ComputerSystem - 02_nosystems.py: SKIP ERROR - System has defined domains; unable to run -------------------------------------------------------------------- ComputerSystem - 03 _defineVS.py:PASS-- -- ---------------------------------------------------------------- ComputerSystem - 04_defineStartVS.py: PASS -------------------------------------------------------------------- ComputerSystem - 05_activate_defined_start.py: PASS -------------------------------------------------------------------- ComputerSystem - 06_paused_active_suspend.py: PASS -------------------------------------------------------------------- ComputerSystem - 22_define_suspend.py: PASS -------------------------------------------------------------------- ComputerSystem - 23_pause_pause.py: PASS -------------------------------------------------------------------- ComputerSystem - 27_define_pause_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 32_start_reboot.py: XFAIL ERROR - Got CIM error CIM_ERR_FAILED: Unable to reboot domain: this function is not supported by the hypervisor: virDomainReboot with return code 1 ERROR - Exception: Unable reboot dom 'cs_test_domain' InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to reboot domain: this function is not supported by the hypervisor: virDomainReboot Bug:<00005> -------------------------------------------------------------------- ComputerSystem - 33_suspend_reboot.py: XFAIL ERROR - Got CIM error CIM_ERR_NOT_SUPPORTED: State not supported with return code 7 ERROR - Exception: Unable Suspend dom 'test_domain' InvokeMethod(RequestStateChange): CIM_ERR_NOT_SUPPORTED: State not supported Bug:<00012> -------------------------------------------------------------------- ComputerSystem - 34_start_disable.py: FAIL ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: EnabledState is 2, expected 3. ERROR - Unable to check guest state ERROR - Exception: Unable disable dom 'cs_test_domain' -------------------------------------------------------------------- ComputerSystem - 35_start_reset.py: PASS -------------------------------------------------------------------- ComputerSystem - 40_RSC_start.py: PASS -------------------------------------------------------------------- ComputerSystem - 41_cs_to_settingdefinestate.py: PASS -------------------------------------------------------------------- ComputerSystem - 42_cs_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystemIndication - 01_created_indication.py: FAIL ERROR - NameError : global name 'SKIP' is not defined Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 139, in do_try File "01_created_indication.py", line 146, in main return SKIP NameError: global name 'SKIP' is not defined ERROR - None -------------------------------------------------------------------- ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP -------------------------------------------------------------------- ElementAllocatedFromPool - 01_forward.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 02_reverse.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 03_reverse_errs.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 04_forward_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- ElementCapabilities - 02_reverse.py: PASS -------------------------------------------------------------------- ElementCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 05_hostsystem_cap.py: PASS -------------------------------------------------------------------- ElementConforms - 01_forward.py: PASS -------------------------------------------------------------------- ElementConforms - 02_reverse.py: PASS -------------------------------------------------------------------- ElementConforms - 03_ectp_fwd_errs.py: PASS -------------------------------------------------------------------- ElementConforms - 04_ectp_rev_errs.py: PASS -------------------------------------------------------------------- ElementSettingData - 01_forward.py: PASS -------------------------------------------------------------------- ElementSettingData - 03_esd_assoc_with_rasd_errs.py: PASS -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: PASS -------------------------------------------------------------------- HostSystem - 01_enum.py: PASS -------------------------------------------------------------------- HostSystem - 02_hostsystem_to_rasd.py: PASS -------------------------------------------------------------------- HostSystem - 03_hs_to_settdefcap.py: PASS -------------------------------------------------------------------- HostSystem - 04_hs_to_EAPF.py: PASS -------------------------------------------------------------------- HostSystem - 05_hs_gi_errs.py: PASS -------------------------------------------------------------------- HostSystem - 06_hs_to_vsms.py: PASS -------------------------------------------------------------------- HostedAccessPoint - 01_forward.py: PASS -------------------------------------------------------------------- HostedAccessPoint - 02_reverse.py: PASS -------------------------------------------------------------------- HostedDependency - 01_forward.py: PASS -------------------------------------------------------------------- HostedDependency - 02_reverse.py: PASS -------------------------------------------------------------------- HostedDependency - 03_enabledstate.py: PASS -------------------------------------------------------------------- HostedDependency - 04_reverse_errs.py: PASS -------------------------------------------------------------------- HostedResourcePool - 01_forward.py: PASS -------------------------------------------------------------------- HostedResourcePool - 02_reverse.py: PASS -------------------------------------------------------------------- HostedResourcePool - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedResourcePool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- HostedService - 01_forward.py: PASS -------------------------------------------------------------------- HostedService - 02_reverse.py: PASS -------------------------------------------------------------------- HostedService - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedService - 04_reverse_errs.py: PASS -------------------------------------------------------------------- KVMRedirectionSAP - 01_enum_KVMredSAP.py: PASS -------------------------------------------------------------------- LogicalDisk - 01_disk.py: PASS -------------------------------------------------------------------- LogicalDisk - 02_nodevs.py: SKIP ERROR - System has defined domains; unable to run -------------------------------------------------------------------- LogicalDisk - 03_ld_gi_errs.py: PASS -------------------------------------------------------------------- Memory - 01_memory.py: PASS -------------------------------------------------------------------- Memory - 02_defgetmem.py: PASS -------------------------------------------------------------------- Memory - 03_mem_gi_errs.py: PASS -------------------------------------------------------------------- NetworkPort - 01_netport.py: PASS -------------------------------------------------------------------- NetworkPort - 02_np_gi_errors.py: PASS -------------------------------------------------------------------- NetworkPort - 03_user_netport.py: PASS -------------------------------------------------------------------- Processor - 01_processor.py: PASS -------------------------------------------------------------------- Processor - 02_definesys_get_procs.py: PASS -------------------------------------------------------------------- Processor - 03_proc_gi_errs.py: PASS -------------------------------------------------------------------- Profile - 01_enum.py: PASS -------------------------------------------------------------------- Profile - 02_profile_to_elec.py: PASS -------------------------------------------------------------------- Profile - 03_rprofile_gi_errs.py: PASS -------------------------------------------------------------------- RASD - 01_verify_rasd_fields.py: PASS -------------------------------------------------------------------- RASD - 02_enum.py: PASS -------------------------------------------------------------------- RASD - 03_rasd_errs.py: PASS -------------------------------------------------------------------- RASD - 04_disk_rasd_size.py: PASS -------------------------------------------------------------------- RASD - 05_disk_rasd_emu_type.py: PASS -------------------------------------------------------------------- RASD - 06_parent_net_pool.py: SKIP ERROR - NetworkPool template RASDs not supported. Supported in version 867. -------------------------------------------------------------------- RASD - 07_parent_disk_pool.py: SKIP ERROR - DiskPool template RASDs not supported. Supported in version 863. -------------------------------------------------------------------- RASDIndications - 01_guest_states_rasd_ind.py: SKIP -------------------------------------------------------------------- RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: SKIP -------------------------------------------------------------------- RedirectionService - 01_enum_crs.py: PASS -------------------------------------------------------------------- RedirectionService - 02_enum_crscap.py: PASS -------------------------------------------------------------------- RedirectionService - 03_RedirectionSAP_errs.py: PASS -------------------------------------------------------------------- ReferencedProfile - 01_verify_refprof.py: PASS -------------------------------------------------------------------- ReferencedProfile - 02_refprofile_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 01_forward.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 02_reverse.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 03_forward_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 05_RAPF_err.py: PASS -------------------------------------------------------------------- ResourcePool - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePool - 02_rp_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 02_rcps_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 03_CreateResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP ERROR - NetworkPool template RASDs not supported. Supported in version 867. ERROR - Error in networkpool creation -------------------------------------------------------------------- ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 07_DeleteResourcePool.py: SKIP ERROR - NetworkPool template RASDs not supported. Supported in version 867. ERROR - Error in networkpool creation -------------------------------------------------------------------- ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: SKIP ERROR - DiskPool template RASDs not supported. Supported in version 863. ERROR - Exception details: Failed to create 'DISK_POOL_DIR' type diskpool 'DISK_POOL_DIR' -------------------------------------------------------------------- ResourcePoolConfigurationService - 09_DeleteDiskPool.py: SKIP ERROR - DiskPool template RASDs not supported. Supported in version 863. ERROR - Failed to create diskpool 'dp_pool' -------------------------------------------------------------------- ResourcePoolConfigurationService - 10_create_storagevolume.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: SKIP ERROR - DiskPool template RASDs not supported. Supported in version 863. ERROR - Failed to create pool 'NETFS_POOL' -------------------------------------------------------------------- ResourcePoolConfigurationService - 13_delete_storagevolume.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: SKIP -------------------------------------------------------------------- ServiceAccessBySAP - 01_forward.py: PASS -------------------------------------------------------------------- ServiceAccessBySAP - 02_reverse.py: PASS -------------------------------------------------------------------- ServiceAffectsElement - 01_forward.py: PASS -------------------------------------------------------------------- ServiceAffectsElement - 02_reverse.py: PASS -------------------------------------------------------------------- SettingsDefine - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefine - 02_reverse.py: PASS -------------------------------------------------------------------- SettingsDefine - 03_sds_fwd_errs.py: PASS -------------------------------------------------------------------- SettingsDefine - 04_sds_rev_errs.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 04_forward_vsmsdata.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 05_reverse_vsmcap.py: PASS -------------------------------------------------------------------- SystemDevice - 01_forward.py: PASS -------------------------------------------------------------------- SystemDevice - 02_reverse.py: PASS -------------------------------------------------------------------- SystemDevice - 03_fwderrs.py: PASS -------------------------------------------------------------------- VSSD - 01_enum.py: PASS -------------------------------------------------------------------- VSSD - 02_bootldr.py: SKIP -------------------------------------------------------------------- VSSD - 03_vssd_gi_errs.py: PASS -------------------------------------------------------------------- VSSD - 04_vssd_to_rasd.py: PASS -------------------------------------------------------------------- VSSD - 05_set_uuid.py: SKIP -------------------------------------------------------------------- VSSD - 06_duplicate_uuid.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 01_definesystem_name.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 02_destroysystem.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 03_definesystem_ess.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 04_definesystem_ers.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 05_destroysystem_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 06_addresource.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 07_addresource_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 08_modifyresource.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 09_procrasd_persist.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: ResourceSettings Error: Missing `VirtualQuantity' field in Processor RASD with return code 1 ERROR - Unable to define procrasd_persist_dom InvokeMethod(DefineSystem): CIM_ERR_FAILED: ResourceSettings Error: Missing `VirtualQuantity' field in Processor RASD -------------------------------------------------------------------- VirtualSystemManagementService - 10_hv_version.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 11_define_memrasdunits.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: ResourceSettings Error: Missing `VirtualQuantity' field in Memory RASD with return code 1 ERROR - DefineSystem with (Bytes) units failed InvokeMethod(DefineSystem): CIM_ERR_FAILED: ResourceSettings Error: Missing `VirtualQuantity' field in Memory RASD -------------------------------------------------------------------- VirtualSystemManagementService - 12_referenced_config.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: ResourceSettings Error: Missing `VirtualDevice' property with return code 1 ERROR - Unable to define rstest_domain2 using DefineSystem() ERROR - Unable to define rstest_domain2 InvokeMethod(DefineSystem): CIM_ERR_FAILED: ResourceSettings Error: Missing `VirtualDevice' property -------------------------------------------------------------------- VirtualSystemManagementService - 13_refconfig_additional_devs.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 14_define_sys_disk.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: ResourceSettings Error: Missing `VirtualDevice' property with return code 1 ERROR - Unable to define rstest_disk_domain InvokeMethod(DefineSystem): CIM_ERR_FAILED: ResourceSettings Error: Missing `VirtualDevice' property -------------------------------------------------------------------- VirtualSystemManagementService - 15_mod_system_settings.py: FAIL ERROR - (12, u'CIM_ERR_NO_SUCH_PROPERTY: Missing VirtualSystemIdentifier') InvokeMethod(ModifySystemSettings): CIM_ERR_NO_SUCH_PROPERTY: Missing VirtualSystemIdentifier -------------------------------------------------------------------- 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: SKIP -------------------------------------------------------------------- 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: this device type cannot be attached') ERROR - Failed to destroy Virtual Network 'my_network1' InvokeMethod(AddResourceSettings): CIM_ERR_FAILED: Unable to change (0) device: this function is not supported by the hypervisor: this device type cannot be attached Bug:<00015> -------------------------------------------------------------------- VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: FAIL ERROR - Was able to create two domains withConflicting MAC Addresses -------------------------------------------------------------------- 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 -------------------------------------------------------------------- -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Mon Nov 9 21:39:49 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Mon, 09 Nov 2009 13:39:49 -0800 Subject: [Libvirt-cim] Test Run Summary (Nov 09 2009): KVM on Fedora release 10 (Cambridge) with Pegasus In-Reply-To: <4AF86E01.6070409@linux.vnet.ibm.com> References: <4AF86E01.6070409@linux.vnet.ibm.com> Message-ID: <4AF88C25.7070406@linux.vnet.ibm.com> > -------------------------------------------------------------------- > ComputerSystem - 34_start_disable.py: FAIL The cimtest image doesn't support reboot - older versions of libvirt-cim attempted to reboot guests on a disable call (instead of powering them down immediately). This test should skip with KVM guests and older versions of libvirt-cim. Will send a patch to fix this. > ERROR - Unable to check guest state > ERROR - Exception: EnabledState is 2, expected 3. > ERROR - Unable to check guest state > ERROR - Exception: Unable disable dom 'cs_test_domain' > -------------------------------------------------------------------- > -------------------------------------------------------------------- > ComputerSystemIndication - 01_created_indication.py: FAIL > ERROR - NameError : global name 'SKIP' is not defined > Traceback (most recent call last): > File "./lib/XenKvmLib/const.py", line 139, in do_try > File "01_created_indication.py", line 146, in main > return SKIP I had to force this test to skip. Otherwise, it was causing the server to seg fault. This was due to a improperly configured system. > NameError: global name 'SKIP' is not defined > ERROR - None > -------------------------------------------------------------------- > -------------------------------------------------------------------- > VirtualSystemManagementService - 09_procrasd_persist.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: ResourceSettings Error: Missing > `VirtualQuantity' field in Processor RASD with return code 1 > ERROR - Unable to define procrasd_persist_dom > InvokeMethod(DefineSystem): CIM_ERR_FAILED: ResourceSettings Error: > Missing `VirtualQuantity' field in Processor RASD This was due to an outdated version of pywbem. Updating pywbem fixed this issue. > -------------------------------------------------------------------- > -------------------------------------------------------------------- > VirtualSystemManagementService - 11_define_memrasdunits.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: ResourceSettings Error: Missing > `VirtualQuantity' field in Memory RASD with return code 1 > ERROR - DefineSystem with (Bytes) units failed > InvokeMethod(DefineSystem): CIM_ERR_FAILED: ResourceSettings Error: > Missing `VirtualQuantity' field in Memory RASD This was due to an outdated version of pywbem. Updating pywbem fixed this issue. > -------------------------------------------------------------------- > VirtualSystemManagementService - 12_referenced_config.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: ResourceSettings Error: Missing > `VirtualDevice' property with return code 1 > ERROR - Unable to define rstest_domain2 using DefineSystem() > ERROR - Unable to define rstest_domain2 > InvokeMethod(DefineSystem): CIM_ERR_FAILED: ResourceSettings Error: > Missing `VirtualDevice' property This was due to an outdated version of pywbem. Updating pywbem fixed this issue. > -------------------------------------------------------------------- > -------------------------------------------------------------------- > VirtualSystemManagementService - 14_define_sys_disk.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: ResourceSettings Error: Missing > `VirtualDevice' property with return code 1 > ERROR - Unable to define rstest_disk_domain > InvokeMethod(DefineSystem): CIM_ERR_FAILED: ResourceSettings Error: > Missing `VirtualDevice' property This was due to an outdated version of pywbem. Updating pywbem fixed this issue. > -------------------------------------------------------------------- > VirtualSystemManagementService - 15_mod_system_settings.py: FAIL > ERROR - (12, u'CIM_ERR_NO_SUCH_PROPERTY: Missing > VirtualSystemIdentifier') > InvokeMethod(ModifySystemSettings): CIM_ERR_NO_SUCH_PROPERTY: Missing > VirtualSystemIdentifier The cimtest image doesn't support reboot - older versions of libvirt-cim attempted to reboot guests on a disable call (instead of powering them down immediately). This test should skip with KVM guests and older versions of libvirt-cim. Will send a patch to fix this. > -------------------------------------------------------------------- > -------------------------------------------------------------------- > VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: FAIL > ERROR - Was able to create two domains withConflicting MAC Addresses This test is intended to test functionality in provider sets newer than 929. For older provider sets, this should SKIP. > -------------------------------------------------------------------- -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Mon Nov 9 21:46:55 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Mon, 09 Nov 2009 13:46:55 -0800 Subject: [Libvirt-cim] Test Run Summary (Nov 06 2009): LXC on Fedora release 12 (Constantine) with Pegasus In-Reply-To: <200911062315.nA6NFbdo002407@d01av04.pok.ibm.com> References: <200911062315.nA6NFbdo002407@d01av04.pok.ibm.com> Message-ID: <4AF88DCF.2020200@linux.vnet.ibm.com> > -------------------------------------------------------------------- > ComputerSystem - 04_defineStartVS.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Failed to define domain: operation failed: domain 'domguest' is already defined with uuid 6aacf333-a20c-442e-8855-6964159a6f99 with return code 1 > ERROR - Unable to define domguest > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Failed to define domain: operation failed: domain 'domguest' is already defined with uuid 6aacf333-a20c-442e-8855-6964159a6f99 This occurs because a guest with the name "domguest" already is defined. Either you had this guest defined prior to running the test suite, or one of the tests isn't cleaning up properly. Can you look into this? > -------------------------------------------------------------------- > ComputerSystem - 05_activate_defined_start.py: FAIL > ERROR - Unable to check guest state > ERROR - Exception: EnabledState is 3, expected 2. > ERROR - Unable to check guest state > ERROR - Exception: Unable start dom 'DomST1' This is caused because the guest isn't starting as expected. With Containers guests, this is often because the guest crashes / terminated immediately after starting. Can you check this as well? > -------------------------------------------------------------------- Thanks! -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Mon Nov 9 21:59:32 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Mon, 09 Nov 2009 13:59:32 -0800 Subject: [Libvirt-cim] Test Run Summary (Nov 09 2009): KVM on Fedora release 10 (Cambridge) with Pegasus Message-ID: <4AF890C4.6030002@linux.vnet.ibm.com> ================================================= Test Run Summary (Nov 09 2009): KVM on Fedora release 10 (Cambridge) with Pegasus ================================================= Distro: Fedora release 10 (Cambridge) Kernel: 2.6.27.21-170.2.56.fc10.i686 libvirt: 0.5.1 Hypervisor: QEMU 0.9.1 CIMOM: Pegasus 2.7.1 Libvirt-cim revision: 853 Libvirt-cim changeset: 8bb1100e5bd2 Cimtest revision: 796 Cimtest changeset: 2489a1776bb6 Total test execution: Unknown ================================================= FAIL : 2 XFAIL : 5 SKIP : 26 PASS : 142 ----------------- Total : 175 ================================================= FAIL Test Summary: ComputerSystemIndication - 01_created_indication.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: ComputerSystem - 34_start_disable.py: SKIP ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP RASD - 06_parent_net_pool.py: SKIP RASD - 07_parent_disk_pool.py: SKIP RASDIndications - 01_guest_states_rasd_ind.py: SKIP RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: SKIP ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP ResourcePoolConfigurationService - 07_DeleteResourcePool.py: SKIP ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: SKIP ResourcePoolConfigurationService - 09_DeleteDiskPool.py: SKIP ResourcePoolConfigurationService - 10_create_storagevolume.py: SKIP ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: SKIP ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: SKIP ResourcePoolConfigurationService - 13_delete_storagevolume.py: SKIP ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: SKIP VSSD - 02_bootldr.py: SKIP VSSD - 05_set_uuid.py: SKIP VSSD - 06_duplicate_uuid.py: SKIP VirtualSystemManagementService - 20_verify_vnc_password.py: SKIP VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: SKIP VirtualSystemMigrationService - 01_migratable_host.py: SKIP VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: SKIP ================================================= Full report: -------------------------------------------------------------------- AllocationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- AllocationCapabilities - 02_alloccap_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 01_enum.py: PASS -------------------------------------------------------------------- ComputerSystem - 02_nosystems.py: PASS -------------------------------------------------------------------- ComputerSystem - 03_defineVS.py: PASS -------------------------------------------------------------------- ComputerSystem - 04_defineStartVS.py: 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: SKIP -------------------------------------------------------------------- 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 - Waited too long for start indication ERROR - Waited too long for destroy indication -------------------------------------------------------------------- ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP -------------------------------------------------------------------- ElementAllocatedFromPool - 01_forward.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 02_reverse.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 03_reverse_errs.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 04_forward_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- ElementCapabilities - 02_reverse.py: PASS -------------------------------------------------------------------- ElementCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 05_hostsystem_cap.py: PASS -------------------------------------------------------------------- ElementConforms - 01_forward.py: PASS -------------------------------------------------------------------- ElementConforms - 02_reverse.py: PASS -------------------------------------------------------------------- ElementConforms - 03_ectp_fwd_errs.py: PASS -------------------------------------------------------------------- ElementConforms - 04_ectp_rev_errs.py: PASS -------------------------------------------------------------------- ElementSettingData - 01_forward.py: PASS -------------------------------------------------------------------- ElementSettingData - 03_esd_assoc_with_rasd_errs.py: PASS -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: PASS -------------------------------------------------------------------- HostSystem - 01_enum.py: PASS -------------------------------------------------------------------- HostSystem - 02_hostsystem_to_rasd.py: PASS -------------------------------------------------------------------- HostSystem - 03_hs_to_settdefcap.py: PASS -------------------------------------------------------------------- HostSystem - 04_hs_to_EAPF.py: PASS -------------------------------------------------------------------- HostSystem - 05_hs_gi_errs.py: PASS -------------------------------------------------------------------- HostSystem - 06_hs_to_vsms.py: PASS -------------------------------------------------------------------- HostedAccessPoint - 01_forward.py: PASS -------------------------------------------------------------------- HostedAccessPoint - 02_reverse.py: PASS -------------------------------------------------------------------- HostedDependency - 01_forward.py: PASS -------------------------------------------------------------------- HostedDependency - 02_reverse.py: PASS -------------------------------------------------------------------- HostedDependency - 03_enabledstate.py: PASS -------------------------------------------------------------------- HostedDependency - 04_reverse_errs.py: PASS -------------------------------------------------------------------- HostedResourcePool - 01_forward.py: PASS -------------------------------------------------------------------- HostedResourcePool - 02_reverse.py: PASS -------------------------------------------------------------------- HostedResourcePool - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedResourcePool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- HostedService - 01_forward.py: PASS -------------------------------------------------------------------- HostedService - 02_reverse.py: PASS -------------------------------------------------------------------- HostedService - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedService - 04_reverse_errs.py: PASS -------------------------------------------------------------------- KVMRedirectionSAP - 01_enum_KVMredSAP.py: PASS -------------------------------------------------------------------- LogicalDisk - 01_disk.py: PASS -------------------------------------------------------------------- LogicalDisk - 02_nodevs.py: PASS -------------------------------------------------------------------- LogicalDisk - 03_ld_gi_errs.py: PASS -------------------------------------------------------------------- Memory - 01_memory.py: PASS -------------------------------------------------------------------- Memory - 02_defgetmem.py: PASS -------------------------------------------------------------------- Memory - 03_mem_gi_errs.py: PASS -------------------------------------------------------------------- NetworkPort - 01_netport.py: PASS -------------------------------------------------------------------- NetworkPort - 02_np_gi_errors.py: PASS -------------------------------------------------------------------- NetworkPort - 03_user_netport.py: PASS -------------------------------------------------------------------- Processor - 01_processor.py: PASS -------------------------------------------------------------------- Processor - 02_definesys_get_procs.py: PASS -------------------------------------------------------------------- Processor - 03_proc_gi_errs.py: PASS -------------------------------------------------------------------- Profile - 01_enum.py: PASS -------------------------------------------------------------------- Profile - 02_profile_to_elec.py: PASS -------------------------------------------------------------------- Profile - 03_rprofile_gi_errs.py: PASS -------------------------------------------------------------------- RASD - 01_verify_rasd_fields.py: PASS -------------------------------------------------------------------- RASD - 02_enum.py: PASS -------------------------------------------------------------------- RASD - 03_rasd_errs.py: PASS -------------------------------------------------------------------- RASD - 04_disk_rasd_size.py: PASS -------------------------------------------------------------------- RASD - 05_disk_rasd_emu_type.py: PASS -------------------------------------------------------------------- RASD - 06_parent_net_pool.py: SKIP ERROR - NetworkPool template RASDs not supported. Supported in version 867. -------------------------------------------------------------------- RASD - 07_parent_disk_pool.py: SKIP ERROR - DiskPool template RASDs not supported. Supported in version 863. -------------------------------------------------------------------- RASDIndications - 01_guest_states_rasd_ind.py: SKIP -------------------------------------------------------------------- RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: SKIP -------------------------------------------------------------------- RedirectionService - 01_enum_crs.py: PASS -------------------------------------------------------------------- RedirectionService - 02_enum_crscap.py: PASS -------------------------------------------------------------------- RedirectionService - 03_RedirectionSAP_errs.py: PASS -------------------------------------------------------------------- ReferencedProfile - 01_verify_refprof.py: PASS -------------------------------------------------------------------- ReferencedProfile - 02_refprofile_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 01_forward.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 02_reverse.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 03_forward_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 05_RAPF_err.py: PASS -------------------------------------------------------------------- ResourcePool - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePool - 02_rp_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 02_rcps_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 03_CreateResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP ERROR - NetworkPool template RASDs not supported. Supported in version 867. ERROR - Error in networkpool creation -------------------------------------------------------------------- ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 07_DeleteResourcePool.py: SKIP ERROR - NetworkPool template RASDs not supported. Supported in version 867. ERROR - Error in networkpool creation -------------------------------------------------------------------- ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: SKIP ERROR - DiskPool template RASDs not supported. Supported in version 863. ERROR - Exception details: Failed to create 'DISK_POOL_DIR' type diskpool 'DISK_POOL_DIR' -------------------------------------------------------------------- ResourcePoolConfigurationService - 09_DeleteDiskPool.py: SKIP ERROR - DiskPool template RASDs not supported. Supported in version 863. ERROR - Failed to create diskpool 'dp_pool' -------------------------------------------------------------------- ResourcePoolConfigurationService - 10_create_storagevolume.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: SKIP ERROR - DiskPool template RASDs not supported. Supported in version 863. ERROR - Failed to create pool 'NETFS_POOL' -------------------------------------------------------------------- ResourcePoolConfigurationService - 13_delete_storagevolume.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: SKIP -------------------------------------------------------------------- ServiceAccessBySAP - 01_forward.py: PASS -------------------------------------------------------------------- ServiceAccessBySAP - 02_reverse.py: PASS -------------------------------------------------------------------- ServiceAffectsElement - 01_forward.py: PASS -------------------------------------------------------------------- ServiceAffectsElement - 02_reverse.py: PASS -------------------------------------------------------------------- SettingsDefine - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefine - 02_reverse.py: PASS -------------------------------------------------------------------- SettingsDefine - 03_sds_fwd_errs.py: PASS -------------------------------------------------------------------- SettingsDefine - 04_sds_rev_errs.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 04_forward_vsmsdata.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 05_reverse_vsmcap.py: PASS -------------------------------------------------------------------- SystemDevice - 01_forward.py: PASS -------------------------------------------------------------------- SystemDevice - 02_reverse.py: PASS -------------------------------------------------------------------- SystemDevice - 03_fwderrs.py: PASS -------------------------------------------------------------------- VSSD - 01_enum.py: PASS -------------------------------------------------------------------- VSSD - 02_bootldr.py: SKIP -------------------------------------------------------------------- VSSD - 03_vssd_gi_errs.py: PASS -------------------------------------------------------------------- VSSD - 04_vssd_to_rasd.py: PASS -------------------------------------------------------------------- VSSD - 05_set_uuid.py: SKIP -------------------------------------------------------------------- VSSD - 06_duplicate_uuid.py: SKIP -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 01_definesystem_name.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 02_destroysystem.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 03_definesystem_ess.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 04_definesystem_ers.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 05_destroysystem_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 06_addresource.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 07_addresource_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 08_modifyresource.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 09_procrasd_persist.py: 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: SKIP -------------------------------------------------------------------- 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: this device type cannot be attached') ERROR - Failed to destroy Virtual Network 'my_network1' InvokeMethod(AddResourceSettings): CIM_ERR_FAILED: Unable to change (0) device: this function is not supported by the hypervisor: this device type cannot be attached Bug:<00015> -------------------------------------------------------------------- VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: SKIP ERROR - Test only valid with provider version > 929 -------------------------------------------------------------------- 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: (1, u'CIM_ERR_FAILED: Unable to parse embedded object') ERROR - Failed to remove snapshot file for snapshot_vm InvokeMethod(CreateSnapshot): CIM_ERR_FAILED: Unable to parse embedded object -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: PASS -------------------------------------------------------------------- -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Mon Nov 9 22:08:00 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Mon, 09 Nov 2009 22:08:00 -0000 Subject: [Libvirt-cim] [PATCH] [TEST] Fix CS 34 to SKIP if virt type is KVM and providers are old Message-ID: <72072bf8e9b0511d69dc.1257804480@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1257801892 28800 # Node ID 72072bf8e9b0511d69dc308f2174dea3cb797a6c # Parent 55c3c3f3bc77c9946f61997de87547e99c21e38a [TEST] Fix CS 34 to SKIP if virt type is KVM and providers are old... When they are older than revision 945. The cimtest image doesn't support reboot; older versions of libvirt-cim attempted to reboot guests on a disable call (instead of powering them down immediately). This fix does a virsh destroy on the guest (for older provider sets only). Signed-off-by: Kaitlin Rupert diff -r 55c3c3f3bc77 -r 72072bf8e9b0 suites/libvirt-cim/cimtest/ComputerSystem/34_start_disable.py --- a/suites/libvirt-cim/cimtest/ComputerSystem/34_start_disable.py Tue Nov 03 10:37:35 2009 -0800 +++ b/suites/libvirt-cim/cimtest/ComputerSystem/34_start_disable.py Mon Nov 09 13:24:52 2009 -0800 @@ -37,7 +37,7 @@ from CimTest.Globals import logger from XenKvmLib.const import do_main, CIM_ENABLE, CIM_DISABLE, \ get_provider_version -from CimTest.ReturnCodes import PASS, FAIL +from CimTest.ReturnCodes import PASS, FAIL, SKIP from XenKvmLib.vxml import get_class sup_types = ['Xen', 'XenFV', 'KVM', 'LXC'] @@ -54,6 +54,16 @@ virt = options.virt try: + rev, changeset = get_provider_version(virt, server) + if rev >= disable_change_rev: + exp_state = CIM_DISABLE + else: + if options.virt == "KVM": + logger.info("cimtest's KVM guest imagedoesn't support reboot") + return SKIP + exp_state = CIM_ENABLE + + status = cxml.check_guest_state(server, exp_state) cxml = get_class(virt)(default_dom) ret = cxml.cim_define(server) if not ret: @@ -67,12 +77,6 @@ if status != PASS: raise Exception("Unable disable dom '%s'" % default_dom) - rev, changeset = get_provider_version(virt, server) - if rev >= disable_change_rev: - exp_state = CIM_DISABLE - else: - exp_state = CIM_ENABLE - status = cxml.check_guest_state(server, exp_state) if status != PASS: raise Exception("%s not in expected state %d" % \ From kaitlin at linux.vnet.ibm.com Mon Nov 9 22:08:35 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Mon, 09 Nov 2009 22:08:35 -0000 Subject: [Libvirt-cim] [PATCH] [TEST] Fix VSMS 15 to work with KVM guests and old providers Message-ID: <9b3156cd8d1a72573531.1257804515@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1257801892 28800 # Node ID 9b3156cd8d1a72573531f23cd3e0907d71685c34 # Parent 72072bf8e9b0511d69dc308f2174dea3cb797a6c [TEST] Fix VSMS 15 to work with KVM guests and old providers The cimtest image doesn't support reboot; older versions of libvirt-cim attempted to reboot guests on a disable call (instead of powering them down immediately). This fix does a virsh destroy on the guest (for older provider sets only). Signed-off-by: Kaitlin Rupert diff -r 72072bf8e9b0 -r 9b3156cd8d1a suites/libvirt-cim/cimtest/VirtualSystemManagementService/15_mod_system_settings.py --- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/15_mod_system_settings.py Mon Nov 09 13:24:52 2009 -0800 +++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/15_mod_system_settings.py Mon Nov 09 13:24:52 2009 -0800 @@ -31,7 +31,8 @@ from XenKvmLib.enumclass import GetInstance from XenKvmLib.common_util import poll_for_state_change from XenKvmLib.const import get_provider_version -from XenKvmLib.xm_virt_util import domain_list, active_domain_list +from XenKvmLib.xm_virt_util import domain_list, active_domain_list, \ + destroy_domain sup_types = ['Xen', 'KVM', 'XenFV', 'LXC'] default_dom = 'rstest_domain' @@ -42,6 +43,7 @@ f9_bug = "00010" libvirt_f9_revision=613 libvirt_modify_setting_changes = 694 +disable_change_rev = 945 def get_vssd(ip, virt, get_cim_inst): cn = get_typed_class(virt, "VirtualSystemSettingData") @@ -63,6 +65,26 @@ return PASS, inst +def power_down_guest(ip, virt, dom): + rev, changeset = get_provider_version(virt, ip) + + if rev < disable_change_rev and virt == "KVM": + rc = destroy_domain(ip, dom, virt) + if rc != 0: + return FAIL + else: + status = cxml.cim_disable(ip) + if status != PASS: + logger.error("Failed to disable %s", dom) + return FAIL + + status, cs = poll_for_state_change(ip, virt, dom, CIM_DISABLE) + if status != PASS: + logger.error("Failed to destroy %s", dom) + return FAIL + + return PASS + @do_main(sup_types) def main(): options = main.options @@ -103,14 +125,9 @@ raise Exception("Failed to modify dom: %s" % default_dom) if case == "start": - status = cxml.cim_disable(options.ip) + status = power_down_guest(options.ip, options.virt, default_dom) if status != PASS: - raise Exception("Failed to disable %s" % default_dom) - - status, cs = poll_for_state_change(options.ip, options.virt, - default_dom, CIM_DISABLE) - if status != PASS: - raise Exception("Failed to destroy %s" % default_dom) + raise Exception("Unable to disable %s" % default_dom) status, inst = get_vssd(options.ip, options.virt, False) if status != PASS: diff -r 72072bf8e9b0 -r 9b3156cd8d1a suites/libvirt-cim/lib/XenKvmLib/xm_virt_util.py --- a/suites/libvirt-cim/lib/XenKvmLib/xm_virt_util.py Mon Nov 09 13:24:52 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/xm_virt_util.py Mon Nov 09 13:24:52 2009 -0800 @@ -92,6 +92,17 @@ return int(mfm) +def destroy_domain(server, dom, virt="Xen"): + """Function to destroy given domain""" + if virt == "XenFV": + virt = "Xen" + + cmd = "virsh -c %s destroy %s" % (virt2uri(virt), dom) + ret, out = utils.run_remote(server, cmd) + print cmd, ret, out + + return ret + def domain_list(server, virt="Xen"): """Function to list all domains""" if virt == "XenFV": From kaitlin at linux.vnet.ibm.com Mon Nov 9 22:09:08 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Mon, 09 Nov 2009 22:09:08 -0000 Subject: [Libvirt-cim] [PATCH] [TEST] Fix VSMS 23 to SKIP for old provider sets Message-ID: <2489a1776bb628edb70b.1257804548@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1257802470 28800 # Node ID 2489a1776bb628edb70b4586eb6548a4e47a022b # Parent 9b3156cd8d1a72573531f23cd3e0907d71685c34 [TEST] Fix VSMS 23 to SKIP for old provider sets The duplicate MAC change was added in revision 929 - this test should skip if the provider set is older than this. Signed-off-by: Kaitlin Rupert diff -r 9b3156cd8d1a -r 2489a1776bb6 suites/libvirt-cim/cimtest/VirtualSystemManagementService/23_verify_duplicate_mac_err.py --- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/23_verify_duplicate_mac_err.py Mon Nov 09 13:24:52 2009 -0800 +++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/23_verify_duplicate_mac_err.py Mon Nov 09 13:34:30 2009 -0800 @@ -29,11 +29,12 @@ from XenKvmLib.vsms import get_vsms_class, get_nasd_class from XenKvmLib.vxml import get_class from CimTest.Globals import logger -from CimTest.ReturnCodes import FAIL, PASS +from CimTest.ReturnCodes import FAIL, PASS, SKIP from XenKvmLib.const import default_network_name, do_main from XenKvmLib.common_util import create_netpool_conf, destroy_netpool from XenKvmLib.classes import get_typed_class from XenKvmLib.enumclass import GetInstance, EnumNames +from XenKvmLib.const import get_provider_version sup_types = ['Xen', 'KVM', 'XenFV'] default_dom = 'net_domain1' @@ -44,6 +45,7 @@ exp_rc = CIM_ERR_FAILED exp_desc = "Conflicting MAC Addresses" +dup_mac_rev = 929 def cleanup_env(ip, virt, npool_name, cxml): cxml.cim_destroy(ip) @@ -72,6 +74,11 @@ def main(): options = main.options + rev, changeset = get_provider_version(options.virt, options.ip) + if rev < dup_mac_rev: + logger.error("Test only valid with provider version > %d", dup_mac_rev) + return SKIP + status, net_name = create_netpool_conf(options.ip, options.virt, use_existing=False, net_name=npool_name) From kaitlin at linux.vnet.ibm.com Tue Nov 10 02:52:48 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Mon, 09 Nov 2009 18:52:48 -0800 Subject: [Libvirt-cim] Test Run Summary (Nov 10 2009): KVM on Fedora release 11 (Leonidas) with Pegasus Message-ID: <4AF8D580.90102@linux.vnet.ibm.com> ================================================= Test Run Summary (Nov 10 2009): KVM on Fedora release 11 (Leonidas) with Pegasus ================================================= Distro: Fedora release 11 (Leonidas) Kernel: 2.6.30.9-90.fc11.x86_64 libvirt: 0.6.2 Hypervisor: QEMU 0.10.6 CIMOM: Pegasus 2.9.0 Libvirt-cim revision: 986 Libvirt-cim changeset: fac371b2f43e Cimtest revision: 797 Cimtest changeset: d340af2cb09c Total test execution: Unknown ================================================= FAIL : 15 XFAIL : 5 SKIP : 6 PASS : 147 ----------------- Total : 174 ================================================= FAIL Test Summary: ComputerSystem - 34_start_disable.py: FAIL ResourcePoolConfigurationService - 10_create_storagevolume.py: FAIL ResourcePoolConfigurationService - 13_delete_storagevolume.py: FAIL ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: FAIL VirtualSystemManagementService - 15_mod_system_settings.py: FAIL VirtualSystemManagementService - 18_define_sys_bridge.py: FAIL VirtualSystemManagementService - 19_definenetwork_ers.py: FAIL VirtualSystemManagementService - 24_define_sys_features.py: FAIL VirtualSystemMigrationService - 06_remote_live_migration.py: FAIL VirtualSystemMigrationService - 07_remote_offline_migration.py: FAIL VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: FAIL VirtualSystemSettingDataComponent - 02_reverse.py: FAIL VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: FAIL VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: FAIL VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL ================================================= XFAIL Test Summary: ComputerSystem - 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 ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP VSSD - 02_bootldr.py: SKIP VirtualSystemMigrationService - 01_migratable_host.py: SKIP VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP 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: FAIL ERROR - Exception: local variable 'cxml' referenced before assignment ERROR - UnboundLocalError : local variable 'cxml' referenced before assignment Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 139, in do_try File "34_start_disable.py", line 91, in main cxml.cim_destroy(server) UnboundLocalError: local variable 'cxml' referenced before assignment ERROR - None -------------------------------------------------------------------- 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 -------------------------------------------------------------------- KVMRedirectionSAP - 01_enum_KVMredSAP.py: PASS -------------------------------------------------------------------- LogicalDisk - 01_disk.py: PASS -------------------------------------------------------------------- LogicalDisk - 02_nodevs.py: PASS -------------------------------------------------------------------- LogicalDisk - 03_ld_gi_errs.py: PASS -------------------------------------------------------------------- Memory - 01_memory.py: PASS -------------------------------------------------------------------- Memory - 02_defgetmem.py: PASS -------------------------------------------------------------------- Memory - 03_mem_gi_errs.py: PASS -------------------------------------------------------------------- NetworkPort - 01_netport.py: PASS -------------------------------------------------------------------- NetworkPort - 02_np_gi_errors.py: PASS -------------------------------------------------------------------- NetworkPort - 03_user_netport.py: PASS -------------------------------------------------------------------- Processor - 01_processor.py: PASS -------------------------------------------------------------------- Processor - 02_definesys_get_procs.py: PASS -------------------------------------------------------------------- Processor - 03_proc_gi_errs.py: PASS -------------------------------------------------------------------- Profile - 01_enum.py: PASS -------------------------------------------------------------------- Profile - 02_profile_to_elec.py: PASS -------------------------------------------------------------------- Profile - 03_rprofile_gi_errs.py: PASS -------------------------------------------------------------------- RASD - 01_verify_rasd_fields.py: PASS -------------------------------------------------------------------- RASD - 02_enum.py: PASS -------------------------------------------------------------------- RASD - 03_rasd_errs.py: PASS -------------------------------------------------------------------- RASD - 04_disk_rasd_size.py: PASS -------------------------------------------------------------------- RASD - 05_disk_rasd_emu_type.py: PASS -------------------------------------------------------------------- RASD - 06_parent_net_pool.py: PASS -------------------------------------------------------------------- RASD - 07_parent_disk_pool.py: PASS -------------------------------------------------------------------- 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: FAIL ERROR - Exception details: (1, u'CIM_ERR_FAILED: Unable to create storage volume: invalid storage pool pointer in storage vol already exists') InvokeMethod(CreateResourceInPool): CIM_ERR_FAILED: Unable to create storage volume: invalid storage pool pointer in storage vol already exists -------------------------------------------------------------------- ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 13_delete_storagevolume.py: FAIL ERROR - Exception details: Failed to get the resource settings for 'cimtest-vol.img' Vol -------------------------------------------------------------------- ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: FAIL ERROR - Exception details: (1, u'CIM_ERR_FAILED: Unable to create storage volume: invalid storage pool pointer in storage vol already exists') InvokeMethod(CreateResourceInPool): CIM_ERR_FAILED: Unable to create storage volume: invalid storage pool pointer in storage vol already exists -------------------------------------------------------------------- ServiceAccessBySAP - 01_forward.py: PASS -------------------------------------------------------------------- ServiceAccessBySAP - 02_reverse.py: PASS -------------------------------------------------------------------- ServiceAffectsElement - 01_forward.py: PASS -------------------------------------------------------------------- ServiceAffectsElement - 02_reverse.py: PASS -------------------------------------------------------------------- SettingsDefine - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefine - 02_reverse.py: PASS -------------------------------------------------------------------- SettingsDefine - 03_sds_fwd_errs.py: PASS -------------------------------------------------------------------- SettingsDefine - 04_sds_rev_errs.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 04_forward_vsmsdata.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 05_reverse_vsmcap.py: PASS -------------------------------------------------------------------- SystemDevice - 01_forward.py: PASS -------------------------------------------------------------------- SystemDevice - 02_reverse.py: PASS -------------------------------------------------------------------- SystemDevice - 03_fwderrs.py: PASS -------------------------------------------------------------------- VSSD - 01_enum.py: PASS -------------------------------------------------------------------- VSSD - 02_bootldr.py: SKIP -------------------------------------------------------------------- VSSD - 03_vssd_gi_errs.py: PASS -------------------------------------------------------------------- VSSD - 04_vssd_to_rasd.py: PASS -------------------------------------------------------------------- VSSD - 05_set_uuid.py: PASS -------------------------------------------------------------------- VSSD - 06_duplicate_uuid.py: PASS -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 01_definesystem_name.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 02_destroysystem.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 03_definesystem_ess.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 04_definesystem_ers.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 05_destroysystem_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 06_addresource.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 07_addresource_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 08_modifyresource.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 09_procrasd_persist.py: XFAIL -------------------------------------------------------------------- VirtualSystemManagementService - 10_hv_version.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 11_define_memrasdunits.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 12_referenced_config.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 13_refconfig_additional_devs.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 14_define_sys_disk.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 15_mod_system_settings.py: FAIL ERROR - (1, u'CIM_ERR_FAILED: Unable to parse embedded object') InvokeMethod(ModifySystemSettings): CIM_ERR_FAILED: Unable to parse embedded object -------------------------------------------------------------------- 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: FAIL ERROR - Failed to create Virtual Network 'cimtest-networkpool63' ERROR - Unable to create network pool -------------------------------------------------------------------- VirtualSystemManagementService - 19_definenetwork_ers.py: FAIL ERROR - Failed to create Virtual Network 'cimtest-networkpool42' ERROR - Unable to create network pool -------------------------------------------------------------------- VirtualSystemManagementService - 20_verify_vnc_password.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 21_createVS_verifyMAC.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL ERROR - Error invoking AddRS: add_net_res ERROR - (1, u"CIM_ERR_FAILED: Unable to change (0) device: this function is not supported by the hypervisor: device type 'interface' cannot be attached") ERROR - Failed to destroy Virtual Network 'my_network1' InvokeMethod(AddResourceSettings): CIM_ERR_FAILED: Unable to change (0) device: this function is not supported by the hypervisor: device type 'interface' cannot be attached Bug:<00015> -------------------------------------------------------------------- VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 24_define_sys_features.py: FAIL ERROR - TypeError : __init__() got an unexpected keyword argument 'pae' Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 139, in do_try File "24_define_sys_features.py", line 41, in main acpi=True, apic=True) TypeError: __init__() got an unexpected keyword argument 'pae' ERROR - None -------------------------------------------------------------------- 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: FAIL ERROR - Failed to copy the image file '/var/lib/libvirt/images/default-kvm-dimage' for migration to 'localhost.localdomain' ERROR - Exception in local_remote_migrate() ERROR - Exception details Failure from remote_copy_guest_image() -------------------------------------------------------------------- VirtualSystemMigrationService - 07_remote_offline_migration.py: FAIL ERROR - Failed to copy the image file '/var/lib/libvirt/images/default-kvm-dimage' for migration to 'localhost.localdomain' ERROR - Exception in local_remote_migrate() ERROR - Exception details Failure from remote_copy_guest_image() -------------------------------------------------------------------- VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Unable to start domain: internal error Network 'cimtest-networkpool' not found with return code 1 ERROR - Error to start domain VM_frm_elm3b41.beaverton.ibm.com ERROR - Error setting up the guest InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to start domain: internal error Network 'cimtest-networkpool' not found -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 01_forward.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 02_reverse.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Unable to start domain: internal error Network 'cimtest-networkpool' not found with return code 1 ERROR - Failed to start the dom: VSSDC_dom InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to start domain: internal error Network 'cimtest-networkpool' not found -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Unable to start domain: internal error Network 'cimtest-networkpool' not found with return code 1 ERROR - Unable to start domain domu1 InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to start domain: internal error Network 'cimtest-networkpool' not found -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: FAIL ERROR - Got CIM error CIM_ERR_FAILED: Unable to start domain: internal error Network 'cimtest-networkpool' not found with return code 1 ERROR - Unable to start domain domu1 InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to start domain: internal error Network 'cimtest-networkpool' not found -------------------------------------------------------------------- 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_FAILED: Unable to start domain: internal error Network 'cimtest-networkpool' not found with return code 1 ERROR - Exception: Failed to start the defined domain: snapshot_vm ERROR - Failed to remove snapshot file for snapshot_vm InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to start domain: internal error Network 'cimtest-networkpool' not found -------------------------------------------------------------------- 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 Nov 10 17:07:09 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Tue, 10 Nov 2009 17:07:09 -0000 Subject: [Libvirt-cim] [PATCH] [TEST] #2 Fix CS 34 to SKIP if virt type is KVM and providers are old Message-ID: <2f8394bb8f38f7206987.1257872829@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1257801892 28800 # Node ID 2f8394bb8f38f72069871e1ce07214f1abc6b2cc # Parent 55c3c3f3bc77c9946f61997de87547e99c21e38a [TEST] #2 Fix CS 34 to SKIP if virt type is KVM and providers are old... When they are older than revision 945. The cimtest image doesn't support reboot; older versions of libvirt-cim attempted to reboot guests on a disable call (instead of powering them down immediately). This fix does a virsh destroy on the guest (for older provider sets only). Updates: -Copy and paste error. Remove extraneous line. Signed-off-by: Kaitlin Rupert diff -r 55c3c3f3bc77 -r 2f8394bb8f38 suites/libvirt-cim/cimtest/ComputerSystem/34_start_disable.py --- a/suites/libvirt-cim/cimtest/ComputerSystem/34_start_disable.py Tue Nov 03 10:37:35 2009 -0800 +++ b/suites/libvirt-cim/cimtest/ComputerSystem/34_start_disable.py Mon Nov 09 13:24:52 2009 -0800 @@ -37,7 +37,7 @@ from CimTest.Globals import logger from XenKvmLib.const import do_main, CIM_ENABLE, CIM_DISABLE, \ get_provider_version -from CimTest.ReturnCodes import PASS, FAIL +from CimTest.ReturnCodes import PASS, FAIL, SKIP from XenKvmLib.vxml import get_class sup_types = ['Xen', 'XenFV', 'KVM', 'LXC'] @@ -54,6 +54,15 @@ virt = options.virt try: + rev, changeset = get_provider_version(virt, server) + if rev >= disable_change_rev: + exp_state = CIM_DISABLE + else: + if options.virt == "KVM": + logger.info("cimtest's KVM guest imagedoesn't support reboot") + return SKIP + exp_state = CIM_ENABLE + cxml = get_class(virt)(default_dom) ret = cxml.cim_define(server) if not ret: @@ -67,12 +76,6 @@ if status != PASS: raise Exception("Unable disable dom '%s'" % default_dom) - rev, changeset = get_provider_version(virt, server) - if rev >= disable_change_rev: - exp_state = CIM_DISABLE - else: - exp_state = CIM_ENABLE - status = cxml.check_guest_state(server, exp_state) if status != PASS: raise Exception("%s not in expected state %d" % \ From kaitlin at linux.vnet.ibm.com Tue Nov 10 18:14:09 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Tue, 10 Nov 2009 18:14:09 -0000 Subject: [Libvirt-cim] [PATCH] [TEST] Fix hard coding of storage pool path in RPCS tests Message-ID: # HG changeset patch # User Kaitlin Rupert # Date 1257876810 28800 # Node ID b383b1665be8709c1ad0370b57ee8de2cd4083fe # Parent d4c6c9dc6d583eb3b023c17119a2b2f21c9e648f [TEST] Fix hard coding of storage pool path in RPCS tests Instead of hardcoding, the value from const.py should be used. This way, if the path name is changed in the future, it only needs to be changed in one place. Signed-off-by: Kaitlin Rupert diff -r d4c6c9dc6d58 -r b383b1665be8 suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py --- a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py Tue Nov 10 09:08:06 2009 -0800 +++ b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py Tue Nov 10 10:13:30 2009 -0800 @@ -32,7 +32,7 @@ from CimTest.Globals import logger from CimTest.ReturnCodes import FAIL, PASS, SKIP from XenKvmLib.const import do_main, platform_sup, default_pool_name, \ - get_provider_version + get_provider_version, _image_dir from XenKvmLib.vsms import RASD_TYPE_STOREVOL from XenKvmLib.rasd import libvirt_rasd_storagepool_changes from XenKvmLib import rpcs_service @@ -43,7 +43,7 @@ from XenKvmLib.common_util import destroy_diskpool from XenKvmLib.pool import create_pool, undefine_diskpool, DIR_POOL -pool_attr = { 'Path' : "/tmp" } +pool_attr = { 'Path' : _image_dir } vol_name = "cimtest-vol.img" def get_stovol_rasd_from_sdc(virt, server, dp_inst_id): diff -r d4c6c9dc6d58 -r b383b1665be8 suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/13_delete_storagevolume.py --- a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/13_delete_storagevolume.py Tue Nov 10 09:08:06 2009 -0800 +++ b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/13_delete_storagevolume.py Tue Nov 10 10:13:30 2009 -0800 @@ -31,7 +31,7 @@ from CimTest.ReturnCodes import FAIL, PASS, SKIP from XenKvmLib.xm_virt_util import virsh_version from XenKvmLib.const import do_main, platform_sup, get_provider_version, \ - default_pool_name + default_pool_name, _image_dir from XenKvmLib import rpcs_service from XenKvmLib.classes import get_typed_class, inst_to_mof from XenKvmLib.pool import create_pool, DIR_POOL, \ @@ -39,7 +39,7 @@ get_stovol_default_settings, cleanup_pool_vol,\ get_sto_vol_rasd_for_pool -pool_attr = { 'Path' : "/tmp" } +pool_attr = { 'Path' : _image_dir } vol_name = "cimtest-vol.img" @do_main(platform_sup) diff -r d4c6c9dc6d58 -r b383b1665be8 suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/14_delete_storagevolume_errs.py --- a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/14_delete_storagevolume_errs.py Tue Nov 10 09:08:06 2009 -0800 +++ b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/14_delete_storagevolume_errs.py Tue Nov 10 10:13:30 2009 -0800 @@ -35,7 +35,7 @@ from CimTest.ReturnCodes import FAIL, PASS, SKIP from XenKvmLib.xm_virt_util import virsh_version from XenKvmLib.const import do_main, platform_sup, get_provider_version,\ - default_pool_name + default_pool_name, _image_dir from XenKvmLib import rpcs_service from XenKvmLib.classes import get_typed_class, inst_to_mof from XenKvmLib.pool import create_pool, DIR_POOL, \ @@ -43,7 +43,7 @@ get_stovol_default_settings, cleanup_pool_vol, \ get_sto_vol_rasd_for_pool -pool_attr = { 'Path' : "/tmp" } +pool_attr = { 'Path' : _image_dir } vol_name = "cimtest-vol.img" invalid_scen = { "INVALID_ADDRESS" : { 'val' : 'Junkvol_path', 'msg' : 'no storage vol with '\ From kaitlin at linux.vnet.ibm.com Tue Nov 10 18:24:31 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Tue, 10 Nov 2009 10:24:31 -0800 Subject: [Libvirt-cim] Test Run Summary (Nov 10 2009): KVM on Fedora release 11 (Leonidas) with Pegasus In-Reply-To: <4AF8D580.90102@linux.vnet.ibm.com> References: <4AF8D580.90102@linux.vnet.ibm.com> Message-ID: <4AF9AFDF.1050009@linux.vnet.ibm.com> > -------------------------------------------------------------------- > ComputerSystem - 34_start_disable.py: FAIL > ERROR - Exception: local variable 'cxml' referenced before assignment > ERROR - UnboundLocalError : local variable 'cxml' referenced before > assignment > Traceback (most recent call last): > File "./lib/XenKvmLib/const.py", line 139, in do_try > File "34_start_disable.py", line 91, in main > cxml.cim_destroy(server) > UnboundLocalError: local variable 'cxml' referenced before assignment > ERROR - None This is due to a bug in the patch I submitted for this test case. I've sent a revision for this. > -------------------------------------------------------------------- > -------------------------------------------------------------------- > ResourcePoolConfigurationService - 10_create_storagevolume.py: FAIL > ERROR - Exception details: (1, u'CIM_ERR_FAILED: Unable to create > storage volume: invalid storage pool pointer in storage vol already > exists') > InvokeMethod(CreateResourceInPool): CIM_ERR_FAILED: Unable to create > storage volume: invalid storage pool pointer in storage vol already exists Test case issue - I'll send a patch to fix this. > -------------------------------------------------------------------- > -------------------------------------------------------------------- > ResourcePoolConfigurationService - 13_delete_storagevolume.py: FAIL > ERROR - Exception details: Failed to get the resource settings for > 'cimtest-vol.img' Vol Test case issue - I'll send a patch to fix this. > -------------------------------------------------------------------- > ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: FAIL > ERROR - Exception details: (1, u'CIM_ERR_FAILED: Unable to create > storage volume: invalid storage pool pointer in storage vol already > exists') > InvokeMethod(CreateResourceInPool): CIM_ERR_FAILED: Unable to create > storage volume: invalid storage pool pointer in storage vol already exists Test case issue - I'll send a patch to fix this. > -------------------------------------------------------------------- > -------------------------------------------------------------------- > VirtualSystemManagementService - 15_mod_system_settings.py: FAIL > ERROR - (1, u'CIM_ERR_FAILED: Unable to parse embedded object') > InvokeMethod(ModifySystemSettings): CIM_ERR_FAILED: Unable to parse > embedded object The version of libcmpiutil needs to be updated in Fedora 11. > ---------------------------------- > -------------------------------------------------------------------- > VirtualSystemManagementService - 18_define_sys_bridge.py: FAIL > ERROR - Failed to create Virtual Network 'cimtest-networkpool63' > ERROR - Unable to create network pool Environment issue on the system - too many bridges already defined > -------------------------------------------------------------------- > VirtualSystemManagementService - 19_definenetwork_ers.py: FAIL > ERROR - Failed to create Virtual Network 'cimtest-networkpool42' > ERROR - Unable to create network pool Environment issue on the system - too many bridges already defined > -------------------------------------------------------------------- > -------------------------------------------------------------------- > VirtualSystemManagementService - 24_define_sys_features.py: FAIL > ERROR - TypeError : __init__() got an unexpected keyword argument 'pae' > Traceback (most recent call last): > File "./lib/XenKvmLib/const.py", line 139, in do_try > File "24_define_sys_features.py", line 41, in main > acpi=True, apic=True) > TypeError: __init__() got an unexpected keyword argument 'pae' > ERROR - None This test isn't upstream yet. It's a test I'm working on; I accidentally had it applied in my tree. > -------------------------------------------------------------------- > -------------------------------------------------------------------- > VirtualSystemMigrationService - 06_remote_live_migration.py: FAIL > ERROR - Failed to copy the image file > '/var/lib/libvirt/images/default-kvm-dimage' for migration to > 'localhost.localdomain' > ERROR - Exception in local_remote_migrate() > ERROR - Exception details Failure from remote_copy_guest_image() Used the hostname of the system for the -i option, instead of using localhost. KVM doesn't support localhost migration. > -------------------------------------------------------------------- > VirtualSystemMigrationService - 07_remote_offline_migration.py: FAIL > ERROR - Failed to copy the image file > '/var/lib/libvirt/images/default-kvm-dimage' for migration to > 'localhost.localdomain' > ERROR - Exception in local_remote_migrate() > ERROR - Exception details Failure from remote_copy_guest_image() Used the hostname of the system for the -i option, instead of using localhost. KVM doesn't support localhost migration. > -------------------------------------------------------------------- > VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to start domain: internal > error Network 'cimtest-networkpool' not found with return code 1 > ERROR - Error to start domain VM_frm_elm3b41.beaverton.ibm.com > ERROR - Error setting up the guest > InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to start > domain: internal error Network 'cimtest-networkpool' not found Used the hostname of the system for the -i option, instead of using localhost. KVM doesn't support localhost migration. > -------------------------------------------------------------------- > -------------------------------------------------------------------- > VirtualSystemSettingDataComponent - 02_reverse.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to start domain: internal > error Network 'cimtest-networkpool' not found with return code 1 > ERROR - Failed to start the dom: VSSDC_dom > InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to start > domain: internal error Network 'cimtest-networkpool' not found The migration tests cleaned up the network incorrectly. These tests pass normally. > -------------------------------------------------------------------- > VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to start domain: internal > error Network 'cimtest-networkpool' not found with return code 1 > ERROR - Unable to start domain domu1 > InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to start > domain: internal error Network 'cimtest-networkpool' not found The migration tests cleaned up the network incorrectly. These tests pass normally. > -------------------------------------------------------------------- > VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to start domain: internal > error Network 'cimtest-networkpool' not found with return code 1 > ERROR - Unable to start domain domu1 > InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to start > domain: internal error Network 'cimtest-networkpool' not found The migration tests cleaned up the network incorrectly. These tests pass normally. > -------------------------------------------------------------------- > VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to start domain: internal > error Network 'cimtest-networkpool' not found with return code 1 > ERROR - Exception: Failed to start the defined domain: snapshot_vm > ERROR - Failed to remove snapshot file for snapshot_vm > InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to start > domain: internal error Network 'cimtest-networkpool' not found The migration tests cleaned up the network incorrectly. These tests pass normally. > -------------------------------------------------------------------- -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Tue Nov 10 20:51:08 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Tue, 10 Nov 2009 12:51:08 -0800 Subject: [Libvirt-cim] Test Run Summary (Nov 10 2009): KVM on Fedora release 11 (Leonidas) with Pegasus Message-ID: <4AF9D23C.9050803@linux.vnet.ibm.com> ================================================= Test Run Summary (Nov 10 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.9.0 Libvirt-cim revision: 986 Libvirt-cim changeset: fac371b2f43e Cimtest revision: 798 Cimtest changeset: 8eba6a82e3af Total test execution: Unknown ================================================= FAIL : 2 XFAIL : 2 SKIP : 10 PASS : ----------------- Total : 175 ================================================= FAIL Test Summary: VirtualSystemManagementService - 15_mod_system_settings.py: FAIL VirtualSystemManagementService - 22_addmulti_brg_interface.py: FAIL ================================================= XFAIL Test Summary: ComputerSystem - 32_start_reboot.py: XFAIL ComputerSystem - 33_suspend_reboot.py: XFAIL VirtualSystemManagementService - 09_procrasd_persist.py: XFAIL VirtualSystemManagementService - 16_removeresource.py: XFAIL ================================================= SKIP Test Summary: ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP RASDIndications - 01_guest_states_rasd_ind.py: SKIP RASDIndications - 02_guest_add_mod_rem_rasd_ind.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 -------------------------------------------------------------------- LogicalDisk - 01_disk.py: PASS -------------------------------------------------------------------- LogicalDisk - 02_nodevs.py: PASS -------------------------------------------------------------------- LogicalDisk - 03_ld_gi_errs.py: PASS -------------------------------------------------------------------- Memory - 01_memory.py: PASS -------------------------------------------------------------------- Memory - 02_defgetmem.py: PASS -------------------------------------------------------------------- Memory - 03_mem_gi_errs.py: PASS -------------------------------------------------------------------- NetworkPort - 01_netport.py: PASS -------------------------------------------------------------------- NetworkPort - 02_np_gi_errors.py: PASS -------------------------------------------------------------------- NetworkPort - 03_user_netport.py: PASS -------------------------------------------------------------------- Processor - 01_processor.py: PASS -------------------------------------------------------------------- Processor - 02_definesys_get_procs.py: PASS -------------------------------------------------------------------- Processor - 03_proc_gi_errs.py: PASS -------------------------------------------------------------------- Profile - 01_enum.py: PASS -------------------------------------------------------------------- Profile - 02_profile_to_elec.py: PASS -------------------------------------------------------------------- Profile - 03_rprofile_gi_errs.py: PASS -------------------------------------------------------------------- RASD - 01_verify_rasd_fields.py: PASS -------------------------------------------------------------------- RASD - 02_enum.py: PASS -------------------------------------------------------------------- RASD - 03_rasd_errs.py: PASS -------------------------------------------------------------------- RASD - 04_disk_rasd_size.py: PASS -------------------------------------------------------------------- RASD - 05_disk_rasd_emu_type.py: PASS -------------------------------------------------------------------- RASD - 06_parent_net_pool.py: PASS -------------------------------------------------------------------- RASD - 07_parent_disk_pool.py: PASS -------------------------------------------------------------------- RASDIndications - 01_guest_states_rasd_ind.py: SKIP -------------------------------------------------------------------- RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: SKIP -------------------------------------------------------------------- RedirectionService - 01_enum_crs.py: PASS -------------------------------------------------------------------- RedirectionService - 02_enum_crscap.py: PASS -------------------------------------------------------------------- RedirectionService - 03_RedirectionSAP_errs.py: PASS -------------------------------------------------------------------- ReferencedProfile - 01_verify_refprof.py: PASS -------------------------------------------------------------------- ReferencedProfile - 02_refprofile_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 01_forward.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 02_reverse.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 03_forward_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 05_RAPF_err.py: PASS -------------------------------------------------------------------- ResourcePool - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePool - 02_rp_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 02_rcps_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 03_CreateResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: 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: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 07_addresource_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 08_modifyresource.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 09_procrasd_persist.py: XFAIL -------------------------------------------------------------------- VirtualSystemManagementService - 10_hv_version.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 11_define_memrasdunits.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 12_referenced_config.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 13_refconfig_additional_devs.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 14_define_sys_disk.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 15_mod_system_settings.py: FAIL ERROR - (1, u'CIM_ERR_FAILED: Unable to parse embedded object') InvokeMethod(ModifySystemSettings): CIM_ERR_FAILED: Unable to parse embedded object -------------------------------------------------------------------- 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: FAIL ERROR - Failed to create Virtual Network 'my_network0' ERROR - Unable to create network pool my_network0 -------------------------------------------------------------------- VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationService - 01_migratable_host.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 01_forward.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 02_reverse.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 03_create_snapshot.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: PASS -------------------------------------------------------------------- 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 deeptik at linux.vnet.ibm.com Wed Nov 11 18:40:50 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Thu, 12 Nov 2009 00:10:50 +0530 Subject: [Libvirt-cim] [PATCH] [TEST] Fix hard coding of storage pool path in RPCS tests In-Reply-To: References: Message-ID: <4AFB0532.2@linux.vnet.ibm.com> +1 Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1257876810 28800 > # Node ID b383b1665be8709c1ad0370b57ee8de2cd4083fe > # Parent d4c6c9dc6d583eb3b023c17119a2b2f21c9e648f > [TEST] Fix hard coding of storage pool path in RPCS tests > > Instead of hardcoding, the value from const.py should be used. This way, > if the path name is changed in the future, it only needs to be changed in > one place. > > Signed-off-by: Kaitlin Rupert > > diff -r d4c6c9dc6d58 -r b383b1665be8 suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py > --- a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py Tue Nov 10 09:08:06 2009 -0800 > +++ b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py Tue Nov 10 10:13:30 2009 -0800 > @@ -32,7 +32,7 @@ > from CimTest.Globals import logger > from CimTest.ReturnCodes import FAIL, PASS, SKIP > from XenKvmLib.const import do_main, platform_sup, default_pool_name, \ > - get_provider_version > + get_provider_version, _image_dir > from XenKvmLib.vsms import RASD_TYPE_STOREVOL > from XenKvmLib.rasd import libvirt_rasd_storagepool_changes > from XenKvmLib import rpcs_service > @@ -43,7 +43,7 @@ > from XenKvmLib.common_util import destroy_diskpool > from XenKvmLib.pool import create_pool, undefine_diskpool, DIR_POOL > > -pool_attr = { 'Path' : "/tmp" } > +pool_attr = { 'Path' : _image_dir } > vol_name = "cimtest-vol.img" > > def get_stovol_rasd_from_sdc(virt, server, dp_inst_id): > diff -r d4c6c9dc6d58 -r b383b1665be8 suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/13_delete_storagevolume.py > --- a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/13_delete_storagevolume.py Tue Nov 10 09:08:06 2009 -0800 > +++ b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/13_delete_storagevolume.py Tue Nov 10 10:13:30 2009 -0800 > @@ -31,7 +31,7 @@ > from CimTest.ReturnCodes import FAIL, PASS, SKIP > from XenKvmLib.xm_virt_util import virsh_version > from XenKvmLib.const import do_main, platform_sup, get_provider_version, \ > - default_pool_name > + default_pool_name, _image_dir > from XenKvmLib import rpcs_service > from XenKvmLib.classes import get_typed_class, inst_to_mof > from XenKvmLib.pool import create_pool, DIR_POOL, \ > @@ -39,7 +39,7 @@ > get_stovol_default_settings, cleanup_pool_vol,\ > get_sto_vol_rasd_for_pool > > -pool_attr = { 'Path' : "/tmp" } > +pool_attr = { 'Path' : _image_dir } > vol_name = "cimtest-vol.img" > > @do_main(platform_sup) > diff -r d4c6c9dc6d58 -r b383b1665be8 suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/14_delete_storagevolume_errs.py > --- a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/14_delete_storagevolume_errs.py Tue Nov 10 09:08:06 2009 -0800 > +++ b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/14_delete_storagevolume_errs.py Tue Nov 10 10:13:30 2009 -0800 > @@ -35,7 +35,7 @@ > from CimTest.ReturnCodes import FAIL, PASS, SKIP > from XenKvmLib.xm_virt_util import virsh_version > from XenKvmLib.const import do_main, platform_sup, get_provider_version,\ > - default_pool_name > + default_pool_name, _image_dir > from XenKvmLib import rpcs_service > from XenKvmLib.classes import get_typed_class, inst_to_mof > from XenKvmLib.pool import create_pool, DIR_POOL, \ > @@ -43,7 +43,7 @@ > get_stovol_default_settings, cleanup_pool_vol, \ > get_sto_vol_rasd_for_pool > > -pool_attr = { 'Path' : "/tmp" } > +pool_attr = { 'Path' : _image_dir } > vol_name = "cimtest-vol.img" > invalid_scen = { "INVALID_ADDRESS" : { 'val' : 'Junkvol_path', > 'msg' : 'no storage vol with '\ > > _______________________________________________ > 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 rmaciel at linux.vnet.ibm.com Wed Nov 11 22:37:20 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Wed, 11 Nov 2009 20:37:20 -0200 Subject: [Libvirt-cim] [PATCH 0 of 2] #2 Expose remaining features: apic and pae In-Reply-To: References: Message-ID: <4AFB3CA0.4050701@linux.vnet.ibm.com> +1 On 11/05/2009 08:20 PM, Kaitlin Rupert wrote: > Update to patch 2. > > _______________________________________________ > 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 Wed Nov 11 22:37:36 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Wed, 11 Nov 2009 20:37:36 -0200 Subject: [Libvirt-cim] [PATCH] Add GraphicsPool mof to Makefile.am so it gets registered with CIMOM In-Reply-To: <289823a45e86aac53df9.1257547304@elm3b41.beaverton.ibm.com> References: <289823a45e86aac53df9.1257547304@elm3b41.beaverton.ibm.com> Message-ID: <4AFB3CB0.2040605@linux.vnet.ibm.com> +1 On 11/06/2009 08:41 PM, Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1257547293 28800 > # Node ID 289823a45e86aac53df978c6e27716e8f31c3418 > # Parent 9bda715b0f068911c69a5632e147c68666fcb7d0 > Add GraphicsPool mof to Makefile.am so it gets registered with CIMOM > > Signed-off-by: Kaitlin Rupert > > diff -r 9bda715b0f06 -r 289823a45e86 Makefile.am > --- a/Makefile.am Fri Nov 06 11:44:00 2009 -0800 > +++ b/Makefile.am Fri Nov 06 14:41:33 2009 -0800 > @@ -52,6 +52,7 @@ > schema/KVMRedirectionSAP.mof \ > schema/DisplayController.mof \ > schema/PointingDevice.mof \ > + schema/GraphicsPool.mof \ > schema/InputPool.mof \ > schema/HostedAccessPoint.mof \ > schema/ServiceAccessBySAP.mof \ > > _______________________________________________ > 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 Wed Nov 11 22:39:16 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Wed, 11 Nov 2009 20:39:16 -0200 Subject: [Libvirt-cim] [PATCH] Fix memory leaks in RASD, RAFP, and DevicePool In-Reply-To: <280a12d7c513129ebf86.1257549272@elm3b41.beaverton.ibm.com> References: <280a12d7c513129ebf86.1257549272@elm3b41.beaverton.ibm.com> Message-ID: <4AFB3D14.70805@linux.vnet.ibm.com> +1 On 11/06/2009 09:14 PM, Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1257545021 28800 > # Node ID 280a12d7c513129ebf86ac271aac5474161d3aae > # Parent 910c18bbb6264c90294375e94882e600f3dd8237 > Fix memory leaks in RASD, RAFP, and DevicePool > > Signed-off-by: Kaitlin Rupert > > diff -r 910c18bbb626 -r 280a12d7c513 src/Virt_DevicePool.c > --- a/src/Virt_DevicePool.c Thu Nov 05 14:20:54 2009 -0800 > +++ b/src/Virt_DevicePool.c Fri Nov 06 14:03:41 2009 -0800 > @@ -102,11 +102,14 @@ > return 0; > > *pool = malloc(sizeof(**pool)); > - if (*pool == NULL) > - return 0; > + if (*pool == NULL) { > + ret = 0; > + goto out; > + } > > ret = get_pool_from_xml(xml, *pool, CIM_RES_TYPE_DISK); > > + out: > free(xml); > > return ret; > @@ -130,30 +133,31 @@ > goto out; > } > > + if (virConnectListStoragePools(conn, names, count) == -1) { > + CU_DEBUG("Failed to get storage pools"); > + goto out; > + } > + > pools = calloc(count, sizeof(*pools)); > if (pools == NULL) { > CU_DEBUG("Failed to alloc space for %i pool structs", count); > goto out; > } > > - if (virConnectListStoragePools(conn, names, count) == -1) { > - CU_DEBUG("Failed to get storage pools"); > - free(pools); > - goto out; > - } > - > for (i = 0; i< count; i++) { > pools[i].tag = names[i]; > pools[i].primordial = false; > } > > out: > + for (i = 0; i< count; i++) > + free(names[i]); > + free(names); > + > get_disk_parent(&pools,&count); > > *_pools = pools; > > - free(names); > - > return count; > } > > @@ -464,6 +468,8 @@ > free(_bridge); > } > > + for (i = 0; i< num; i++) > + free(networks[i]); > free(networks); > > return network; > @@ -870,12 +876,12 @@ > } > > set_params(inst, CIM_RES_TYPE_NET, id, NULL, cap, false); > - free(id); > free(cap); > - free(bridge); > > inst_list_add(list, inst); > out: > + free(bridge); > + free(id); > virNetworkFree(network); > > return s; > @@ -890,7 +896,7 @@ > CMPIStatus s = {CMPI_RC_OK, NULL}; > char **netnames = NULL; > int i; > - int nets; > + int nets = 0; > > if (id != NULL) { > return _netpool_for_network(list, > @@ -942,6 +948,8 @@ > } > > out: > + for (i = 0; i< nets; i++) > + free(netnames[i]); > free(netnames); > > return s; > @@ -1350,8 +1358,6 @@ > break; > } > > - inst_list_free(&list); > - > if (inst == NULL) { > cu_statusf(broker, s, > CMPI_RC_ERR_FAILED, > @@ -1362,6 +1368,7 @@ > } > > out: > + inst_list_free(&list); > > return inst; > } > diff -r 910c18bbb626 -r 280a12d7c513 src/Virt_RASD.c > --- a/src/Virt_RASD.c Thu Nov 05 14:20:54 2009 -0800 > +++ b/src/Virt_RASD.c Fri Nov 06 14:03:41 2009 -0800 > @@ -407,6 +407,8 @@ > CLASSNAME(ref), > base, > NAMESPACE(ref)); > + free(base); > + > if (inst == NULL) > return inst; > > @@ -523,6 +525,8 @@ > else > *_inst = inst; > > + cleanup_virt_device(dev); > + > out: > virConnectClose(conn); > free(host); > @@ -696,6 +700,10 @@ > cu_statusf(broker,&s, > CMPI_RC_ERR_FAILED, > "Failed to get domain name"); > + > + for (i = 0; i< count; i++) > + cleanup_virt_device(&devs[i]); > + > goto out; > } > > diff -r 910c18bbb626 -r 280a12d7c513 src/Virt_ResourceAllocationFromPool.c > --- a/src/Virt_ResourceAllocationFromPool.c Thu Nov 05 14:20:54 2009 -0800 > +++ b/src/Virt_ResourceAllocationFromPool.c Fri Nov 06 14:03:41 2009 -0800 > @@ -120,6 +120,8 @@ > inst_list_add(dest, inst); > } > > + free(poolid); > + > return dest->cur; > } > > > _______________________________________________ > 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 Nov 12 04:06:43 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 12 Nov 2009 04:06:43 -0000 Subject: [Libvirt-cim] [PATCH] Use strdup() to copy memory so list of strings can be free in Virt_DevicePool Message-ID: <33a6a50f64e08df1585a.1257998803@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1257998067 28800 # Node ID 33a6a50f64e08df1585a249d96d89e4e03d663e4 # Parent a804ea345a48f2dd57a7e78b8fbd595f9397906b Use strdup() to copy memory so list of strings can be free in Virt_DevicePool This were missed in revision 1008. In Virt_RASD, declare base a const char, as we aren't allocating memory here. Revert changes from revision 1008 - this is a regression. Signed-off-by: Kaitlin Rupert diff -r a804ea345a48 -r 33a6a50f64e0 src/Virt_DevicePool.c --- a/src/Virt_DevicePool.c Fri Nov 06 14:03:41 2009 -0800 +++ b/src/Virt_DevicePool.c Wed Nov 11 19:54:27 2009 -0800 @@ -130,11 +130,13 @@ names = calloc(count, sizeof(char *)); if (names == NULL) { CU_DEBUG("Failed to alloc space for %i pool names", count); + count = 0; goto out; } if (virConnectListStoragePools(conn, names, count) == -1) { CU_DEBUG("Failed to get storage pools"); + count = 0; goto out; } @@ -145,7 +147,7 @@ } for (i = 0; i < count; i++) { - pools[i].tag = names[i]; + pools[i].tag = strdup(names[i]); pools[i].primordial = false; } @@ -936,7 +938,7 @@ goto out; } - netnames[nets - 1] = "0"; + netnames[nets - 1] = strdup("0"); for (i = 0; i < nets; i++) { _netpool_for_network(list, diff -r a804ea345a48 -r 33a6a50f64e0 src/Virt_RASD.c --- a/src/Virt_RASD.c Fri Nov 06 14:03:41 2009 -0800 +++ b/src/Virt_RASD.c Wed Nov 11 19:54:27 2009 -0800 @@ -377,7 +377,7 @@ CMPIStatus s; CMPIInstance *inst; uint16_t type; - char *base; + const char *base; char *id; const char *keys[] = {"InstanceID", NULL}; @@ -407,8 +407,6 @@ CLASSNAME(ref), base, NAMESPACE(ref)); - free(base); - if (inst == NULL) return inst; From rmaciel at linux.vnet.ibm.com Fri Nov 13 20:32:43 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Fri, 13 Nov 2009 18:32:43 -0200 Subject: [Libvirt-cim] [PATCH] Use strdup() to copy memory so list of strings can be free in Virt_DevicePool In-Reply-To: <33a6a50f64e08df1585a.1257998803@elm3b41.beaverton.ibm.com> References: <33a6a50f64e08df1585a.1257998803@elm3b41.beaverton.ibm.com> Message-ID: <4AFDC26B.4080308@linux.vnet.ibm.com> +1 On 11/12/2009 02:06 AM, Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1257998067 28800 > # Node ID 33a6a50f64e08df1585a249d96d89e4e03d663e4 > # Parent a804ea345a48f2dd57a7e78b8fbd595f9397906b > Use strdup() to copy memory so list of strings can be free in Virt_DevicePool > > This were missed in revision 1008. > > In Virt_RASD, declare base a const char, as we aren't allocating memory here. > Revert changes from revision 1008 - this is a regression. > > Signed-off-by: Kaitlin Rupert > > diff -r a804ea345a48 -r 33a6a50f64e0 src/Virt_DevicePool.c > --- a/src/Virt_DevicePool.c Fri Nov 06 14:03:41 2009 -0800 > +++ b/src/Virt_DevicePool.c Wed Nov 11 19:54:27 2009 -0800 > @@ -130,11 +130,13 @@ > names = calloc(count, sizeof(char *)); > if (names == NULL) { > CU_DEBUG("Failed to alloc space for %i pool names", count); > + count = 0; > goto out; > } > > if (virConnectListStoragePools(conn, names, count) == -1) { > CU_DEBUG("Failed to get storage pools"); > + count = 0; > goto out; > } > > @@ -145,7 +147,7 @@ > } > > for (i = 0; i< count; i++) { > - pools[i].tag = names[i]; > + pools[i].tag = strdup(names[i]); > pools[i].primordial = false; > } > > @@ -936,7 +938,7 @@ > goto out; > } > > - netnames[nets - 1] = "0"; > + netnames[nets - 1] = strdup("0"); > > for (i = 0; i< nets; i++) { > _netpool_for_network(list, > diff -r a804ea345a48 -r 33a6a50f64e0 src/Virt_RASD.c > --- a/src/Virt_RASD.c Fri Nov 06 14:03:41 2009 -0800 > +++ b/src/Virt_RASD.c Wed Nov 11 19:54:27 2009 -0800 > @@ -377,7 +377,7 @@ > CMPIStatus s; > CMPIInstance *inst; > uint16_t type; > - char *base; > + const char *base; > char *id; > const char *keys[] = {"InstanceID", NULL}; > > @@ -407,8 +407,6 @@ > CLASSNAME(ref), > base, > NAMESPACE(ref)); > - free(base); > - > if (inst == NULL) > return inst; > > > _______________________________________________ > 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 Tue Nov 17 10:07:02 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Tue, 17 Nov 2009 15:37:02 +0530 Subject: [Libvirt-cim] Test Run Summary (Nov 17 2009): KVM on Fedora release 12 (Constantine) with Pegasus Message-ID: <4B0275C6.2070208@linux.vnet.ibm.com> ================================================= Test Run Summary (Nov 17 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.1 Hypervisor: QEMU 0.11.0 CIMOM: Pegasus 2.9.0 Libvirt-cim revision: 1009 Libvirt-cim changeset: 33a6a50f64e0 Cimtest revision: 794 Cimtest changeset: c7561bf61126 Total test execution: Unknown ================================================= FAIL : 4 XFAIL : 4 SKIP : 11 PASS : 156 ----------------- Total : 175 ================================================= FAIL Test Summary: ElementAllocatedFromPool - 01_forward.py: FAIL ResourceAllocationFromPool - 01_forward.py: FAIL ResourceAllocationFromPool - 02_reverse.py: FAIL VirtualSystemManagementService - 19_definenetwork_ers.py: FAIL ================================================= XFAIL Test Summary: ComputerSystem - 32_start_reboot.py: XFAIL ComputerSystem - 33_suspend_reboot.py: XFAIL VirtualSystemManagementService - 16_removeresource.py: XFAIL VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL ================================================= SKIP Test Summary: ComputerSystem - 02_nosystems.py: SKIP ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP HostSystem - 05_hs_gi_errs.py: SKIP LogicalDisk - 02_nodevs.py: SKIP VSSD - 02_bootldr.py: SKIP VirtualSystemMigrationService - 01_migratable_host.py: SKIP VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: SKIP ================================================= Full report: -------------------------------------------------------------------- AllocationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- AllocationCapabilities - 02_alloccap_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 01_enum.py: PASS -------------------------------------------------------------------- ComputerSystem - 02_nosystems.py: SKIP ERROR - System has defined domains; unable to run -------------------------------------------------------------------- ComputerSystem - 03_defineVS.py: PASS -------------------------------------------------------------------- ComputerSystem - 04_defineStartVS.py: PASS -------------------------------------------------------------------- ComputerSystem - 05_activate_defined_start.py: PASS -------------------------------------------------------------------- ComputerSystem - 06_paused_active_suspend.py: PASS -------------------------------------------------------------------- ComputerSystem - 22_define_suspend.py: PASS -------------------------------------------------------------------- ComputerSystem - 23_pause_pause.py: PASS -------------------------------------------------------------------- ComputerSystem - 27_define_pause_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 32_start_reboot.py: XFAIL ERROR - Got CIM error CIM_ERR_FAILED: Unable to reboot domain: this function is not supported by the hypervisor: virDomainReboot with return code 1 ERROR - Exception: Unable reboot dom 'cs_test_domain' InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to reboot domain: this function is not supported by the hypervisor: virDomainReboot Bug:<00005> -------------------------------------------------------------------- ComputerSystem - 33_suspend_reboot.py: XFAIL ERROR - Got CIM error CIM_ERR_NOT_SUPPORTED: State not supported with return code 7 ERROR - Exception: Unable Suspend dom 'test_domain' InvokeMethod(RequestStateChange): CIM_ERR_NOT_SUPPORTED: State not supported Bug:<00012> -------------------------------------------------------------------- ComputerSystem - 34_start_disable.py: PASS -------------------------------------------------------------------- ComputerSystem - 35_start_reset.py: PASS -------------------------------------------------------------------- ComputerSystem - 40_RSC_start.py: PASS -------------------------------------------------------------------- ComputerSystem - 41_cs_to_settingdefinestate.py: PASS -------------------------------------------------------------------- ComputerSystem - 42_cs_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystemIndication - 01_created_indication.py: PASS -------------------------------------------------------------------- ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP -------------------------------------------------------------------- ElementAllocatedFromPool - 01_forward.py: FAIL ERROR - InstanceID Mismatch ERROR - Returned DiskPool/default instead of DiskPool/cimtest-diskpool -------------------------------------------------------------------- ElementAllocatedFromPool - 02_reverse.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 03_reverse_errs.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 04_forward_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- ElementCapabilities - 02_reverse.py: PASS -------------------------------------------------------------------- ElementCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 05_hostsystem_cap.py: PASS -------------------------------------------------------------------- ElementConforms - 01_forward.py: PASS -------------------------------------------------------------------- ElementConforms - 02_reverse.py: PASS -------------------------------------------------------------------- ElementConforms - 03_ectp_fwd_errs.py: PASS -------------------------------------------------------------------- ElementConforms - 04_ectp_rev_errs.py: PASS -------------------------------------------------------------------- ElementSettingData - 01_forward.py: PASS -------------------------------------------------------------------- ElementSettingData - 03_esd_assoc_with_rasd_errs.py: PASS -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: PASS -------------------------------------------------------------------- HostSystem - 01_enum.py: PASS -------------------------------------------------------------------- HostSystem - 02_hostsystem_to_rasd.py: PASS -------------------------------------------------------------------- HostSystem - 03_hs_to_settdefcap.py: PASS -------------------------------------------------------------------- HostSystem - 04_hs_to_EAPF.py: PASS -------------------------------------------------------------------- HostSystem - 05_hs_gi_errs.py: SKIP -------------------------------------------------------------------- HostSystem - 06_hs_to_vsms.py: PASS -------------------------------------------------------------------- HostedAccessPoint - 01_forward.py: PASS -------------------------------------------------------------------- HostedAccessPoint - 02_reverse.py: PASS -------------------------------------------------------------------- HostedDependency - 01_forward.py: PASS -------------------------------------------------------------------- HostedDependency - 02_reverse.py: PASS -------------------------------------------------------------------- HostedDependency - 03_enabledstate.py: PASS -------------------------------------------------------------------- HostedDependency - 04_reverse_errs.py: PASS -------------------------------------------------------------------- HostedResourcePool - 01_forward.py: PASS -------------------------------------------------------------------- HostedResourcePool - 02_reverse.py: PASS -------------------------------------------------------------------- HostedResourcePool - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedResourcePool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- HostedService - 01_forward.py: PASS -------------------------------------------------------------------- HostedService - 02_reverse.py: PASS -------------------------------------------------------------------- HostedService - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedService - 04_reverse_errs.py: PASS -------------------------------------------------------------------- KVMRedirectionSAP - 01_enum_KVMredSAP.py: PASS -------------------------------------------------------------------- LogicalDisk - 01_disk.py: PASS -------------------------------------------------------------------- LogicalDisk - 02_nodevs.py: SKIP ERROR - System has defined domains; unable to run -------------------------------------------------------------------- LogicalDisk - 03_ld_gi_errs.py: PASS -------------------------------------------------------------------- Memory - 01_memory.py: PASS -------------------------------------------------------------------- Memory - 02_defgetmem.py: PASS -------------------------------------------------------------------- Memory - 03_mem_gi_errs.py: PASS -------------------------------------------------------------------- NetworkPort - 01_netport.py: PASS -------------------------------------------------------------------- NetworkPort - 02_np_gi_errors.py: PASS -------------------------------------------------------------------- NetworkPort - 03_user_netport.py: PASS -------------------------------------------------------------------- Processor - 01_processor.py: PASS -------------------------------------------------------------------- Processor - 02_definesys_get_procs.py: PASS -------------------------------------------------------------------- Processor - 03_proc_gi_errs.py: PASS -------------------------------------------------------------------- Profile - 01_enum.py: PASS -------------------------------------------------------------------- Profile - 02_profile_to_elec.py: PASS -------------------------------------------------------------------- Profile - 03_rprofile_gi_errs.py: PASS -------------------------------------------------------------------- RASD - 01_verify_rasd_fields.py: PASS -------------------------------------------------------------------- RASD - 02_enum.py: PASS -------------------------------------------------------------------- RASD - 03_rasd_errs.py: PASS -------------------------------------------------------------------- RASD - 04_disk_rasd_size.py: PASS -------------------------------------------------------------------- RASD - 05_disk_rasd_emu_type.py: PASS -------------------------------------------------------------------- RASD - 06_parent_net_pool.py: PASS -------------------------------------------------------------------- RASD - 07_parent_disk_pool.py: PASS -------------------------------------------------------------------- RASDIndications - 01_guest_states_rasd_ind.py: PASS -------------------------------------------------------------------- RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: PASS -------------------------------------------------------------------- RedirectionService - 01_enum_crs.py: PASS -------------------------------------------------------------------- RedirectionService - 02_enum_crscap.py: PASS -------------------------------------------------------------------- RedirectionService - 03_RedirectionSAP_errs.py: PASS -------------------------------------------------------------------- ReferencedProfile - 01_verify_refprof.py: PASS -------------------------------------------------------------------- ReferencedProfile - 02_refprofile_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 01_forward.py: FAIL ERROR - No RASD associated with DiskPool/cimtest-diskpool -------------------------------------------------------------------- ResourceAllocationFromPool - 02_reverse.py: FAIL ERROR - InstanceID Mismatch ERROR - Got DiskPool/default instead of DiskPool/cimtest-diskpool -------------------------------------------------------------------- ResourceAllocationFromPool - 03_forward_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 05_RAPF_err.py: PASS -------------------------------------------------------------------- ResourcePool - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePool - 02_rp_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 02_rcps_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 03_CreateResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 07_DeleteResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 09_DeleteDiskPool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 10_create_storagevolume.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 13_delete_storagevolume.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: PASS -------------------------------------------------------------------- ServiceAccessBySAP - 01_forward.py: PASS -------------------------------------------------------------------- ServiceAccessBySAP - 02_reverse.py: PASS -------------------------------------------------------------------- ServiceAffectsElement - 01_forward.py: PASS -------------------------------------------------------------------- ServiceAffectsElement - 02_reverse.py: PASS -------------------------------------------------------------------- SettingsDefine - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefine - 02_reverse.py: PASS -------------------------------------------------------------------- SettingsDefine - 03_sds_fwd_errs.py: PASS -------------------------------------------------------------------- SettingsDefine - 04_sds_rev_errs.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 04_forward_vsmsdata.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 05_reverse_vsmcap.py: PASS -------------------------------------------------------------------- SystemDevice - 01_forward.py: PASS -------------------------------------------------------------------- SystemDevice - 02_reverse.py: PASS -------------------------------------------------------------------- SystemDevice - 03_fwderrs.py: PASS -------------------------------------------------------------------- VSSD - 01_enum.py: PASS -------------------------------------------------------------------- VSSD - 02_bootldr.py: SKIP -------------------------------------------------------------------- VSSD - 03_vssd_gi_errs.py: PASS -------------------------------------------------------------------- VSSD - 04_vssd_to_rasd.py: PASS -------------------------------------------------------------------- VSSD - 05_set_uuid.py: PASS -------------------------------------------------------------------- VSSD - 06_duplicate_uuid.py: PASS -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 01_definesystem_name.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 02_destroysystem.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 03_definesystem_ess.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 04_definesystem_ers.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 05_destroysystem_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 06_addresource.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 07_addresource_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 08_modifyresource.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 09_procrasd_persist.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 10_hv_version.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 11_define_memrasdunits.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 12_referenced_config.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 13_refconfig_additional_devs.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 14_define_sys_disk.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 15_mod_system_settings.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 16_removeresource.py: XFAIL ERROR - 0 RASD insts for domain/mouse:ps2 CIM_ERR_NOT_FOUND: No such instance (no device domain/mouse:ps2) Bug:<00014> -------------------------------------------------------------------- VirtualSystemManagementService - 17_removeresource_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 18_define_sys_bridge.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 19_definenetwork_ers.py: FAIL ERROR - DEBUG nettype is network, field is None, tc is none ERROR - DEBUG nettype is network, field is , tc is empty ERROR - Got CIM error CIM_ERR_FAILED: Unable to start domain: Network not found: no network with matching name '' with return code 1 ERROR - DEBUG nettype is network, field is invalid, tc is invalid ERROR - Got CIM error CIM_ERR_FAILED: Unable to start domain: Network not found: no network with matching name 'invalid' with return code 1 ERROR - DEBUG nettype is bridge, field is None, tc is none ERROR - Got CIM error CIM_ERR_FAILED: ResourceSettings Error: No Network bridge name specified with return code 1 ERROR - DEBUG nettype is bridge, field is , tc is empty ERROR - Got CIM error CIM_ERR_FAILED: ResourceSettings Error: Bridge name is empty with return code 1 ERROR - DEBUG nettype is bridge, field is invalid, tc is invalid ERROR - Got CIM error CIM_ERR_FAILED: Unable to start domain: Failed to add tap interface to bridge 'invalid': No such device with return code 1 ERROR - Desc Mismatch, Got desc: 'CIM_ERR_FAILED: Unable to start domain: Failed to add tap interface to bridge 'invalid': No such device', exp 'internal error Failed to add tap interface' ERROR - Starting domain with invalid bridge name invalid gave unexpected rc code 1 and description: CIM_ERR_FAILED: Unable to start domain: Failed to add tap interface to bridge 'invalid': No such device InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to start domain: Network not found: no network with matching name '' InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to start domain: Network not found: no network with matching name 'invalid' InvokeMethod(DefineSystem): CIM_ERR_FAILED: ResourceSettings Error: No Network bridge name specified InvokeMethod(DefineSystem): CIM_ERR_FAILED: ResourceSettings Error: Bridge name is empty InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to start domain: Failed to add tap interface to bridge 'invalid': No such device -------------------------------------------------------------------- VirtualSystemManagementService - 20_verify_vnc_password.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 21_createVS_verifyMAC.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL ERROR - Got 99:aa:bb:cc:ee:ff, exp 99:aa:bb:cc:ee:ff. Got None, exp my_network1. ERROR - Error invoking AddRS: add_net_res ERROR - Error adding rs for net mac ERROR - Failed to destroy Virtual Network 'my_network1' Bug:<00015> -------------------------------------------------------------------- VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationService - 01_migratable_host.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 01_forward.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 02_reverse.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 03_create_snapshot.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: PASS -------------------------------------------------------------------- -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From snmishra at us.ibm.com Tue Nov 17 19:27:22 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Tue, 17 Nov 2009 11:27:22 -0800 Subject: [Libvirt-cim] [PATCH] Use strdup() to copy memory so list of strings can be free in Virt_DevicePool In-Reply-To: <33a6a50f64e08df1585a.1257998803@elm3b41.beaverton.ibm.com> References: <33a6a50f64e08df1585a.1257998803@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] Use strdup() 11/11/2009 08:06 to copy memory so list of PM strings can be free in Virt_DevicePool Please respond to List for discussion and development of libvirt CIM # HG changeset patch # User Kaitlin Rupert # Date 1257998067 28800 # Node ID 33a6a50f64e08df1585a249d96d89e4e03d663e4 # Parent a804ea345a48f2dd57a7e78b8fbd595f9397906b Use strdup() to copy memory so list of strings can be free in Virt_DevicePool This were missed in revision 1008. In Virt_RASD, declare base a const char, as we aren't allocating memory here. Revert changes from revision 1008 - this is a regression. Signed-off-by: Kaitlin Rupert diff -r a804ea345a48 -r 33a6a50f64e0 src/Virt_DevicePool.c --- a/src/Virt_DevicePool.c Fri Nov 06 14:03:41 2009 -0800 +++ b/src/Virt_DevicePool.c Wed Nov 11 19:54:27 2009 -0800 @@ -130,11 +130,13 @@ names = calloc(count, sizeof(char *)); if (names == NULL) { CU_DEBUG("Failed to alloc space for %i pool names", count); + count = 0; goto out; } if (virConnectListStoragePools(conn, names, count) == -1) { CU_DEBUG("Failed to get storage pools"); + count = 0; goto out; } @@ -145,7 +147,7 @@ } for (i = 0; i < count; i++) { - pools[i].tag = names[i]; + pools[i].tag = strdup(names[i]); pools[i].primordial = false; } @@ -936,7 +938,7 @@ goto out; } - netnames[nets - 1] = "0"; + netnames[nets - 1] = strdup("0"); for (i = 0; i < nets; i++) { _netpool_for_network(list, diff -r a804ea345a48 -r 33a6a50f64e0 src/Virt_RASD.c --- a/src/Virt_RASD.c Fri Nov 06 14:03:41 2009 -0800 +++ b/src/Virt_RASD.c Wed Nov 11 19:54:27 2009 -0800 @@ -377,7 +377,7 @@ CMPIStatus s; CMPIInstance *inst; uint16_t type; - char *base; + const char *base; char *id; const char *keys[] = {"InstanceID", NULL}; @@ -407,8 +407,6 @@ CLASSNAME(ref), base, NAMESPACE(ref)); - free(base); - if (inst == NULL) return inst; _______________________________________________ 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: pic02164.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 Nov 17 19:53:45 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Tue, 17 Nov 2009 11:53:45 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Fix VSMS 23 to SKIP for old provider sets In-Reply-To: <2489a1776bb628edb70b.1257804548@elm3b41.beaverton.ibm.com> References: <2489a1776bb628edb70b.1257804548@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] Fix 11/09/2009 02:09 VSMS 23 to SKIP for old provider PM sets Please respond to List for discussion and development of libvirt CIM # HG changeset patch # User Kaitlin Rupert # Date 1257802470 28800 # Node ID 2489a1776bb628edb70b4586eb6548a4e47a022b # Parent 9b3156cd8d1a72573531f23cd3e0907d71685c34 [TEST] Fix VSMS 23 to SKIP for old provider sets The duplicate MAC change was added in revision 929 - this test should skip if the provider set is older than this. Signed-off-by: Kaitlin Rupert diff -r 9b3156cd8d1a -r 2489a1776bb6 suites/libvirt-cim/cimtest/VirtualSystemManagementService/23_verify_duplicate_mac_err.py --- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/23_verify_duplicate_mac_err.py Mon Nov 09 13:24:52 2009 -0800 +++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/23_verify_duplicate_mac_err.py Mon Nov 09 13:34:30 2009 -0800 @@ -29,11 +29,12 @@ from XenKvmLib.vsms import get_vsms_class, get_nasd_class from XenKvmLib.vxml import get_class from CimTest.Globals import logger -from CimTest.ReturnCodes import FAIL, PASS +from CimTest.ReturnCodes import FAIL, PASS, SKIP from XenKvmLib.const import default_network_name, do_main from XenKvmLib.common_util import create_netpool_conf, destroy_netpool from XenKvmLib.classes import get_typed_class from XenKvmLib.enumclass import GetInstance, EnumNames +from XenKvmLib.const import get_provider_version sup_types = ['Xen', 'KVM', 'XenFV'] default_dom = 'net_domain1' @@ -44,6 +45,7 @@ exp_rc = CIM_ERR_FAILED exp_desc = "Conflicting MAC Addresses" +dup_mac_rev = 929 def cleanup_env(ip, virt, npool_name, cxml): cxml.cim_destroy(ip) @@ -72,6 +74,11 @@ def main(): options = main.options + rev, changeset = get_provider_version(options.virt, options.ip) + if rev < dup_mac_rev: + logger.error("Test only valid with provider version > %d", dup_mac_rev) + return SKIP + status, net_name = create_netpool_conf(options.ip, options.virt, use_existing=False, net_name=npool_name) _______________________________________________ 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: pic31411.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 Nov 17 21:24:53 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Tue, 17 Nov 2009 13:24:53 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Fix VSMS 15 to work with KVM guests and old providers In-Reply-To: <9b3156cd8d1a72573531.1257804515@elm3b41.beaverton.ibm.com> References: <9b3156cd8d1a72573531.1257804515@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] Fix 11/09/2009 02:08 VSMS 15 to work with KVM guests PM and old providers Please respond to List for discussion and development of libvirt CIM # HG changeset patch # User Kaitlin Rupert # Date 1257801892 28800 # Node ID 9b3156cd8d1a72573531f23cd3e0907d71685c34 # Parent 72072bf8e9b0511d69dc308f2174dea3cb797a6c [TEST] Fix VSMS 15 to work with KVM guests and old providers The cimtest image doesn't support reboot; older versions of libvirt-cim attempted to reboot guests on a disable call (instead of powering them down immediately). This fix does a virsh destroy on the guest (for older provider sets only). Signed-off-by: Kaitlin Rupert diff -r 72072bf8e9b0 -r 9b3156cd8d1a suites/libvirt-cim/cimtest/VirtualSystemManagementService/15_mod_system_settings.py --- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/15_mod_system_settings.py Mon Nov 09 13:24:52 2009 -0800 +++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/15_mod_system_settings.py Mon Nov 09 13:24:52 2009 -0800 @@ -31,7 +31,8 @@ from XenKvmLib.enumclass import GetInstance from XenKvmLib.common_util import poll_for_state_change from XenKvmLib.const import get_provider_version -from XenKvmLib.xm_virt_util import domain_list, active_domain_list +from XenKvmLib.xm_virt_util import domain_list, active_domain_list, \ + destroy_domain sup_types = ['Xen', 'KVM', 'XenFV', 'LXC'] default_dom = 'rstest_domain' @@ -42,6 +43,7 @@ f9_bug = "00010" libvirt_f9_revision=613 libvirt_modify_setting_changes = 694 +disable_change_rev = 945 def get_vssd(ip, virt, get_cim_inst): cn = get_typed_class(virt, "VirtualSystemSettingData") @@ -63,6 +65,26 @@ return PASS, inst +def power_down_guest(ip, virt, dom): + rev, changeset = get_provider_version(virt, ip) + + if rev < disable_change_rev and virt == "KVM": + rc = destroy_domain(ip, dom, virt) + if rc != 0: + return FAIL + else: + status = cxml.cim_disable(ip) + if status != PASS: + logger.error("Failed to disable %s", dom) + return FAIL + + status, cs = poll_for_state_change(ip, virt, dom, CIM_DISABLE) + if status != PASS: + logger.error("Failed to destroy %s", dom) + return FAIL + + return PASS + @do_main(sup_types) def main(): options = main.options @@ -103,14 +125,9 @@ raise Exception("Failed to modify dom: %s" % default_dom) if case == "start": - status = cxml.cim_disable(options.ip) + status = power_down_guest(options.ip, options.virt, default_dom) if status != PASS: - raise Exception("Failed to disable %s" % default_dom) - - status, cs = poll_for_state_change(options.ip, options.virt, - default_dom, CIM_DISABLE) - if status != PASS: - raise Exception("Failed to destroy %s" % default_dom) + raise Exception("Unable to disable %s" % default_dom) status, inst = get_vssd(options.ip, options.virt, False) if status != PASS: diff -r 72072bf8e9b0 -r 9b3156cd8d1a suites/libvirt-cim/lib/XenKvmLib/xm_virt_util.py --- a/suites/libvirt-cim/lib/XenKvmLib/xm_virt_util.py Mon Nov 09 13:24:52 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/xm_virt_util.py Mon Nov 09 13:24:52 2009 -0800 @@ -92,6 +92,17 @@ return int(mfm) +def destroy_domain(server, dom, virt="Xen"): + """Function to destroy given domain""" + if virt == "XenFV": + virt = "Xen" + + cmd = "virsh -c %s destroy %s" % (virt2uri(virt), dom) + ret, out = utils.run_remote(server, cmd) + print cmd, ret, out + + return ret + def domain_list(server, virt="Xen"): """Function to list all domains""" if virt == "XenFV": _______________________________________________ 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: pic00242.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 Wed Nov 18 00:29:35 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Tue, 17 Nov 2009 19:29:35 -0500 Subject: [Libvirt-cim] Test Run Summary (Nov 18 2009): KVM on Red Hat Enterprise Linux Server release 5.4 Beta (Tikanga) with Pegasus Message-ID: <200911180029.nAI0TZo5017733@d01av04.pok.ibm.com> ================================================= Test Run Summary (Nov 18 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: 997 Libvirt-cim changeset: b9ee6fd16113 Cimtest revision: 794 Cimtest changeset: c7561bf61126 Total test execution: Unknown ================================================= FAIL : 2 XFAIL : 4 SKIP : 10 PASS : 159 ----------------- Total : 175 ================================================= FAIL Test Summary: ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: FAIL ResourcePoolConfigurationService - 07_DeleteResourcePool.py: FAIL ================================================= XFAIL Test Summary: ComputerSystem - 32_start_reboot.py: XFAIL ComputerSystem - 33_suspend_reboot.py: XFAIL VirtualSystemManagementService - 16_removeresource.py: XFAIL VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL ================================================= SKIP Test Summary: ComputerSystem - 02_nosystems.py: SKIP ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP LogicalDisk - 02_nodevs.py: SKIP VSSD - 02_bootldr.py: SKIP VirtualSystemMigrationService - 01_migratable_host.py: SKIP VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: SKIP ================================================= Full report: -------------------------------------------------------------------- AllocationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- AllocationCapabilities - 02_alloccap_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 01_enum.py: PASS -------------------------------------------------------------------- ComputerSystem - 02_nosystems.py: SKIP ERROR - System has defined domains; unable to run -------------------------------------------------------------------- ComputerSystem - 03_defineVS.py: PASS -------------------------------------------------------------------- ComputerSystem - 04_defineStartVS.py: PASS -------------------------------------------------------------------- ComputerSystem - 05_activate_defined_start.py: PASS -------------------------------------------------------------------- ComputerSystem - 06_paused_active_suspend.py: PASS -------------------------------------------------------------------- ComputerSystem - 22_define_suspend.py: PASS -------------------------------------------------------------------- ComputerSystem - 23_pause_pause.py: PASS -------------------------------------------------------------------- ComputerSystem - 27_define_pause_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 32_start_reboot.py: XFAIL ERROR - Got CIM error CIM_ERR_FAILED: Unable to reboot domain: this function is not supported by the hypervisor: virDomainReboot with return code 1 ERROR - Exception: Unable reboot dom 'cs_test_domain' 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 -------------------------------------------------------------------- HostSystem - 01_enum.py: PASS -------------------------------------------------------------------- HostSystem - 02_hostsystem_to_rasd.py: PASS -------------------------------------------------------------------- HostSystem - 03_hs_to_settdefcap.py: PASS -------------------------------------------------------------------- HostSystem - 04_hs_to_EAPF.py: PASS -------------------------------------------------------------------- HostSystem - 05_hs_gi_errs.py: PASS -------------------------------------------------------------------- HostSystem - 06_hs_to_vsms.py: PASS -------------------------------------------------------------------- HostedAccessPoint - 01_forward.py: PASS -------------------------------------------------------------------- HostedAccessPoint - 02_reverse.py: PASS -------------------------------------------------------------------- HostedDependency - 01_forward.py: PASS -------------------------------------------------------------------- HostedDependency - 02_reverse.py: PASS -------------------------------------------------------------------- HostedDependency - 03_enabledstate.py: PASS -------------------------------------------------------------------- HostedDependency - 04_reverse_errs.py: PASS -------------------------------------------------------------------- HostedResourcePool - 01_forward.py: PASS -------------------------------------------------------------------- HostedResourcePool - 02_reverse.py: PASS -------------------------------------------------------------------- HostedResourcePool - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedResourcePool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- HostedService - 01_forward.py: PASS -------------------------------------------------------------------- HostedService - 02_reverse.py: PASS -------------------------------------------------------------------- HostedService - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedService - 04_reverse_errs.py: PASS -------------------------------------------------------------------- KVMRedirectionSAP - 01_enum_KVMredSAP.py: PASS -------------------------------------------------------------------- LogicalDisk - 01_disk.py: PASS -------------------------------------------------------------------- LogicalDisk - 02_nodevs.py: SKIP ERROR - System has defined domains; unable to run 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 -------------------------------------------------------------------- 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 -------------------------------------------------------------------- VSSD - 01_enum.py: PASS -------------------------------------------------------------------- VSSD - 02_bootldr.py: SKIP -------------------------------------------------------------------- VSSD - 03_vssd_gi_errs.py: PASS -------------------------------------------------------------------- VSSD - 04_vssd_to_rasd.py: PASS -------------------------------------------------------------------- VSSD - 05_set_uuid.py: PASS -------------------------------------------------------------------- VSSD - 06_duplicate_uuid.py: PASS -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 01_definesystem_name.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 02_destroysystem.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 03_definesystem_ess.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 04_definesystem_ers.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 05_destroysystem_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 06_addresource.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 07_addresource_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 08_modifyresource.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 09_procrasd_persist.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 10_hv_version.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 11_define_memrasdunits.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 12_referenced_config.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 13_refconfig_additional_devs.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 14_define_sys_disk.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 15_mod_system_settings.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 16_removeresource.py: XFAIL ERROR - 0 RASD insts for domain/mouse:ps2 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: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: PASS -------------------------------------------------------------------- From kaitlin at linux.vnet.ibm.com Wed Nov 18 21:46:52 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Wed, 18 Nov 2009 21:46:52 -0000 Subject: [Libvirt-cim] [PATCH 0 of 2] Add option for running a subset of test directories Message-ID: From kaitlin at linux.vnet.ibm.com Wed Nov 18 21:46:53 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Wed, 18 Nov 2009 21:46:53 -0000 Subject: [Libvirt-cim] [PATCH 1 of 2] [TEST] Add get_subset_test_list(): lists the tests in a given set of test dirs In-Reply-To: References: Message-ID: # HG changeset patch # User Kaitlin Rupert # Date 1258580377 28800 # Node ID dfe044c37ec5b9f87db1a377743d9b928180018c # Parent c7907449b007aece4418f03272d8754b5fd41ac2 [TEST] Add get_subset_test_list(): lists the tests in a given set of test dirs This function allows you to get the list of tests in the specified directories. It supports two ways of specifying directories: [dir1:dir2] or [dir1,dir2,dir3] Signed-off-by: Kaitlin Rupert diff -r c7907449b007 -r dfe044c37ec5 lib/VirtLib/groups.py --- a/lib/VirtLib/groups.py Mon Nov 09 13:24:52 2009 -0800 +++ b/lib/VirtLib/groups.py Wed Nov 18 13:39:37 2009 -0800 @@ -37,7 +37,18 @@ if os.path.isdir(group_p): ret.append(filename) - ret.sort() + #sort() doesn't handle upper and lower case comparisons properly. + #The following manipulation will ensure the list is in the same + #order 'ls' returns on a directory + tmp = [] + for i, group in enumerate(ret): + tmp.append([group.lower(), group]) + + tmp.sort() + ret = [] + for key, group in tmp: + ret.append(group) + return ret def list_tests_in_group(test_suite, group_name): @@ -93,3 +104,46 @@ ret.append({ 'group': group, 'test': test}) return ret + +def get_subset_test_list(test_suite, test_subset): + """Return a list of dictionaries for a specific set of groups. + It will contain the group and test filename + """ + ret = [] + + str = test_subset.strip('[]') + + if test_subset.find(",") >= 0: + groups = str.split(',') + + elif test_subset.find(":") >= 0: + groups = str.split(':') + if len(groups) != 2: + return ret + + all_groups = list_groups(test_suite) + index_start = all_groups.index(groups[0]) + index_end = all_groups.index(groups[1]) + + if index_start < 0: + print "Group %s (%d) was not found" % (groups[0], index_start) + return ret + elif index_end < 0: + print "Group %s (%d) was not found" % (groups[1], index_end) + return ret + elif index_end < index_start: + print "Group %s's index (%d) is < Group %s's index (%d)" % \ + (groups[1], index_end, groups[0], index_start) + return ret + + groups = all_groups[index_start:index_end + 1] + + else: + return ret + + for group in groups: + tmp = get_group_test_list(test_suite, group) + ret = ret + tmp + + return ret + From kaitlin at linux.vnet.ibm.com Wed Nov 18 21:46:54 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Wed, 18 Nov 2009 21:46:54 -0000 Subject: [Libvirt-cim] [PATCH 2 of 2] [TEST] Add --test_subset option for specifying a bulk run of a subset of dirs In-Reply-To: References: Message-ID: <95cc631fc4581c9705ae.1258580814@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1258580377 28800 # Node ID 95cc631fc4581c9705ae93088688e1d3af28c55a # Parent dfe044c37ec5b9f87db1a377743d9b928180018c [TEST] Add --test_subset option for specifying a bulk run of a subset of dirs You can use this option in the following ways: CIM_NS=root/virt CIM_USER=root CIM_PASS=pass ./runtests libvirt-cim -i localhost -c -d -v KVM --test_subset [LogicalDisk:RASD] -this will run all tests in the LogicalDisk, Memory, NetworkPort, Processor, Profile, and RASD directories CIM_NS=root/virt CIM_USER=root CIM_PASS=pass ./runtests libvirt-cim -i localhost -c -d -v KVM --test_subset [LogicalDisk,RASD,Memory] -this will run all tests in the LogicalDisk, RASD, and Memory dirs Signed-off-by: Kaitlin Rupert diff -r dfe044c37ec5 -r 95cc631fc458 suites/libvirt-cim/main.py --- a/suites/libvirt-cim/main.py Wed Nov 18 13:39:37 2009 -0800 +++ b/suites/libvirt-cim/main.py Wed Nov 18 13:39:37 2009 -0800 @@ -68,6 +68,8 @@ parser.add_option("--print-exec-time", action="store_true", dest="print_exec_time", help="Print execution time of each test") +parser.add_option("--test_subset", dest="test_subset", + help="Only run specified dirs [dir,dir,...] or [dir:dir]") TEST_SUITE = 'cimtest' CIMTEST_RCFILE = '%s/.cimtestrc' % os.environ['HOME'] @@ -185,6 +187,11 @@ parser.print_help() return 1 + if options.group and options.test_subset: + print "\nPlease specify either a test group or a subset of tests.\n" + parser.print_help() + return 1 + env_ready = pre_check(options.ip, options.virt) if env_ready != None: print "\n%s. Please check your environment.\n" % env_ready @@ -214,17 +221,27 @@ set_python_path() - if options.group and options.test: - test_list = groups.get_one_test(TEST_SUITE, options.group, options.test) - elif options.group and not options.test: - test_list = groups.get_group_test_list(TEST_SUITE, options.group) + if options.group: + if options.test: + test_list = groups.get_one_test(TEST_SUITE, options.group, + options.test) + else: + test_list = groups.get_group_test_list(TEST_SUITE, options.group) + + if not test_list: + print "Test %s:%s not found" % (options.group, options.test) + return 1 + + elif options.test_subset: + test_list = groups.get_subset_test_list(TEST_SUITE, options.test_subset) + + if not test_list: + print "Test subset not found: %s" % (options.test_subset) + return 1 + else: test_list = groups.list_all_tests(TEST_SUITE) - if not test_list: - print "Test %s:%s not found" % (options.group, options.test) - return 1 - if options.clean: remove_old_logs(options.group) From kaitlin at linux.vnet.ibm.com Wed Nov 18 21:47:55 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Wed, 18 Nov 2009 21:47:55 -0000 Subject: [Libvirt-cim] [PATCH] [TEST] Fix RASDIndication 01 test to prevent possible test hang Message-ID: <4747be9dd1dedd9acc45.1258580875@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1258411652 28800 # Node ID 4747be9dd1dedd9acc45ebbff7793724f76ad604 # Parent 95cc631fc4581c9705ae93088688e1d3af28c55a [TEST] Fix RASDIndication 01 test to prevent possible test hang Signed-off-by: Kaitlin Rupert diff -r 95cc631fc458 -r 4747be9dd1de suites/libvirt-cim/cimtest/RASDIndications/01_guest_states_rasd_ind.py --- a/suites/libvirt-cim/cimtest/RASDIndications/01_guest_states_rasd_ind.py Wed Nov 18 13:39:37 2009 -0800 +++ b/suites/libvirt-cim/cimtest/RASDIndications/01_guest_states_rasd_ind.py Mon Nov 16 14:47:32 2009 -0800 @@ -135,6 +135,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) From snmishra at us.ibm.com Wed Nov 18 21:43:08 2009 From: snmishra at us.ibm.com (Sharad Mishra) Date: Wed, 18 Nov 2009 13:43:08 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] #2 Fix CS 34 to SKIP if virt type is KVM and providers are old In-Reply-To: <2f8394bb8f38f7206987.1257872829@elm3b41.beaverton.ibm.com> References: <2f8394bb8f38f7206987.1257872829@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 11/10/2009 09:07 CS 34 to SKIP if virt type is AM KVM and providers are old Please respond to List for discussion and development of libvirt CIM # HG changeset patch # User Kaitlin Rupert # Date 1257801892 28800 # Node ID 2f8394bb8f38f72069871e1ce07214f1abc6b2cc # Parent 55c3c3f3bc77c9946f61997de87547e99c21e38a [TEST] #2 Fix CS 34 to SKIP if virt type is KVM and providers are old... When they are older than revision 945. The cimtest image doesn't support reboot; older versions of libvirt-cim attempted to reboot guests on a disable call (instead of powering them down immediately). This fix does a virsh destroy on the guest (for older provider sets only). Updates: -Copy and paste error. Remove extraneous line. Signed-off-by: Kaitlin Rupert diff -r 55c3c3f3bc77 -r 2f8394bb8f38 suites/libvirt-cim/cimtest/ComputerSystem/34_start_disable.py --- a/suites/libvirt-cim/cimtest/ComputerSystem/34_start_disable.py Tue Nov 03 10:37:35 2009 -0800 +++ b/suites/libvirt-cim/cimtest/ComputerSystem/34_start_disable.py Mon Nov 09 13:24:52 2009 -0800 @@ -37,7 +37,7 @@ from CimTest.Globals import logger from XenKvmLib.const import do_main, CIM_ENABLE, CIM_DISABLE, \ get_provider_version -from CimTest.ReturnCodes import PASS, FAIL +from CimTest.ReturnCodes import PASS, FAIL, SKIP from XenKvmLib.vxml import get_class sup_types = ['Xen', 'XenFV', 'KVM', 'LXC'] @@ -54,6 +54,15 @@ virt = options.virt try: + rev, changeset = get_provider_version(virt, server) + if rev >= disable_change_rev: + exp_state = CIM_DISABLE + else: + if options.virt == "KVM": + logger.info("cimtest's KVM guest imagedoesn't support reboot") + return SKIP + exp_state = CIM_ENABLE + cxml = get_class(virt)(default_dom) ret = cxml.cim_define(server) if not ret: @@ -67,12 +76,6 @@ if status != PASS: raise Exception("Unable disable dom '%s'" % default_dom) - rev, changeset = get_provider_version(virt, server) - if rev >= disable_change_rev: - exp_state = CIM_DISABLE - else: - exp_state = CIM_ENABLE - status = cxml.check_guest_state(server, exp_state) if status != PASS: raise Exception("%s not in expected state %d" % \ _______________________________________________ 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: pic23234.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 Wed Nov 18 21:50:28 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Wed, 18 Nov 2009 21:50:28 -0000 Subject: [Libvirt-cim] [PATCH 0 of 2] Add new test case for recent acpi, apic, and pae support Message-ID: From kaitlin at linux.vnet.ibm.com Wed Nov 18 21:50:30 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Wed, 18 Nov 2009 21:50:30 -0000 Subject: [Libvirt-cim] [PATCH 2 of 2] [TEST] Add new VSMS test for testing new EnableAPCI, EnableAPIC, and In-Reply-To: References: Message-ID: <694c0d606e2fd61961d3.1258581030@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1258581016 28800 # Node ID 694c0d606e2fd61961d3a64a6e5c601fd30c23c5 # Parent 3e6d9522f2e1240a67bdcae6c09743de0f155753 [TEST] Add new VSMS test for testing new EnableAPCI, EnableAPIC, and ... EnablePAE options in libvirt-cim. Signed-off-by: Kaitlin Rupert diff -r 3e6d9522f2e1 -r 694c0d606e2f suites/libvirt-cim/cimtest/VirtualSystemManagementService/24_define_sys_features.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/24_define_sys_features.py Wed Nov 18 13:50:16 2009 -0800 @@ -0,0 +1,71 @@ +#!/usr/bin/python +# +# Copyright 2009 IBM Corp. +# +# Authors: +# Kaitlin Rupert +# +# 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 testcase verifies defining and starting domain with bridge interface +# + +import sys +from XenKvmLib import vxml +from CimTest.Globals import logger +from CimTest.ReturnCodes import FAIL, PASS +from XenKvmLib.const import do_main + +sup_types = ['Xen', 'KVM', 'XenFV'] +default_dom = 'features_domain' + + at do_main(sup_types) +def main(): + options = main.options + + status = FAIL + + cxml = vxml.get_class(options.virt)(default_dom, pae=True, + acpi=True, apic=True) + + try: + ret = cxml.cim_define(options.ip) + if not ret: + raise Exception("Failed to define the dom: %s" % default_dom) + + cxml.dumpxml(options.ip) + + if cxml.xml_get_pae() == None: + raise Exception("Failed to set pae for dom: %s" % default_dom) + + if cxml.xml_get_acpi() == None: + raise Exception("Failed to set acpi for dom: %s" % default_dom) + + if cxml.xml_get_apic() == None: + raise Exception("Failed to set apic for dom: %s" % default_dom) + + status = PASS + + except Exception, details: + logger.error(details) + status = FAIL + + cxml.cim_destroy(options.ip) + + return status + +if __name__ == "__main__": + sys.exit(main()) + From kaitlin at linux.vnet.ibm.com Wed Nov 18 21:50:29 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Wed, 18 Nov 2009 21:50:29 -0000 Subject: [Libvirt-cim] [PATCH 1 of 2] [TEST] Add VSMS24 to verify users can enable pae, acpi, and apic during a define In-Reply-To: References: Message-ID: <3e6d9522f2e1240a67bd.1258581029@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1258580960 28800 # Node ID 3e6d9522f2e1240a67bdcae6c09743de0f155753 # Parent 4747be9dd1dedd9acc45ebbff7793724f76ad604 [TEST] Add VSMS24 to verify users can enable pae, acpi, and apic during a define Signed-off-by: Kaitlin Rupert diff -r 4747be9dd1de -r 3e6d9522f2e1 suites/libvirt-cim/lib/XenKvmLib/vsms.py --- a/suites/libvirt-cim/lib/XenKvmLib/vsms.py Mon Nov 16 14:47:32 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/vsms.py Wed Nov 18 13:49:20 2009 -0800 @@ -91,7 +91,8 @@ # classes to define VSSD parameters class CIM_VirtualSystemSettingData(CIMClassMOF): - def __init__(self, name, virt, uuid=None, bldr=None, emulator=None): + def __init__(self, name, virt, uuid=None, bldr=None, emulator=None, + pae=False, acpi=False, apic=False): type = get_class_type(self.__class__.__name__) self.InstanceID = '%s:%s' % (type, name) self.Caption = self.Description = 'Virtual System' @@ -119,6 +120,10 @@ if uuid is not None: self.UUID = uuid + self.EnablePAE = pae + self.EnableACPI = acpi + self.EnableAPIC = apic + class Xen_VirtualSystemSettingData(CIM_VirtualSystemSettingData): pass @@ -128,9 +133,11 @@ class LXC_VirtualSystemSettingData(CIM_VirtualSystemSettingData): pass -def get_vssd_mof(virt, dom_name, uuid=None, bldr=None): +def get_vssd_mof(virt, dom_name, uuid=None, bldr=None, pae=False, acpi=False, + apic=False): vssd_cn = eval(get_typed_class(virt, "VirtualSystemSettingData")) - vssd = vssd_cn(dom_name, virt, uuid=uuid, bldr=bldr) + vssd = vssd_cn(dom_name, virt, uuid=uuid, bldr=bldr, pae=pae, acpi=acpi, + apic=apic) return vssd.mof() # classes to define RASD parameters diff -r 4747be9dd1de -r 3e6d9522f2e1 suites/libvirt-cim/lib/XenKvmLib/vxml.py --- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Mon Nov 16 14:47:32 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Wed Nov 18 13:49:20 2009 -0800 @@ -1,4 +1,3 @@ -# # Copyright 2008 IBM Corp. # # Authors: @@ -473,6 +472,18 @@ def xml_get_vcpu(self): pass + @_x2str('/domain/features/pae') + def xml_get_pae(self): + pass + + @_x2str('/domain/features/acpi') + def xml_get_acpi(self): + pass + + @_x2str('/domain/features/apic') + def xml_get_apic(self): + pass + @_x2str('/domain/devices/disk/@type') def xml_get_disk_type(self): pass @@ -555,15 +566,16 @@ class VirtCIM: - def __init__(self, virt, dom_name, uuid, disk_dev, disk_source, - net_type, net_name, net_mac, vcpus, mem, + 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): self.virt = virt self.domain_name = dom_name self.err_rc = None self.err_desc = None - self.vssd = vsms.get_vssd_mof(virt, dom_name, uuid=uuid) + self.vssd = vsms.get_vssd_mof(virt, dom_name, uuid=uuid, pae=pae, + acpi=acpi, apic=apic) self.nasd = vsms.get_nasd_class(virt)(type=net_type, mac=net_mac, name=dom_name, @@ -790,6 +802,9 @@ def __init__(self, test_dom=const.default_domname, uuid=None, + pae=False, + acpi=False, + apic=False, mem=const.default_memory, mem_allocunits=const.default_mallocunits, vcpus=const.default_vcpus, @@ -810,10 +825,10 @@ self._os(const.Xen_kernel_path, const.Xen_init_path) self._devices(disk_file_path, disk, ntype, mac, net_name) - VirtCIM.__init__(self, 'Xen', test_dom, uuid, disk, disk_file_path, - ntype, net_name, mac, vcpus, mem, mem_allocunits, - emu_type, grstype, address, port_num, keymap, irstype, - btype, vnc_passwd) + 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) def _os(self, os_kernel, os_initrd): os = self.get_node('/domain/os') @@ -856,6 +871,9 @@ def __init__(self, test_dom=const.default_domname, uuid=None, + pae=False, + acpi=False, + apic=False, mem=const.default_memory, mem_allocunits=const.default_mallocunits, vcpus=const.default_vcpus, @@ -871,8 +889,8 @@ logger.error('Error: Disk image does not exist') sys.exit(1) VirtXML.__init__(self, 'kvm', test_dom, set_uuid(), mem, vcpus) - VirtCIM.__init__(self, 'KVM', test_dom, uuid, disk, disk_file_path, - ntype, net_name, mac, vcpus, mem, + 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) self._os() @@ -912,6 +930,9 @@ def __init__(self, test_dom=const.default_domname, uuid=None, + pae=True, + acpi=True, + apic=True, mem=const.default_memory, mem_allocunits=const.default_mallocunits, vcpus=const.default_vcpus, @@ -927,21 +948,14 @@ 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, disk_file_path, - ntype, net_name, mac, vcpus, mem, mem_allocunits, - emu_type, grstype, address, port_num, keymap, - irstype, btype, vnc_passwd) - self._features() + 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, + keymap, irstype, btype, vnc_passwd) self._os(const.XenFV_default_loader) self._devices(const.XenFV_default_emulator, ntype, mac, net_name, disk_file_path, disk) - def _features(self): - features = self.get_node('/domain/features') - self.add_sub_node(features, 'pae') - self.add_sub_node(features, 'acpi') - self.add_sub_node(features, 'apic') - def _os(self, os_loader): os = self.get_node('/domain/os') self.add_sub_node(os, 'type', 'hvm') From rmaciel at linux.vnet.ibm.com Wed Nov 18 21:54:49 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Wed, 18 Nov 2009 21:54:49 -0000 Subject: [Libvirt-cim] [PATCH] [TEST] Fix LXC guest created by testcase, so it's able to start Message-ID: # HG changeset patch # User Richard Maciel # Date 1258572276 7200 # Node ID f834593694d2f3eefc3b0285ac62032ddc68edd0 # Parent 85410b3c6511eb880ff23f7dd18a7d83cbad26d3 [TEST] Fix LXC guest created by testcase, so it's able to start The source dir property of the guest created by the LXC cimtest was set to a inexistent path. That prevented the guest from starting. Signed-off-by: Richard Maciel diff -r 85410b3c6511 -r f834593694d2 suites/libvirt-cim/lib/XenKvmLib/const.py --- a/suites/libvirt-cim/lib/XenKvmLib/const.py Mon Nov 09 13:24:52 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/const.py Wed Nov 18 17:24:36 2009 -0200 @@ -106,7 +106,7 @@ LXC_init_path = os.path.join(_image_dir, 'cimtest_lxc_init') LXC_default_tty = '/dev/ptmx' LXC_default_mp = '/tmp' -LXC_default_source = '/tmp/lxc_files' +LXC_default_source = '/var/lib/libvirt/images/lxc_files' LXC_default_mac = '11:22:33:aa:bb:cc' LXC_netns_support = False From rmaciel at linux.vnet.ibm.com Wed Nov 18 21:54:56 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Wed, 18 Nov 2009 21:54:56 -0000 Subject: [Libvirt-cim] [PATCH] [TEST] Add the emulator to the guest created by LXC cimtest Message-ID: <815eeee7df1d386da57a.1258581296@localhost.localdomain> # HG changeset patch # User Richard Maciel # Date 1258573335 7200 # Node ID 815eeee7df1d386da57a3e1e6a477bebb0be0aab # Parent f834593694d2f3eefc3b0285ac62032ddc68edd0 [TEST] Add the emulator to the guest created by LXC cimtest Signed-off-by: Richard Maciel diff -r f834593694d2 -r 815eeee7df1d suites/libvirt-cim/lib/XenKvmLib/const.py --- a/suites/libvirt-cim/lib/XenKvmLib/const.py Wed Nov 18 17:24:36 2009 -0200 +++ b/suites/libvirt-cim/lib/XenKvmLib/const.py Wed Nov 18 17:42:15 2009 -0200 @@ -104,6 +104,7 @@ #vxml.LXCXML LXC_init_path = os.path.join(_image_dir, 'cimtest_lxc_init') +LXC_default_emulator = '/usr/libexec/libvirt_lxc' LXC_default_tty = '/dev/ptmx' LXC_default_mp = '/tmp' LXC_default_source = '/var/lib/libvirt/images/lxc_files' diff -r f834593694d2 -r 815eeee7df1d suites/libvirt-cim/lib/XenKvmLib/vxml.py --- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Wed Nov 18 17:24:36 2009 -0200 +++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Wed Nov 18 17:42:15 2009 -0200 @@ -987,7 +987,7 @@ mem, const.default_mallocunits, None, grstype, address, port_num, keymap, irstype, btype, vnc_passwd) self._os(const.LXC_init_path) - self._devices(mac, ntype, net_name, const.LXC_default_tty) + self._devices(const.LXC_default_emulator, mac, ntype, net_name, const.LXC_default_tty) self.create_lxc_file(CIM_IP, const.LXC_init_path) def _os(self, os_init): @@ -995,9 +995,11 @@ self.add_sub_node(os, 'init', os_init) self.add_sub_node(os, 'type', 'exe') - def _devices(self, net_mac, net_type, net_name, tty_set): + def _devices(self, emu, net_mac, net_type, net_name, tty_set): devices = self.get_node('/domain/devices') - + + self.add_sub_node(devices, 'emulator', emu) #'/usr/libexec/libvirt_lxc') + if const.LXC_netns_support is True: self.set_interface_details(devices, net_mac, net_type, net_name, 'LXC') From kaitlin at linux.vnet.ibm.com Thu Nov 19 01:10:33 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Wed, 18 Nov 2009 17:10:33 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Add the emulator to the guest created by LXC cimtest In-Reply-To: <815eeee7df1d386da57a.1258581296@localhost.localdomain> References: <815eeee7df1d386da57a.1258581296@localhost.localdomain> Message-ID: <4B049B09.2080501@linux.vnet.ibm.com> > diff -r f834593694d2 -r 815eeee7df1d suites/libvirt-cim/lib/XenKvmLib/vxml.py > --- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Wed Nov 18 17:24:36 2009 -0200 > +++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Wed Nov 18 17:42:15 2009 -0200 > @@ -987,7 +987,7 @@ > mem, const.default_mallocunits, None, grstype, > address, port_num, keymap, irstype, btype, vnc_passwd) > self._os(const.LXC_init_path) > - self._devices(mac, ntype, net_name, const.LXC_default_tty) > + self._devices(const.LXC_default_emulator, mac, ntype, net_name, const.LXC_default_tty) I would modify the __init__ function of LXCXML to accept an emulator param. We do something similar with KVM. This provides the option for specifying other emulators (which might be useful in the future, or useful for testing negative test cases). > self.create_lxc_file(CIM_IP, const.LXC_init_path) > > def _os(self, os_init): > @@ -995,9 +995,11 @@ > self.add_sub_node(os, 'init', os_init) > self.add_sub_node(os, 'type', 'exe') > > - def _devices(self, net_mac, net_type, net_name, tty_set): > + def _devices(self, emu, net_mac, net_type, net_name, tty_set): > devices = self.get_node('/domain/devices') > - > + > + self.add_sub_node(devices, 'emulator', emu) #'/usr/libexec/libvirt_lxc') Can you remove the comment here? If we change the value of the emulator in const.py, it's likely the comment won't get updated. > + > if const.LXC_netns_support is True: > self.set_interface_details(devices, net_mac, net_type, > net_name, 'LXC') > -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From deeptik at linux.vnet.ibm.com Thu Nov 19 10:56:45 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Thu, 19 Nov 2009 16:26:45 +0530 Subject: [Libvirt-cim] Re: Test Run Summary (Nov 17 2009): KVM on Fedora release 12 (Constantine) with Pegasus In-Reply-To: <4B0275C6.2070208@linux.vnet.ibm.com> References: <4B0275C6.2070208@linux.vnet.ibm.com> Message-ID: <4B05246D.1010407@linux.vnet.ibm.com> Deepti B Kalakeri wrote: > ================================================= > Test Run Summary (Nov 17 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.1 > Hypervisor: QEMU 0.11.0 > CIMOM: Pegasus 2.9.0 > Libvirt-cim revision: 1009 > Libvirt-cim changeset: 33a6a50f64e0 > Cimtest revision: 794 > Cimtest changeset: c7561bf61126 > Total test execution: Unknown > ================================================= > FAIL : 4 > XFAIL : 4 > SKIP : 11 > PASS : 156 > ----------------- > Total : 175 > ================================================= > FAIL Test Summary: > ElementAllocatedFromPool - 01_forward.py: FAIL > ResourceAllocationFromPool - 01_forward.py: FAIL > ResourceAllocationFromPool - 02_reverse.py: FAIL There were two diskpool cimtest-diskpool and default on the machine accessing the same /var/lib/libvirt/images pool path. Libvirt-CIM was returning association information containing default diskpool information than cimtest-diskpool information. Hence the tests failed. When I removed the default pool on the machine and ran the test all of them passed. I think libvirt should give an error when two pools are being created with the same path or should Libvirt-CIM handle this? > VirtualSystemManagementService - 19_definenetwork_ers.py: FAIL > > The error message in the test case needs to be changed. -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From deeptik at linux.vnet.ibm.com Thu Nov 19 11:51:19 2009 From: deeptik at linux.vnet.ibm.com (Deepti B. Kalakeri) Date: Thu, 19 Nov 2009 11:51:19 -0000 Subject: [Libvirt-cim] [PATCH] [TEST] Fixing VSMS/19*py tc for libvirt version >= 0.7.2 Message-ID: <6110e2d3e024b320313d.1258631479@elm3b151.beaverton.ibm.com> # HG changeset patch # User Deepti B. Kalakeri # Date 1258631463 28800 # Node ID 6110e2d3e024b320313d582e4a1517cca3116068 # Parent c7907449b007aece4418f03272d8754b5fd41ac2 [TEST] Fixing VSMS/19*py tc for libvirt version >= 0.7.2 Tested with KVM and current sources on F12. Signed-off-by: Deepti B. Kalakeri diff -r c7907449b007 -r 6110e2d3e024 suites/libvirt-cim/cimtest/VirtualSystemManagementService/19_definenetwork_ers.py --- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/19_definenetwork_ers.py Mon Nov 09 13:24:52 2009 -0800 +++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/19_definenetwork_ers.py Thu Nov 19 03:51:03 2009 -0800 @@ -92,6 +92,8 @@ if libvirt_version >= "0.7.0": expected_values['empty']['network'] = inv_empty_network expected_values['invalid']['network'] = inv_empty_network + expected_values['invalid']['bridge'] = " Failed to add tap "\ + "interface to bridge" tc_scen = { From deeptik at linux.vnet.ibm.com Thu Nov 19 12:17:39 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Thu, 19 Nov 2009 17:47:39 +0530 Subject: [Libvirt-cim] [PATCH] [TEST] Fix RASDIndication 01 test to prevent possible test hang In-Reply-To: <4747be9dd1dedd9acc45.1258580875@elm3b41.beaverton.ibm.com> References: <4747be9dd1dedd9acc45.1258580875@elm3b41.beaverton.ibm.com> Message-ID: <4B053763.1010106@linux.vnet.ibm.com> +1 Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1258411652 28800 > # Node ID 4747be9dd1dedd9acc45ebbff7793724f76ad604 > # Parent 95cc631fc4581c9705ae93088688e1d3af28c55a > [TEST] Fix RASDIndication 01 test to prevent possible test hang > > Signed-off-by: Kaitlin Rupert > > diff -r 95cc631fc458 -r 4747be9dd1de suites/libvirt-cim/cimtest/RASDIndications/01_guest_states_rasd_ind.py > --- a/suites/libvirt-cim/cimtest/RASDIndications/01_guest_states_rasd_ind.py Wed Nov 18 13:39:37 2009 -0800 > +++ b/suites/libvirt-cim/cimtest/RASDIndications/01_guest_states_rasd_ind.py Mon Nov 16 14:47:32 2009 -0800 > @@ -135,6 +135,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 > -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From deeptik at linux.vnet.ibm.com Thu Nov 19 12:25:15 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Thu, 19 Nov 2009 17:55:15 +0530 Subject: [Libvirt-cim] [PATCH 1 of 2] [TEST] Add get_subset_test_list(): lists the tests in a given set of test dirs In-Reply-To: References: Message-ID: <4B05392B.2070103@linux.vnet.ibm.com> +1 Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1258580377 28800 > # Node ID dfe044c37ec5b9f87db1a377743d9b928180018c > # Parent c7907449b007aece4418f03272d8754b5fd41ac2 > [TEST] Add get_subset_test_list(): lists the tests in a given set of test dirs > > This function allows you to get the list of tests in the specified directories. > It supports two ways of specifying directories: > > [dir1:dir2] or [dir1,dir2,dir3] > > Signed-off-by: Kaitlin Rupert > > diff -r c7907449b007 -r dfe044c37ec5 lib/VirtLib/groups.py > --- a/lib/VirtLib/groups.py Mon Nov 09 13:24:52 2009 -0800 > +++ b/lib/VirtLib/groups.py Wed Nov 18 13:39:37 2009 -0800 > @@ -37,7 +37,18 @@ > if os.path.isdir(group_p): > ret.append(filename) > > - ret.sort() > + #sort() doesn't handle upper and lower case comparisons properly. > + #The following manipulation will ensure the list is in the same > + #order 'ls' returns on a directory > + tmp = [] > + for i, group in enumerate(ret): > + tmp.append([group.lower(), group]) > + > + tmp.sort() > + ret = [] > + for key, group in tmp: > + ret.append(group) > + > return ret > > def list_tests_in_group(test_suite, group_name): > @@ -93,3 +104,46 @@ > ret.append({ 'group': group, 'test': test}) > > return ret > + > +def get_subset_test_list(test_suite, test_subset): > + """Return a list of dictionaries for a specific set of groups. > + It will contain the group and test filename > + """ > + ret = [] > + > + str = test_subset.strip('[]') > + > + if test_subset.find(",") >= 0: > + groups = str.split(',') > + > + elif test_subset.find(":") >= 0: > + groups = str.split(':') > + if len(groups) != 2: > + return ret > + > + all_groups = list_groups(test_suite) > + index_start = all_groups.index(groups[0]) > + index_end = all_groups.index(groups[1]) > + > + if index_start < 0: > + print "Group %s (%d) was not found" % (groups[0], index_start) > + return ret > + elif index_end < 0: > + print "Group %s (%d) was not found" % (groups[1], index_end) > + return ret > + elif index_end < index_start: > + print "Group %s's index (%d) is < Group %s's index (%d)" % \ > + (groups[1], index_end, groups[0], index_start) > + return ret > + > + groups = all_groups[index_start:index_end + 1] > + > + else: > + return ret > + > + for group in groups: > + tmp = get_group_test_list(test_suite, group) > + ret = ret + tmp > + > + return ret > + > > _______________________________________________ > 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 Thu Nov 19 12:25:44 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Thu, 19 Nov 2009 17:55:44 +0530 Subject: [Libvirt-cim] [PATCH 2 of 2] [TEST] Add --test_subset option for specifying a bulk run of a subset of dirs In-Reply-To: <95cc631fc4581c9705ae.1258580814@elm3b41.beaverton.ibm.com> References: <95cc631fc4581c9705ae.1258580814@elm3b41.beaverton.ibm.com> Message-ID: <4B053948.3040208@linux.vnet.ibm.com> +1 Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1258580377 28800 > # Node ID 95cc631fc4581c9705ae93088688e1d3af28c55a > # Parent dfe044c37ec5b9f87db1a377743d9b928180018c > [TEST] Add --test_subset option for specifying a bulk run of a subset of dirs > > You can use this option in the following ways: > > CIM_NS=root/virt CIM_USER=root CIM_PASS=pass ./runtests libvirt-cim -i localhost -c -d -v KVM --test_subset [LogicalDisk:RASD] > -this will run all tests in the LogicalDisk, Memory, NetworkPort, > Processor, Profile, and RASD directories > > CIM_NS=root/virt CIM_USER=root CIM_PASS=pass ./runtests libvirt-cim -i localhost -c -d -v KVM --test_subset [LogicalDisk,RASD,Memory] > -this will run all tests in the LogicalDisk, RASD, and Memory dirs > > Signed-off-by: Kaitlin Rupert > > diff -r dfe044c37ec5 -r 95cc631fc458 suites/libvirt-cim/main.py > --- a/suites/libvirt-cim/main.py Wed Nov 18 13:39:37 2009 -0800 > +++ b/suites/libvirt-cim/main.py Wed Nov 18 13:39:37 2009 -0800 > @@ -68,6 +68,8 @@ > parser.add_option("--print-exec-time", action="store_true", > dest="print_exec_time", > help="Print execution time of each test") > +parser.add_option("--test_subset", dest="test_subset", > + help="Only run specified dirs [dir,dir,...] or [dir:dir]") > > TEST_SUITE = 'cimtest' > CIMTEST_RCFILE = '%s/.cimtestrc' % os.environ['HOME'] > @@ -185,6 +187,11 @@ > parser.print_help() > return 1 > > + if options.group and options.test_subset: > + print "\nPlease specify either a test group or a subset of tests.\n" > + parser.print_help() > + return 1 > + > env_ready = pre_check(options.ip, options.virt) > if env_ready != None: > print "\n%s. Please check your environment.\n" % env_ready > @@ -214,17 +221,27 @@ > > set_python_path() > > - if options.group and options.test: > - test_list = groups.get_one_test(TEST_SUITE, options.group, options.test) > - elif options.group and not options.test: > - test_list = groups.get_group_test_list(TEST_SUITE, options.group) > + if options.group: > + if options.test: > + test_list = groups.get_one_test(TEST_SUITE, options.group, > + options.test) > + else: > + test_list = groups.get_group_test_list(TEST_SUITE, options.group) > + > + if not test_list: > + print "Test %s:%s not found" % (options.group, options.test) > + return 1 > + > + elif options.test_subset: > + test_list = groups.get_subset_test_list(TEST_SUITE, options.test_subset) > + > + if not test_list: > + print "Test subset not found: %s" % (options.test_subset) > + return 1 > + > else: > test_list = groups.list_all_tests(TEST_SUITE) > > - if not test_list: > - print "Test %s:%s not found" % (options.group, options.test) > - return 1 > - > if options.clean: > remove_old_logs(options.group) > > > _______________________________________________ > 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 rmaciel at linux.vnet.ibm.com Thu Nov 19 14:18:38 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Thu, 19 Nov 2009 12:18:38 -0200 Subject: [Libvirt-cim] [PATCH] [TEST] Add the emulator to the guest created by LXC cimtest In-Reply-To: <4B049B09.2080501@linux.vnet.ibm.com> References: <815eeee7df1d386da57a.1258581296@localhost.localdomain> <4B049B09.2080501@linux.vnet.ibm.com> Message-ID: <4B0553BE.90402@linux.vnet.ibm.com> On 11/18/2009 11:10 PM, Kaitlin Rupert wrote: >> diff -r f834593694d2 -r 815eeee7df1d >> suites/libvirt-cim/lib/XenKvmLib/vxml.py >> --- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Wed Nov 18 17:24:36 >> 2009 -0200 >> +++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Wed Nov 18 17:42:15 >> 2009 -0200 >> @@ -987,7 +987,7 @@ >> mem, const.default_mallocunits, None, grstype, address, port_num, >> keymap, irstype, btype, vnc_passwd) >> self._os(const.LXC_init_path) >> - self._devices(mac, ntype, net_name, const.LXC_default_tty) >> + self._devices(const.LXC_default_emulator, mac, ntype, net_name, >> const.LXC_default_tty) > > I would modify the __init__ function of LXCXML to accept an emulator > param. We do something similar with KVM. This provides the option for > specifying other emulators (which might be useful in the future, or > useful for testing negative test cases). None of the other virtualization classes (KVMXML, XenXML, XenFVXML) include the emulator as a param in their __init__. Instead, they define a set_emulator method that lets the user change it. So, I changed my code following the established convention. > > >> self.create_lxc_file(CIM_IP, const.LXC_init_path) >> >> def _os(self, os_init): >> @@ -995,9 +995,11 @@ >> self.add_sub_node(os, 'init', os_init) >> self.add_sub_node(os, 'type', 'exe') >> >> - def _devices(self, net_mac, net_type, net_name, tty_set): >> + def _devices(self, emu, net_mac, net_type, net_name, tty_set): >> devices = self.get_node('/domain/devices') >> - + + self.add_sub_node(devices, 'emulator', emu) >> #'/usr/libexec/libvirt_lxc') > > Can you remove the comment here? If we change the value of the emulator > in const.py, it's likely the comment won't get updated. > >> + if const.LXC_netns_support is True: >> self.set_interface_details(devices, net_mac, net_type, net_name, 'LXC') >> > > -- Richard Maciel, MSc IBM Linux Technology Center rmaciel at linux.vnet.ibm.com From rmaciel at linux.vnet.ibm.com Thu Nov 19 13:46:10 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Thu, 19 Nov 2009 13:46:10 -0000 Subject: [Libvirt-cim] [PATCH] [TEST] (#2) Add the emulator to the guest created by LXC cimtest Message-ID: <4ad5082fcf734404f9fe.1258638370@localhost.localdomain> # HG changeset patch # User Richard Maciel # Date 1258638317 7200 # Node ID 4ad5082fcf734404f9fe64180dc4a5dcc21037c2 # Parent f834593694d2f3eefc3b0285ac62032ddc68edd0 [TEST] (#2) Add the emulator to the guest created by LXC cimtest #2: - Added set_emulator method - Removed unnecessary comment Signed-off-by: Richard Maciel diff -r f834593694d2 -r 4ad5082fcf73 suites/libvirt-cim/lib/XenKvmLib/const.py --- a/suites/libvirt-cim/lib/XenKvmLib/const.py Wed Nov 18 17:24:36 2009 -0200 +++ b/suites/libvirt-cim/lib/XenKvmLib/const.py Thu Nov 19 11:45:17 2009 -0200 @@ -104,6 +104,7 @@ #vxml.LXCXML LXC_init_path = os.path.join(_image_dir, 'cimtest_lxc_init') +LXC_default_emulator = '/usr/libexec/libvirt_lxc' LXC_default_tty = '/dev/ptmx' LXC_default_mp = '/tmp' LXC_default_source = '/var/lib/libvirt/images/lxc_files' diff -r f834593694d2 -r 4ad5082fcf73 suites/libvirt-cim/lib/XenKvmLib/vxml.py --- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Wed Nov 18 17:24:36 2009 -0200 +++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Thu Nov 19 11:45:17 2009 -0200 @@ -987,7 +987,7 @@ mem, const.default_mallocunits, None, grstype, address, port_num, keymap, irstype, btype, vnc_passwd) self._os(const.LXC_init_path) - self._devices(mac, ntype, net_name, const.LXC_default_tty) + self._devices(const.LXC_default_emulator, mac, ntype, net_name, const.LXC_default_tty) self.create_lxc_file(CIM_IP, const.LXC_init_path) def _os(self, os_init): @@ -995,15 +995,20 @@ self.add_sub_node(os, 'init', os_init) self.add_sub_node(os, 'type', 'exe') - def _devices(self, net_mac, net_type, net_name, tty_set): + def _devices(self, emu, net_mac, net_type, net_name, tty_set): devices = self.get_node('/domain/devices') - + + self.add_sub_node(devices, 'emulator', emu) + if const.LXC_netns_support is True: self.set_interface_details(devices, net_mac, net_type, net_name, 'LXC') self.add_sub_node(devices, 'console', tty = tty_set) + def set_emulator(self, emu): + return self._set_emulator(emu) + def create_lxc_file(self, ip, lxc_file): try: f = open(lxc_file, 'w') From kaitlin at linux.vnet.ibm.com Thu Nov 19 20:44:46 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 19 Nov 2009 12:44:46 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Add the emulator to the guest created by LXC cimtest In-Reply-To: <4B0553BE.90402@linux.vnet.ibm.com> References: <815eeee7df1d386da57a.1258581296@localhost.localdomain> <4B049B09.2080501@linux.vnet.ibm.com> <4B0553BE.90402@linux.vnet.ibm.com> Message-ID: <4B05AE3E.4060102@linux.vnet.ibm.com> Richard Maciel wrote: > On 11/18/2009 11:10 PM, Kaitlin Rupert wrote: >>> diff -r f834593694d2 -r 815eeee7df1d >>> suites/libvirt-cim/lib/XenKvmLib/vxml.py >>> --- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Wed Nov 18 17:24:36 >>> 2009 -0200 >>> +++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Wed Nov 18 17:42:15 >>> 2009 -0200 >>> @@ -987,7 +987,7 @@ >>> mem, const.default_mallocunits, None, grstype, address, port_num, >>> keymap, irstype, btype, vnc_passwd) >>> self._os(const.LXC_init_path) >>> - self._devices(mac, ntype, net_name, const.LXC_default_tty) >>> + self._devices(const.LXC_default_emulator, mac, ntype, net_name, >>> const.LXC_default_tty) >> >> I would modify the __init__ function of LXCXML to accept an emulator >> param. We do something similar with KVM. This provides the option for >> specifying other emulators (which might be useful in the future, or >> useful for testing negative test cases). > > > None of the other virtualization classes (KVMXML, XenXML, XenFVXML) > include the emulator as a param in their __init__. Instead, they define > a set_emulator method that lets the user change it. So, I changed my > code following the established convention. Ah, yes - you're right. My mistake. I thought Deepti had added this at some point. -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Thu Nov 19 21:47:51 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 19 Nov 2009 13:47:51 -0800 Subject: [Libvirt-cim] Test Run Summary (Nov 19 2009): KVM on Fedora release 11 (Leonidas) with Pegasus Message-ID: <4B05BD07.6010306@linux.vnet.ibm.com> ================================================= 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.9.0 Libvirt-cim revision: 986 Libvirt-cim changeset: fac371b2f43e Cimtest revision: 802 Cimtest changeset: ed5aa34e2a1f Total test execution: Unknown ================================================= FAIL : 4 XFAIL : 5 SKIP : 8 PASS : 30 ----------------- Total : 33 ================================================= FAIL Test Summary: RASDIndications - 01_guest_states_rasd_ind.py: FAIL RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: FAIL ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: FAIL VirtualSystemManagementService - 15_mod_system_settings.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 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 -------------------------------------------------------------------- LogicalDisk - 01_disk.py: PASS -------------------------------------------------------------------- LogicalDisk - 02_nodevs.py: PASS -------------------------------------------------------------------- LogicalDisk - 03_ld_gi_errs.py: PASS -------------------------------------------------------------------- Memory - 01_memory.py: PASS -------------------------------------------------------------------- Memory - 02_defgetmem.py: PASS -------------------------------------------------------------------- Memory - 03_mem_gi_errs.py: PASS -------------------------------------------------------------------- NetworkPort - 01_netport.py: PASS -------------------------------------------------------------------- NetworkPort - 02_np_gi_errors.py: PASS -------------------------------------------------------------------- NetworkPort - 03_user_netport.py: PASS -------------------------------------------------------------------- Processor - 01_processor.py: PASS -------------------------------------------------------------------- Processor - 02_definesys_get_procs.py: PASS -------------------------------------------------------------------- Processor - 03_proc_gi_errs.py: PASS -------------------------------------------------------------------- Profile - 01_enum.py: PASS -------------------------------------------------------------------- Profile - 02_profile_to_elec.py: PASS -------------------------------------------------------------------- Profile - 03_rprofile_gi_errs.py: PASS -------------------------------------------------------------------- RASD - 01_verify_rasd_fields.py: PASS -------------------------------------------------------------------- RASD - 02_enum.py: PASS -------------------------------------------------------------------- RASD - 03_rasd_errs.py: PASS -------------------------------------------------------------------- RASD - 04_disk_rasd_size.py: PASS -------------------------------------------------------------------- RASD - 05_disk_rasd_emu_type.py: PASS -------------------------------------------------------------------- RASD - 06_parent_net_pool.py: PASS -------------------------------------------------------------------- RASD - 07_parent_disk_pool.py: PASS -------------------------------------------------------------------- RASDIndications - 01_guest_states_rasd_ind.py: FAIL ERROR - Exception: Poll for indication Failed -------------------------------------------------------------------- RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: FAIL ERROR - Exception: Poll for indication Failed -------------------------------------------------------------------- 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 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: 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: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 09_procrasd_persist.py: XFAIL -------------------------------------------------------------------- VirtualSystemManagementService - 10_hv_version.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 11_define_memrasdunits.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 12_referenced_config.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 13_refconfig_additional_devs.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 14_define_sys_disk.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 15_mod_system_settings.py: FAIL ERROR - global name 'cxml' is not defined -------------------------------------------------------------------- VirtualSystemManagementService - 16_removeresource.py: XFAIL ERROR - 0 RASD insts for domain/mouse:ps2 CIM_ERR_NOT_FOUND: No such instance (no device domain/mouse:ps2) Bug:<00014> -------------------------------------------------------------------- VirtualSystemManagementService - 17_removeresource_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 18_define_sys_bridge.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 19_definenetwork_ers.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 20_verify_vnc_password.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 21_createVS_verifyMAC.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL ERROR - Error invoking AddRS: add_net_res ERROR - (1, u"CIM_ERR_FAILED: Unable to change (0) device: this function is not supported by the hypervisor: device type 'interface' cannot be attached") ERROR - Failed to destroy Virtual Network 'my_network1' InvokeMethod(AddResourceSettings): CIM_ERR_FAILED: Unable to change (0) device: this function is not supported by the hypervisor: device type 'interface' cannot be attached Bug:<00015> -------------------------------------------------------------------- VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationService - 01_migratable_host.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 01_forward.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 02_reverse.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 03_create_snapshot.py: 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 Thu Nov 19 21:57:26 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 19 Nov 2009 13:57:26 -0800 Subject: [Libvirt-cim] Re: Test Run Summary (Nov 17 2009): KVM on Fedora release 12 (Constantine) with Pegasus In-Reply-To: <4B05246D.1010407@linux.vnet.ibm.com> References: <4B0275C6.2070208@linux.vnet.ibm.com> <4B05246D.1010407@linux.vnet.ibm.com> Message-ID: <4B05BF46.2010309@linux.vnet.ibm.com> Deepti B Kalakeri wrote: > > > Deepti B Kalakeri wrote: >> ================================================= >> Test Run Summary (Nov 17 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.1 >> Hypervisor: QEMU 0.11.0 >> CIMOM: Pegasus 2.9.0 >> Libvirt-cim revision: 1009 >> Libvirt-cim changeset: 33a6a50f64e0 >> Cimtest revision: 794 >> Cimtest changeset: c7561bf61126 >> Total test execution: Unknown >> ================================================= >> FAIL : 4 >> XFAIL : 4 >> SKIP : 11 >> PASS : 156 >> ----------------- >> Total : 175 >> ================================================= >> FAIL Test Summary: >> ElementAllocatedFromPool - 01_forward.py: FAIL >> ResourceAllocationFromPool - 01_forward.py: FAIL >> ResourceAllocationFromPool - 02_reverse.py: FAIL > There were two diskpool cimtest-diskpool and default on the machine > accessing the same /var/lib/libvirt/images pool path. > Libvirt-CIM was returning association information containing default > diskpool information than cimtest-diskpool information. > Hence the tests failed. When I removed the default pool on the machine > and ran the test all of them passed. > I think libvirt should give an error when two pools are being created > with the same path or should Libvirt-CIM handle this? Were both pools active? And they were both "dir" type pools, right? I could see libvirt allowing two pools to represent the same path if only one of those pools is active at a given time. But if both are active, it seems redundant and potentially confusing. I can bring this up on the libvirt list. -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From deeptik at linux.vnet.ibm.com Thu Nov 19 17:56:03 2009 From: deeptik at linux.vnet.ibm.com (Deepti B. Kalakeri) Date: Thu, 19 Nov 2009 12:56:03 -0500 Subject: [Libvirt-cim] Test Run Summary (Nov 19 2009): LXC on Fedora release 12 (Constantine) with Pegasus Message-ID: <200911191756.nAJHu3lf002967@d01av02.pok.ibm.com> ================================================= Test Run Summary (Nov 19 2009): LXC 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: 1009 Libvirt-cim changeset: 33a6a50f64e0 Cimtest revision: 802 Cimtest changeset: ed5aa34e2a1f Total test execution: Unknown ================================================= FAIL : 15 XFAIL : 6 SKIP : 52 PASS : 102 ----------------- Total : 175 ================================================= FAIL Test Summary: HostedAccessPoint - 01_forward.py: FAIL HostedAccessPoint - 02_reverse.py: FAIL HostSystem - 02_hostsystem_to_rasd.py: FAIL KVMRedirectionSAP - 01_enum_KVMredSAP.py: FAIL RedirectionService - 03_RedirectionSAP_errs.py: FAIL ResourceAllocationFromPool - 01_forward.py: FAIL ResourceAllocationFromPool - 02_reverse.py: FAIL ServiceAccessBySAP - 01_forward.py: FAIL ServiceAccessBySAP - 02_reverse.py: FAIL ServiceAffectsElement - 01_forward.py: FAIL ServiceAffectsElement - 02_reverse.py: FAIL SystemDevice - 01_forward.py: FAIL VirtualSystemManagementService - 20_verify_vnc_password.py: FAIL VirtualSystemManagementService - 21_createVS_verifyMAC.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 HostSystem - 05_hs_gi_errs.py: SKIP LogicalDisk - 01_disk.py: SKIP LogicalDisk - 03_ld_gi_errs.py: SKIP NetworkPort - 01_netport.py: SKIP NetworkPort - 02_np_gi_errors.py: SKIP NetworkPort - 03_user_netport.py: SKIP Processor - 01_processor.py: SKIP Processor - 02_definesys_get_procs.py: SKIP Processor - 03_proc_gi_errs.py: SKIP RASD - 04_disk_rasd_size.py: SKIP RASD - 05_disk_rasd_emu_type.py: SKIP RASD - 06_parent_net_pool.py: SKIP RASD - 07_parent_disk_pool.py: SKIP RASDIndications - 01_guest_states_rasd_ind.py: SKIP RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: SKIP ResourceAllocationFromPool - 05_RAPF_err.py: SKIP ResourcePoolConfigurationService - 03_CreateResourcePool.py: SKIP ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: SKIP ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: SKIP ResourcePoolConfigurationService - 07_DeleteResourcePool.py: SKIP ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: SKIP ResourcePoolConfigurationService - 09_DeleteDiskPool.py: SKIP ResourcePoolConfigurationService - 10_create_storagevolume.py: SKIP ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: SKIP ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: SKIP ResourcePoolConfigurationService - 13_delete_storagevolume.py: SKIP ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: SKIP VirtualSystemManagementService - 06_addresource.py: SKIP VirtualSystemManagementService - 08_modifyresource.py: SKIP VirtualSystemManagementService - 09_procrasd_persist.py: SKIP VirtualSystemManagementService - 11_define_memrasdunits.py: SKIP VirtualSystemManagementService - 12_referenced_config.py: SKIP VirtualSystemManagementService - 13_refconfig_additional_devs.py: SKIP VirtualSystemManagementService - 16_removeresource.py: SKIP VirtualSystemManagementService - 17_removeresource_neg.py: SKIP VirtualSystemManagementService - 18_define_sys_bridge.py: SKIP VirtualSystemManagementService - 19_definenetwork_ers.py: SKIP VirtualSystemManagementService - 22_addmulti_brg_interface.py: SKIP VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: SKIP VirtualSystemMigrationService - 01_migratable_host.py: SKIP VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: SKIP 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: operation failed: suspend operation failed with return code 1 ERROR - Exception variable: Unable pause dom 'DomST1' InvokeMethod(RequestStateChange): CIM_ERR_FAILED: 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 CIM_ERR_FAILED: Unable to pause domain: operation failed: suspend operation failed with return code 1 ERROR - Exception: 'Unable pause dom 'cs_test_domain'' InvokeMethod(RequestStateChange): CIM_ERR_FAILED: 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 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: FAIL ERROR - No kvmrsap instance returned -------------------------------------------------------------------- HostedAccessPoint - 02_reverse.py: FAIL ERROR - No kvmrsap instance returned -------------------------------------------------------------------- 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: operation failed: suspend operation failed') ERROR - Failed to suspend the dom: hd_domain1 InvokeMethod(RequestStateChange): CIM_ERR_FAILED: 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: FAIL ERROR - Address Mismatch ERROR - Returned /var/lib/libvirt/images/lxc_files instead of /tmp/lxc_files ERROR - Mistmatching association values -------------------------------------------------------------------- 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: FAIL ERROR - Exception: Failed to get information on the defined dom:test_kvmredsap_dom -------------------------------------------------------------------- LogicalDisk - 01_disk.py: SKIP -------------------------------------------------------------------- LogicalDisk - 02_nodevs.py: PASS -------------------------------------------------------------------- LogicalDisk - 03_ld_gi_errs.py: SKIP -------------------------------------------------------------------- Memory - 01_memory.py: PASS -------------------------------------------------------------------- Memory - 02_defgetmem.py: PASS -------------------------------------------------------------------- Memory - 03_mem_gi_errs.py: PASS -------------------------------------------------------------------- NetworkPort - 01_netport.py: SKIP -------------------------------------------------------------------- NetworkPort - 02_np_gi_errors.py: SKIP -------------------------------------------------------------------- NetworkPort - 03_user_netport.py: SKIP -------------------------------------------------------------------- Processor - 01_processor.py: SKIP -------------------------------------------------------------------- Processor - 02_definesys_get_procs.py: SKIP -------------------------------------------------------------------- Processor - 03_proc_gi_errs.py: SKIP -------------------------------------------------------------------- Profile - 01_enum.py: PASS -------------------------------------------------------------------- Profile - 02_profile_to_elec.py: PASS -------------------------------------------------------------------- Profile - 03_rprofile_gi_errs.py: PASS -------------------------------------------------------------------- RASD - 01_verify_rasd_fields.py: PASS -------------------------------------------------------------------- RASD - 02_enum.py: PASS -------------------------------------------------------------------- RASD - 03_rasd_errs.py: PASS -------------------------------------------------------------------- RASD - 04_disk_rasd_size.py: SKIP -------------------------------------------------------------------- RASD - 05_disk_rasd_emu_type.py: SKIP -------------------------------------------------------------------- RASD - 06_parent_net_pool.py: SKIP 06_parent_net_pool.py:50: DeprecationWarning: the sets module is deprecated from sets import Set -------------------------------------------------------------------- RASD - 07_parent_disk_pool.py: SKIP 07_parent_disk_pool.py:47: DeprecationWarning: the sets module is deprecated from sets import Set -------------------------------------------------------------------- RASDIndications - 01_guest_states_rasd_ind.py: SKIP -------------------------------------------------------------------- RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: SKIP -------------------------------------------------------------------- RedirectionService - 01_enum_crs.py: PASS -------------------------------------------------------------------- RedirectionService - 02_enum_crscap.py: PASS -------------------------------------------------------------------- RedirectionService - 03_RedirectionSAP_errs.py: FAIL -------------------------------------------------------------------- ReferencedProfile - 01_verify_refprof.py: PASS -------------------------------------------------------------------- ReferencedProfile - 02_refprofile_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 01_forward.py: FAIL ERROR - 3 RASD insts != 4 pool insts -------------------------------------------------------------------- ResourceAllocationFromPool - 02_reverse.py: FAIL ERROR - 3 RASD insts != 4 pool insts -------------------------------------------------------------------- ResourceAllocationFromPool - 03_forward_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 05_RAPF_err.py: SKIP -------------------------------------------------------------------- ResourcePool - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePool - 02_rp_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 02_rcps_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 03_CreateResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 07_DeleteResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 09_DeleteDiskPool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 10_create_storagevolume.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 13_delete_storagevolume.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: SKIP -------------------------------------------------------------------- ServiceAccessBySAP - 01_forward.py: FAIL Traceback (most recent call last): File "/usr/lib64/python2.6/logging/__init__.py", line 760, in emit msg = self.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 644, in format return fmt.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 432, in format record.message = record.getMessage() File "/usr/lib64/python2.6/logging/__init__.py", line 302, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Traceback (most recent call last): File "/usr/lib64/python2.6/logging/__init__.py", line 760, in emit msg = self.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 644, in format return fmt.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 432, in format record.message = record.getMessage() File "/usr/lib64/python2.6/logging/__init__.py", line 302, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Traceback (most recent call last): File "/usr/lib64/python2.6/logging/__init__.py", line 760, in emit msg = self.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 644, in format return fmt.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 432, in format record.message = record.getMessage() File "/usr/lib64/python2.6/logging/__init__.py", line 302, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting -------------------------------------------------------------------- ServiceAccessBySAP - 02_reverse.py: FAIL ERROR - No kvmrsap instance found Traceback (most recent call last): File "/usr/lib64/python2.6/logging/__init__.py", line 760, in emit msg = self.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 644, in format return fmt.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 432, in format record.message = record.getMessage() File "/usr/lib64/python2.6/logging/__init__.py", line 302, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Traceback (most recent call last): File "/usr/lib64/python2.6/logging/__init__.py", line 760, in emit msg = self.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 644, in format return fmt.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 432, in format record.message = record.getMessage() File "/usr/lib64/python2.6/logging/__init__.py", line 302, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Traceback (most recent call last): File "/usr/lib64/python2.6/logging/__init__.py", line 760, in emit msg = self.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 644, in format return fmt.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 432, in format record.message = record.getMessage() File "/usr/lib64/python2.6/logging/__init__.py", line 302, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting -------------------------------------------------------------------- ServiceAffectsElement - 01_forward.py: FAIL 01_forward.py:51: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - Exception in fn verify_assoc() ERROR - Exception details: Failed to get init_list -------------------------------------------------------------------- ServiceAffectsElement - 02_reverse.py: FAIL 02_reverse.py:47: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - Exception : 'LXC_DisplayController' -------------------------------------------------------------------- SettingsDefine - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefine - 02_reverse.py: 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: FAIL 01_forward.py:29: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - Device Class mismatch ERROR - Exception Expected Device class list: ['LXC_Memory', 'LXC_Processor'] Got: [u'LXC_LogicalDisk', u'LXC_Memory', u'LXC_PointingDevice'] -------------------------------------------------------------------- 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 ERROR - global name 'cxml' is not defined 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: FAIL ERROR - LXC_GraphicsResourceAllocationSettingData returned 0 instances, excepted at least 1. ERROR - Failed to verify the Password field for domain 'vncpasswd_domain' -------------------------------------------------------------------- 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 -------------------------------------------------------------------- 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: FAIL ERROR - Address Mismatch ERROR - Returned /var/lib/libvirt/images/lxc_files instead of /tmp/lxc_files ERROR - Mistmatching LXC_DiskResourceAllocationSettingData values -------------------------------------------------------------------- VSSD - 05_set_uuid.py: PASS -------------------------------------------------------------------- VSSD - 06_duplicate_uuid.py: PASS -------------------------------------------------------------------- From kaitlin at linux.vnet.ibm.com Fri Nov 20 01:01:59 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 19 Nov 2009 17:01:59 -0800 Subject: [Libvirt-cim] Test Run Summary (Nov 19 2009): KVM on Fedora release 11 (Leonidas) with Pegasus In-Reply-To: <4B05BD07.6010306@linux.vnet.ibm.com> References: <4B05BD07.6010306@linux.vnet.ibm.com> Message-ID: <4B05EA87.40602@linux.vnet.ibm.com> > -------------------------------------------------------------------- > RASDIndications - 01_guest_states_rasd_ind.py: FAIL > ERROR - Exception: Poll for indication Failed > -------------------------------------------------------------------- > RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: FAIL > ERROR - Exception: Poll for indication Failed > -------------------------------------------------------------------- These fail because the indication doesn't get delivered properly. The provider is raising the indication, but the CIMOM doesn't complete the delivery. > -------------------------------------------------------------------- > 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 > InvokeMethod(CreateChildResourcePool): CIM_ERR_FAILED: Pool with that > name already exists > -------------------------------------------------------------------- This is because one of the tests isn't cleaning up properly. Not sure which test. I suspected one of the RPCS tests, but all tests passed when rerun, and I didn't see a lingering network definition. > -------------------------------------------------------------------- > VirtualSystemManagementService - 15_mod_system_settings.py: FAIL > ERROR - global name 'cxml' is not defined > -------------------------------------------------------------------- Sent a patch to fix this. -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Fri Nov 20 01:09:11 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 19 Nov 2009 17:09:11 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Fix VSMS 15 - need to pass cxml to power_down_guest() Message-ID: <8c635edef727257682ec.1258679351@elm3b41.beaverton.ibm.com> # 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) From deeptik at linux.vnet.ibm.com Fri Nov 20 06:15:12 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Fri, 20 Nov 2009 11:45:12 +0530 Subject: [Libvirt-cim] Re: Test Run Summary (Nov 17 2009): KVM on Fedora release 12 (Constantine) with Pegasus In-Reply-To: <4B05BF46.2010309@linux.vnet.ibm.com> References: <4B0275C6.2070208@linux.vnet.ibm.com> <4B05246D.1010407@linux.vnet.ibm.com> <4B05BF46.2010309@linux.vnet.ibm.com> Message-ID: <4B0633F0.3040004@linux.vnet.ibm.com> Kaitlin Rupert wrote: > Deepti B Kalakeri wrote: >> >> >> Deepti B Kalakeri wrote: >>> ================================================= >>> Test Run Summary (Nov 17 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.1 >>> Hypervisor: QEMU 0.11.0 >>> CIMOM: Pegasus 2.9.0 >>> Libvirt-cim revision: 1009 >>> Libvirt-cim changeset: 33a6a50f64e0 >>> Cimtest revision: 794 >>> Cimtest changeset: c7561bf61126 >>> Total test execution: Unknown >>> ================================================= >>> FAIL : 4 >>> XFAIL : 4 >>> SKIP : 11 >>> PASS : 156 >>> ----------------- >>> Total : 175 >>> ================================================= >>> FAIL Test Summary: >>> ElementAllocatedFromPool - 01_forward.py: FAIL >>> ResourceAllocationFromPool - 01_forward.py: FAIL >>> ResourceAllocationFromPool - 02_reverse.py: FAIL >> There were two diskpool cimtest-diskpool and default on the machine >> accessing the same /var/lib/libvirt/images pool path. >> Libvirt-CIM was returning association information containing default >> diskpool information than cimtest-diskpool information. >> Hence the tests failed. When I removed the default pool on the >> machine and ran the test all of them passed. >> I think libvirt should give an error when two pools are being created >> with the same path or should Libvirt-CIM handle this? > > Were both pools active? And they were both "dir" type pools, right? > > I could see libvirt allowing two pools to represent the same path if > only one of those pools is active at a given time. But if both are > active, it seems redundant and potentially confusing. Yes exactly it becomes confusing for an end user if such a scenario occurs, where two pool having all the same parameters except for the names, except for the uuid's are allowed to create. My strong feeling is that we need to handle this via an error message. > > I can bring this up on the libvirt list. Heres the two dir type disk pools that were present on the system: # virsh pool-list --all Name State Autostart ----------------------------------------- cimtest-diskpool active no default active no [root at elm3b151 cimtest]# virsh pool-dumpxml cimtest-diskpool cimtest-diskpool 2f4c1b4d-9c60-193c-8988-3ff3695b3c73 61662662656 27965640704 33697021952 /var/lib/libvirt/images 0700 0 0 # virsh pool-dumpxml default default a4ccaa1a-7ed4-99ab-2ae6-e10d9e6acd0e 61662662656 27625598976 34037063680 /var/lib/libvirt/images 0700 0 0 -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From deeptik at linux.vnet.ibm.com Fri Nov 20 19:08:28 2009 From: deeptik at linux.vnet.ibm.com (Deepti B. Kalakeri) Date: Fri, 20 Nov 2009 19:08:28 -0000 Subject: [Libvirt-cim] [PATCH] [TEST] Adding new tc to verify Libvirt-CIM profile advertisement via slp Message-ID: # HG changeset patch # User Deepti B. Kalakeri # Date 1258744084 28800 # Node ID b4b4e5f9b7efad90d37e06a2583d2a426b291d8e # Parent c7561bf6112633f00d6bfb2ba1871ef63855d529 [TEST] Adding new tc to verify Libvirt-CIM profile advertisement via slp. Tested with KVM and current sources on rhel5.4. Signed-off-by: Deepti B. Kalakeri diff -r c7561bf61126 -r b4b4e5f9b7ef suites/libvirt-cim/cimtest/Profile/04_verify_libvirt_cim_slp_profiles.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/suites/libvirt-cim/cimtest/Profile/04_verify_libvirt_cim_slp_profiles.py Fri Nov 20 11:08:04 2009 -0800 @@ -0,0 +1,188 @@ +#! /usr/bin/python +# +# Copyright 2009 IBM Corp. +# +# Authors: +# Deepti B. Kalakeri +# +# 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 +# +# The following test case is used to verify the profiles registered by +# Libvirt-CIM are advertised via slp tool. +# +# Date : 20-10-2009 + +import sys +import os +import string +from sets import Set +from socket import gethostbyaddr +from VirtLib.utils import run_remote +from XenKvmLib import enumclass +from XenKvmLib.classes import get_typed_class +from CimTest import Globals +from CimTest.Globals import logger +from XenKvmLib.const import do_main +from CimTest.ReturnCodes import PASS, FAIL, SKIP + +sup_types = ['Xen', 'KVM', 'XenFV', 'LXC'] +slp_path="/usr/bin/slptool" + +def get_slp_info(server): + + if not os.path.exists(slp_path): + logger.error("Slp tool does not exist on the machine ") + return SKIP + + logger.info("Slp tool found on the machine ....") + + # The test is written to work with Pegasus for now. + # In future we can include sfcb support as well + # When sfcb support will be planned then replace the following check + # with check_cimom() fn of common_util.py lib + cmd = "ps -ef | grep -v grep | grep cimserver" + rc, out = run_remote(server, cmd) + if rc != 0: + logger.error("cimserver not found on '%s'", server) + return FAIL + + cmd = "cimconfig -l -p | grep slp" + rc, out = run_remote(server, cmd) + if rc != 0: + logger.error("slp is not enabled in the cimserver on '%s'", server) + return FAIL + + return PASS + +def get_slp_attrs(server): + slp_attrs = None + status = FAIL + + cmd = "%s findsrvs service:wbem | grep -w http | "\ + "grep -e '%s'" % (slp_path, server) + rc, out = run_remote(server, cmd) + if rc != 0: + logger.error("Failed to find slp service on '%s'", server) + return status, slp_attrs + + attrs_in = out.rsplit(",") + slp_query = attrs_in[0] + cmd = "%s findattrs %s" % (slp_path, slp_query) + rc, slp_attrs = run_remote(server, cmd) + if len(slp_attrs) == 0: + # Getting the query and the port details + slp_query_info = slp_query.rsplit(":", 1) + slp_service_query = slp_query_info[0] + port_used = slp_query_info[1] + logger.info("Did not get the profile information for '%s'", slp_query) + logger.info("Trying with ports other than '%s'....", port_used) + + # Remove the already used port information + ports = attrs_in.remove(slp_query) + for port in attrs_in: + new_slp_query = slp_service_query + ":" + port + cmd = "%s findattrs %s" % (slp_path, new_slp_query) + rc, slp_attrs = run_remote(server, cmd) + if len(slp_attrs) != 0: + break + + if len(slp_attrs) != 0: + status = PASS + + return status, slp_attrs + +def filter_reg_name_from_slp(slp_attrs): + slp_profile_list = [] + + for line in slp_attrs.split('\n'): + lines=line.split("RegisteredProfilesSupported") + dmtf_profiles=lines[1].split("DMTF") + for profile in dmtf_profiles: + temp_reg_ele = profile.rsplit(":", 1)[1].rstrip(",") + reg_prof_name = temp_reg_ele.rstrip(")") + slp_profile_list.append(reg_prof_name) + + slp_profile_list = Set(slp_profile_list) + + return slp_profile_list + +def get_libvirt_cim_profile_info(server, virt): + libvirt_cim_reg_list = None + status = FAIL + prev_namespace = Globals.CIM_NS + Globals.CIM_NS = 'root/interop' + cn = get_typed_class(virt, 'RegisteredProfile') + + try: + proflist = enumclass.EnumInstances(server, cn) + except Exception, detail: + logger.error(CIM_ERROR_ENUMERATE, get_typed_class(virt, cn)) + logger.error("Exception: %s", detail) + Globals.CIM_NS = prev_namespace + return status, libvirt_cim_reg_list + + Globals.CIM_NS = prev_namespace + + libvirt_cim_reg_list = Set([str(x.RegisteredName) for x in proflist]) + if len(libvirt_cim_reg_list) != 0: + status = PASS + + return status, libvirt_cim_reg_list + + + at do_main(sup_types) +def main(): + options = main.options + server = options.ip + virt = options.virt + status = FAIL + + # Making sure that the server information passed is + # hostname or ip address + if server == "localhost": + logger.error("Please specify hostname or ip address, than '%s'", + server) + return SKIP + + status = get_slp_info(server) + if status != PASS: + return status + + ip_addr = gethostbyaddr(server)[2][0] + status, slp_attrs = get_slp_attrs(ip_addr) + if status != PASS: + logger.error("Failed to get slp attributes on %s", server) + return status + + slp_profile_list = filter_reg_name_from_slp(slp_attrs) + + 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) + return status + + # Make sure all the Libvirt-CIM profiles are advertised via slp + if (libvirt_cim_reg_list) <= (slp_profile_list): + logger.info("Successfully verified the Libvirt-CIM profiles") + return PASS + else: + logger.error("Mismatch in the profiles registered") + logger.error("Slp returned profile --> %s,\n Libvirt-CIM expected " + "profiles %s", slp_profile_list, libvirt_cim_reg_list) + return FAIL + +if __name__=="__main__": + sys.exit(main()) + From kaitlin at linux.vnet.ibm.com Fri Nov 20 20:55:18 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 20 Nov 2009 12:55:18 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Change create_diskpool() to use virsh pool-info Message-ID: <269167924d0e969ff190.1258750518@elm3b41.beaverton.ibm.com> # 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" From kaitlin at linux.vnet.ibm.com Sat Nov 21 00:42:11 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Fri, 20 Nov 2009 16:42:11 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Adding new tc to verify Libvirt-CIM profile advertisement via slp In-Reply-To: References: Message-ID: <4B073763.4010909@linux.vnet.ibm.com> > +sup_types = ['Xen', 'KVM', 'XenFV', 'LXC'] > +slp_path="/usr/bin/slptool" It's possible that slptool might be installed in a different location. You don't have to do this, but instead of checking the path, you could use run_remote() to check whether "slptool help" returns an error. If it does, slptool isn't installed (or the path is non-standard). > + > +def get_slp_info(server): > + > + if not os.path.exists(slp_path): > + logger.error("Slp tool does not exist on the machine ") > + return SKIP > + > + logger.info("Slp tool found on the machine ....") > + > + # The test is written to work with Pegasus for now. > + # In future we can include sfcb support as well > + # When sfcb support will be planned then replace the following check > + # with check_cimom() fn of common_util.py lib > + cmd = "ps -ef | grep -v grep | grep cimserver" > + rc, out = run_remote(server, cmd) > + if rc != 0: > + logger.error("cimserver not found on '%s'", server) > + return FAIL I would SKIP here. Also, can you add something like "test only supported for sfcb at this time" - so the user knows why the test is skipped. > + > + cmd = "cimconfig -l -p | grep slp" > + rc, out = run_remote(server, cmd) > + if rc != 0: > + logger.error("slp is not enabled in the cimserver on '%s'", server) > + return FAIL I would skip here as well. > + > + return PASS > + > +def get_slp_attrs(server): > + slp_attrs = None > + status = FAIL > + > + cmd = "%s findsrvs service:wbem | grep -w http | "\ > + "grep -e '%s'" % (slp_path, server) > + rc, out = run_remote(server, cmd) > + if rc != 0: > + logger.error("Failed to find slp service on '%s'", server) > + return status, slp_attrs Instead of calling findsrvs, why not call findattrs directly? > + > + attrs_in = out.rsplit(",") > + slp_query = attrs_in[0] > + cmd = "%s findattrs %s" % (slp_path, slp_query) > + rc, slp_attrs = run_remote(server, cmd) > + if len(slp_attrs) == 0: > + # Getting the query and the port details > + slp_query_info = slp_query.rsplit(":", 1) > + slp_service_query = slp_query_info[0] > + port_used = slp_query_info[1] > + logger.info("Did not get the profile information for '%s'", slp_query) > + logger.info("Trying with ports other than '%s'....", port_used) > + > + # Remove the already used port information > + ports = attrs_in.remove(slp_query) > + for port in attrs_in: > + new_slp_query = slp_service_query + ":" + port > + cmd = "%s findattrs %s" % (slp_path, new_slp_query) > + rc, slp_attrs = run_remote(server, cmd) > + if len(slp_attrs) != 0: > + break If I force the test to execute this block of code, I get the following error: ERROR - ValueError : list.remove(x): x not in list Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 140, in do_try File "04_verify_libvirt_cim_slp_profiles.py", line 167, in main status, slp_attrs = get_slp_attrs(ip_addr) File "04_verify_libvirt_cim_slp_profiles.py", line 96, in get_slp_attrs ports = attrs_in.remove(slp_query) ValueError: list.remove(x): x not in list I think it's okay to remove this bit of code. We have to enable http connections with the CIMOM in order to run cimtest. If we want cimtest to work with just https, we'd need to do a lot of cleanup. That means if the CIMOM is advertising via slp correctly, then the advertisement will occur with the http port (otherwise its an error with the advertisement). You can put a comment here indicating the test only works when the CIMOM is enabled for http. That's fine for now. > + > + if len(slp_attrs) != 0: > + status = PASS > + > + return status, slp_attrs > + > +def filter_reg_name_from_slp(slp_attrs): > + slp_profile_list = [] > + > + for line in slp_attrs.split('\n'): > + lines=line.split("RegisteredProfilesSupported") Spaces around the = needed here. > + dmtf_profiles=lines[1].split("DMTF") And here. > + > + at do_main(sup_types) > +def main(): > + options = main.options > + server = options.ip > + virt = options.virt > + status = FAIL > + > + # Making sure that the server information passed is > + # hostname or ip address > + if server == "localhost": > + logger.error("Please specify hostname or ip address, than '%s'", > + server) > + return SKIP Why not use gethostname() to get the hostname? > + > + status = get_slp_info(server) > + if status != PASS: > + return status > + > + ip_addr = gethostbyaddr(server)[2][0] You can use gethostbyname(), which is a little cleaner. You can pass it the output from gethostname(). > + status, slp_attrs = get_slp_attrs(ip_addr) > + if status != PASS: > + logger.error("Failed to get slp attributes on %s", server) > + return status > + > + slp_profile_list = filter_reg_name_from_slp(slp_attrs) > + > + 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) > + return status > + > + # Make sure all the Libvirt-CIM profiles are advertised via slp > + if (libvirt_cim_reg_list) <= (slp_profile_list): > + logger.info("Successfully verified the Libvirt-CIM profiles") > + return PASS > + else: No need for the else here. > + logger.error("Mismatch in the profiles registered") > + logger.error("Slp returned profile --> %s,\n Libvirt-CIM expected " > + "profiles %s", slp_profile_list, libvirt_cim_reg_list) > + return FAIL > + > +if __name__=="__main__": > + sys.exit(main()) > + > -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From deeptik at linux.vnet.ibm.com Mon Nov 23 17:01:23 2009 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Mon, 23 Nov 2009 22:31:23 +0530 Subject: [Libvirt-cim] [PATCH] [TEST] Adding new tc to verify Libvirt-CIM profile advertisement via slp In-Reply-To: <4B073763.4010909@linux.vnet.ibm.com> References: <4B073763.4010909@linux.vnet.ibm.com> Message-ID: <4B0ABFE3.7050101@linux.vnet.ibm.com> Kaitlin Rupert wrote: > >> +sup_types = ['Xen', 'KVM', 'XenFV', 'LXC'] >> +slp_path="/usr/bin/slptool" > > It's possible that slptool might be installed in a different location. > You don't have to do this, but instead of checking the path, you could > use run_remote() to check whether "slptool help" returns an error. If > it does, slptool isn't installed (or the path is non-standard). > >> + >> +def get_slp_info(server): >> + >> + if not os.path.exists(slp_path): >> + logger.error("Slp tool does not exist on the machine ") >> + return SKIP >> + >> + logger.info("Slp tool found on the machine ....") >> + >> + # The test is written to work with Pegasus for now. >> + # In future we can include sfcb support as well >> + # When sfcb support will be planned then replace the following >> check + # with check_cimom() fn of common_util.py lib >> + cmd = "ps -ef | grep -v grep | grep cimserver" >> + rc, out = run_remote(server, cmd) >> + if rc != 0: >> + logger.error("cimserver not found on '%s'", server) >> + return FAIL > > I would SKIP here. Also, can you add something like "test only > supported for sfcb at this time" - so the user knows why the test is > skipped. > >> + >> + cmd = "cimconfig -l -p | grep slp" >> + rc, out = run_remote(server, cmd) >> + if rc != 0: >> + logger.error("slp is not enabled in the cimserver on '%s'", server) >> + return FAIL > > I would skip here as well. > >> + >> + return PASS >> + >> +def get_slp_attrs(server): >> + slp_attrs = None >> + status = FAIL >> + >> + cmd = "%s findsrvs service:wbem | grep -w http | "\ >> + "grep -e '%s'" % (slp_path, server) >> + rc, out = run_remote(server, cmd) >> + if rc != 0: >> + logger.error("Failed to find slp service on '%s'", server) >> + return status, slp_attrs > > Instead of calling findsrvs, why not call findattrs directly? I call findsrvs to get all the ports which could be used to find the attrs. > >> + >> + attrs_in = out.rsplit(",") >> + slp_query = attrs_in[0] >> + cmd = "%s findattrs %s" % (slp_path, slp_query) >> + rc, slp_attrs = run_remote(server, cmd) >> + if len(slp_attrs) == 0: >> + # Getting the query and the port details >> + slp_query_info = slp_query.rsplit(":", 1) >> + slp_service_query = slp_query_info[0] >> + port_used = slp_query_info[1] >> + logger.info("Did not get the profile information for '%s'", slp_query) >> + logger.info("Trying with ports other than '%s'....", port_used) >> + >> + # Remove the already used port information + ports = >> attrs_in.remove(slp_query) >> + for port in attrs_in: >> + new_slp_query = slp_service_query + ":" + port >> + cmd = "%s findattrs %s" % (slp_path, new_slp_query) >> + rc, slp_attrs = run_remote(server, cmd) >> + if len(slp_attrs) != 0: + break > > If I force the test to execute this block of code, I get the following > error: > > ERROR - ValueError : list.remove(x): x not in list > Traceback (most recent call last): > File "./lib/XenKvmLib/const.py", line 140, in do_try > File "04_verify_libvirt_cim_slp_profiles.py", line 167, in main > status, slp_attrs = get_slp_attrs(ip_addr) > File "04_verify_libvirt_cim_slp_profiles.py", line 96, in get_slp_attrs > ports = attrs_in.remove(slp_query) > ValueError: list.remove(x): x not in list > > I think it's okay to remove this bit of code. We have to enable http > connections with the CIMOM in order to run cimtest. If we want cimtest > to work with just https, we'd need to do a lot of cleanup. That means > if the CIMOM is advertising via slp correctly, then the advertisement > will occur with the http port (otherwise its an error with the > advertisement). > > You can put a comment here indicating the test only works when the > CIMOM is enabled for http. That's fine for now. > I am not using https at all. I am parsing the port associated with the http record returned by the slptool findsrvs.. Let me know if I am wrong in understanding what you mean here. > >> + >> + if len(slp_attrs) != 0: >> + status = PASS >> + >> + return status, slp_attrs >> + >> +def filter_reg_name_from_slp(slp_attrs): >> + slp_profile_list = [] >> + >> + for line in slp_attrs.split('\n'): >> + lines=line.split("RegisteredProfilesSupported") > > Spaces around the = needed here. > >> + dmtf_profiles=lines[1].split("DMTF") > > And here. > > >> + >> + at do_main(sup_types) >> +def main(): >> + options = main.options >> + server = options.ip >> + virt = options.virt >> + status = FAIL >> + >> + # Making sure that the server information passed is + # hostname or >> ip address >> + if server == "localhost": >> + logger.error("Please specify hostname or ip address, than '%s'", + >> server) >> + return SKIP > > Why not use gethostname() to get the hostname? > >> + + status = get_slp_info(server) >> + if status != PASS: >> + return status + >> + ip_addr = gethostbyaddr(server)[2][0] > > You can use gethostbyname(), which is a little cleaner. You can pass > it the output from gethostname(). > I tried supplying the hostname to the slp command, but it does not seem to work. Hence I choose gethostbyaddr() to get the ip from the hostname. Let me know if we can access the attrs while passing the hostname. >> + status, slp_attrs = get_slp_attrs(ip_addr) >> + if status != PASS: >> + logger.error("Failed to get slp attributes on %s", server) >> + return status >> + >> + slp_profile_list = filter_reg_name_from_slp(slp_attrs) >> + >> + 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) >> + return status >> + >> + # Make sure all the Libvirt-CIM profiles are advertised via slp >> + if (libvirt_cim_reg_list) <= (slp_profile_list): >> + logger.info("Successfully verified the Libvirt-CIM profiles") >> + return PASS >> + else: > > No need for the else here. Don't we want to print an error message if we dont get the expected Libvirt-CIM profiles ? > >> + logger.error("Mismatch in the profiles registered") >> + logger.error("Slp returned profile --> %s,\n Libvirt-CIM expected " >> + "profiles %s", slp_profile_list, libvirt_cim_reg_list) >> + return FAIL >> + >> +if __name__=="__main__": >> + sys.exit(main()) >> + >> > -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Mon Nov 23 21:47:47 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Mon, 23 Nov 2009 13:47:47 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Adding new tc to verify Libvirt-CIM profile advertisement via slp In-Reply-To: <4B0ABFE3.7050101@linux.vnet.ibm.com> References: <4B073763.4010909@linux.vnet.ibm.com> <4B0ABFE3.7050101@linux.vnet.ibm.com> Message-ID: <4B0B0303.6050006@linux.vnet.ibm.com> >>> + cmd = "%s findsrvs service:wbem | grep -w http | "\ >>> + "grep -e '%s'" % (slp_path, server) >>> + rc, out = run_remote(server, cmd) >>> + if rc != 0: >>> + logger.error("Failed to find slp service on '%s'", server) >>> + return status, slp_attrs >> >> Instead of calling findsrvs, why not call findattrs directly? > I call findsrvs to get all the ports which could be used to find the attrs. The different ports are http (5988) versus https (5989). I think you only need to check for 5988, since cimtest requires that the CIMOM have http enabled. >> >>> + >>> + attrs_in = out.rsplit(",") >>> + slp_query = attrs_in[0] >>> + cmd = "%s findattrs %s" % (slp_path, slp_query) >>> + rc, slp_attrs = run_remote(server, cmd) >>> + if len(slp_attrs) == 0: >>> + # Getting the query and the port details >>> + slp_query_info = slp_query.rsplit(":", 1) >>> + slp_service_query = slp_query_info[0] >>> + port_used = slp_query_info[1] >>> + logger.info("Did not get the profile information for '%s'", slp_query) >>> + logger.info("Trying with ports other than '%s'....", port_used) >>> + >>> + # Remove the already used port information + ports = >>> attrs_in.remove(slp_query) >>> + for port in attrs_in: >>> + new_slp_query = slp_service_query + ":" + port >>> + cmd = "%s findattrs %s" % (slp_path, new_slp_query) >>> + rc, slp_attrs = run_remote(server, cmd) >>> + if len(slp_attrs) != 0: + break >> >> If I force the test to execute this block of code, I get the following >> error: >> >> ERROR - ValueError : list.remove(x): x not in list >> Traceback (most recent call last): >> File "./lib/XenKvmLib/const.py", line 140, in do_try >> File "04_verify_libvirt_cim_slp_profiles.py", line 167, in main >> status, slp_attrs = get_slp_attrs(ip_addr) >> File "04_verify_libvirt_cim_slp_profiles.py", line 96, in get_slp_attrs >> ports = attrs_in.remove(slp_query) >> ValueError: list.remove(x): x not in list >> >> I think it's okay to remove this bit of code. We have to enable http >> connections with the CIMOM in order to run cimtest. If we want cimtest >> to work with just https, we'd need to do a lot of cleanup. That means >> if the CIMOM is advertising via slp correctly, then the advertisement >> will occur with the http port (otherwise its an error with the >> advertisement). >> >> You can put a comment here indicating the test only works when the >> CIMOM is enabled for http. That's fine for now. >> > I am not using https at all. I am parsing the port associated with the > http record returned by the slptool findsrvs.. > Let me know if I am wrong in understanding what you mean here. Pegasus does the SLP advertisement with two ports 5988 (wbem-http) and 5989 (wbem-https). # cat /etc/services | grep 5988 wbem-http 5988/tcp # WBEM HTTP wbem-http 5988/udp # WBEM HTTP # cat /etc/services | grep 5989 wbem-https 5989/tcp # WBEM HTTPS wbem-https 5989/udp # WBEM HTTPS I think you only need to check the output of wbem-http - no need to verify both. If the advertisement doesn't show up on 5988, then either: 1) the CIMOM isn't enabled with HTTP (which it should be for cimtest to run) 2) there's something wrong with Pegasus' advertisement >> >>> + >>> + if len(slp_attrs) != 0: >>> + status = PASS >>> + >>> + return status, slp_attrs >>> + >>> +def filter_reg_name_from_slp(slp_attrs): >>> + slp_profile_list = [] >>> + >>> + for line in slp_attrs.split('\n'): >>> + lines=line.split("RegisteredProfilesSupported") >> >> Spaces around the = needed here. >> >>> + dmtf_profiles=lines[1].split("DMTF") >> >> And here. >> >> >>> + >>> + at do_main(sup_types) >>> +def main(): >>> + options = main.options >>> + server = options.ip >>> + virt = options.virt >>> + status = FAIL >>> + >>> + # Making sure that the server information passed is + # hostname or >>> ip address >>> + if server == "localhost": >>> + logger.error("Please specify hostname or ip address, than '%s'", + >>> server) >>> + return SKIP >> >> Why not use gethostname() to get the hostname? >> >>> + + status = get_slp_info(server) >>> + if status != PASS: >>> + return status + >>> + ip_addr = gethostbyaddr(server)[2][0] >> >> You can use gethostbyname(), which is a little cleaner. You can pass >> it the output from gethostname(). >> > I tried supplying the hostname to the slp command, but it does not seem > to work. Hence I choose gethostbyaddr() to get the ip from the hostname. > Let me know if we can access the attrs while passing the hostname. Using the IP address is correct. What I meant here was that instead of doing: ip_addr = gethostbyaddr(server)[2][0] You can do: host = gethostbyname() ip_addr = gethostbyname(host) This will allow people to run the test using "localhost". >>> + status, slp_attrs = get_slp_attrs(ip_addr) >>> + if status != PASS: >>> + logger.error("Failed to get slp attributes on %s", server) >>> + return status >>> + >>> + slp_profile_list = filter_reg_name_from_slp(slp_attrs) >>> + >>> + 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) >>> + return status >>> + >>> + # Make sure all the Libvirt-CIM profiles are advertised via slp >>> + if (libvirt_cim_reg_list) <= (slp_profile_list): >>> + logger.info("Successfully verified the Libvirt-CIM profiles") >>> + return PASS >>> + else: >> >> No need for the else here. > Don't we want to print an error message if we dont get the expected > Libvirt-CIM profiles ? Sure - but you don't need the else. If the test passed, it has already returned at this point. So the else is unnecessary indentation. But it's fine to leave it as is if you want. >> >>> + logger.error("Mismatch in the profiles registered") >>> + logger.error("Slp returned profile --> %s,\n Libvirt-CIM expected " >>> + "profiles %s", slp_profile_list, libvirt_cim_reg_list) >>> + return FAIL >>> + >>> +if __name__=="__main__": >>> + sys.exit(main()) >>> + >>> >> > -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Mon Nov 23 22:03:05 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Mon, 23 Nov 2009 14:03:05 -0800 Subject: [Libvirt-cim] [PATCH 2 of 2] Add cleanup_virt_pool_res() for freeing virt_pool_res structs In-Reply-To: References: Message-ID: # HG changeset patch # User Kaitlin Rupert # Date 1257988817 28800 # Node ID e736e9f7808ee568704572c3e3f6c62ae26f3baf # Parent 9e09e32ad29262203322b5ebac46d45198757a22 Add cleanup_virt_pool_res() for freeing virt_pool_res structs Call cleanup_virt_pool_res() in Virt_ResourcePoolConfigurationService to free allocated struct. Signed-off-by: Kaitlin Rupert diff -r 9e09e32ad292 -r e736e9f7808e libxkutil/pool_parsing.c --- a/libxkutil/pool_parsing.c Wed Nov 11 17:20:17 2009 -0800 +++ b/libxkutil/pool_parsing.c Wed Nov 11 17:20:17 2009 -0800 @@ -87,6 +87,29 @@ *pool = NULL; } +static void cleanup_image_res(struct storage_vol vol) +{ + free(vol.vol_name); + free(vol.path); + free(vol.cap_units); +} + +void cleanup_virt_pool_res(struct virt_pool_res **res) +{ + struct virt_pool_res *_res = *res; + + if ((res == NULL) || (*res == NULL)) + return; + + if (_res->type == CIM_RES_TYPE_IMAGE) + cleanup_image_res(_res->res.storage_vol); + + free(_res->pool_id); + free(_res); + + *res = NULL; +} + static int parse_disk_target(xmlNode *node, struct disk_pool *pool) { xmlNode *child; diff -r 9e09e32ad292 -r e736e9f7808e libxkutil/pool_parsing.h --- a/libxkutil/pool_parsing.h Wed Nov 11 17:20:17 2009 -0800 +++ b/libxkutil/pool_parsing.h Wed Nov 11 17:20:17 2009 -0800 @@ -83,6 +83,7 @@ }; void cleanup_virt_pool(struct virt_pool **pool); +void cleanup_virt_pool_res(struct virt_pool_res **res); int get_pool_from_xml(const char *xml, struct virt_pool *pool, int type); diff -r 9e09e32ad292 -r e736e9f7808e src/Virt_ResourcePoolConfigurationService.c --- a/src/Virt_ResourcePoolConfigurationService.c Wed Nov 11 17:20:17 2009 -0800 +++ b/src/Virt_ResourcePoolConfigurationService.c Wed Nov 11 17:20:17 2009 -0800 @@ -952,6 +952,8 @@ free(pool_id); free(xml); + cleanup_virt_pool_res(&res); + if (s.rc == CMPI_RC_OK) rc = CIM_SVPC_RETURN_COMPLETED; CMReturnData(results, &rc, CMPI_uint32); From kaitlin at linux.vnet.ibm.com Mon Nov 23 22:03:03 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Mon, 23 Nov 2009 14:03:03 -0800 Subject: [Libvirt-cim] [PATCH 0 of 2] Fix some memory leaks Message-ID: Fix a few additional leaks - mostly freeing of allocated strings, so places where structs weren't getting properly freed. From kaitlin at linux.vnet.ibm.com Mon Nov 23 22:03:04 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Mon, 23 Nov 2009 14:03:04 -0800 Subject: [Libvirt-cim] [PATCH 1 of 2] Fix various memory leaks In-Reply-To: References: Message-ID: <9e09e32ad29262203322.1259013784@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1257988817 28800 # Node ID 9e09e32ad29262203322b5ebac46d45198757a22 # Parent 33a6a50f64e08df1585a249d96d89e4e03d663e4 Fix various memory leaks Signed-off-by: Kaitlin Rupert diff -r 33a6a50f64e0 -r 9e09e32ad292 src/Virt_Device.c --- a/src/Virt_Device.c Wed Nov 11 19:54:27 2009 -0800 +++ b/src/Virt_Device.c Wed Nov 11 17:20:17 2009 -0800 @@ -630,9 +630,9 @@ else cu_return_instances(results, &list); + out: inst_list_free(&list); - out: return s; } diff -r 33a6a50f64e0 -r 9e09e32ad292 src/Virt_ElementAllocatedFromPool.c --- a/src/Virt_ElementAllocatedFromPool.c Wed Nov 11 19:54:27 2009 -0800 +++ b/src/Virt_ElementAllocatedFromPool.c Wed Nov 11 17:20:17 2009 -0800 @@ -126,10 +126,10 @@ inst_list_add(list, inst); } + out: + free(poolid); inst_list_free(&tmp); - out: - return s; } diff -r 33a6a50f64e0 -r 9e09e32ad292 src/Virt_KVMRedirectionSAP.c --- a/src/Virt_KVMRedirectionSAP.c Wed Nov 11 19:54:27 2009 -0800 +++ b/src/Virt_KVMRedirectionSAP.c Wed Nov 11 17:20:17 2009 -0800 @@ -198,6 +198,8 @@ } out: + free(line); + return s; } @@ -497,6 +499,7 @@ if (port != NULL) free(port->name); free(port); + cleanup_dominfo(&dominfo); return s; } diff -r 33a6a50f64e0 -r 9e09e32ad292 src/Virt_ResourceAllocationSettingDataIndication.c --- a/src/Virt_ResourceAllocationSettingDataIndication.c Wed Nov 11 19:54:27 2009 -0800 +++ b/src/Virt_ResourceAllocationSettingDataIndication.c Wed Nov 11 17:20:17 2009 -0800 @@ -121,6 +121,12 @@ } out: + if (args != NULL) + stdi_free_ind_args(&args); + + if (_ctx != NULL) + free(_ctx); + return s; } diff -r 33a6a50f64e0 -r 9e09e32ad292 src/Virt_ServiceAccessBySAP.c --- a/src/Virt_ServiceAccessBySAP.c Wed Nov 11 19:54:27 2009 -0800 +++ b/src/Virt_ServiceAccessBySAP.c Wed Nov 11 17:20:17 2009 -0800 @@ -42,7 +42,7 @@ { CMPIStatus s = {CMPI_RC_OK, NULL}; CMPIInstance *instance = NULL; - char* classname; + char *classname = NULL; if (!match_hypervisor_prefix(ref, info)) goto out; @@ -56,6 +56,8 @@ s = enum_console_sap(_BROKER, ref, list); out: + free(classname); + return s; } diff -r 33a6a50f64e0 -r 9e09e32ad292 src/Virt_SettingsDefineCapabilities.c --- a/src/Virt_SettingsDefineCapabilities.c Wed Nov 11 19:54:27 2009 -0800 +++ b/src/Virt_SettingsDefineCapabilities.c Wed Nov 11 17:20:17 2009 -0800 @@ -1308,7 +1308,9 @@ s = cdrom_template(ref, template_type, list); out: - free(pfx); + free(pfx); + for (i = 0; i < numvolsret; i++) + free(volnames[i]); free(volnames); free(host); virStoragePoolFree(poolptr); From jfehlig at novell.com Mon Nov 23 22:30:01 2009 From: jfehlig at novell.com (Jim Fehlig) Date: Mon, 23 Nov 2009 15:30:01 -0700 Subject: [Libvirt-cim] [PATCH] Honor DESTDIR in install-data-local hook Message-ID: <53fa81ef222fbab7f334.1259015401@jfehlig3.provo.novell.com> # HG changeset patch # User Jim Fehlig # Date 1259014872 25200 # Node ID 53fa81ef222fbab7f334c1268158ed270af18993 # Parent 33a6a50f64e08df1585a249d96d89e4e03d663e4 Honor DESTDIR in install-data-local hook Signed-off-by: Jim Fehlig diff -r 33a6a50f64e0 -r 53fa81ef222f Makefile.am --- a/Makefile.am Wed Nov 11 19:54:27 2009 -0800 +++ b/Makefile.am Mon Nov 23 15:21:12 2009 -0700 @@ -172,7 +172,7 @@ $(install_sh_DATA) -t "$(DESTDIR)$(pkgdatadir)" $(INTEROP_MOFS) $(install_sh_DATA) -t "$(DESTDIR)$(pkgdatadir)" $(INTEROP_REGS) if [[ @CIMSERVER@ != pegasus ]]; then \ - sed -i '/^# --/,/^# --!/d' $(subst schema,$(pkgdatadir), $(PGINTEROP_REGS)); \ + sed -i '/^# --/,/^# --!/d' $(subst schema,$(DESTDIR)$(pkgdatadir), $(PGINTEROP_REGS)); \ fi uninstall-local: From rmaciel at linux.vnet.ibm.com Wed Nov 25 15:15:10 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Wed, 25 Nov 2009 13:15:10 -0200 Subject: [Libvirt-cim] [PATCH 0 of 2] Fix some memory leaks In-Reply-To: References: Message-ID: <4B0D49FE.8080707@linux.vnet.ibm.com> +1 On 11/23/2009 08:03 PM, Kaitlin Rupert wrote: > Fix a few additional leaks - mostly freeing of allocated strings, so places > where structs weren't getting properly freed. > > _______________________________________________ > 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 Wed Nov 25 15:34:12 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Wed, 25 Nov 2009 13:34:12 -0200 Subject: [Libvirt-cim] [PATCH] Honor DESTDIR in install-data-local hook In-Reply-To: <53fa81ef222fbab7f334.1259015401@jfehlig3.provo.novell.com> References: <53fa81ef222fbab7f334.1259015401@jfehlig3.provo.novell.com> Message-ID: <4B0D4E74.9020103@linux.vnet.ibm.com> +1 On 11/23/2009 08:30 PM, Jim Fehlig wrote: > # HG changeset patch > # User Jim Fehlig > # Date 1259014872 25200 > # Node ID 53fa81ef222fbab7f334c1268158ed270af18993 > # Parent 33a6a50f64e08df1585a249d96d89e4e03d663e4 > Honor DESTDIR in install-data-local hook > > Signed-off-by: Jim Fehlig > > diff -r 33a6a50f64e0 -r 53fa81ef222f Makefile.am > --- a/Makefile.am Wed Nov 11 19:54:27 2009 -0800 > +++ b/Makefile.am Mon Nov 23 15:21:12 2009 -0700 > @@ -172,7 +172,7 @@ > $(install_sh_DATA) -t "$(DESTDIR)$(pkgdatadir)" $(INTEROP_MOFS) > $(install_sh_DATA) -t "$(DESTDIR)$(pkgdatadir)" $(INTEROP_REGS) > if [[ @CIMSERVER@ != pegasus ]]; then \ > - sed -i '/^# --/,/^# --!/d' $(subst schema,$(pkgdatadir), $(PGINTEROP_REGS)); \ > + sed -i '/^# --/,/^# --!/d' $(subst schema,$(DESTDIR)$(pkgdatadir), $(PGINTEROP_REGS)); \ > fi > > uninstall-local: > > _______________________________________________ > Libvirt-cim mailing list > Libvirt-cim at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-cim -- Richard Maciel, MSc IBM Linux Technology Center rmaciel at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Wed Nov 25 18:17:12 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Wed, 25 Nov 2009 10:17:12 -0800 Subject: [Libvirt-cim] [PATCH] Fix AddResourceSettings() so it returns ResultingResourceSettings[ ] result Message-ID: <58b4cf70770e931f7517.1259173032@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1259107270 28800 # Node ID 58b4cf70770e931f7517c5555e8c1bbc72df4bd2 # Parent e736e9f7808ee568704572c3e3f6c62ae26f3baf Fix AddResourceSettings() so it returns ResultingResourceSettings[ ] result AddResourceSettings() should be returning ResultingResourceSettings[ ] as an output parameter. Signed-off-by: Kaitlin Rupert diff -r e736e9f7808e -r 58b4cf70770e src/Virt_VirtualSystemManagementService.c --- a/src/Virt_VirtualSystemManagementService.c Wed Nov 11 17:20:17 2009 -0800 +++ b/src/Virt_VirtualSystemManagementService.c Tue Nov 24 16:01:10 2009 -0800 @@ -2388,7 +2388,8 @@ const char *domain, CMPIArray *resources, const CMPIResult *results, - resmod_fn func) + resmod_fn func, + struct inst_list *list) { int i; virConnectPtr conn = NULL; @@ -2454,6 +2455,7 @@ if (s.rc != CMPI_RC_OK) break; + inst_list_add(list, inst); } out: if (s.rc == CMPI_RC_OK) @@ -2527,6 +2529,48 @@ return s; } +static CMPIArray *set_result_res(struct inst_list *list, + const char *ns) +{ + CMPIStatus s = {CMPI_RC_OK, NULL}; + CMPIObjectPath *op = NULL; + CMPIArray *res = NULL; + int i = 0; + + if (list->cur == 0) { + CU_DEBUG("No resources were added or modified"); + return res; + } + + res = CMNewArray(_BROKER, list->cur, CMPI_ref, &s); + if ((s.rc != CMPI_RC_OK) || (res == NULL)) { + CU_DEBUG("Unable to create results array"); + goto out; + } + + for (i = 0; list->list[i] != NULL; i++) { + op = CMGetObjectPath(list->list[i], NULL); + if (op == NULL) { + CU_DEBUG("Unable to RASD reference"); + goto out; + } + + CMSetNameSpace(op, ns); + + s = CMSetArrayElementAt(res, i, (CMPIValue *)&op, CMPI_ref); + if (s.rc != CMPI_RC_OK) { + CU_DEBUG("Error setting results array element"); + goto out; + } + } + + out: + if (s.rc != CMPI_RC_OK) + res = NULL; + + return res; +} + static CMPIStatus add_resource_settings(CMPIMethodMI *self, const CMPIContext *context, const CMPIResult *results, @@ -2538,6 +2582,10 @@ CMPIStatus s; CMPIObjectPath *sys; char *domain = NULL; + CMPIArray *res = NULL; + struct inst_list list; + + inst_list_init(&list); if (cu_get_array_arg(argsin, "ResourceSettings", &arr) != CMPI_RC_OK) { cu_statusf(_BROKER, &s, @@ -2567,10 +2615,17 @@ domain, arr, results, - resource_add); - + resource_add, + &list); + free(domain); + res = set_result_res(&list, NAMESPACE(reference)); + + inst_list_free(&list); + + CMAddArg(argsout, "ResultingResourceSettings", &res, CMPI_refA); + return s; } @@ -2583,6 +2638,10 @@ { CMPIArray *arr; CMPIStatus s; + CMPIArray *res = NULL; + struct inst_list list; + + inst_list_init(&list); if (cu_get_array_arg(argsin, "ResourceSettings", &arr) != CMPI_RC_OK) { cu_statusf(_BROKER, &s, @@ -2591,12 +2650,21 @@ return s; } - return _update_resource_settings(context, - reference, - NULL, - arr, - results, - resource_mod); + s = _update_resource_settings(context, + reference, + NULL, + arr, + results, + resource_mod, + &list); + + res = set_result_res(&list, NAMESPACE(reference)); + + inst_list_free(&list); + + CMAddArg(argsout, "ResultingResourceSettings", &res, CMPI_refA); + + return s; } static CMPIStatus rm_resource_settings(CMPIMethodMI *self, @@ -2613,6 +2681,9 @@ CMPIArray *arr; CMPIArray *resource_arr; CMPIStatus s; + struct inst_list list; + + inst_list_init(&list); if (cu_get_array_arg(argsin, "ResourceSettings", &arr) != CMPI_RC_OK) { cu_statusf(_BROKER, &s, @@ -2630,8 +2701,11 @@ NULL, resource_arr, results, - resource_del); + resource_del, + &list); out: + inst_list_free(&list); + return s; } From kaitlin at linux.vnet.ibm.com Wed Nov 25 18:25:58 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Wed, 25 Nov 2009 10:25:58 -0800 Subject: [Libvirt-cim] [PATCH 1 of 2] [TEST] Update vsms_util functions for add and modify so they get the output In-Reply-To: References: Message-ID: <41148148bd523c186667.1259173558@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1259172739 28800 # Node ID 41148148bd523c1866676b7a8d94e6c5292a5628 # Parent 3809e6608c1f9a9a56cfcf94ac39d37b867b1efa [TEST] Update vsms_util functions for add and modify so they get the output Signed-off-by: Kaitlin Rupert diff -r 3809e6608c1f -r 41148148bd52 suites/libvirt-cim/lib/XenKvmLib/vsms_util.py --- a/suites/libvirt-cim/lib/XenKvmLib/vsms_util.py Mon Nov 23 17:34:35 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/vsms_util.py Wed Nov 25 10:12:19 2009 -0800 @@ -31,9 +31,28 @@ logger.error('Error invoking ModifyRS: %s', func_str) logger.error(details) +def call_modify_res(service, rasd): + try: + output = service.ModifyResourceSettings(ResourceSettings = [str(rasd)]) + if len(output) == 0: + raise Exception("ModifyResourceSettings failed to return output") + + out_param = "ResultingResourceSettings" + if output[1][out_param] is None: + raise Exception("ModifyResourceSettings failed to return %s" % \ + out_param) + except Exception, details: + logger.error(details) + return FAIL, None + + return PASS, output[1][out_param] + def mod_disk_res(server, service, cxml, dasd, ndpath): try: - service.ModifyResourceSettings(ResourceSettings = [str(dasd)]) + status, output = call_modify_res(service, dasd) + if status != PASS: + raise Exception("ModifyResourceSettings call failed") + cxml.dumpxml(server) dpath = cxml.xml_get_disk_source() if dpath != ndpath: @@ -48,7 +67,10 @@ def mod_net_res(server, service, virt, cxml, nasd, ntype, net_name): try: - service.ModifyResourceSettings(ResourceSettings = [str(nasd)]) + status, output = call_modify_res(service, nasd) + if status != PASS: + raise Exception("ModifyResourceSettings call failed") + cxml.dumpxml(server) type = cxml.xml_get_net_type() @@ -73,7 +95,10 @@ def mod_mem_res(server, service, cxml, masd, nmem): try: - service.ModifyResourceSettings(ResourceSettings=[str(masd)]) + status, output = call_modify_res(service, masd) + if status != PASS: + raise Exception("ModifyResourceSettings call failed") + cxml.dumpxml(server) mem = cxml.xml_get_mem() if int(mem) != int(nmem) * 1024: @@ -88,7 +113,10 @@ def mod_vcpu_res(server, service, cxml, pasd, ncpu, virt): try: - service.ModifyResourceSettings(ResourceSettings = [str(pasd)]) + status, output = call_modify_res(service, pasd) + if status != PASS: + raise Exception("ModifyResourceSettings call failed") + cxml.dumpxml(server) dom = cxml.xml_get_dom_name() cpu = virsh_vcpuinfo(server, dom, virt) @@ -109,10 +137,29 @@ logger.error('Error invoking AddRS: %s', func_str) logger.error(details) +def call_add_res(service, rasd, vssd_ref): + try: + output = service.AddResourceSettings(AffectedConfiguration=vssd_ref, + ResourceSettings=[str(rasd)]) + if len(output) == 0: + raise Exception("AddResourceSettings failed to return output") + + out_param = "ResultingResourceSettings" + if output[1][out_param] is None: + raise Exception("AddResourceSettings failed to return %s" % \ + out_param) + except Exception, details: + logger.error(details) + return FAIL + + return PASS + def add_disk_res(server, service, cxml, vssd_ref, dasd, attr): try: - service.AddResourceSettings(AffectedConfiguration=vssd_ref, - ResourceSettings=[str(dasd)]) + status = call_add_res(service, dasd, vssd_ref) + if status != PASS: + raise Exception("AddResourceSettings call failed") + cxml.dumpxml(server) disk_dev = cxml.get_value_xpath( '/domain/devices/disk/target/@dev[. = "%s"]' % attr['nddev']) @@ -131,8 +178,10 @@ def add_net_res(server, service, virt, cxml, vssd_ref, nasd, attr): try: - service.AddResourceSettings(AffectedConfiguration=vssd_ref, - ResourceSettings=[str(nasd)]) + status = call_add_res(service, nasd, vssd_ref) + if status != PASS: + raise Exception("AddResourceSettings call failed") + cxml.dumpxml(server) mac = cxml.get_value_xpath( From kaitlin at linux.vnet.ibm.com Wed Nov 25 18:25:59 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Wed, 25 Nov 2009 10:25:59 -0800 Subject: [Libvirt-cim] [PATCH 2 of 2] [TEST] Add a new test to verify the output of ModifyResourceSettings In-Reply-To: References: Message-ID: <7db32fc81594a4de815f.1259173559@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1259172739 28800 # Node ID 7db32fc81594a4de815fb08aa3de56862f4db9d1 # Parent 41148148bd523c1866676b7a8d94e6c5292a5628 [TEST] Add a new test to verify the output of ModifyResourceSettings Signed-off-by: Kaitlin Rupert diff -r 41148148bd52 -r 7db32fc81594 suites/libvirt-cim/cimtest/VirtualSystemManagementService/24_verify_modifyres_output.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/24_verify_modifyres_output.py Wed Nov 25 10:12:19 2009 -0800 @@ -0,0 +1,86 @@ +#!/usr/bin/python +# +# Copyright 2009 IBM Corp. +# +# Authors: +# Kaitlin Rupert +# +# 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 verifies the output of the ModifyResourceSettings() call. +# ModifyResourceSettings() returns an array of RASS references. This reference +# should match the reference of the instance RASD we pass to the +# ModifyResourceSettings() call. + +import sys +from pywbem import CIMInstanceName +from XenKvmLib.vsms import get_vsms_class, get_dasd_class +from XenKvmLib import vxml +from CimTest.Globals import logger, CIM_NS +from XenKvmLib.const import do_main +from CimTest.ReturnCodes import PASS, FAIL +from XenKvmLib.vsms_util import call_modify_res + +sup_types = ['Xen', 'KVM', 'XenFV'] +default_dom = 'rstest_domain' + + at do_main(sup_types) +def main(): + options = main.options + + cn = "KVM_DiskResourceAllocationSettingData" + + service = get_vsms_class(options.virt)(options.ip) + cxml = vxml.get_class(options.virt)(default_dom) + + ndpath = cxml.secondary_disk_path + dasd = get_dasd_class(options.virt)(dev=cxml.xml_get_disk_dev(), + source=ndpath, + name=default_dom) + status = FAIL + + try: + ret = cxml.cim_define(options.ip) + if not ret: + raise Exception("Failed to define the dom: %s" % default_dom) + + status, out = call_modify_res(service, dasd) + if status != PASS: + raise Exception("Failed to modify %s's disk" % default_dom) + + keys = {"InstanceID" : dasd.InstanceID} + ref = CIMInstanceName(cn, keybindings=keys, namespace=CIM_NS) + + if len(out) != 1: + raise Exception("Expected 1 resulting RASD, got %d" % len(out)) + + if out[0] != ref: + raise Exception("Expected %s to be created, %s was instead" % \ + (ref, out[0])) + + status = PASS + + except Exception, details: + logger.error(details) + status = FAIL + + cxml.destroy(options.ip) + cxml.undefine(options.ip) + + return status + +if __name__ == "__main__": + sys.exit(main()) + From kaitlin at linux.vnet.ibm.com Wed Nov 25 18:25:57 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Wed, 25 Nov 2009 10:25:57 -0800 Subject: [Libvirt-cim] [PATCH 0 of 2] Add a new test for checking the output of ModifyResourceSettings Message-ID: This test corresponds to patch "Fix AddResourceSettings() so it returns ResultingResourceSettings[ ] result". You'll need that patch applied in order to run this test. From deeptik at linux.vnet.ibm.com Wed Nov 25 12:37:54 2009 From: deeptik at linux.vnet.ibm.com (Deepti B. Kalakeri) Date: Wed, 25 Nov 2009 05:37:54 -0700 Subject: [Libvirt-cim] Test Run Summary (Nov 25 2009): LXC on Fedora release 12 (Constantine) with Pegasus Message-ID: <200911251237.nAPCbsK9004887@d03av04.boulder.ibm.com> ================================================= Test Run Summary (Nov 25 2009): LXC 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: 1009 Libvirt-cim changeset: 33a6a50f64e0 Cimtest revision: 803 Cimtest changeset: ed3a9593a2ac Total test execution: Unknown ================================================= FAIL : 15 XFAIL : 6 SKIP : 52 PASS : 102 ----------------- Total : 175 ================================================= FAIL Test Summary: HostedAccessPoint - 01_forward.py: FAIL HostedAccessPoint - 02_reverse.py: FAIL HostSystem - 02_hostsystem_to_rasd.py: FAIL KVMRedirectionSAP - 01_enum_KVMredSAP.py: FAIL RedirectionService - 03_RedirectionSAP_errs.py: FAIL ResourceAllocationFromPool - 01_forward.py: FAIL ResourceAllocationFromPool - 02_reverse.py: FAIL ServiceAccessBySAP - 01_forward.py: FAIL ServiceAccessBySAP - 02_reverse.py: FAIL ServiceAffectsElement - 01_forward.py: FAIL ServiceAffectsElement - 02_reverse.py: FAIL SystemDevice - 01_forward.py: FAIL VirtualSystemManagementService - 20_verify_vnc_password.py: FAIL VirtualSystemManagementService - 21_createVS_verifyMAC.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 HostSystem - 05_hs_gi_errs.py: SKIP LogicalDisk - 01_disk.py: SKIP LogicalDisk - 03_ld_gi_errs.py: SKIP NetworkPort - 01_netport.py: SKIP NetworkPort - 02_np_gi_errors.py: SKIP NetworkPort - 03_user_netport.py: SKIP Processor - 01_processor.py: SKIP Processor - 02_definesys_get_procs.py: SKIP Processor - 03_proc_gi_errs.py: SKIP RASD - 04_disk_rasd_size.py: SKIP RASD - 05_disk_rasd_emu_type.py: SKIP RASD - 06_parent_net_pool.py: SKIP RASD - 07_parent_disk_pool.py: SKIP RASDIndications - 01_guest_states_rasd_ind.py: SKIP RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: SKIP ResourceAllocationFromPool - 05_RAPF_err.py: SKIP ResourcePoolConfigurationService - 03_CreateResourcePool.py: SKIP ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: SKIP ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: SKIP ResourcePoolConfigurationService - 07_DeleteResourcePool.py: SKIP ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: SKIP ResourcePoolConfigurationService - 09_DeleteDiskPool.py: SKIP ResourcePoolConfigurationService - 10_create_storagevolume.py: SKIP ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: SKIP ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: SKIP ResourcePoolConfigurationService - 13_delete_storagevolume.py: SKIP ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: SKIP VirtualSystemManagementService - 06_addresource.py: SKIP VirtualSystemManagementService - 08_modifyresource.py: SKIP VirtualSystemManagementService - 09_procrasd_persist.py: SKIP VirtualSystemManagementService - 11_define_memrasdunits.py: SKIP VirtualSystemManagementService - 12_referenced_config.py: SKIP VirtualSystemManagementService - 13_refconfig_additional_devs.py: SKIP VirtualSystemManagementService - 16_removeresource.py: SKIP VirtualSystemManagementService - 17_removeresource_neg.py: SKIP VirtualSystemManagementService - 18_define_sys_bridge.py: SKIP VirtualSystemManagementService - 19_definenetwork_ers.py: SKIP VirtualSystemManagementService - 22_addmulti_brg_interface.py: SKIP VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: SKIP VirtualSystemMigrationService - 01_migratable_host.py: SKIP VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: SKIP 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: operation failed: suspend operation failed with return code 1 ERROR - Exception variable: Unable pause dom 'DomST1' InvokeMethod(RequestStateChange): CIM_ERR_FAILED: 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 CIM_ERR_FAILED: Unable to pause domain: operation failed: suspend operation failed with return code 1 ERROR - Exception: 'Unable pause dom 'cs_test_domain'' InvokeMethod(RequestStateChange): CIM_ERR_FAILED: 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 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: FAIL ERROR - No kvmrsap instance returned -------------------------------------------------------------------- HostedAccessPoint - 02_reverse.py: FAIL ERROR - No kvmrsap instance returned -------------------------------------------------------------------- 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: operation failed: suspend operation failed') ERROR - Failed to suspend the dom: hd_domain1 InvokeMethod(RequestStateChange): CIM_ERR_FAILED: 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: FAIL ERROR - Address Mismatch ERROR - Returned /var/lib/libvirt/images/lxc_files instead of /tmp/lxc_files ERROR - Mistmatching association values -------------------------------------------------------------------- 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: FAIL ERROR - Exception: Failed to get information on the defined dom:test_kvmredsap_dom -------------------------------------------------------------------- LogicalDisk - 01_disk.py: SKIP -------------------------------------------------------------------- LogicalDisk - 02_nodevs.py: PASS -------------------------------------------------------------------- LogicalDisk - 03_ld_gi_errs.py: SKIP -------------------------------------------------------------------- Memory - 01_memory.py: PASS -------------------------------------------------------------------- Memory - 02_defgetmem.py: PASS -------------------------------------------------------------------- Memory - 03_mem_gi_errs.py: PASS -------------------------------------------------------------------- NetworkPort - 01_netport.py: SKIP -------------------------------------------------------------------- NetworkPort - 02_np_gi_errors.py: SKIP -------------------------------------------------------------------- NetworkPort - 03_user_netport.py: SKIP -------------------------------------------------------------------- Processor - 01_processor.py: SKIP -------------------------------------------------------------------- Processor - 02_definesys_get_procs.py: SKIP -------------------------------------------------------------------- Processor - 03_proc_gi_errs.py: SKIP -------------------------------------------------------------------- Profile - 01_enum.py: PASS -------------------------------------------------------------------- Profile - 02_profile_to_elec.py: PASS -------------------------------------------------------------------- Profile - 03_rprofile_gi_errs.py: PASS -------------------------------------------------------------------- RASD - 01_verify_rasd_fields.py: PASS -------------------------------------------------------------------- RASD - 02_enum.py: PASS -------------------------------------------------------------------- RASD - 03_rasd_errs.py: PASS -------------------------------------------------------------------- RASD - 04_disk_rasd_size.py: SKIP -------------------------------------------------------------------- RASD - 05_disk_rasd_emu_type.py: SKIP -------------------------------------------------------------------- RASD - 06_parent_net_pool.py: SKIP 06_parent_net_pool.py:50: DeprecationWarning: the sets module is deprecated from sets import Set -------------------------------------------------------------------- RASD - 07_parent_disk_pool.py: SKIP 07_parent_disk_pool.py:47: DeprecationWarning: the sets module is deprecated from sets import Set -------------------------------------------------------------------- RASDIndications - 01_guest_states_rasd_ind.py: SKIP -------------------------------------------------------------------- RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: SKIP -------------------------------------------------------------------- RedirectionService - 01_enum_crs.py: PASS -------------------------------------------------------------------- RedirectionService - 02_enum_crscap.py: PASS -------------------------------------------------------------------- RedirectionService - 03_RedirectionSAP_errs.py: FAIL -------------------------------------------------------------------- ReferencedProfile - 01_verify_refprof.py: PASS -------------------------------------------------------------------- ReferencedProfile - 02_refprofile_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 01_forward.py: FAIL ERROR - 3 RASD insts != 4 pool insts -------------------------------------------------------------------- ResourceAllocationFromPool - 02_reverse.py: FAIL ERROR - 3 RASD insts != 4 pool insts -------------------------------------------------------------------- ResourceAllocationFromPool - 03_forward_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 05_RAPF_err.py: SKIP -------------------------------------------------------------------- ResourcePool - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePool - 02_rp_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 02_rcps_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 03_CreateResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 07_DeleteResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 09_DeleteDiskPool.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 10_create_storagevolume.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 13_delete_storagevolume.py: SKIP -------------------------------------------------------------------- ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: SKIP -------------------------------------------------------------------- ServiceAccessBySAP - 01_forward.py: FAIL Traceback (most recent call last): File "/usr/lib64/python2.6/logging/__init__.py", line 760, in emit msg = self.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 644, in format return fmt.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 432, in format record.message = record.getMessage() File "/usr/lib64/python2.6/logging/__init__.py", line 302, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Traceback (most recent call last): File "/usr/lib64/python2.6/logging/__init__.py", line 760, in emit msg = self.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 644, in format return fmt.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 432, in format record.message = record.getMessage() File "/usr/lib64/python2.6/logging/__init__.py", line 302, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Traceback (most recent call last): File "/usr/lib64/python2.6/logging/__init__.py", line 760, in emit msg = self.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 644, in format return fmt.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 432, in format record.message = record.getMessage() File "/usr/lib64/python2.6/logging/__init__.py", line 302, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting -------------------------------------------------------------------- ServiceAccessBySAP - 02_reverse.py: FAIL ERROR - No kvmrsap instance found Traceback (most recent call last): File "/usr/lib64/python2.6/logging/__init__.py", line 760, in emit msg = self.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 644, in format return fmt.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 432, in format record.message = record.getMessage() File "/usr/lib64/python2.6/logging/__init__.py", line 302, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Traceback (most recent call last): File "/usr/lib64/python2.6/logging/__init__.py", line 760, in emit msg = self.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 644, in format return fmt.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 432, in format record.message = record.getMessage() File "/usr/lib64/python2.6/logging/__init__.py", line 302, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Traceback (most recent call last): File "/usr/lib64/python2.6/logging/__init__.py", line 760, in emit msg = self.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 644, in format return fmt.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 432, in format record.message = record.getMessage() File "/usr/lib64/python2.6/logging/__init__.py", line 302, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting -------------------------------------------------------------------- ServiceAffectsElement - 01_forward.py: FAIL 01_forward.py:51: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - Exception in fn verify_assoc() ERROR - Exception details: Failed to get init_list -------------------------------------------------------------------- ServiceAffectsElement - 02_reverse.py: FAIL 02_reverse.py:47: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - Exception : 'LXC_DisplayController' -------------------------------------------------------------------- SettingsDefine - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefine - 02_reverse.py: 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: FAIL 01_forward.py:29: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - Device Class mismatch ERROR - Exception Expected Device class list: ['LXC_Memory', 'LXC_Processor'] Got: [u'LXC_LogicalDisk', u'LXC_Memory', u'LXC_PointingDevice'] -------------------------------------------------------------------- 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 ERROR - global name 'cxml' is not defined 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: FAIL ERROR - LXC_GraphicsResourceAllocationSettingData returned 0 instances, excepted at least 1. ERROR - Failed to verify the Password field for domain 'vncpasswd_domain' -------------------------------------------------------------------- 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 -------------------------------------------------------------------- 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: FAIL ERROR - Address Mismatch ERROR - Returned /var/lib/libvirt/images/lxc_files instead of /tmp/lxc_files ERROR - Mistmatching LXC_DiskResourceAllocationSettingData values -------------------------------------------------------------------- VSSD - 05_set_uuid.py: PASS -------------------------------------------------------------------- VSSD - 06_duplicate_uuid.py: PASS -------------------------------------------------------------------- From deeptik at linux.vnet.ibm.com Wed Nov 25 18:47:27 2009 From: deeptik at linux.vnet.ibm.com (Deepti B. Kalakeri) Date: Wed, 25 Nov 2009 18:47:27 -0000 Subject: [Libvirt-cim] [PATCH] [TEST] #2 Adding new tc to verify Libvirt-CIM profile advertisement via slp Message-ID: # HG changeset patch # User Deepti B. Kalakeri # Date 1259174831 28800 # Node ID ca05ea85f30bd3ca9468ebd892d21e68fe831605 # Parent ed3a9593a2acb7fc7ac124666d873d51e3c315fd [TEST] #2 Adding new tc to verify Libvirt-CIM profile advertisement via slp. Patch 2: -------- 1) Used gethostname() and gethostbyname() to get the ip address when localhost value is passed through commandline 2) Changed the suggested return stmts to SKIP 3) Removed the else part to save indentation 4) Improved the verification of slptool exsistence 5) Removed findsrvs and directly used findattrs Tested with KVM and current sources on rhel5.4. Signed-off-by: Deepti B. Kalakeri diff -r ed3a9593a2ac -r ca05ea85f30b suites/libvirt-cim/cimtest/Profile/04_verify_libvirt_cim_slp_profiles.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/suites/libvirt-cim/cimtest/Profile/04_verify_libvirt_cim_slp_profiles.py Wed Nov 25 10:47:11 2009 -0800 @@ -0,0 +1,167 @@ +#! /usr/bin/python +# +# Copyright 2009 IBM Corp. +# +# Authors: +# Deepti B. Kalakeri +# +# 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 +# +# The following test case is used to verify the profiles registered by +# Libvirt-CIM are advertised via slp tool. +# +# Date : 20-10-2009 + +import sys +import os +import string +from sets import Set +from socket import gethostbyaddr, gethostname, gethostbyname +from VirtLib.utils import run_remote +from XenKvmLib import enumclass +from XenKvmLib.classes import get_typed_class +from CimTest import Globals +from CimTest.Globals import logger +from XenKvmLib.const import do_main +from CimTest.ReturnCodes import PASS, FAIL, SKIP + +sup_types = ['Xen', 'KVM', 'XenFV', 'LXC'] +def get_slp_info(server): + + cmd = "slptool help" + rc, out = run_remote(server, cmd) + if rc != 0: + # Check if slptool exist in non-standard path + cmd = "whereis slptool" + rc, out = run_remote(server, cmd) + slp_path = out.split(":") + if slp_path[1] == '': + logger.error("SLP tool does not exist on the machine ") + return SKIP + + logger.info("Slp tool found on the machine ....") + + # The test is written to work with Pegasus for now. + # In future we can include sfcb support as well + # When sfcb support will be planned then replace the following check + # with check_cimom() fn of common_util.py lib + cmd = "ps -ef | grep -v grep | grep cimserver" + rc, out = run_remote(server, cmd) + if rc != 0: + logger.info("cimserver not found on '%s'", server) + logger.info("Test not supported for sfcb yet ... hence skipping") + return SKIP + + cmd = "cimconfig -l -p | grep slp" + rc, out = run_remote(server, cmd) + if rc != 0: + logger.error("SLP is not enabled for the cimserver on '%s'", server) + return SKIP + + return PASS + +def get_slp_attrs(server): + slp_attrs = None + + cmd = "slptool findattrs service:wbem:http://%s:5988" % server + rc, slp_attrs = run_remote(server, cmd) + if len(slp_attrs) != 0: + return PASS, slp_attrs + + return FAIL, slp_attrs + +def filter_reg_name_from_slp(slp_attrs): + slp_profile_list = [] + + for line in slp_attrs.split('\n'): + lines = line.split("RegisteredProfilesSupported") + dmtf_profiles = lines[1].split("DMTF") + for profile in dmtf_profiles: + temp_reg_ele = profile.rsplit(":", 1)[1].rstrip(",") + reg_prof_name = temp_reg_ele.rstrip(")") + slp_profile_list.append(reg_prof_name) + + slp_profile_list = Set(slp_profile_list) + + return slp_profile_list + +def get_libvirt_cim_profile_info(server, virt): + libvirt_cim_reg_list = None + status = FAIL + prev_namespace = Globals.CIM_NS + Globals.CIM_NS = 'root/interop' + cn = get_typed_class(virt, 'RegisteredProfile') + + try: + proflist = enumclass.EnumInstances(server, cn) + except Exception, detail: + logger.error(CIM_ERROR_ENUMERATE, get_typed_class(virt, cn)) + logger.error("Exception: %s", detail) + Globals.CIM_NS = prev_namespace + return status, libvirt_cim_reg_list + + Globals.CIM_NS = prev_namespace + + libvirt_cim_reg_list = Set([str(x.RegisteredName) for x in proflist]) + if len(libvirt_cim_reg_list) != 0: + status = PASS + + return status, libvirt_cim_reg_list + + + at do_main(sup_types) +def main(): + options = main.options + server = options.ip + virt = options.virt + status = FAIL + + status = get_slp_info(server) + if status != PASS: + return status + + # Making sure that the server information passed is + # hostname or ip address + if server == "localhost": + host = gethostname() + ip_addr = gethostbyname(host) + else: + ip_addr = gethostbyaddr(server)[2][0] + + status, slp_attrs = get_slp_attrs(ip_addr) + if status != PASS: + logger.error("Failed to get slp attributes on %s", server) + return status + + slp_profile_list = filter_reg_name_from_slp(slp_attrs) + + 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) + return status + + # Make sure all the Libvirt-CIM profiles are advertised via slp + if (libvirt_cim_reg_list) <= (slp_profile_list): + logger.info("Successfully verified the Libvirt-CIM profiles") + return PASS + + logger.error("Mismatch in the profiles registered") + logger.error("Slp returned profile --> %s,\n Libvirt-CIM expected " + "profiles %s", slp_profile_list, libvirt_cim_reg_list) + return FAIL + +if __name__=="__main__": + sys.exit(main()) + From rmaciel at linux.vnet.ibm.com Wed Nov 25 20:47:07 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Wed, 25 Nov 2009 20:47:07 -0000 Subject: [Libvirt-cim] [PATCH] [TEST] Changed expected image path to match the correct one Message-ID: <5467bdbfdaf8a3716cbb.1259182027@localhost.localdomain> # HG changeset patch # User Richard Maciel # Date 1259181949 7200 # Node ID 5467bdbfdaf8a3716cbbf489410b15025b23c7ce # Parent ed3a9593a2acb7fc7ac124666d873d51e3c315fd [TEST] Changed expected image path to match the correct one Signed-off-by: Richard Maciel diff -r ed3a9593a2ac -r 5467bdbfdaf8 suites/libvirt-cim/lib/XenKvmLib/rasd.py --- a/suites/libvirt-cim/lib/XenKvmLib/rasd.py Thu Nov 19 03:51:03 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/rasd.py Wed Nov 25 18:45:49 2009 -0200 @@ -77,7 +77,7 @@ disk_path = vsxml.xml_get_disk_source() if virt == 'LXC': - disk_path = '/tmp/lxc_files' + disk_path = '/var/lib/libvirt/images/lxc_files' libvirt_version = virsh_version(server, virt) From kaitlin at linux.vnet.ibm.com Wed Nov 25 23:09:05 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Wed, 25 Nov 2009 15:09:05 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Fix CSIndication and CSMigrationIndication test to prevent test hang Message-ID: # 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) From rmaciel at linux.vnet.ibm.com Mon Nov 30 13:35:59 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Mon, 30 Nov 2009 11:35:59 -0200 Subject: [Libvirt-cim] [PATCH] Fix AddResourceSettings() so it returns ResultingResourceSettings[ ] result In-Reply-To: <58b4cf70770e931f7517.1259173032@elm3b41.beaverton.ibm.com> References: <58b4cf70770e931f7517.1259173032@elm3b41.beaverton.ibm.com> Message-ID: <4B13CA3F.8000809@linux.vnet.ibm.com> +1 On 11/25/2009 04:17 PM, Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1259107270 28800 > # Node ID 58b4cf70770e931f7517c5555e8c1bbc72df4bd2 > # Parent e736e9f7808ee568704572c3e3f6c62ae26f3baf > Fix AddResourceSettings() so it returns ResultingResourceSettings[ ] result > > AddResourceSettings() should be returning ResultingResourceSettings[ ] as an > output parameter. > > Signed-off-by: Kaitlin Rupert > > diff -r e736e9f7808e -r 58b4cf70770e src/Virt_VirtualSystemManagementService.c > --- a/src/Virt_VirtualSystemManagementService.c Wed Nov 11 17:20:17 2009 -0800 > +++ b/src/Virt_VirtualSystemManagementService.c Tue Nov 24 16:01:10 2009 -0800 > @@ -2388,7 +2388,8 @@ > const char *domain, > CMPIArray *resources, > const CMPIResult *results, > - resmod_fn func) > + resmod_fn func, > + struct inst_list *list) > { > int i; > virConnectPtr conn = NULL; > @@ -2454,6 +2455,7 @@ > if (s.rc != CMPI_RC_OK) > break; > > + inst_list_add(list, inst); > } > out: > if (s.rc == CMPI_RC_OK) > @@ -2527,6 +2529,48 @@ > return s; > } > > +static CMPIArray *set_result_res(struct inst_list *list, > + const char *ns) > +{ > + CMPIStatus s = {CMPI_RC_OK, NULL}; > + CMPIObjectPath *op = NULL; > + CMPIArray *res = NULL; > + int i = 0; > + > + if (list->cur == 0) { > + CU_DEBUG("No resources were added or modified"); > + return res; > + } > + > + res = CMNewArray(_BROKER, list->cur, CMPI_ref,&s); > + if ((s.rc != CMPI_RC_OK) || (res == NULL)) { > + CU_DEBUG("Unable to create results array"); > + goto out; > + } > + > + for (i = 0; list->list[i] != NULL; i++) { > + op = CMGetObjectPath(list->list[i], NULL); > + if (op == NULL) { > + CU_DEBUG("Unable to RASD reference"); > + goto out; > + } > + > + CMSetNameSpace(op, ns); > + > + s = CMSetArrayElementAt(res, i, (CMPIValue *)&op, CMPI_ref); > + if (s.rc != CMPI_RC_OK) { > + CU_DEBUG("Error setting results array element"); > + goto out; > + } > + } > + > + out: > + if (s.rc != CMPI_RC_OK) > + res = NULL; > + > + return res; > +} > + > static CMPIStatus add_resource_settings(CMPIMethodMI *self, > const CMPIContext *context, > const CMPIResult *results, > @@ -2538,6 +2582,10 @@ > CMPIStatus s; > CMPIObjectPath *sys; > char *domain = NULL; > + CMPIArray *res = NULL; > + struct inst_list list; > + > + inst_list_init(&list); > > if (cu_get_array_arg(argsin, "ResourceSettings",&arr) != CMPI_RC_OK) { > cu_statusf(_BROKER,&s, > @@ -2567,10 +2615,17 @@ > domain, > arr, > results, > - resource_add); > - > + resource_add, > +&list); > + > free(domain); > > + res = set_result_res(&list, NAMESPACE(reference)); > + > + inst_list_free(&list); > + > + CMAddArg(argsout, "ResultingResourceSettings",&res, CMPI_refA); > + > return s; > } > > @@ -2583,6 +2638,10 @@ > { > CMPIArray *arr; > CMPIStatus s; > + CMPIArray *res = NULL; > + struct inst_list list; > + > + inst_list_init(&list); > > if (cu_get_array_arg(argsin, "ResourceSettings",&arr) != CMPI_RC_OK) { > cu_statusf(_BROKER,&s, > @@ -2591,12 +2650,21 @@ > return s; > } > > - return _update_resource_settings(context, > - reference, > - NULL, > - arr, > - results, > - resource_mod); > + s = _update_resource_settings(context, > + reference, > + NULL, > + arr, > + results, > + resource_mod, > +&list); > + > + res = set_result_res(&list, NAMESPACE(reference)); > + > + inst_list_free(&list); > + > + CMAddArg(argsout, "ResultingResourceSettings",&res, CMPI_refA); > + > + return s; > } > > static CMPIStatus rm_resource_settings(CMPIMethodMI *self, > @@ -2613,6 +2681,9 @@ > CMPIArray *arr; > CMPIArray *resource_arr; > CMPIStatus s; > + struct inst_list list; > + > + inst_list_init(&list); > > if (cu_get_array_arg(argsin, "ResourceSettings",&arr) != CMPI_RC_OK) { > cu_statusf(_BROKER,&s, > @@ -2630,8 +2701,11 @@ > NULL, > resource_arr, > results, > - resource_del); > + resource_del, > +&list); > out: > + inst_list_free(&list); > + > return s; > } > > > _______________________________________________ > 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 Nov 27 19:43:23 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Fri, 27 Nov 2009 19:43:23 -0000 Subject: [Libvirt-cim] [PATCH] [TEST] LXC currently doesn't support VNC, so skip appropriated tests Message-ID: <9ca46beaa8430120fc30.1259351003@localhost.localdomain> # HG changeset patch # User Richard Maciel # Date 1259350970 7200 # Node ID 9ca46beaa8430120fc30b33bca21be4d5ed1a961 # Parent 5467bdbfdaf8a3716cbbf489410b15025b23c7ce [TEST] LXC currently doesn't support VNC, so skip appropriated tests Signed-off-by: Richard Maciel diff -r 5467bdbfdaf8 -r 9ca46beaa843 suites/libvirt-cim/cimtest/HostedAccessPoint/01_forward.py --- a/suites/libvirt-cim/cimtest/HostedAccessPoint/01_forward.py Wed Nov 25 18:45:49 2009 -0200 +++ b/suites/libvirt-cim/cimtest/HostedAccessPoint/01_forward.py Fri Nov 27 17:42:50 2009 -0200 @@ -110,6 +110,10 @@ "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 5467bdbfdaf8 -r 9ca46beaa843 suites/libvirt-cim/cimtest/HostedAccessPoint/02_reverse.py --- a/suites/libvirt-cim/cimtest/HostedAccessPoint/02_reverse.py Wed Nov 25 18:45:49 2009 -0200 +++ b/suites/libvirt-cim/cimtest/HostedAccessPoint/02_reverse.py Fri Nov 27 17:42:50 2009 -0200 @@ -116,6 +116,11 @@ 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 5467bdbfdaf8 -r 9ca46beaa843 suites/libvirt-cim/cimtest/KVMRedirectionSAP/01_enum_KVMredSAP.py --- a/suites/libvirt-cim/cimtest/KVMRedirectionSAP/01_enum_KVMredSAP.py Wed Nov 25 18:45:49 2009 -0200 +++ b/suites/libvirt-cim/cimtest/KVMRedirectionSAP/01_enum_KVMredSAP.py Fri Nov 27 17:42:50 2009 -0200 @@ -100,6 +100,11 @@ 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 5467bdbfdaf8 -r 9ca46beaa843 suites/libvirt-cim/cimtest/RedirectionService/03_RedirectionSAP_errs.py --- a/suites/libvirt-cim/cimtest/RedirectionService/03_RedirectionSAP_errs.py Wed Nov 25 18:45:49 2009 -0200 +++ b/suites/libvirt-cim/cimtest/RedirectionService/03_RedirectionSAP_errs.py Fri Nov 27 17:42:50 2009 -0200 @@ -76,6 +76,11 @@ "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) From rmaciel at linux.vnet.ibm.com Fri Nov 27 21:25:15 2009 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Fri, 27 Nov 2009 21:25:15 -0000 Subject: [Libvirt-cim] [PATCH] [TEST] (#2) LXC currently doesn't support VNC, so skip appropriated tests Message-ID: <9e0d6ff3f5f6ec665305.1259357115@localhost.localdomain> # HG changeset patch # User Richard Maciel # Date 1259357082 7200 # Node ID 9e0d6ff3f5f6ec6653059ef1422ed6b70f8728f5 # Parent 5467bdbfdaf8a3716cbbf489410b15025b23c7ce [TEST] (#2) LXC currently doesn't support VNC, so skip appropriated tests #2: - Added missing testcase fix Signed-off-by: Richard Maciel diff -r 5467bdbfdaf8 -r 9e0d6ff3f5f6 suites/libvirt-cim/cimtest/HostedAccessPoint/01_forward.py --- a/suites/libvirt-cim/cimtest/HostedAccessPoint/01_forward.py Wed Nov 25 18:45:49 2009 -0200 +++ b/suites/libvirt-cim/cimtest/HostedAccessPoint/01_forward.py Fri Nov 27 19:24:42 2009 -0200 @@ -110,6 +110,10 @@ "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 5467bdbfdaf8 -r 9e0d6ff3f5f6 suites/libvirt-cim/cimtest/HostedAccessPoint/02_reverse.py --- a/suites/libvirt-cim/cimtest/HostedAccessPoint/02_reverse.py Wed Nov 25 18:45:49 2009 -0200 +++ b/suites/libvirt-cim/cimtest/HostedAccessPoint/02_reverse.py Fri Nov 27 19:24:42 2009 -0200 @@ -116,6 +116,11 @@ 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 5467bdbfdaf8 -r 9e0d6ff3f5f6 suites/libvirt-cim/cimtest/KVMRedirectionSAP/01_enum_KVMredSAP.py --- a/suites/libvirt-cim/cimtest/KVMRedirectionSAP/01_enum_KVMredSAP.py Wed Nov 25 18:45:49 2009 -0200 +++ b/suites/libvirt-cim/cimtest/KVMRedirectionSAP/01_enum_KVMredSAP.py Fri Nov 27 19:24:42 2009 -0200 @@ -100,6 +100,11 @@ 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 5467bdbfdaf8 -r 9e0d6ff3f5f6 suites/libvirt-cim/cimtest/RedirectionService/03_RedirectionSAP_errs.py --- a/suites/libvirt-cim/cimtest/RedirectionService/03_RedirectionSAP_errs.py Wed Nov 25 18:45:49 2009 -0200 +++ b/suites/libvirt-cim/cimtest/RedirectionService/03_RedirectionSAP_errs.py Fri Nov 27 19:24:42 2009 -0200 @@ -76,6 +76,11 @@ "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 5467bdbfdaf8 -r 9e0d6ff3f5f6 suites/libvirt-cim/cimtest/VirtualSystemManagementService/20_verify_vnc_password.py --- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/20_verify_vnc_password.py Wed Nov 25 18:45:49 2009 -0200 +++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/20_verify_vnc_password.py Fri Nov 27 19:24:42 2009 -0200 @@ -76,6 +76,11 @@ 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 kaitlin at linux.vnet.ibm.com Mon Nov 30 21:15:15 2009 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Mon, 30 Nov 2009 13:15:15 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] (#2) LXC currently doesn't support VNC, so skip appropriated tests In-Reply-To: <9e0d6ff3f5f6ec665305.1259357115@localhost.localdomain> References: <9e0d6ff3f5f6ec665305.1259357115@localhost.localdomain> Message-ID: <4B1435E3.2070301@linux.vnet.ibm.com> Richard Maciel wrote: > # HG changeset patch > # User Richard Maciel > # Date 1259357082 7200 > # Node ID 9e0d6ff3f5f6ec6653059ef1422ed6b70f8728f5 > # Parent 5467bdbfdaf8a3716cbbf489410b15025b23c7ce > [TEST] (#2) LXC currently doesn't support VNC, so skip appropriated tests These look good. Although, no need to have the message span multiple lines. For each test case, you can do the following instead: logger.info("VNC is not supported by LXC, hence skipping the tc ....") This will fit within 80 character limit. And looks cleaner, since you don't have a string spanning multiple lines. -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com