CIM
Threads by month
- ----- 2026 -----
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- 3141 discussions
Test Run Summary (Oct 06 2009): KVM on Red Hat Enterprise Linux Server release 5.4 Beta (Tikanga) with Pegasus
by Deepti B Kalakeri 06 Oct '09
by Deepti B Kalakeri 06 Oct '09
06 Oct '09
=================================================
Test Run Summary (Oct 06 2009): KVM on Red Hat Enterprise Linux Server release 5.4 Beta (Tikanga) with Pegasus
=================================================
Distro: Red Hat Enterprise Linux Server release 5.4 Beta (Tikanga)
Kernel: 2.6.18-158.el5
libvirt: 0.6.3
Hypervisor: QEMU 0.9.1
CIMOM: Pegasus 2.9.0
Libvirt-cim revision: 987
Libvirt-cim changeset: 906a78ecf9f3
Cimtest revision:
Cimtest changeset:
=================================================
FAIL : 2
XFAIL : 4
SKIP : 8
PASS : 161
-----------------
Total : 175
=================================================
FAIL Test Summary:
ResourcePoolConfigurationService - 07_DeleteResourcePool.py: FAIL
VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL
=================================================
XFAIL Test Summary:
ComputerSystem - 32_start_reboot.py: XFAIL
ComputerSystem - 33_suspend_reboot.py: XFAIL
VirtualSystemManagementService - 16_removeresource.py: XFAIL
VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL
=================================================
SKIP Test Summary:
ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP
VSSD - 02_bootldr.py: SKIP
VirtualSystemMigrationService - 01_migratable_host.py: SKIP
VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP
VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP
VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP
VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP
VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: SKIP
=================================================
Full report:
--------------------------------------------------------------------
AllocationCapabilities - 01_enum.py: PASS
--------------------------------------------------------------------
AllocationCapabilities - 02_alloccap_gi_errs.py: PASS
--------------------------------------------------------------------
ComputerSystem - 01_enum.py: PASS
--------------------------------------------------------------------
ComputerSystem - 02_nosystems.py: PASS
--------------------------------------------------------------------
ComputerSystem - 03_defineVS.py: PASS
--------------------------------------------------------------------
ComputerSystem - 04_defineStartVS.py: PASS
--------------------------------------------------------------------
ComputerSystem - 05_activate_defined_start.py: PASS
--------------------------------------------------------------------
ComputerSystem - 06_paused_active_suspend.py: PASS
--------------------------------------------------------------------
ComputerSystem - 22_define_suspend.py: PASS
--------------------------------------------------------------------
ComputerSystem - 23_pause_pause.py: PASS
--------------------------------------------------------------------
ComputerSystem - 27_define_pause_errs.py: PASS
--------------------------------------------------------------------
ComputerSystem - 32_start_reboot.py: XFAIL
ERROR - Got CIM error CIM_ERR_FAILED: Unable to reboot domain: this function is not supported by the hypervisor: virDomainReboot with return code 1
ERROR - Exception: Unable reboot dom 'cs_test_domain'
InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to reboot domain: this function is not supported by the hypervisor: virDomainReboot
Bug:<00005>
--------------------------------------------------------------------
ComputerSystem - 33_suspend_reboot.py: XFAIL
ERROR - Got CIM error CIM_ERR_NOT_SUPPORTED: State not supported with return code 7
ERROR - Exception: Unable Suspend dom 'test_domain'
InvokeMethod(RequestStateChange): CIM_ERR_NOT_SUPPORTED: State not supported
Bug:<00012>
--------------------------------------------------------------------
ComputerSystem - 34_start_disable.py: PASS
--------------------------------------------------------------------
ComputerSystem - 35_start_reset.py: PASS
--------------------------------------------------------------------
ComputerSystem - 40_RSC_start.py: PASS
--------------------------------------------------------------------
ComputerSystem - 41_cs_to_settingdefinestate.py: PASS
--------------------------------------------------------------------
ComputerSystem - 42_cs_gi_errs.py: PASS
--------------------------------------------------------------------
ComputerSystemIndication - 01_created_indication.py: PASS
--------------------------------------------------------------------
ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP
--------------------------------------------------------------------
ElementAllocatedFromPool - 01_forward.py: PASS
--------------------------------------------------------------------
ElementAllocatedFromPool - 02_reverse.py: PASS
--------------------------------------------------------------------
ElementAllocatedFromPool - 03_reverse_errs.py: PASS
--------------------------------------------------------------------
ElementAllocatedFromPool - 04_forward_errs.py: PASS
--------------------------------------------------------------------
ElementCapabilities - 01_forward.py: PASS
--------------------------------------------------------------------
ElementCapabilities - 02_reverse.py: PASS
--------------------------------------------------------------------
ElementCapabilities - 03_forward_errs.py: PASS
--------------------------------------------------------------------
ElementCapabilities - 04_reverse_errs.py: PASS
--------------------------------------------------------------------
ElementCapabilities - 05_hostsystem_cap.py: PASS
--------------------------------------------------------------------
ElementConforms - 01_forward.py: PASS
--------------------------------------------------------------------
ElementConforms - 02_reverse.py: PASS
--------------------------------------------------------------------
ElementConforms - 03_ectp_fwd_errs.py: PASS
--------------------------------------------------------------------
ElementConforms - 04_ectp_rev_errs.py: PASS
--------------------------------------------------------------------
ElementSettingData - 01_forward.py: PASS
--------------------------------------------------------------------
ElementSettingData - 03_esd_assoc_with_rasd_errs.py: PASS
--------------------------------------------------------------------
EnabledLogicalElementCapabilities - 01_enum.py: PASS
--------------------------------------------------------------------
EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: PASS
--------------------------------------------------------------------
HostSystem - 01_enum.py: PASS
--------------------------------------------------------------------
HostSystem - 02_hostsystem_to_rasd.py: PASS
--------------------------------------------------------------------
HostSystem - 03_hs_to_settdefcap.py: PASS
--------------------------------------------------------------------
HostSystem - 04_hs_to_EAPF.py: PASS
--------------------------------------------------------------------
HostSystem - 05_hs_gi_errs.py: PASS
--------------------------------------------------------------------
HostSystem - 06_hs_to_vsms.py: PASS
--------------------------------------------------------------------
HostedAccessPoint - 01_forward.py: PASS
--------------------------------------------------------------------
HostedAccessPoint - 02_reverse.py: PASS
--------------------------------------------------------------------
HostedDependency - 01_forward.py: PASS
--------------------------------------------------------------------
HostedDependency - 02_reverse.py: PASS
--------------------------------------------------------------------
HostedDependency - 03_enabledstate.py: PASS
--------------------------------------------------------------------
HostedDependency - 04_reverse_errs.py: PASS
--------------------------------------------------------------------
HostedResourcePool - 01_forward.py: PASS
--------------------------------------------------------------------
HostedResourcePool - 02_reverse.py: PASS
--------------------------------------------------------------------
HostedResourcePool - 03_forward_errs.py: PASS
--------------------------------------------------------------------
HostedResourcePool - 04_reverse_errs.py: PASS
--------------------------------------------------------------------
HostedService - 01_forward.py: PASS
--------------------------------------------------------------------
HostedService - 02_reverse.py: PASS
--------------------------------------------------------------------
HostedService - 03_forward_errs.py: PASS
--------------------------------------------------------------------
HostedService - 04_reverse_errs.py: PASS
--------------------------------------------------------------------
KVMRedirectionSAP - 01_enum_KVMredSAP.py: PASS
--------------------------------------------------------------------
LogicalDisk - 01_disk.py: PASS
--------------------------------------------------------------------
LogicalDisk - 02_nodevs.py: PASS
--------------------------------------------------------------------
LogicalDisk - 03_ld_gi_errs.py: PASS
--------------------------------------------------------------------
Memory - 01_memory.py: PASS
--------------------------------------------------------------------
Memory - 02_defgetmem.py: PASS
--------------------------------------------------------------------
Memory - 03_mem_gi_errs.py: PASS
--------------------------------------------------------------------
NetworkPort - 01_netport.py: PASS
--------------------------------------------------------------------
NetworkPort - 02_np_gi_errors.py: PASS
--------------------------------------------------------------------
NetworkPort - 03_user_netport.py: PASS
--------------------------------------------------------------------
Processor - 01_processor.py: PASS
--------------------------------------------------------------------
Processor - 02_definesys_get_procs.py: PASS
--------------------------------------------------------------------
Processor - 03_proc_gi_errs.py: PASS
--------------------------------------------------------------------
Profile - 01_enum.py: PASS
--------------------------------------------------------------------
Profile - 02_profile_to_elec.py: PASS
--------------------------------------------------------------------
Profile - 03_rprofile_gi_errs.py: PASS
--------------------------------------------------------------------
RASD - 01_verify_rasd_fields.py: PASS
--------------------------------------------------------------------
RASD - 02_enum.py: PASS
--------------------------------------------------------------------
RASD - 03_rasd_errs.py: PASS
--------------------------------------------------------------------
RASD - 04_disk_rasd_size.py: PASS
--------------------------------------------------------------------
RASD - 05_disk_rasd_emu_type.py: PASS
--------------------------------------------------------------------
RASD - 06_parent_net_pool.py: PASS
--------------------------------------------------------------------
RASD - 07_parent_disk_pool.py: PASS
--------------------------------------------------------------------
RASDIndications - 01_guest_states_rasd_ind.py: PASS
--------------------------------------------------------------------
RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: PASS
--------------------------------------------------------------------
RedirectionService - 01_enum_crs.py: PASS
--------------------------------------------------------------------
RedirectionService - 02_enum_crscap.py: PASS
--------------------------------------------------------------------
RedirectionService - 03_RedirectionSAP_errs.py: PASS
--------------------------------------------------------------------
ReferencedProfile - 01_verify_refprof.py: PASS
--------------------------------------------------------------------
ReferencedProfile - 02_refprofile_errs.py: PASS
--------------------------------------------------------------------
ResourceAllocationFromPool - 01_forward.py: PASS
--------------------------------------------------------------------
ResourceAllocationFromPool - 02_reverse.py: PASS
--------------------------------------------------------------------
ResourceAllocationFromPool - 03_forward_errs.py: PASS
--------------------------------------------------------------------
ResourceAllocationFromPool - 04_reverse_errs.py: PASS
--------------------------------------------------------------------
ResourceAllocationFromPool - 05_RAPF_err.py: PASS
--------------------------------------------------------------------
ResourcePool - 01_enum.py: PASS
--------------------------------------------------------------------
ResourcePool - 02_rp_gi_errors.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationCapabilities - 01_enum.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 01_enum.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 02_rcps_gi_errors.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 03_CreateResourcePool.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 07_DeleteResourcePool.py: FAIL
ERROR - Exception in create_pool()
ERROR - Exception details: (1, u'CIM_ERR_FAILED: Pool with that name already exists')
ERROR - Error in networkpool creation
InvokeMethod(CreateChildResourcePool): CIM_ERR_FAILED: Pool with that name already exists
--------------------------------------------------------------------
ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 09_DeleteDiskPool.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 10_create_storagevolume.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 13_delete_storagevolume.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: PASS
--------------------------------------------------------------------
ServiceAccessBySAP - 01_forward.py: PASS
--------------------------------------------------------------------
ServiceAccessBySAP - 02_reverse.py: PASS
--------------------------------------------------------------------
ServiceAffectsElement - 01_forward.py: PASS
--------------------------------------------------------------------
ServiceAffectsElement - 02_reverse.py: PASS
--------------------------------------------------------------------
SettingsDefine - 01_forward.py: PASS
--------------------------------------------------------------------
SettingsDefine - 02_reverse.py: PASS
--------------------------------------------------------------------
SettingsDefine - 03_sds_fwd_errs.py: PASS
--------------------------------------------------------------------
SettingsDefine - 04_sds_rev_errs.py: PASS
--------------------------------------------------------------------
SettingsDefineCapabilities - 01_forward.py: PASS
--------------------------------------------------------------------
SettingsDefineCapabilities - 03_forward_errs.py: PASS
--------------------------------------------------------------------
SettingsDefineCapabilities - 04_forward_vsmsdata.py: PASS
--------------------------------------------------------------------
SettingsDefineCapabilities - 05_reverse_vsmcap.py: PASS
--------------------------------------------------------------------
SystemDevice - 01_forward.py: PASS
--------------------------------------------------------------------
SystemDevice - 02_reverse.py: PASS
--------------------------------------------------------------------
SystemDevice - 03_fwderrs.py: PASS
--------------------------------------------------------------------
VSSD - 01_enum.py: PASS
--------------------------------------------------------------------
VSSD - 02_bootldr.py: SKIP
--------------------------------------------------------------------
VSSD - 03_vssd_gi_errs.py: PASS
--------------------------------------------------------------------
VSSD - 04_vssd_to_rasd.py: PASS
--------------------------------------------------------------------
VSSD - 05_set_uuid.py: PASS
--------------------------------------------------------------------
VSSD - 06_duplicate_uuid.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementCapabilities - 01_enum.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 01_definesystem_name.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 02_destroysystem.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 03_definesystem_ess.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 04_definesystem_ers.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 05_destroysystem_neg.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 06_addresource.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 07_addresource_neg.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 08_modifyresource.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 09_procrasd_persist.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 10_hv_version.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 11_define_memrasdunits.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 12_referenced_config.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 13_refconfig_additional_devs.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 14_define_sys_disk.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 15_mod_system_settings.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 16_removeresource.py: XFAIL
ERROR - 0 RASD insts for domain/mouse:ps2
CIM_ERR_NOT_FOUND: No such instance (no device domain/mouse:ps2)
Bug:<00014>
--------------------------------------------------------------------
VirtualSystemManagementService - 17_removeresource_neg.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 18_define_sys_bridge.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 19_definenetwork_ers.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 20_verify_vnc_password.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 21_createVS_verifyMAC.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL
ERROR - Error invoking AddRS: add_net_res
ERROR - (1, u"CIM_ERR_FAILED: Unable to change (0) device: this function is not supported by the hypervisor: device type 'interface' cannot be attached")
ERROR - Failed to destroy Virtual Network 'my_network1'
InvokeMethod(AddResourceSettings): CIM_ERR_FAILED: Unable to change (0) device: this function is not supported by the hypervisor: device type 'interface' cannot be attached
Bug:<00015>
--------------------------------------------------------------------
VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: PASS
--------------------------------------------------------------------
VirtualSystemMigrationCapabilities - 01_enum.py: PASS
--------------------------------------------------------------------
VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: PASS
--------------------------------------------------------------------
VirtualSystemMigrationService - 01_migratable_host.py: SKIP
--------------------------------------------------------------------
VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP
--------------------------------------------------------------------
VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP
--------------------------------------------------------------------
VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP
--------------------------------------------------------------------
VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP
--------------------------------------------------------------------
VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: SKIP
--------------------------------------------------------------------
VirtualSystemMigrationSettingData - 01_enum.py: PASS
--------------------------------------------------------------------
VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS
--------------------------------------------------------------------
VirtualSystemSettingDataComponent - 01_forward.py: PASS
--------------------------------------------------------------------
VirtualSystemSettingDataComponent - 02_reverse.py: PASS
--------------------------------------------------------------------
VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: PASS
--------------------------------------------------------------------
VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: PASS
--------------------------------------------------------------------
VirtualSystemSnapshotService - 01_enum.py: PASS
--------------------------------------------------------------------
VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: PASS
--------------------------------------------------------------------
VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL
ERROR - Exception: CreateSnapshot failed to return a CIM job inst
ERROR - Failed to remove snapshot file for snapshot_vm
--------------------------------------------------------------------
VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS
--------------------------------------------------------------------
VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: PASS
--------------------------------------------------------------------
--
Thanks and Regards,
Deepti B. Kalakeri
IBM Linux Technology Center
deeptik(a)linux.vnet.ibm.com
2
2
06 Oct '09
# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1254510041 25200
# Node ID 061f37113f9294f83a4695d18b78e0abac5cb711
# Parent 9e5c87bfe7c61fe8e713790398ce5f5a8039809c
[TEST] Make VSSD 05 test SKIP is providers are older tha 837.
The UUID attribute wasn't available in the VSSD mof prior to that.
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r 9e5c87bfe7c6 -r 061f37113f92 suites/libvirt-cim/cimtest/VSSD/05_set_uuid.py
--- a/suites/libvirt-cim/cimtest/VSSD/05_set_uuid.py Fri Oct 02 11:53:30 2009 -0700
+++ b/suites/libvirt-cim/cimtest/VSSD/05_set_uuid.py Fri Oct 02 12:00:41 2009 -0700
@@ -27,14 +27,15 @@
from XenKvmLib import vsms
from XenKvmLib import vxml
from CimTest.Globals import logger
-from CimTest.ReturnCodes import PASS, FAIL
-from XenKvmLib.const import do_main
+from CimTest.ReturnCodes import PASS, FAIL, SKIP
+from XenKvmLib.const import do_main, get_provider_version
from XenKvmLib.classes import get_typed_class
from XenKvmLib.enumclass import GetInstance
sup_types = ['Xen', 'KVM', 'XenFV', 'LXC']
default_dom = 'uuid_domain'
uuid = set_uuid()
+uuid_changes = 873
def get_vssd(ip, virt, get_cim_inst):
cn = get_typed_class(virt, "VirtualSystemSettingData")
@@ -60,6 +61,12 @@
def main():
options = main.options
+ cim_rev, changeset = get_provider_version(options.virt, options.ip)
+ if cim_rev < uuid_changes:
+ logger.info("UUID attribute added VSSD in libvirt-cim version '%s'",
+ uuid_changes)
+ return SKIP
+
service = vsms.get_vsms_class(options.virt)(options.ip)
cxml = vxml.get_class(options.virt)(default_dom, uuid=uuid)
2
1
06 Oct '09
# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1254509610 25200
# Node ID 9e5c87bfe7c61fe8e713790398ce5f5a8039809c
# Parent 9dcdf8704e8907185daa46df76507f768a69ad69
[TEST] Fix RPCS tests to work with older provider versions.
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r 9dcdf8704e89 -r 9e5c87bfe7c6 suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/08_CreateDiskResourcePool.py
--- a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/08_CreateDiskResourcePool.py Fri Oct 02 10:53:38 2009 -0700
+++ b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/08_CreateDiskResourcePool.py Fri Oct 02 11:53:30 2009 -0700
@@ -145,10 +145,12 @@
status = PASS
except Exception, details:
+ if status == PASS:
+ status = FAIL
+
logger.error("Exception details: %s", details)
if key == 'DISK_POOL_NETFS':
netfs_cleanup(server, pool_attr)
- return FAIL
return status
diff -r 9dcdf8704e89 -r 9e5c87bfe7c6 suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py
--- a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py Fri Oct 02 10:53:38 2009 -0700
+++ b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/10_create_storagevolume.py Fri Oct 02 11:53:30 2009 -0700
@@ -173,7 +173,7 @@
libvirt_ver = virsh_version(server, virt)
cim_rev, changeset = get_provider_version(virt, server)
- if libvirt_ver < "0.4.1" and cim_rev < libvirt_rasd_storagepool_changes:
+ if libvirt_ver < "0.4.1" or cim_rev < libvirt_rasd_storagepool_changes:
logger.info("Storage Volume creation support is available with Libvirt"
"version >= 0.4.1 and Libvirt-CIM rev '%s'",
libvirt_rasd_storagepool_changes)
diff -r 9dcdf8704e89 -r 9e5c87bfe7c6 suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/11_create_dir_storagevolume_errs.py
--- a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/11_create_dir_storagevolume_errs.py Fri Oct 02 10:53:38 2009 -0700
+++ b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/11_create_dir_storagevolume_errs.py Fri Oct 02 11:53:30 2009 -0700
@@ -125,7 +125,7 @@
libvirt_ver = virsh_version(server, virt)
cim_rev, changeset = get_provider_version(virt, server)
- if libvirt_ver < "0.4.1" and cim_rev < libvirt_rasd_storagepool_changes:
+ if libvirt_ver < "0.4.1" or cim_rev < libvirt_rasd_storagepool_changes:
logger.info("Storage Volume creation support is available with Libvirt"
"version >= 0.4.1 and Libvirt-CIM rev '%s'",
libvirt_rasd_storagepool_changes)
diff -r 9dcdf8704e89 -r 9e5c87bfe7c6 suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/13_delete_storagevolume.py
--- a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/13_delete_storagevolume.py Fri Oct 02 10:53:38 2009 -0700
+++ b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/13_delete_storagevolume.py Fri Oct 02 11:53:30 2009 -0700
@@ -50,7 +50,7 @@
libvirt_ver = virsh_version(server, virt)
cim_rev, changeset = get_provider_version(virt, server)
- if libvirt_ver < "0.4.1" and cim_rev < libvirt_rasd_spool_del_changes:
+ if libvirt_ver < "0.4.1" or cim_rev < libvirt_rasd_spool_del_changes:
logger.info("Storage Volume deletion support is available with Libvirt"
"version >= 0.4.1 and Libvirt-CIM rev '%s'",
libvirt_rasd_spool_del_changes)
diff -r 9dcdf8704e89 -r 9e5c87bfe7c6 suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/14_delete_storagevolume_errs.py
--- a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/14_delete_storagevolume_errs.py Fri Oct 02 10:53:38 2009 -0700
+++ b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationService/14_delete_storagevolume_errs.py Fri Oct 02 11:53:30 2009 -0700
@@ -119,7 +119,7 @@
libvirt_ver = virsh_version(server, virt)
cim_rev, changeset = get_provider_version(virt, server)
- if libvirt_ver < "0.4.1" and cim_rev < libvirt_rasd_spool_del_changes:
+ if libvirt_ver < "0.4.1" or cim_rev < libvirt_rasd_spool_del_changes:
logger.info("Storage Volume deletion support is available with Libvirt"
"version >= 0.4.1 and Libvirt-CIM rev '%s'",
libvirt_rasd_spool_del_changes)
2
1
[PATCH] [TEST] Add timestamps to main.py to calculate run time of tests
by Kaitlin Rupert 06 Oct '09
by Kaitlin Rupert 06 Oct '09
06 Oct '09
# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1252022738 25200
# Node ID 2d852ba88fd24102ec988145e464a13f5faae5c0
# Parent db3af9cb2c9affb0a32a8ea3a2c23648c5efe91e
[TEST] Add timestamps to main.py to calculate run time of tests
These changes allow the user to specify the --print-exec-time flag, which will
print the execution time of each test. If this flag isn't specified, the
total run time of the test is still printed.
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r db3af9cb2c9a -r 2d852ba88fd2 suites/libvirt-cim/main.py
--- a/suites/libvirt-cim/main.py Thu Sep 03 13:03:52 2009 -0700
+++ b/suites/libvirt-cim/main.py Thu Sep 03 17:05:38 2009 -0700
@@ -22,6 +22,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
+from time import time
from optparse import OptionParser
import os
import sys
@@ -64,6 +65,9 @@
help="Duplicate the output to stderr")
parser.add_option("--report", dest="report",
help="Send report using mail info: --report=<recipient addr>")
+parser.add_option("--print-exec-time", action="store_true",
+ dest="print_exec_time",
+ help="Print execution time of each test")
TEST_SUITE = 'cimtest'
CIMTEST_RCFILE = '%s/.cimtestrc' % os.environ['HOME']
@@ -146,6 +150,27 @@
return PASS
+def print_exec_time(testsuite, exec_time):
+
+ #Convert run time from seconds to hours
+ tmp = exec_time / (60 * 60)
+ h = int(tmp)
+
+ #Subtract out hours and convert remainder to minutes
+ tmp = (tmp - h) * 60
+ m = int(tmp)
+
+ #Subtract out minutes and convert remainder to seconds
+ tmp = (tmp - m) * 60
+ s = int(tmp)
+
+ #Subtract out seconds and convert remainder to milliseconds
+ tmp = (tmp - s) * 1000
+ msec = int(tmp)
+
+ testsuite.debug(" Execution time: %sh %smin %ssec %smsec" %
+ (h, m, s, msec))
+
def main():
(options, args) = parser.parse_args()
to_addr = None
@@ -213,6 +238,8 @@
print "\nTesting " + options.virt + " hypervisor"
+ test_run_time_total = 0
+
for test in test_list:
testsuite.debug(div)
t_path = os.path.join(TEST_SUITE, test['group'])
@@ -222,13 +249,25 @@
options.virt, dbg,
options.t_url)
cmd = cdto + ' && ' + ' ' + run
+ start_time = time()
status, output = commands.getstatusoutput(cmd)
+ end_time = time()
os_status = os.WEXITSTATUS(status)
testsuite.print_results(test['group'], test['test'], os_status, output)
+ exec_time = end_time - start_time
+ test_run_time_total = test_run_time_total + exec_time
+
+ if options.print_exec_time:
+ print_exec_time(testsuite, exec_time)
+
testsuite.debug("%s\n" % div)
+ testsuite.debug("Total test execution: ")
+ print_exec_time(testsuite, test_run_time_total)
+ testsuite.debug("\n")
+
testsuite.finish()
status = cleanup_env(options.ip, options.virt)
2
4
# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1252002019 25200
# Node ID 34e7c36ffd8acbb3d5ae5b60653e646f40a1793d
# Parent 215cbc24f8f95f95543a24ecc7e3b1d80594ecdd
[TEST] #3 Add try / except to VSMS 15
Tested on Fedora 11 with KVM
This will catch any unexpected exceptions. Otherwise, the exception isn't
caught and the guest may not be properly undefined
Updates from 2 to 3:
-Replace cxml.start() with cxml.cim_start()
-Don't attempt to undefine the guest after calling cim_destroy(), since
DestroySystem() also does an undefine
Updates from 1 to 2:
-Fix Exception() calls to use % instead of a , when specifying arguments
-Remove import of default_network_name
-Replace destroy() with cim_destroy()
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r 215cbc24f8f9 -r 34e7c36ffd8a suites/libvirt-cim/cimtest/VirtualSystemManagementService/15_mod_system_settings.py
--- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/15_mod_system_settings.py Tue Sep 22 14:32:25 2009 -0700
+++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/15_mod_system_settings.py Thu Sep 03 11:20:19 2009 -0700
@@ -26,11 +26,12 @@
from XenKvmLib import vxml
from CimTest.Globals import logger
from CimTest.ReturnCodes import PASS, FAIL, XFAIL_RC
-from XenKvmLib.const import do_main, default_network_name
+from XenKvmLib.const import do_main, CIM_DISABLE
from XenKvmLib.classes import get_typed_class, inst_to_mof
from XenKvmLib.enumclass import GetInstance
from XenKvmLib.common_util import poll_for_state_change
from XenKvmLib.const import get_provider_version
+from XenKvmLib.xm_virt_util import domain_list, active_domain_list
sup_types = ['Xen', 'KVM', 'XenFV', 'LXC']
default_dom = 'rstest_domain'
@@ -42,10 +43,6 @@
libvirt_f9_revision=613
libvirt_modify_setting_changes = 694
-def cleanup_env(ip, cxml):
- cxml.cim_destroy(ip)
- cxml.undefine(ip)
-
def get_vssd(ip, virt, get_cim_inst):
cn = get_typed_class(virt, "VirtualSystemSettingData")
inst = None
@@ -74,72 +71,75 @@
cxml = vxml.get_class(options.virt)(default_dom, vcpus=cpu)
service = vsms.get_vsms_class(options.virt)(options.ip)
- for case in test_cases:
- #Each time through, define guest using a default XML
- cxml.undefine(options.ip)
- cxml = vxml.get_class(options.virt)(default_dom, vcpus=cpu)
- ret = cxml.cim_define(options.ip)
- if not ret:
- logger.error("Failed to define the dom: %s", default_dom)
- cleanup_env(options.ip, cxml)
- return FAIL
+ try:
- if case == "start":
- ret = cxml.start(options.ip)
+ for case in test_cases:
+ #Each time through, define guest using a default XML
+ cxml.undefine(options.ip)
+ cxml = vxml.get_class(options.virt)(default_dom, vcpus=cpu)
+ ret = cxml.cim_define(options.ip)
if not ret:
- logger.error("Failed to start %s", default_dom)
- cleanup_env(options.ip, cxml)
- return FAIL
+ raise Exception("Failed to define the dom: %s" % default_dom)
- status, inst = get_vssd(options.ip, options.virt, True)
- if status != PASS:
- logger.error("Failed to get the VSSD instance for %s", default_dom)
- cleanup_env(options.ip, cxml)
- return FAIL
+ if case == "start":
+ ret = cxml.cim_start(options.ip)
+ if ret:
+ raise Exception("Failed to start %s" % default_dom)
- inst['AutomaticRecoveryAction'] = pywbem.cim_types.Uint16(RECOVERY_VAL)
- vssd = inst_to_mof(inst)
+ status, inst = get_vssd(options.ip, options.virt, True)
+ if status != PASS:
+ raise Expcetion("Failed to get the VSSD instance for %s" % \
+ default_dom)
- ret = service.ModifySystemSettings(SystemSettings=vssd)
- curr_cim_rev, changeset = get_provider_version(options.virt, options.ip)
- if curr_cim_rev >= libvirt_modify_setting_changes:
- if ret[0] != 0:
- logger.error("Failed to modify dom: %s", default_dom)
- cleanup_env(options.ip, cxml)
- return FAIL
+ val = pywbem.cim_types.Uint16(RECOVERY_VAL)
+ inst['AutomaticRecoveryAction'] = val
+ vssd = inst_to_mof(inst)
- if case == "start":
- #This should be replaced with a RSC to shutdownt he guest
- cxml.destroy(options.ip)
- status, cs = poll_for_state_change(options.ip, options.virt,
- default_dom, DEFINED_STATE)
+ ret = service.ModifySystemSettings(SystemSettings=vssd)
+ curr_cim_rev, changeset = get_provider_version(options.virt,
+ options.ip)
+ if curr_cim_rev >= libvirt_modify_setting_changes:
+ if ret[0] != 0:
+ raise Exception("Failed to modify dom: %s" % default_dom)
+
+ if case == "start":
+ status = cxml.cim_disable(options.ip)
+ if status != PASS:
+ raise Exception("Failed to disable %s" % default_dom)
+
+ status, cs = poll_for_state_change(options.ip, options.virt,
+ default_dom, CIM_DISABLE)
+ if status != PASS:
+ raise Exception("Failed to destroy %s" % default_dom)
+
+ status, inst = get_vssd(options.ip, options.virt, False)
if status != PASS:
- logger.error("Failed to destroy %s", default_dom)
- cleanup_env(options.ip, cxml)
- return FAIL
+ raise Exception("Failed to get the VSSD instance for %s" % \
+ default_dom)
- status, inst = get_vssd(options.ip, options.virt, False)
- if status != PASS:
- logger.error("Failed to get the VSSD instance for %s", default_dom)
- cleanup_env(options.ip, cxml)
- return FAIL
+ if inst.AutomaticRecoveryAction != RECOVERY_VAL:
+ logger.error("Exp AutomaticRecoveryAction=%d, got %d",
+ RECOVERY_VAL, inst.AutomaticRecoveryAction)
+ raise Exception("%s not updated properly" % default_dom)
- if inst.AutomaticRecoveryAction != RECOVERY_VAL:
- logger.error("%s not updated properly.", default_dom)
- logger.error("Exp AutomaticRecoveryAction=%d, got %d", RECOVERY_VAL,
- inst.AutomaticRecoveryAction)
- cleanup_env(options.ip, cxml)
- curr_cim_rev, changeset = get_provider_version(options.virt, options.ip)
- if curr_cim_rev <= libvirt_f9_revision and options.virt == "KVM":
- return XFAIL_RC(f9_bug)
+ status = PASS
- if options.virt == "LXC":
- return XFAIL_RC(bug)
- return FAIL
+ except Exception, details:
+ logger.error(details)
+ status = FAIL
- cleanup_env(options.ip, cxml)
+ defined_domains = domain_list(options.ip, options.virt)
+ if default_dom in defined_domains:
+ cxml.cim_destroy(options.ip)
- return PASS
+ curr_cim_rev, changeset = get_provider_version(options.virt, options.ip)
+ if curr_cim_rev <= libvirt_f9_revision and options.virt == "KVM":
+ return XFAIL_RC(f9_bug)
+
+ if options.virt == "LXC":
+ return XFAIL_RC(bug)
+
+ return status
if __name__ == "__main__":
sys.exit(main())
2
1
03 Oct '09
=================================================
Test Run Summary (Oct 02 2009): Xen on Red Hat Enterprise Linux Server
release 5.4 (Tikanga) with Pegasus
=================================================
Distro: Red Hat Enterprise Linux Server release 5.4 (Tikanga)
Kernel: 2.6.18-164.el5xen
libvirt: 0.6.3
Hypervisor: Xen 3.1.0
CIMOM: Pegasus 2.7.2
Libvirt-cim revision: 853
Libvirt-cim changeset: 8bb1100e5bd2
Cimtest revision: 792
Cimtest changeset: 061f37113f92
Total test execution: 0h | 19min | 3sec | 464msec
=================================================
FAIL : 4
XFAIL : 3
SKIP : 19
PASS : 147
-----------------
Total : 175
=================================================
FAIL Test Summary:
ComputerSystem - 34_start_disable.py: FAIL
VirtualSystemManagementService - 14_define_sys_disk.py: FAIL
VirtualSystemManagementService - 15_mod_system_settings.py: FAIL
VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: FAIL
=================================================
XFAIL Test Summary:
ComputerSystem - 33_suspend_reboot.py: XFAIL
VirtualSystemManagementService - 16_removeresource.py: XFAIL
VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL
=================================================
SKIP Test Summary:
ComputerSystem - 02_nosystems.py: SKIP
LogicalDisk - 02_nodevs.py: SKIP
NetworkPort - 03_user_netport.py: SKIP
RASD - 06_parent_net_pool.py: SKIP
RASD - 07_parent_disk_pool.py: SKIP
RASDIndications - 01_guest_states_rasd_ind.py: SKIP
RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: SKIP
ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP
ResourcePoolConfigurationService - 07_DeleteResourcePool.py: SKIP
ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: SKIP
ResourcePoolConfigurationService - 09_DeleteDiskPool.py: SKIP
ResourcePoolConfigurationService - 10_create_storagevolume.py: SKIP
ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: SKIP
ResourcePoolConfigurationService -
12_create_netfs_storagevolume_errs.py: SKIP
ResourcePoolConfigurationService - 13_delete_storagevolume.py: SKIP
ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: SKIP
VSSD - 05_set_uuid.py: SKIP
VSSD - 06_duplicate_uuid.py: SKIP
VirtualSystemManagementService - 20_verify_vnc_password.py: SKIP
=================================================
Full report:
--------------------------------------------------------------------
AllocationCapabilities - 01_enum.py: PASS
--------------------------------------------------------------------
AllocationCapabilities - 02_alloccap_gi_errs.py: PASS
--------------------------------------------------------------------
ComputerSystem - 01_enum.py: PASS
--------------------------------------------------------------------
ComputerSystem - 02_nosystems.py: SKIP
--------------------------------------------------------------------
ComputerSystem - 03_defineVS.py: PASS
--------------------------------------------------------------------
ComputerSystem - 04_defineStartVS.py: PASS
--------------------------------------------------------------------
ComputerSystem - 05_activate_defined_start.py: PASS
--------------------------------------------------------------------
ComputerSystem - 06_paused_active_suspend.py: PASS
--------------------------------------------------------------------
ComputerSystem - 22_define_suspend.py: PASS
--------------------------------------------------------------------
ComputerSystem - 23_pause_pause.py: PASS
--------------------------------------------------------------------
ComputerSystem - 27_define_pause_errs.py: PASS
--------------------------------------------------------------------
ComputerSystem - 32_start_reboot.py: PASS
--------------------------------------------------------------------
ComputerSystem - 33_suspend_reboot.py: XFAIL
ERROR - Got CIM error CIM_ERR_NOT_SUPPORTED: State not supported with
return code 7
ERROR - Exception: Unable Suspend dom 'test_domain'
InvokeMethod(RequestStateChange): CIM_ERR_NOT_SUPPORTED: State not supported
Bug:<00012>
--------------------------------------------------------------------
ComputerSystem - 34_start_disable.py: FAIL
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Exception: Unable disable dom 'cs_test_domain'
--------------------------------------------------------------------
ComputerSystem - 35_start_reset.py: PASS
--------------------------------------------------------------------
ComputerSystem - 40_RSC_start.py: PASS
--------------------------------------------------------------------
ComputerSystem - 41_cs_to_settingdefinestate.py: PASS
--------------------------------------------------------------------
ComputerSystem - 42_cs_gi_errs.py: PASS
--------------------------------------------------------------------
ComputerSystemIndication - 01_created_indication.py: PASS
--------------------------------------------------------------------
ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: PASS
--------------------------------------------------------------------
ElementAllocatedFromPool - 01_forward.py: PASS
--------------------------------------------------------------------
ElementAllocatedFromPool - 02_reverse.py: PASS
--------------------------------------------------------------------
ElementAllocatedFromPool - 03_reverse_errs.py: PASS
--------------------------------------------------------------------
ElementAllocatedFromPool - 04_forward_errs.py: PASS
--------------------------------------------------------------------
ElementCapabilities - 01_forward.py: PASS
--------------------------------------------------------------------
ElementCapabilities - 02_reverse.py: PASS
--------------------------------------------------------------------
ElementCapabilities - 03_forward_errs.py: PASS
--------------------------------------------------------------------
ElementCapabilities - 04_reverse_errs.py: PASS
--------------------------------------------------------------------
ElementCapabilities - 05_hostsystem_cap.py: PASS
--------------------------------------------------------------------
ElementConforms - 01_forward.py: PASS
--------------------------------------------------------------------
ElementConforms - 02_reverse.py: PASS
--------------------------------------------------------------------
ElementConforms - 03_ectp_fwd_errs.py: PASS
--------------------------------------------------------------------
ElementConforms - 04_ectp_rev_errs.py: PASS
--------------------------------------------------------------------
ElementSettingData - 01_forward.py: PASS
--------------------------------------------------------------------
ElementSettingData - 03_esd_assoc_with_rasd_errs.py: PASS
--------------------------------------------------------------------
EnabledLogicalElementCapabilities - 01_enum.py: PASS
--------------------------------------------------------------------
EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: PASS
--------------------------------------------------------------------
HostSystem - 01_enum.py: PASS
--------------------------------------------------------------------
HostSystem - 02_hostsystem_to_rasd.py: PASS
--------------------------------------------------------------------
HostSystem - 03_hs_to_settdefcap.py: PASS
--------------------------------------------------------------------
HostSystem - 04_hs_to_EAPF.py: PASS
--------------------------------------------------------------------
HostSystem - 05_hs_gi_errs.py: PASS
--------------------------------------------------------------------
HostSystem - 06_hs_to_vsms.py: PASS
--------------------------------------------------------------------
HostedAccessPoint - 01_forward.py: PASS
--------------------------------------------------------------------
HostedAccessPoint - 02_reverse.py: PASS
--------------------------------------------------------------------
HostedDependency - 01_forward.py: PASS
--------------------------------------------------------------------
HostedDependency - 02_reverse.py: PASS
--------------------------------------------------------------------
HostedDependency - 03_enabledstate.py: PASS
--------------------------------------------------------------------
HostedDependency - 04_reverse_errs.py: PASS
--------------------------------------------------------------------
HostedResourcePool - 01_forward.py: PASS
--------------------------------------------------------------------
HostedResourcePool - 02_reverse.py: PASS
--------------------------------------------------------------------
HostedResourcePool - 03_forward_errs.py: PASS
--------------------------------------------------------------------
HostedResourcePool - 04_reverse_errs.py: PASS
--------------------------------------------------------------------
HostedService - 01_forward.py: PASS
--------------------------------------------------------------------
HostedService - 02_reverse.py: PASS
--------------------------------------------------------------------
HostedService - 03_forward_errs.py: PASS
--------------------------------------------------------------------
HostedService - 04_reverse_errs.py: PASS
--------------------------------------------------------------------
KVMRedirectionSAP - 01_enum_KVMredSAP.py: PASS
--------------------------------------------------------------------
LogicalDisk - 01_disk.py: PASS
--------------------------------------------------------------------
LogicalDisk - 02_nodevs.py: SKIP
ERROR - System has defined domains; unable to run
--------------------------------------------------------------------
LogicalDisk - 03_ld_gi_errs.py: PASS
--------------------------------------------------------------------
Memory - 01_memory.py: PASS
--------------------------------------------------------------------
Memory - 02_defgetmem.py: PASS
--------------------------------------------------------------------
Memory - 03_mem_gi_errs.py: PASS
--------------------------------------------------------------------
NetworkPort - 01_netport.py: PASS
--------------------------------------------------------------------
NetworkPort - 02_np_gi_errors.py: PASS
--------------------------------------------------------------------
NetworkPort - 03_user_netport.py: SKIP
--------------------------------------------------------------------
Processor - 01_processor.py: PASS
--------------------------------------------------------------------
Processor - 02_definesys_get_procs.py: PASS
--------------------------------------------------------------------
Processor - 03_proc_gi_errs.py: PASS
--------------------------------------------------------------------
Profile - 01_enum.py: PASS
--------------------------------------------------------------------
Profile - 02_profile_to_elec.py: PASS
--------------------------------------------------------------------
Profile - 03_rprofile_gi_errs.py: PASS
--------------------------------------------------------------------
RASD - 01_verify_rasd_fields.py: PASS
--------------------------------------------------------------------
RASD - 02_enum.py: PASS
--------------------------------------------------------------------
RASD - 03_rasd_errs.py: PASS
--------------------------------------------------------------------
RASD - 04_disk_rasd_size.py: PASS
--------------------------------------------------------------------
RASD - 05_disk_rasd_emu_type.py: PASS
--------------------------------------------------------------------
RASD - 06_parent_net_pool.py: SKIP
ERROR - NetworkPool template RASDs not supported. Supported in version
867.
--------------------------------------------------------------------
RASD - 07_parent_disk_pool.py: SKIP
ERROR - DiskPool template RASDs not supported. Supported in version 863.
--------------------------------------------------------------------
RASDIndications - 01_guest_states_rasd_ind.py: SKIP
--------------------------------------------------------------------
RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: SKIP
--------------------------------------------------------------------
RedirectionService - 01_enum_crs.py: PASS
--------------------------------------------------------------------
RedirectionService - 02_enum_crscap.py: PASS
--------------------------------------------------------------------
RedirectionService - 03_RedirectionSAP_errs.py: PASS
--------------------------------------------------------------------
ReferencedProfile - 01_verify_refprof.py: PASS
--------------------------------------------------------------------
ReferencedProfile - 02_refprofile_errs.py: PASS
--------------------------------------------------------------------
ResourceAllocationFromPool - 01_forward.py: PASS
--------------------------------------------------------------------
ResourceAllocationFromPool - 02_reverse.py: PASS
--------------------------------------------------------------------
ResourceAllocationFromPool - 03_forward_errs.py: PASS
--------------------------------------------------------------------
ResourceAllocationFromPool - 04_reverse_errs.py: PASS
--------------------------------------------------------------------
ResourceAllocationFromPool - 05_RAPF_err.py: PASS
--------------------------------------------------------------------
ResourcePool - 01_enum.py: PASS
--------------------------------------------------------------------
ResourcePool - 02_rp_gi_errors.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationCapabilities - 01_enum.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 01_enum.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 02_rcps_gi_errors.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 03_CreateResourcePool.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP
ERROR - NetworkPool template RASDs not supported. Supported in version
867.
ERROR - Error in networkpool creation
--------------------------------------------------------------------
ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService -
06_RemoveResourcesFromResourcePool.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 07_DeleteResourcePool.py: SKIP
ERROR - NetworkPool template RASDs not supported. Supported in version
867.
ERROR - Error in networkpool creation
--------------------------------------------------------------------
ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: SKIP
ERROR - DiskPool template RASDs not supported. Supported in version 863.
ERROR - Exception details: Failed to create 'DISK_POOL_DIR' type
diskpool 'DISK_POOL_DIR'
--------------------------------------------------------------------
ResourcePoolConfigurationService - 09_DeleteDiskPool.py: SKIP
ERROR - DiskPool template RASDs not supported. Supported in version 863.
ERROR - Failed to create diskpool 'dp_pool'
--------------------------------------------------------------------
ResourcePoolConfigurationService - 10_create_storagevolume.py: SKIP
--------------------------------------------------------------------
ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: SKIP
--------------------------------------------------------------------
ResourcePoolConfigurationService -
12_create_netfs_storagevolume_errs.py: SKIP
ERROR - DiskPool template RASDs not supported. Supported in version 863.
ERROR - Failed to create pool 'NETFS_POOL'
--------------------------------------------------------------------
ResourcePoolConfigurationService - 13_delete_storagevolume.py: SKIP
--------------------------------------------------------------------
ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: SKIP
--------------------------------------------------------------------
ServiceAccessBySAP - 01_forward.py: PASS
--------------------------------------------------------------------
ServiceAccessBySAP - 02_reverse.py: PASS
--------------------------------------------------------------------
ServiceAffectsElement - 01_forward.py: PASS
--------------------------------------------------------------------
ServiceAffectsElement - 02_reverse.py: PASS
--------------------------------------------------------------------
SettingsDefine - 01_forward.py: PASS
--------------------------------------------------------------------
SettingsDefine - 02_reverse.py: PASS
--------------------------------------------------------------------
SettingsDefine - 03_sds_fwd_errs.py: PASS
--------------------------------------------------------------------
SettingsDefine - 04_sds_rev_errs.py: PASS
--------------------------------------------------------------------
SettingsDefineCapabilities - 01_forward.py: PASS
--------------------------------------------------------------------
SettingsDefineCapabilities - 03_forward_errs.py: PASS
--------------------------------------------------------------------
SettingsDefineCapabilities - 04_forward_vsmsdata.py: PASS
--------------------------------------------------------------------
SettingsDefineCapabilities - 05_reverse_vsmcap.py: PASS
--------------------------------------------------------------------
SystemDevice - 01_forward.py: PASS
--------------------------------------------------------------------
SystemDevice - 02_reverse.py: PASS
--------------------------------------------------------------------
SystemDevice - 03_fwderrs.py: PASS
--------------------------------------------------------------------
VSSD - 01_enum.py: PASS
--------------------------------------------------------------------
VSSD - 02_bootldr.py: PASS
--------------------------------------------------------------------
VSSD - 03_vssd_gi_errs.py: PASS
--------------------------------------------------------------------
VSSD - 04_vssd_to_rasd.py: PASS
--------------------------------------------------------------------
VSSD - 05_set_uuid.py: SKIP
--------------------------------------------------------------------
VSSD - 06_duplicate_uuid.py: SKIP
--------------------------------------------------------------------
VirtualSystemManagementCapabilities - 01_enum.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 01_definesystem_name.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 02_destroysystem.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 03_definesystem_ess.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 04_definesystem_ers.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 05_destroysystem_neg.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 06_addresource.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 07_addresource_neg.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 08_modifyresource.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 09_procrasd_persist.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 10_hv_version.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 11_define_memrasdunits.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 12_referenced_config.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 13_refconfig_additional_devs.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 14_define_sys_disk.py: FAIL
Traceback (most recent call last):
File "14_define_sys_disk.py", line 38, in ?
from XenKvmLib.const import do_main, _image_dir, get_provider_version
ImportError: cannot import name _image_dir
--------------------------------------------------------------------
VirtualSystemManagementService - 15_mod_system_settings.py: FAIL
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
--------------------------------------------------------------------
VirtualSystemManagementService - 16_removeresource.py: XFAIL
ERROR - 0 RASD insts for domain/mouse:xen
CIM_ERR_NOT_FOUND: No such instance (no device domain/mouse:xen)
Bug:<00014>
--------------------------------------------------------------------
VirtualSystemManagementService - 17_removeresource_neg.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 18_define_sys_bridge.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 19_definenetwork_ers.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 20_verify_vnc_password.py: SKIP
--------------------------------------------------------------------
VirtualSystemManagementService - 21_createVS_verifyMAC.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL
ERROR - Got 99:aa:bb:cc:ee:ff, exp 99:aa:bb:cc:ee:ff. Got None, exp
my_network1.
ERROR - Error invoking AddRS: add_net_res
ERROR - Error adding rs for net mac
ERROR - Failed to destroy Virtual Network 'my_network1'
Bug:<00015>
--------------------------------------------------------------------
VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: FAIL
ERROR - Need to give different bridge name since it already exists
ERROR - Exception: In fn create_netpool_conf(): 2
ERROR - Unable to create network pool
--------------------------------------------------------------------
VirtualSystemMigrationCapabilities - 01_enum.py: PASS
--------------------------------------------------------------------
VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: PASS
--------------------------------------------------------------------
VirtualSystemMigrationService - 01_migratable_host.py: PASS
--------------------------------------------------------------------
VirtualSystemMigrationService - 02_host_migrate_type.py: PASS
--------------------------------------------------------------------
VirtualSystemMigrationService - 05_migratable_host_errs.py: PASS
--------------------------------------------------------------------
VirtualSystemMigrationService - 06_remote_live_migration.py: PASS
--------------------------------------------------------------------
VirtualSystemMigrationService - 07_remote_offline_migration.py: PASS
--------------------------------------------------------------------
VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: FAIL
ERROR - JobStatus for dom 'VM_frm_elm3b25.beaverton.ibm.com' has
'Domain must be running for live or resume migration' instead of 'Completed'
ERROR - Cleanup failed after 'resume' migration
ERROR - Restart migration 0
ERROR - Resume migration 1
--------------------------------------------------------------------
VirtualSystemMigrationSettingData - 01_enum.py: PASS
--------------------------------------------------------------------
VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS
--------------------------------------------------------------------
VirtualSystemSettingDataComponent - 01_forward.py: PASS
--------------------------------------------------------------------
VirtualSystemSettingDataComponent - 02_reverse.py: PASS
--------------------------------------------------------------------
VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: PASS
--------------------------------------------------------------------
VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: PASS
--------------------------------------------------------------------
VirtualSystemSnapshotService - 01_enum.py: PASS
--------------------------------------------------------------------
VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: PASS
--------------------------------------------------------------------
VirtualSystemSnapshotService - 03_create_snapshot.py: PASS
--------------------------------------------------------------------
VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS
--------------------------------------------------------------------
VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py:
PASS
--------------------------------------------------------------------
Total test execution: 0h | 19min | 3sec | 464msec
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin(a)linux.vnet.ibm.com
1
0
Test Run Summary (Oct 02 2009): Xen on Red Hat Enterprise Linux Server release 5.4 (Tikanga) with Pegasus
by Kaitlin Rupert 03 Oct '09
by Kaitlin Rupert 03 Oct '09
03 Oct '09
=================================================
Test Run Summary (Oct 02 2009): Xen on Red Hat Enterprise Linux Server release 5.4 (Tikanga) with Pegasus
=================================================
Distro: Red Hat Enterprise Linux Server release 5.4 (Tikanga)
Kernel: 2.6.18-164.el5xen
libvirt: 0.6.3
Hypervisor: Xen 3.1.0
CIMOM: Pegasus 2.7.2
Libvirt-cim revision: 853
Libvirt-cim changeset: 8bb1100e5bd2
Cimtest revision: 790
Cimtest changeset: d7e6caafb254
Total test execution: 0h | 11min | 41sec | 761msec
=================================================
FAIL : 18
XFAIL : 3
SKIP : 12
PASS : 142
-----------------
Total : 175
=================================================
FAIL Test Summary:
ComputerSystem - 34_start_disable.py: FAIL
ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: FAIL
ResourcePoolConfigurationService - 07_DeleteResourcePool.py: FAIL
ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: FAIL
ResourcePoolConfigurationService - 10_create_storagevolume.py: FAIL
ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: FAIL
ResourcePoolConfigurationService - 13_delete_storagevolume.py: FAIL
ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: FAIL
VSSD - 05_set_uuid.py: FAIL
VirtualSystemManagementService - 06_addresource.py: FAIL
VirtualSystemManagementService - 14_define_sys_disk.py: FAIL
VirtualSystemManagementService - 15_mod_system_settings.py: FAIL
VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: FAIL
VirtualSystemMigrationService - 01_migratable_host.py: FAIL
VirtualSystemMigrationService - 02_host_migrate_type.py: FAIL
VirtualSystemMigrationService - 06_remote_live_migration.py: FAIL
VirtualSystemMigrationService - 07_remote_offline_migration.py: FAIL
VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: FAIL
=================================================
XFAIL Test Summary:
ComputerSystem - 33_suspend_reboot.py: XFAIL
VirtualSystemManagementService - 16_removeresource.py: XFAIL
VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL
=================================================
SKIP Test Summary:
ComputerSystem - 02_nosystems.py: SKIP
LogicalDisk - 02_nodevs.py: SKIP
NetworkPort - 03_user_netport.py: SKIP
RASD - 06_parent_net_pool.py: SKIP
RASD - 07_parent_disk_pool.py: SKIP
RASDIndications - 01_guest_states_rasd_ind.py: SKIP
RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: SKIP
ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP
ResourcePoolConfigurationService - 09_DeleteDiskPool.py: SKIP
ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: SKIP
VSSD - 06_duplicate_uuid.py: SKIP
VirtualSystemManagementService - 20_verify_vnc_password.py: SKIP
=================================================
Full report:
--------------------------------------------------------------------
AllocationCapabilities - 01_enum.py: PASS
--------------------------------------------------------------------
AllocationCapabilities - 02_alloccap_gi_errs.py: PASS
--------------------------------------------------------------------
ComputerSystem - 01_enum.py: PASS
--------------------------------------------------------------------
ComputerSystem - 02_nosystems.py: SKIP
--------------------------------------------------------------------
ComputerSystem - 03_defineVS.py: PASS
--------------------------------------------------------------------
ComputerSystem - 04_defineStartVS.py: PASS
--------------------------------------------------------------------
ComputerSystem - 05_activate_defined_start.py: PASS
--------------------------------------------------------------------
ComputerSystem - 06_paused_active_suspend.py: PASS
--------------------------------------------------------------------
ComputerSystem - 22_define_suspend.py: PASS
--------------------------------------------------------------------
ComputerSystem - 23_pause_pause.py: PASS
--------------------------------------------------------------------
ComputerSystem - 27_define_pause_errs.py: PASS
--------------------------------------------------------------------
ComputerSystem - 32_start_reboot.py: PASS
--------------------------------------------------------------------
ComputerSystem - 33_suspend_reboot.py: XFAIL
ERROR - Got CIM error CIM_ERR_NOT_SUPPORTED: State not supported with return code 7
ERROR - Exception: Unable Suspend dom 'test_domain'
InvokeMethod(RequestStateChange): CIM_ERR_NOT_SUPPORTED: State not supported
Bug:<00012>
--------------------------------------------------------------------
ComputerSystem - 34_start_disable.py: FAIL
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Exception: Unable disable dom 'cs_test_domain'
--------------------------------------------------------------------
ComputerSystem - 35_start_reset.py: PASS
--------------------------------------------------------------------
ComputerSystem - 40_RSC_start.py: PASS
--------------------------------------------------------------------
ComputerSystem - 41_cs_to_settingdefinestate.py: PASS
--------------------------------------------------------------------
ComputerSystem - 42_cs_gi_errs.py: PASS
--------------------------------------------------------------------
ComputerSystemIndication - 01_created_indication.py: PASS
--------------------------------------------------------------------
ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: FAIL
ERROR - Error invoke 'CheckVirtualSystemIsMigratableToHost'.
ERROR - (1, u'CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system)')
ERROR - Exception in local_remote_migrate()
ERROR - Exception details Failed to verify Migration support on host 'localhost'
ERROR - Exception: Unable to generate indication
InvokeMethod(CheckVirtualSystemIsMigratableToHost): CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system)
--------------------------------------------------------------------
ElementAllocatedFromPool - 01_forward.py: PASS
--------------------------------------------------------------------
ElementAllocatedFromPool - 02_reverse.py: PASS
--------------------------------------------------------------------
ElementAllocatedFromPool - 03_reverse_errs.py: PASS
--------------------------------------------------------------------
ElementAllocatedFromPool - 04_forward_errs.py: PASS
--------------------------------------------------------------------
ElementCapabilities - 01_forward.py: PASS
--------------------------------------------------------------------
ElementCapabilities - 02_reverse.py: PASS
--------------------------------------------------------------------
ElementCapabilities - 03_forward_errs.py: PASS
--------------------------------------------------------------------
ElementCapabilities - 04_reverse_errs.py: PASS
--------------------------------------------------------------------
ElementCapabilities - 05_hostsystem_cap.py: PASS
--------------------------------------------------------------------
ElementConforms - 01_forward.py: PASS
--------------------------------------------------------------------
ElementConforms - 02_reverse.py: PASS
--------------------------------------------------------------------
ElementConforms - 03_ectp_fwd_errs.py: PASS
--------------------------------------------------------------------
ElementConforms - 04_ectp_rev_errs.py: PASS
--------------------------------------------------------------------
ElementSettingData - 01_forward.py: PASS
--------------------------------------------------------------------
ElementSettingData - 03_esd_assoc_with_rasd_errs.py: PASS
--------------------------------------------------------------------
EnabledLogicalElementCapabilities - 01_enum.py: PASS
--------------------------------------------------------------------
EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: PASS
--------------------------------------------------------------------
HostSystem - 01_enum.py: PASS
--------------------------------------------------------------------
HostSystem - 02_hostsystem_to_rasd.py: PASS
--------------------------------------------------------------------
HostSystem - 03_hs_to_settdefcap.py: PASS
--------------------------------------------------------------------
HostSystem - 04_hs_to_EAPF.py: PASS
--------------------------------------------------------------------
HostSystem - 05_hs_gi_errs.py: PASS
--------------------------------------------------------------------
HostSystem - 06_hs_to_vsms.py: PASS
--------------------------------------------------------------------
HostedAccessPoint - 01_forward.py: PASS
--------------------------------------------------------------------
HostedAccessPoint - 02_reverse.py: PASS
--------------------------------------------------------------------
HostedDependency - 01_forward.py: PASS
--------------------------------------------------------------------
HostedDependency - 02_reverse.py: PASS
--------------------------------------------------------------------
HostedDependency - 03_enabledstate.py: PASS
--------------------------------------------------------------------
HostedDependency - 04_reverse_errs.py: PASS
--------------------------------------------------------------------
HostedResourcePool - 01_forward.py: PASS
--------------------------------------------------------------------
HostedResourcePool - 02_reverse.py: PASS
--------------------------------------------------------------------
HostedResourcePool - 03_forward_errs.py: PASS
--------------------------------------------------------------------
HostedResourcePool - 04_reverse_errs.py: PASS
--------------------------------------------------------------------
HostedService - 01_forward.py: PASS
--------------------------------------------------------------------
HostedService - 02_reverse.py: PASS
--------------------------------------------------------------------
HostedService - 03_forward_errs.py: PASS
--------------------------------------------------------------------
HostedService - 04_reverse_errs.py: PASS
--------------------------------------------------------------------
KVMRedirectionSAP - 01_enum_KVMredSAP.py: PASS
--------------------------------------------------------------------
LogicalDisk - 01_disk.py: PASS
--------------------------------------------------------------------
LogicalDisk - 02_nodevs.py: SKIP
ERROR - System has defined domains; unable to run
--------------------------------------------------------------------
LogicalDisk - 03_ld_gi_errs.py: PASS
--------------------------------------------------------------------
Memory - 01_memory.py: PASS
--------------------------------------------------------------------
Memory - 02_defgetmem.py: PASS
--------------------------------------------------------------------
Memory - 03_mem_gi_errs.py: PASS
--------------------------------------------------------------------
NetworkPort - 01_netport.py: PASS
--------------------------------------------------------------------
NetworkPort - 02_np_gi_errors.py: PASS
--------------------------------------------------------------------
NetworkPort - 03_user_netport.py: SKIP
--------------------------------------------------------------------
Processor - 01_processor.py: PASS
--------------------------------------------------------------------
Processor - 02_definesys_get_procs.py: PASS
--------------------------------------------------------------------
Processor - 03_proc_gi_errs.py: PASS
--------------------------------------------------------------------
Profile - 01_enum.py: PASS
--------------------------------------------------------------------
Profile - 02_profile_to_elec.py: PASS
--------------------------------------------------------------------
Profile - 03_rprofile_gi_errs.py: PASS
--------------------------------------------------------------------
RASD - 01_verify_rasd_fields.py: PASS
--------------------------------------------------------------------
RASD - 02_enum.py: PASS
--------------------------------------------------------------------
RASD - 03_rasd_errs.py: PASS
--------------------------------------------------------------------
RASD - 04_disk_rasd_size.py: PASS
--------------------------------------------------------------------
RASD - 05_disk_rasd_emu_type.py: PASS
--------------------------------------------------------------------
RASD - 06_parent_net_pool.py: SKIP
ERROR - NetworkPool template RASDs not supported. Supported in version 867.
--------------------------------------------------------------------
RASD - 07_parent_disk_pool.py: SKIP
ERROR - DiskPool template RASDs not supported. Supported in version 863.
--------------------------------------------------------------------
RASDIndications - 01_guest_states_rasd_ind.py: SKIP
--------------------------------------------------------------------
RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: SKIP
--------------------------------------------------------------------
RedirectionService - 01_enum_crs.py: PASS
--------------------------------------------------------------------
RedirectionService - 02_enum_crscap.py: PASS
--------------------------------------------------------------------
RedirectionService - 03_RedirectionSAP_errs.py: PASS
--------------------------------------------------------------------
ReferencedProfile - 01_verify_refprof.py: PASS
--------------------------------------------------------------------
ReferencedProfile - 02_refprofile_errs.py: PASS
--------------------------------------------------------------------
ResourceAllocationFromPool - 01_forward.py: PASS
--------------------------------------------------------------------
ResourceAllocationFromPool - 02_reverse.py: PASS
--------------------------------------------------------------------
ResourceAllocationFromPool - 03_forward_errs.py: PASS
--------------------------------------------------------------------
ResourceAllocationFromPool - 04_reverse_errs.py: PASS
--------------------------------------------------------------------
ResourceAllocationFromPool - 05_RAPF_err.py: PASS
--------------------------------------------------------------------
ResourcePool - 01_enum.py: PASS
--------------------------------------------------------------------
ResourcePool - 02_rp_gi_errors.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationCapabilities - 01_enum.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 01_enum.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 02_rcps_gi_errors.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 03_CreateResourcePool.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP
ERROR - NetworkPool template RASDs not supported. Supported in version 867.
ERROR - Error in networkpool creation
--------------------------------------------------------------------
ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 07_DeleteResourcePool.py: FAIL
ERROR - Need to give different bridge name since it already exists
ERROR - SystemExit : 2
Traceback (most recent call last):
File "./lib/XenKvmLib/const.py", line 139, in do_try
File "07_DeleteResourcePool.py", line 92, in main
status = create_pool(options.ip, options.virt, test_pool, pool_attr)
File "/xen-data/users/kaitlin/sandbox/cimtest/suites/libvirt-cim/lib/XenKvmLib/pool.py", line 224, in create_pool
File "./lib/XenKvmLib/vxml.py", line 217, in __init__
SystemExit: 2
ERROR - None
--------------------------------------------------------------------
ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: FAIL
ERROR - DiskPool template RASDs not supported. Supported in version 863.
ERROR - Exception details: Failed to create 'DISK_POOL_DIR' type diskpool 'DISK_POOL_DIR'
--------------------------------------------------------------------
ResourcePoolConfigurationService - 09_DeleteDiskPool.py: SKIP
ERROR - DiskPool template RASDs not supported. Supported in version 863.
ERROR - Failed to create diskpool 'dp_pool'
--------------------------------------------------------------------
ResourcePoolConfigurationService - 10_create_storagevolume.py: FAIL
ERROR - Exception details: (1, u'CIM_ERR_FAILED: Unknown Method')
InvokeMethod(CreateResourceInPool): CIM_ERR_FAILED: Unknown Method
--------------------------------------------------------------------
ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: FAIL
ERROR - Failed to get the error message 'Unable to create storage volume'
ERROR - In main() Exception details: Failed to verify the Invlaid 'DUP_VOL_PATH'
InvokeMethod(CreateResourceInPool): CIM_ERR_FAILED: Unknown Method
--------------------------------------------------------------------
ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: SKIP
ERROR - DiskPool template RASDs not supported. Supported in version 863.
ERROR - Failed to create pool 'NETFS_POOL'
--------------------------------------------------------------------
ResourcePoolConfigurationService - 13_delete_storagevolume.py: FAIL
ERROR - Exception details: (1, u'CIM_ERR_FAILED: Unknown Method')
InvokeMethod(CreateResourceInPool): CIM_ERR_FAILED: Unknown Method
--------------------------------------------------------------------
ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: FAIL
ERROR - Exception details: (1, u'CIM_ERR_FAILED: Unknown Method')
InvokeMethod(CreateResourceInPool): CIM_ERR_FAILED: Unknown Method
--------------------------------------------------------------------
ServiceAccessBySAP - 01_forward.py: PASS
--------------------------------------------------------------------
ServiceAccessBySAP - 02_reverse.py: PASS
--------------------------------------------------------------------
ServiceAffectsElement - 01_forward.py: PASS
--------------------------------------------------------------------
ServiceAffectsElement - 02_reverse.py: PASS
--------------------------------------------------------------------
SettingsDefine - 01_forward.py: PASS
--------------------------------------------------------------------
SettingsDefine - 02_reverse.py: PASS
--------------------------------------------------------------------
SettingsDefine - 03_sds_fwd_errs.py: PASS
--------------------------------------------------------------------
SettingsDefine - 04_sds_rev_errs.py: PASS
--------------------------------------------------------------------
SettingsDefineCapabilities - 01_forward.py: PASS
--------------------------------------------------------------------
SettingsDefineCapabilities - 03_forward_errs.py: PASS
--------------------------------------------------------------------
SettingsDefineCapabilities - 04_forward_vsmsdata.py: PASS
--------------------------------------------------------------------
SettingsDefineCapabilities - 05_reverse_vsmcap.py: PASS
--------------------------------------------------------------------
SystemDevice - 01_forward.py: PASS
--------------------------------------------------------------------
SystemDevice - 02_reverse.py: PASS
--------------------------------------------------------------------
SystemDevice - 03_fwderrs.py: PASS
--------------------------------------------------------------------
VSSD - 01_enum.py: PASS
--------------------------------------------------------------------
VSSD - 02_bootldr.py: PASS
--------------------------------------------------------------------
VSSD - 03_vssd_gi_errs.py: PASS
--------------------------------------------------------------------
VSSD - 04_vssd_to_rasd.py: PASS
--------------------------------------------------------------------
VSSD - 05_set_uuid.py: FAIL
ERROR - 'uuid'
--------------------------------------------------------------------
VSSD - 06_duplicate_uuid.py: SKIP
--------------------------------------------------------------------
VirtualSystemManagementCapabilities - 01_enum.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 01_definesystem_name.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 02_destroysystem.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 03_definesystem_ess.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 04_definesystem_ers.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 05_destroysystem_neg.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 06_addresource.py: FAIL
ERROR - Need to give different bridge name since it already exists
ERROR - Exception: In fn create_netpool_conf(): 2
ERROR - Unable to create network pool
--------------------------------------------------------------------
VirtualSystemManagementService - 07_addresource_neg.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 08_modifyresource.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 09_procrasd_persist.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 10_hv_version.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 11_define_memrasdunits.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 12_referenced_config.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 13_refconfig_additional_devs.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 14_define_sys_disk.py: FAIL
Traceback (most recent call last):
File "14_define_sys_disk.py", line 38, in ?
from XenKvmLib.const import do_main, _image_dir, get_provider_version
ImportError: cannot import name _image_dir
--------------------------------------------------------------------
VirtualSystemManagementService - 15_mod_system_settings.py: FAIL
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Unable to check guest state
ERROR - Exception: EnabledState is 2, expected 3.
ERROR - Failed to disable rstest_domain
--------------------------------------------------------------------
VirtualSystemManagementService - 16_removeresource.py: XFAIL
ERROR - 0 RASD insts for domain/mouse:xen
CIM_ERR_NOT_FOUND: No such instance (no device domain/mouse:xen)
Bug:<00014>
--------------------------------------------------------------------
VirtualSystemManagementService - 17_removeresource_neg.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 18_define_sys_bridge.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 19_definenetwork_ers.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 20_verify_vnc_password.py: SKIP
--------------------------------------------------------------------
VirtualSystemManagementService - 21_createVS_verifyMAC.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL
ERROR - Got 99:aa:bb:cc:ee:ff, exp 99:aa:bb:cc:ee:ff. Got None, exp my_network1.
ERROR - Error invoking AddRS: add_net_res
ERROR - Error adding rs for net mac
ERROR - Failed to destroy Virtual Network 'my_network1'
Bug:<00015>
--------------------------------------------------------------------
VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: FAIL
ERROR - IP address is in use by a different network
ERROR - Failed to create Virtual Network 'cimtest-networkpool28'
ERROR - Unable to create network pool
--------------------------------------------------------------------
VirtualSystemMigrationCapabilities - 01_enum.py: PASS
--------------------------------------------------------------------
VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: PASS
--------------------------------------------------------------------
VirtualSystemMigrationService - 01_migratable_host.py: FAIL
ERROR - Error invoke 'CheckVirtualSystemIsMigratableToHost'.
ERROR - (1, u'CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system)')
Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="dom_migrate"
InvokeMethod(CheckVirtualSystemIsMigratableToHost): CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system)
--------------------------------------------------------------------
VirtualSystemMigrationService - 02_host_migrate_type.py: FAIL
ERROR - Error invoke 'CheckVirtualSystemIsMigratableToHost'.
ERROR - (1, u'CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system)')
InvokeMethod(CheckVirtualSystemIsMigratableToHost): CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system)
--------------------------------------------------------------------
VirtualSystemMigrationService - 05_migratable_host_errs.py: PASS
--------------------------------------------------------------------
VirtualSystemMigrationService - 06_remote_live_migration.py: FAIL
ERROR - Error invoke 'CheckVirtualSystemIsMigratableToHost'.
ERROR - (1, u'CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system)')
ERROR - Exception in local_remote_migrate()
ERROR - Exception details Failed to verify Migration support on host 'localhost'
InvokeMethod(CheckVirtualSystemIsMigratableToHost): CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system)
--------------------------------------------------------------------
VirtualSystemMigrationService - 07_remote_offline_migration.py: FAIL
ERROR - Error invoke 'CheckVirtualSystemIsMigratableToHost'.
ERROR - (1, u'CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system)')
ERROR - Exception in local_remote_migrate()
ERROR - Exception details Failed to verify Migration support on host 'localhost'
InvokeMethod(CheckVirtualSystemIsMigratableToHost): CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system)
--------------------------------------------------------------------
VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: FAIL
ERROR - Error invoke 'CheckVirtualSystemIsMigratableToHost'.
ERROR - (1, u'CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system)')
ERROR - Exception in local_remote_migrate()
ERROR - Exception details Failed to verify Migration support on host 'localhost'
ERROR - Error invoke 'CheckVirtualSystemIsMigratableToHost'.
ERROR - (1, u'CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system)')
ERROR - Exception in local_remote_migrate()
ERROR - Exception details Failed to verify Migration support on host 'localhost'
ERROR - Restart migration 1
ERROR - Resume migration 1
InvokeMethod(CheckVirtualSystemIsMigratableToHost): CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system)
InvokeMethod(CheckVirtualSystemIsMigratableToHost): CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system)
--------------------------------------------------------------------
VirtualSystemMigrationSettingData - 01_enum.py: PASS
--------------------------------------------------------------------
VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS
--------------------------------------------------------------------
VirtualSystemSettingDataComponent - 01_forward.py: PASS
--------------------------------------------------------------------
VirtualSystemSettingDataComponent - 02_reverse.py: PASS
--------------------------------------------------------------------
VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: PASS
--------------------------------------------------------------------
VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: PASS
--------------------------------------------------------------------
VirtualSystemSnapshotService - 01_enum.py: PASS
--------------------------------------------------------------------
VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: PASS
--------------------------------------------------------------------
VirtualSystemSnapshotService - 03_create_snapshot.py: PASS
--------------------------------------------------------------------
VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS
--------------------------------------------------------------------
VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: PASS
--------------------------------------------------------------------
Total test execution: 0h | 11min | 41sec | 761msec
1
1
AUTO: Pratyusha Doddapaneni1 is out of the office (returning 10/04/2009)
by Pratyusha Doddapaneni1 02 Oct '09
by Pratyusha Doddapaneni1 02 Oct '09
02 Oct '09
I am out of the office until 10/04/2009.
Note: This is an automated response to your message "[Libvirt-cim] [PATCH]
[TEST] #3 Add try / except to VSMS 15" sent on 10/1/09 23:06:18.
This is the only notification you will receive while this person is away.
1
0
# HG changeset patch
# User Jim Fehlig <jfehlig(a)novell.com>
# Date 1253641563 21600
# Node ID 81b6cd4ae355024303a8459817b4f15339d17111
# Parent 7c5106b0b092147c521ef1f462b9a41a44a313f8
Cleanup _get_rasds() in Virt_RASD.c
I received a bug report about a memory leak in _get_rasds(). While
fixing the leak, I took the opportunity to do some other tidying in
this function.
Signed-off-by: Jim Fehlig <jfehlig(a)novell.com>
diff -r 7c5106b0b092 -r 81b6cd4ae355 src/Virt_RASD.c
--- a/src/Virt_RASD.c Wed Sep 16 11:49:21 2009 -0700
+++ b/src/Virt_RASD.c Tue Sep 22 11:46:03 2009 -0600
@@ -664,6 +664,7 @@
int count;
int i;
struct virt_device *devs = NULL;
+ const char *host = NULL;
count = get_devices(dom, &devs, type);
if (count <= 0)
@@ -672,8 +673,13 @@
/* Bit hackish, but for proc we need to cut list down to one. */
if (type == CIM_RES_TYPE_PROC) {
struct virt_device *tmp_dev = NULL;
- tmp_dev = calloc(1, sizeof(*tmp_dev));
tmp_dev = virt_device_dup(&devs[count - 1]);
+ if (tmp_dev == NULL) {
+ cu_statusf(broker, &s,
+ CMPI_RC_ERR_FAILED,
+ "Failed to allocate memory for proc RASD");
+ goto out;
+ }
tmp_dev->id = strdup("proc");
@@ -685,15 +691,16 @@
count = 1;
}
+ host = virDomainGetName(dom);
+ if (host == NULL) {
+ cu_statusf(broker, &s,
+ CMPI_RC_ERR_FAILED,
+ "Failed to get domain name");
+ goto out;
+ }
+
for (i = 0; i < count; i++) {
CMPIInstance *dev = NULL;
- const char *host = NULL;
-
- host = virDomainGetName(dom);
- if (host == NULL) {
- cleanup_virt_device(&devs[i]);
- continue;
- }
dev = rasd_from_vdev(broker,
&devs[i],
2
1
[PATCH] [TEST] #2 Add new tc RASDIndications/01_guest_states_rasd_ind.py
by Deepti B. Kalakeri 23 Sep '09
by Deepti B. Kalakeri 23 Sep '09
23 Sep '09
# HG changeset patch
# User Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
# Date 1253654207 25200
# Node ID faf86189f60a2b7e5321996540c390c0598929c9
# Parent f5c62f54d1204d38ce15e48d269d3e887da69937
[TEST] #2 Add new tc RASDIndications/01_guest_states_rasd_ind.py
Patch 2:
--------
1) Checked for RASDIndication support in libvirt-cim
2) Included support for XenFV
To verify the Add|Deleted RASDIndication for the guest.
Tested with Xen and current sources on RHEL5.3 and KVM with F10.
Signed-off-by: Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
diff -r f5c62f54d120 -r faf86189f60a suites/libvirt-cim/cimtest/RASDIndications/01_guest_states_rasd_ind.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/suites/libvirt-cim/cimtest/RASDIndications/01_guest_states_rasd_ind.py Tue Sep 22 14:16:47 2009 -0700
@@ -0,0 +1,164 @@
+#!/usr/bin/python
+#
+# Copyright 2009 IBM Corp.
+#
+# Authors:
+# Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
+#
+#
+# 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 is used to verify the Created|Deleted
+# RASD Indications for a guest.
+#
+# Date : 21-09-2009
+#
+
+import sys
+from signal import SIGKILL
+from socket import gethostname
+from os import kill, fork, _exit
+from XenKvmLib.vxml import get_class
+from XenKvmLib.xm_virt_util import active_domain_list
+from CimTest.Globals import logger
+from XenKvmLib.const import do_main, CIM_ENABLE, CIM_DISABLE, \
+ get_provider_version
+from CimTest.ReturnCodes import PASS, FAIL, SKIP
+from XenKvmLib.common_util import poll_for_state_change
+from XenKvmLib.indications import sub_ind, handle_request, poll_for_ind
+
+sup_types = ['KVM', 'Xen', 'XenFV']
+libvirt_guest_rasd_indication_rev = 980
+
+def create_guest(test_dom, ip, virt, cxml, ind_name):
+ try:
+ ret = cxml.cim_define(ip)
+ if not ret:
+ raise Exception("Failed to define domain %s" % test_dom)
+
+ status, dom_cs = poll_for_state_change(ip, virt, test_dom,
+ CIM_DISABLE)
+ if status != PASS:
+ raise Exception("Dom '%s' not in expected state '%s'" \
+ % (test_dom, CIM_DISABLE))
+
+ ret = cxml.cim_start(ip)
+ if ret:
+ raise Exception("Failed to start the domain '%s'" % test_dom)
+ cxml.undefine(ip)
+
+ status, dom_cs = poll_for_state_change(ip, virt, test_dom,
+ CIM_ENABLE)
+ if status != PASS:
+ raise Exception("Dom '%s' not in expected state '%s'" \
+ % (test_dom, CIM_ENABLE))
+
+ except Exception, details:
+ logger.error("Exception details: %s", details)
+ return FAIL, cxml
+
+ return PASS, cxml
+
+def gen_indication(test_dom, s_sysname, virt, cxml, ind_name):
+ status = FAIL
+ try:
+ active_doms = active_domain_list(s_sysname, virt)
+ if test_dom not in active_doms:
+ status, cxml = create_guest(test_dom, s_sysname, virt, cxml, ind_name)
+ if status != PASS:
+ raise Exception("Error setting up the guest '%s'" % test_dom)
+
+ if ind_name == "delete":
+ ret = cxml.cim_destroy(s_sysname)
+ if not ret:
+ raise Exception("Failed to destroy domain '%s'" % test_dom)
+
+ except Exception, details:
+ logger.error("Exception details :%s", details)
+ return FAIL, cxml
+
+ return PASS, cxml
+
+@do_main(sup_types)
+def main():
+ options = main.options
+ virt = options.virt
+ s_sysname = options.ip
+
+ cim_rev, changeset = get_provider_version(virt, s_sysname)
+ if cim_rev < libvirt_guest_rasd_indication_rev:
+ logger.info("Support for Guest Resource Indications is available in "
+ "Libvirt-CIM rev '%s'", libvirt_guest_rasd_indication_rev)
+ return SKIP
+
+ status = FAIL
+ test_dom = 'VM_' + gethostname()
+ ind_names = {
+ 'create' : 'ResourceAllocationSettingDataCreatedIndication',
+ 'delete' : 'ResourceAllocationSettingDataDeletedIndication'
+ }
+
+ virt_xml = get_class(virt)
+ cxml = virt_xml(test_dom)
+ sub_list, ind_names, dict = sub_ind(s_sysname, virt, ind_names)
+ for ind in ind_names.keys():
+ sub = sub_list[ind]
+ ind_name = ind_names[ind]
+ logger.info("\n Verifying '%s' indications ....", ind_name)
+
+ try:
+ pid = fork()
+ if pid == 0:
+ status = handle_request(sub, ind_name, dict,
+ len(ind_names.keys()))
+ if status != PASS:
+ _exit(1)
+ _exit(0)
+ else:
+ try:
+ status, cxml = gen_indication(test_dom, s_sysname,
+ virt, cxml, ind)
+ if status != PASS:
+ raise Exception("Unable to generate indication")
+
+ status = poll_for_ind(pid, ind_name)
+ except Exception, details:
+ kill(pid, SIGKILL)
+ raise Exception(details)
+
+ except Exception, details:
+ logger.error("Exception: %s", details)
+ status = FAIL
+
+ if status != PASS:
+ break
+
+ #Make sure all subscriptions are really unsubscribed
+ for ind, sub in sub_list.iteritems():
+ sub.unsubscribe(dict['default_auth'])
+ logger.info("Cancelling subscription for %s", ind_names[ind])
+
+ active_doms = active_domain_list(s_sysname, virt)
+ if test_dom in active_doms:
+ ret = cxml.cim_destroy(s_sysname)
+ if not ret:
+ logger.error("Failed to Destroy the domain")
+ return FAIL
+
+ return status
+if __name__ == "__main__":
+ sys.exit(main())
+
2
1