[PATCH] [TEST] Update HostedService.01~04 for LXC support
by yunguol@cn.ibm.com
# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1211895201 -28800
# Node ID 0d0b144585dd37e68e1e4d6086954743e897f014
# Parent 3233a070377270931b4cc1d790b6782fee17d1b6
[TEST] Update HostedService.01~04 for LXC support
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 3233a0703772 -r 0d0b144585dd suites/libvirt-cim/cimtest/HostedService/01_forward.py
--- a/suites/libvirt-cim/cimtest/HostedService/01_forward.py Fri May 23 18:14:28 2008 +0800
+++ b/suites/libvirt-cim/cimtest/HostedService/01_forward.py Tue May 27 21:33:21 2008 +0800
@@ -31,7 +31,7 @@
from CimTest.Globals import logger
from CimTest.ReturnCodes import PASS, FAIL, XFAIL
-sup_types = ['Xen', 'XenFV', 'KVM']
+sup_types = ['Xen', 'XenFV', 'KVM', 'LXC']
@do_main(sup_types)
def main():
diff -r 3233a0703772 -r 0d0b144585dd suites/libvirt-cim/cimtest/HostedService/02_reverse.py
--- a/suites/libvirt-cim/cimtest/HostedService/02_reverse.py Fri May 23 18:14:28 2008 +0800
+++ b/suites/libvirt-cim/cimtest/HostedService/02_reverse.py Tue May 27 21:33:21 2008 +0800
@@ -31,7 +31,7 @@
from CimTest.Globals import logger
from CimTest.ReturnCodes import PASS, FAIL, XFAIL
-sup_types = ['Xen', 'XenFV', 'KVM']
+sup_types = ['Xen', 'XenFV', 'KVM', 'LXC']
@do_main(sup_types)
def main():
diff -r 3233a0703772 -r 0d0b144585dd suites/libvirt-cim/cimtest/HostedService/03_forward_errs.py
--- a/suites/libvirt-cim/cimtest/HostedService/03_forward_errs.py Fri May 23 18:14:28 2008 +0800
+++ b/suites/libvirt-cim/cimtest/HostedService/03_forward_errs.py Tue May 27 21:33:21 2008 +0800
@@ -30,7 +30,7 @@
from CimTest.Globals import logger, do_main
from CimTest.ReturnCodes import PASS, FAIL, XFAIL
-sup_types = ['Xen', 'XenFV', 'KVM']
+sup_types = ['Xen', 'XenFV', 'KVM', 'LXC']
exp_rc = 6 #CIM_ERR_NOT_FOUND
exp_desc = "No such instance"
diff -r 3233a0703772 -r 0d0b144585dd suites/libvirt-cim/cimtest/HostedService/04_reverse_errs.py
--- a/suites/libvirt-cim/cimtest/HostedService/04_reverse_errs.py Fri May 23 18:14:28 2008 +0800
+++ b/suites/libvirt-cim/cimtest/HostedService/04_reverse_errs.py Tue May 27 21:33:21 2008 +0800
@@ -30,7 +30,7 @@
from CimTest.Globals import logger, do_main
from CimTest.ReturnCodes import PASS, FAIL, XFAIL
-sup_types = ['Xen', 'XenFV', 'KVM']
+sup_types = ['Xen', 'XenFV', 'KVM', 'LXC']
exp_rc = 6 #CIM_ERR_NOT_FOUND
exp_desc = "No such instance"
diff -r 3233a0703772 -r 0d0b144585dd suites/libvirt-cim/lib/XenKvmLib/hostsystem.py
--- a/suites/libvirt-cim/lib/XenKvmLib/hostsystem.py Fri May 23 18:14:28 2008 +0800
+++ b/suites/libvirt-cim/lib/XenKvmLib/hostsystem.py Tue May 27 21:33:21 2008 +0800
@@ -50,6 +50,9 @@
class KVM_HostSystem(CIM_System):
pass
+class LXC_HostSystem(CIM_System):
+ pass
+
def enumerate(server, virt='Xen'):
conn = pywbem.WBEMConnection('http://%s' % server,
diff -r 3233a0703772 -r 0d0b144585dd suites/libvirt-cim/lib/XenKvmLib/rpcs.py
--- a/suites/libvirt-cim/lib/XenKvmLib/rpcs.py Fri May 23 18:14:28 2008 +0800
+++ b/suites/libvirt-cim/lib/XenKvmLib/rpcs.py Tue May 27 21:33:21 2008 +0800
@@ -50,6 +50,8 @@
class KVM_ResourcePoolConfigurationService(CIM_ResourcePoolConfigurationService):
pass
+class LXC_ResourcePoolConfigurationService(CIM_ResourcePoolConfigurationService):
+ pass
def enumerate(server, classname):
conn = pywbem.WBEMConnection('http://%s' % server,
diff -r 3233a0703772 -r 0d0b144585dd suites/libvirt-cim/lib/XenKvmLib/vsms.py
--- a/suites/libvirt-cim/lib/XenKvmLib/vsms.py Fri May 23 18:14:28 2008 +0800
+++ b/suites/libvirt-cim/lib/XenKvmLib/vsms.py Tue May 27 21:33:21 2008 +0800
@@ -64,6 +64,9 @@
pass
class KVM_VirtualSystemManagementService(CIM_VirtualSystemManagementService):
+ pass
+
+class LXC_VirtualSystemManagementService(CIM_VirtualSystemManagementService):
pass
@eval_cls('VirtualSystemManagementService')
16 years, 5 months
[PATCH] [TEST] Update VirtualSystemMigrationCapabilities.01&02 for LXC support
by yunguol@cn.ibm.com
# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1211894553 -28800
# Node ID 15ed90e6683e593cd63664a80e67e662323bb4e6
# Parent 3233a070377270931b4cc1d790b6782fee17d1b6
[TEST] Update VirtualSystemMigrationCapabilities.01&02 for LXC support
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 3233a0703772 -r 15ed90e6683e suites/libvirt-cim/cimtest/VirtualSystemMigrationCapabilities/01_enum.py
--- a/suites/libvirt-cim/cimtest/VirtualSystemMigrationCapabilities/01_enum.py Fri May 23 18:14:28 2008 +0800
+++ b/suites/libvirt-cim/cimtest/VirtualSystemMigrationCapabilities/01_enum.py Tue May 27 21:22:33 2008 +0800
@@ -28,7 +28,7 @@
from CimTest.Globals import CIM_ERROR_ENUMERATE, logger, do_main
from CimTest.ReturnCodes import PASS, FAIL
-sup_types = ['Xen', 'XenFV', 'KVM']
+sup_types = ['Xen', 'XenFV', 'KVM', 'LXC']
def print_error(fieldname, ret_value, exp_value):
logger.error("%s Mismatch", fieldname)
diff -r 3233a0703772 -r 15ed90e6683e suites/libvirt-cim/cimtest/VirtualSystemMigrationCapabilities/02_vsmc_gi_errs.py
--- a/suites/libvirt-cim/cimtest/VirtualSystemMigrationCapabilities/02_vsmc_gi_errs.py Fri May 23 18:14:28 2008 +0800
+++ b/suites/libvirt-cim/cimtest/VirtualSystemMigrationCapabilities/02_vsmc_gi_errs.py Tue May 27 21:22:33 2008 +0800
@@ -54,7 +54,7 @@
from XenKvmLib.common_util import try_getinstance
from XenKvmLib.classes import get_typed_class
-sup_types = ['Xen', 'XenFV', 'KVM']
+sup_types = ['Xen', 'XenFV', 'KVM', 'LXC']
expr_values = {
"invalid_instid" : { 'rc' : pywbem.CIM_ERR_NOT_FOUND, \
diff -r 3233a0703772 -r 15ed90e6683e suites/libvirt-cim/lib/XenKvmLib/enumclass.py
--- a/suites/libvirt-cim/lib/XenKvmLib/enumclass.py Fri May 23 18:14:28 2008 +0800
+++ b/suites/libvirt-cim/lib/XenKvmLib/enumclass.py Tue May 27 21:22:33 2008 +0800
@@ -159,6 +159,9 @@
pass
class KVM_VirtualSystemMigrationCapabilities(Virt_VirtualSystemMigrationCapabilities):
+ pass
+
+class LXC_VirtualSystemMigrationCapabilities(Virt_VirtualSystemMigrationCapabilities):
pass
class Xen_AllocationCapabilities(CIM_AllocationCapabilities):
16 years, 5 months
[PATCH] [TEST] update ResourcePoolConfigurationCapabilities.01&02 for LXC support
by yunguol@cn.ibm.com
# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1211894322 -28800
# Node ID 5e78986367dbd60e05c9f3720935b09404542928
# Parent 3233a070377270931b4cc1d790b6782fee17d1b6
[TEST] update ResourcePoolConfigurationCapabilities.01&02 for LXC support
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 3233a0703772 -r 5e78986367db suites/libvirt-cim/cimtest/ResourcePoolConfigurationCapabilities/01_enum.py
--- a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationCapabilities/01_enum.py Fri May 23 18:14:28 2008 +0800
+++ b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationCapabilities/01_enum.py Tue May 27 21:18:42 2008 +0800
@@ -27,7 +27,7 @@
from CimTest.Globals import do_main
from CimTest.ReturnCodes import PASS, FAIL
-sup_types = ['Xen', 'XenFV', 'KVM']
+sup_types = ['Xen', 'XenFV', 'KVM', 'LXC']
@do_main(sup_types)
def main():
diff -r 3233a0703772 -r 5e78986367db suites/libvirt-cim/cimtest/ResourcePoolConfigurationCapabilities/02_rpcc_gi_errs.py
--- a/suites/libvirt-cim/cimtest/ResourcePoolConfigurationCapabilities/02_rpcc_gi_errs.py Fri May 23 18:14:28 2008 +0800
+++ b/suites/libvirt-cim/cimtest/ResourcePoolConfigurationCapabilities/02_rpcc_gi_errs.py Tue May 27 21:18:42 2008 +0800
@@ -54,7 +54,7 @@
from CimTest.ReturnCodes import PASS, FAIL
from XenKvmLib.common_util import try_getinstance
-sup_types = ['Xen', 'XenFV', 'KVM']
+sup_types = ['Xen', 'XenFV', 'KVM', 'LXC']
expr_values = {
"invalid_instid" : { 'rc' : pywbem.CIM_ERR_NOT_FOUND, \
diff -r 3233a0703772 -r 5e78986367db suites/libvirt-cim/lib/XenKvmLib/enumclass.py
--- a/suites/libvirt-cim/lib/XenKvmLib/enumclass.py Fri May 23 18:14:28 2008 +0800
+++ b/suites/libvirt-cim/lib/XenKvmLib/enumclass.py Tue May 27 21:18:42 2008 +0800
@@ -135,6 +135,9 @@
pass
class KVM_ResourcePoolConfigurationCapabilities(CIM_ResourcePoolConfigurationCapabilities):
+ pass
+
+class LXC_ResourcePoolConfigurationCapabilities(CIM_ResourcePoolConfigurationCapabilities):
pass
class Xen_EnabledLogicalElementCapabilities(CIM_EnabledLogicalElementCapabilities):
16 years, 5 months
Cimtest Report on KVM (2008/05/26)
by Guo Lian Yun
stro: Fedora 9 Beta
Kernel: 2.6.25-0.121.rc5.git4.fc9
Libvirt: 0.4.1-7.fc9
CIMOM: 2.7.0-6.fc9
PyWBEM: 0.6-1
libcmpiutil: 0.3-1.fc9
libvirt-cim: 0.3-4.fc9
cimtest: changeset-153
=================== FAIL ===========================================
ComputerSystemIndication - 01_created_indication.py: FAIL
ElementConforms - 02_reverse.py: FAIL
ElementSettingData - 03_esd_assoc_with_rasd_errs.py: FAIL
NetworkPort - 03_user_netport.py: FAIL
SettingsDefine - 02_reverse.py: FAIL
VirtualSystemManagementService - 06_addresource.py: FAIL
VirtualSystemManagementService - 08_modifyresource.py: FAIL
========FULL CIMTEST REPORT=PASS(98)=FAIL(7)=SKIP(18)=XFAIL(6)=======
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: XFAIL Bug: 00002
ComputerSystem - 06_paused_active_suspend.py: XFAIL Bug: 00002
ComputerSystem - 22_define_suspend.py: PASS
ComputerSystem - 23_suspend_suspend.py: SKIP
ComputerSystem - 27_define_suspend_errs.py: SKIP
ComputerSystem - 32_start_reboot.py: SKIP
ComputerSystem - 33_suspend_reboot.py: SKIP
ComputerSystem - 35_start_reset.py: SKIP
ComputerSystem - 40_RSC_start.py: PASS
ComputerSystem - 41_cs_to_settingdefinestate.py: SKIP
ComputerSystem - 42_cs_gi_errs.py: PASS
ElementAllocatedFromPool - 01_forward.py: SKIP
ElementAllocatedFromPool - 02_reverse.py: SKIP
ElementAllocatedFromPool - 03_reverse_errs.py: XFAIL Bug: 88651
ElementAllocatedFromPool - 04_forward_errs.py: XFAIL Bug: 88651
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: FAIL
ElementConforms - 03_ectp_fwd_errs.py: XFAIL Bug: 92642
Bug:<92642>
Bug:<92642>
ElementConforms - 04_ectp_rev_errs.py: XFAIL Bug: 92642
Bug:<92642>
Bug:<92642>
Bug:<92642>
Bug:<92642>
Bug:<92642>
Bug:<92642>
Bug:<92642>
Bug:<92642>
ElementSettingData - 01_forward.py: PASS
ElementSettingData - 03_esd_assoc_with_rasd_errs.py: FAIL
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: SKIP
HostSystem - 05_hs_gi_errs.py: PASS
HostSystem - 06_hs_to_vsms.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
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: FAIL
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: SKIP
Profile - 03_rprofile_gi_errs.py: SKIP
RASD - 01_verify_rasd_fields.py: PASS
RASD - 02_enum.py: PASS
RASD - 03_rasd_errs.py: PASS
ReferencedProfile - 01_verify_refprof.py: SKIP
ReferencedProfile - 02_refprofile_errs.py: SKIP
ResourceAllocationFromPool - 01_forward.py: PASS
ResourceAllocationFromPool - 02_reverse.py: PASS
ResourceAllocationFromPool - 03_forward_errs.py: PASS
ResourceAllocationFromPool - 04_reverse_errs.py: PASS
ResourceAllocationFromPool - 05_RAPF_err.py: PASS
ResourcePool - 01_enum.py: PASS
ResourcePool - 02_rp_gi_errors.py: PASS
ResourcePoolConfigurationCapabilities - 01_enum.py: PASS
ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: PASS
ResourcePoolConfigurationService - 01_enum.py: PASS
ResourcePoolConfigurationService - 02_rcps_gi_errors.py: PASS
ResourcePoolConfigurationService - 03_CreateResourcePool.py: PASS
ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: PASS
ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: PASS
ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py:
PASS
ResourcePoolConfigurationService - 07_DeleteResourcePool.py: PASS
SettingsDefine - 01_forward.py: PASS
SettingsDefine - 02_reverse.py: FAIL
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
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
InvokeMethod(AddResourceSettings): CIM_ERR_FAILED: Failed to create domain
VirtualSystemManagementService - 07_addresource_neg.py: PASS
VirtualSystemManagementService - 08_modifyresource.py: FAIL
InvokeMethod(ModifyResourceSettings): CIM_ERR_FAILED: Failed to create
domain
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
VirtualSystemMigrationSettingData - 01_enum.py: PASS
VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS
VirtualSystemSettingDataComponent - 01_forward.py: SKIP
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
VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS
VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py:
PASS
Best,
Regards
Daisy (运国莲)
VSM Team, China Systems & Technology Labs (CSTL)
E-mail: yunguol(a)cn.ibm.com
TEL: (86)-21-60922144
Building 10, 399 Ke Yuan Rd, Pudong Shanghai, 201203
16 years, 5 months
[PATCH] [TEST] Fixing tc 02_reverse.py of SettingDefineState
by Deepti B. Kalakeri
# HG changeset patch
# User Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
# Date 1211889137 25200
# Node ID 704d68b194d415c97678531930117d3d632ef5fa
# Parent 6a273db93afc6cd02702eb090251854ad74a7ff2
[TEST] Fixing tc 02_reverse.py of SettingDefineState.
Signed-off-by: Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
diff -r 6a273db93afc -r 704d68b194d4 suites/libvirt-cim/cimtest/SettingsDefine/02_reverse.py
--- a/suites/libvirt-cim/cimtest/SettingsDefine/02_reverse.py Tue May 27 04:14:04 2008 -0700
+++ b/suites/libvirt-cim/cimtest/SettingsDefine/02_reverse.py Tue May 27 04:52:17 2008 -0700
@@ -59,6 +59,7 @@ from XenKvmLib import vxml
from XenKvmLib import vxml
from XenKvmLib.classes import get_typed_class, get_class_basename
from XenKvmLib.rasd import InstId_err
+from XenKvmLib.const import CIM_REV
sup_types = ['Xen', 'KVM', 'XenFV']
@@ -67,6 +68,8 @@ test_vcpus = 1
test_vcpus = 1
test_mem = 128
test_mac = "00:11:22:33:44:aa"
+proc_instid_rev = 590
+
def call_assoc(ip, inst, exp_id, ccn, virt):
@@ -189,6 +192,10 @@ def main():
'NetResourceAllocationSettingData' : '%s/%s' % (test_dom, test_mac),
'DiskResourceAllocationSettingData' : '%s/%s' % (test_dom, test_disk),
'MemResourceAllocationSettingData' : '%s/%s' % (test_dom, 'mem')}
+
+ if CIM_REV < proc_instid_rev :
+ rasd_devid['ProcResourceAllocationSettingData'] = "%s/%s" % (test_dom, "0")
+
global dev_devid
dev_devid = {
'Processor' : '%s/%s' % (test_dom, test_vcpus-1),
16 years, 5 months
[PATCH] [TEST] Add graphics and input devices to XenFV guest XML
by Kaitlin Rupert
# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1211564341 25200
# Node ID d1f390aa4b58329816be4f562c6a75e28e8b15aa
# Parent 10f6cc2ec9940971f636bfd10b9f518c4c5d1487
[TEST] Add graphics and input devices to XenFV guest XML.
Also add pae, acpi, apic features.
Adding these tags fixes several issues:
-The ramdisk is 32 bit, so we need to use pae in order to boot properly.
-The guest uses a graphical console, so we need to define one in order to start the guest.
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r 10f6cc2ec994 -r d1f390aa4b58 suites/libvirt-cim/lib/XenKvmLib/vxml.py
--- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Fri May 23 10:39:01 2008 -0700
+++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Fri May 23 10:39:01 2008 -0700
@@ -260,6 +260,7 @@
self.add_sub_node(domain, 'name', name)
self.add_sub_node(domain, 'uuid', uuid)
+ self.add_sub_node(domain, 'features')
self.add_sub_node(domain, 'os')
self.add_sub_node(domain, 'memory', mem * 1024)
self.add_sub_node(domain, 'vcpu', vcpu)
@@ -601,9 +602,16 @@
logger.error('Error: Disk image does not exist')
sys.exit(1)
VirtXML.__init__(self, 'xen', test_dom, set_uuid(), mem, vcpus)
+ self._features()
self._os(const.XenFV_default_loader)
self._devices(const.XenFV_default_emulator,
const.XenFV_default_net_type, mac, disk_file_path, disk)
+
+ def _features(self):
+ features = self.get_node('/domain/features')
+ self.add_sub_node(features, 'pae')
+ self.add_sub_node(features, 'acpi')
+ self.add_sub_node(features, 'apic')
def _os(self, os_loader):
os = self.get_node('/domain/os')
@@ -615,6 +623,9 @@
devices = self.get_node('/domain/devices')
self.add_sub_node(devices, 'emulator', emu)
+ self.add_sub_node(devices, 'graphics', type='vnc', port='5900',
+ keymap='en-us')
+ self.add_sub_node(devices, 'input', type='mouse', bus='xen')
interface = self.add_sub_node(devices, 'interface', type=net_type)
self.add_sub_node(interface, 'mac', address=net_mac)
16 years, 5 months
[PATCH] [TEST]4# bundles of patch for LXC support
by yunguol@cn.ibm.com
# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1211537668 -28800
# Node ID 0a4ecb2ab4c495e8f52dfbaf2a0ce6a22d54a8b7
# Parent 2039130968f0c4e19234dcfbba9940eddbcd7325
[TEST]4# bundles of patch for LXC support
Move the init_path file to be part of undefine and destroy step
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 2039130968f0 -r 0a4ecb2ab4c4 lib/CimTest/Globals.py
--- a/lib/CimTest/Globals.py Wed May 21 06:37:47 2008 -0700
+++ b/lib/CimTest/Globals.py Fri May 23 18:14:28 2008 +0800
@@ -66,8 +66,8 @@
parser.add_option("-i", "--ip", dest="ip", default="localhost",
help="IP address of machine to test, default: localhost")
parser.add_option("-v", "--virt", dest="virt", type="choice",
- choices=platform_sup, default="Xen",
- help="Virt type, select from: 'Xen' & 'KVM' & 'XenFV', default: Xen")
+ choices=['Xen', 'KVM', 'XenFV', 'LXC'], default="Xen",
+ help="Virt type, select from: 'Xen' & 'KVM' & 'XenFV' & 'LXC', default: Xen")
parser.add_option("-d", "--debug-output", action="store_true", dest="debug",
help="Duplicate the output to stderr")
diff -r 2039130968f0 -r 0a4ecb2ab4c4 lib/VirtLib/utils.py
--- a/lib/VirtLib/utils.py Wed May 21 06:37:47 2008 -0700
+++ b/lib/VirtLib/utils.py Fri May 23 18:14:28 2008 +0800
@@ -161,5 +161,7 @@
return "xen:///"
if virt == "KVM":
return "qemu:///system"
+ if virt == "LXC":
+ return "lxc:///system"
return ""
diff -r 2039130968f0 -r 0a4ecb2ab4c4 suites/libvirt-cim/cimtest/ComputerSystem/03_defineVS.py
--- a/suites/libvirt-cim/cimtest/ComputerSystem/03_defineVS.py Wed May 21 06:37:47 2008 -0700
+++ b/suites/libvirt-cim/cimtest/ComputerSystem/03_defineVS.py Fri May 23 18:14:28 2008 +0800
@@ -35,7 +35,7 @@
from CimTest.Globals import do_main
from CimTest.ReturnCodes import PASS, FAIL
-sup_types = ['Xen', 'KVM', 'XenFV']
+sup_types = ['Xen', 'KVM', 'XenFV', 'LXC']
test_dom = "domU1"
@do_main(sup_types)
diff -r 2039130968f0 -r 0a4ecb2ab4c4 suites/libvirt-cim/lib/XenKvmLib/classes.py
--- a/suites/libvirt-cim/lib/XenKvmLib/classes.py Wed May 21 06:37:47 2008 -0700
+++ b/suites/libvirt-cim/lib/XenKvmLib/classes.py Fri May 23 18:14:28 2008 +0800
@@ -19,7 +19,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
-virt_types = ['Xen', 'KVM', 'XenFV']
+virt_types = ['Xen', 'KVM', 'XenFV', 'LXC']
def get_typed_class(virt, basename):
if virt not in virt_types:
diff -r 2039130968f0 -r 0a4ecb2ab4c4 suites/libvirt-cim/lib/XenKvmLib/computersystem.py
--- a/suites/libvirt-cim/lib/XenKvmLib/computersystem.py Wed May 21 06:37:47 2008 -0700
+++ b/suites/libvirt-cim/lib/XenKvmLib/computersystem.py Fri May 23 18:14:28 2008 +0800
@@ -69,6 +69,9 @@
class KVM_ComputerSystem(CIM_System):
pass
+class LXC_ComputerSystem(CIM_System):
+ pass
+
def get_cs_class(virt):
if virt in virt_types:
return eval(get_typed_class(virt, 'ComputerSystem'))
diff -r 2039130968f0 -r 0a4ecb2ab4c4 suites/libvirt-cim/lib/XenKvmLib/const.py
--- a/suites/libvirt-cim/lib/XenKvmLib/const.py Wed May 21 06:37:47 2008 -0700
+++ b/suites/libvirt-cim/lib/XenKvmLib/const.py Fri May 23 18:14:28 2008 +0800
@@ -81,3 +81,7 @@
XenFV_default_disk_dev = 'hda'
XenFV_default_mac = '00:16:3e:5d:c7:9e'
XenFV_default_net_type = 'bridge'
+
+#vxml.LXCXML
+LXC_init_path = os.path.join(_image_dir, 'cimtest_lxc_init')
+LXC_default_tty = '/dev/ptmx'
diff -r 2039130968f0 -r 0a4ecb2ab4c4 suites/libvirt-cim/lib/XenKvmLib/vxml.py
--- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Wed May 21 06:37:47 2008 -0700
+++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Fri May 23 18:14:28 2008 +0800
@@ -141,6 +141,8 @@
self.vuri = 'xen:///'
elif vir_type == 'kvm':
self.vuri = 'qemu:///system'
+ elif vir_type == 'lxc':
+ self.vuri = 'lxc:///system'
def run(self, ip, vcmd, param):
file_arg_cmds = ['define', 'create', 'net-create', 'pool-create', 'pool-destroy']
@@ -280,7 +282,7 @@
raise NotImplementedError('virtual method, implement your own')
def issubinstance(self):
- return isinstance(self, (XenXML, KVMXML, XenFVXML))
+ return isinstance(self, (XenXML, KVMXML, XenFVXML, LXCXML))
def set_memory(self, mem):
self.set_cdata('/domain/memory', mem * 1024)
@@ -308,6 +310,8 @@
return self.run(ip, 'define', self.xml_string)
def undefine(self, ip):
+ if os.path.exists(const.LXC_init_path):
+ os.remove(const.LXC_init_path)
return self.run(ip, 'undefine', self.dname)
def start(self, ip):
@@ -317,6 +321,8 @@
return self.run(ip, 'stop', self.dname)
def destroy(self, ip):
+ if os.path.exists(const.LXC_init_path):
+ os.remove(const.LXC_init_path)
return self.run(ip, 'destroy', self.dname)
def create(self, ip):
@@ -627,6 +633,37 @@
def set_vbridge(self, ip):
return self._set_vbridge(ip, 'XenFV')
+class LXCXML(VirtXML):
+
+ def __init__(self, test_dom=const.default_domname,
+ mem=const.default_memory,
+ vcpus=const.default_vcpus,
+ tty=const.LXC_default_tty):
+ VirtXML.__init__(self, 'lxc', test_dom, set_uuid(), mem, vcpus)
+ self._os(const.LXC_init_path)
+ self._devices(const.LXC_default_tty)
+ self.create_lxc_file(CIM_IP, const.LXC_init_path)
+
+ def _os(self, os_init):
+ os = self.get_node('/domain/os')
+ self.add_sub_node(os, 'init', os_init)
+
+ def _devices(self, tty):
+ devices = self.get_node('/domain/devices')
+
+ interface = self.add_sub_node(devices, 'console', tty)
+
+ def create_lxc_file(self, ip, lxc_file):
+ try:
+ f = open(lxc_file, 'w')
+ f.write('%s' % 'exec /bin/sh')
+ cmd = 'chmod +x %s' % lxc_file
+ s, o = utils.run_remote(ip, cmd)
+ f.close()
+ except Exception:
+ logger.error("Creation of LXC file Failed")
+ return False
+
def get_class(virt):
if virt in virt_types:
diff -r 2039130968f0 -r 0a4ecb2ab4c4 suites/libvirt-cim/main.py
--- a/suites/libvirt-cim/main.py Wed May 21 06:37:47 2008 -0700
+++ b/suites/libvirt-cim/main.py Fri May 23 18:14:28 2008 +0800
@@ -50,8 +50,8 @@
action="store_true", dest="clean",
help="Will remove existing log files before test run")
parser.add_option("-v", "--virt", dest="virt", type="choice",
- choices=platform_sup, default="Xen",
- help="Virt type, select from 'Xen' & 'KVM' & 'XenFV'(default: Xen). ")
+ choices=['Xen', 'KVM', 'XenFV', 'LXC'], default="Xen",
+ help="Virt type, select from 'Xen' & 'KVM' & 'XenFV' & 'LXC'(default: Xen). ")
parser.add_option("-d", "--debug-output", action="store_true", dest="debug",
help="Duplicate the output to stderr")
16 years, 5 months
[PATCH] [TEST] Fixing tc 05_destroysystem_neg.py of VirtualSystemManagementService
by Deepti B. Kalakeri
# HG changeset patch
# User Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
# Date 1211459246 25200
# Node ID 41f9bf4831ff672dfc36de4510bf5c33d5a29154
# Parent 2039130968f0c4e19234dcfbba9940eddbcd7325
[TEST] Fixing tc 05_destroysystem_neg.py of VirtualSystemManagementService.
Signed-off-by: Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
diff -r 2039130968f0 -r 41f9bf4831ff suites/libvirt-cim/cimtest/VirtualSystemManagementService/05_destroysystem_neg.py
--- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/05_destroysystem_neg.py Wed May 21 06:37:47 2008 -0700
+++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/05_destroysystem_neg.py Thu May 22 05:27:26 2008 -0700
@@ -27,44 +27,73 @@ from VirtLib import utils
from VirtLib import utils
from XenKvmLib import vsms
from XenKvmLib.classes import get_typed_class
+from XenKvmLib.const import CIM_REV
from XenKvmLib.test_doms import undefine_test_domain
from CimTest.Globals import logger
from CimTest.Globals import do_main
from CimTest.ReturnCodes import FAIL, PASS, SKIP
sup_types = ['Xen', 'KVM', 'XenFV']
+vsms_status_version = 534
def destroysystem_fail(tc, options):
service = vsms.get_vsms_class(options.virt)(options.ip)
classname = get_typed_class(options.virt, 'ComputerSystem')
+
if tc == 'noname':
- exp_rc = 2 #IM_RC_FAILED
cs_ref = CIMInstanceName(classname,
- keybindings = {'CreationClassName':classname})
+ keybindings = {'CreationClassName':classname})
+
+ if CIM_REV < vsms_status_version:
+ exp_rc = 2 #IM_RC_FAILED
+ else:
+ exp_value = { 'rc' : pywbem.CIM_ERR_FAILED,
+ 'desc' : 'CIM_ERR_FAILED: Unable to retrieve domain\
+ name.'
+ }
+
elif tc == 'nonexistent':
- exp_rc = 4 #IM_RC_SYS_NOT_FOUND
cs_ref = CIMInstanceName(classname,keybindings = {
- 'Name':'##@@!!cimtest_domain',
- 'CreationClassName':classname})
+ 'Name':'##@@!!cimtest_domain',
+ 'CreationClassName':classname})
+
+ if CIM_REV < vsms_status_version:
+ exp_rc = 4 #IM_RC_SYS_NOT_FOUND
+ else:
+ exp_value = { 'rc' : pywbem.CIM_ERR_FAILED,
+ 'desc' : 'CIM_ERR_FAILED: Failed to find domain'
+ }
+
else:
return SKIP
status = FAIL
try:
ret = service.DestroySystem(AffectedSystem=cs_ref)
- if ret[0] == exp_rc:
- status = PASS
- logger.info('destroy_fail>>%s: Got expected return code %s' % (tc, exp_rc))
- else:
- status = FAIL
- logger.error('destroy_fail>>%s: Got rc: %s, but we expect %s' % (tc, ret[0], exp_rc))
+ if CIM_REV < vsms_status_version:
+ if ret[0] == exp_rc:
+ logger.info('destroy_fail>>%s: Got expected return code %s',
+ tc, exp_rc)
+ return PASS
+ else:
+ logger.error('destroy_fail>>%s: Got rc: %s, but we expect %s',
+ tc, ret[0], exp_rc)
+ return FAIL
+
except Exception, details:
- logger.error('destroy_fail>>%s: Error executing DestroySystem, exception details below' % tc)
+ if CIM_REV >= vsms_status_version:
+ err_no = details[0]
+ err_desc = details[1]
+ if err_no == exp_value['rc'] and err_desc == exp_value['desc']:
+ logger.error("For Invalid Scenario '%s'", tc)
+ logger.info('Got expected error no: %s', err_no)
+ logger.info('Got expected error desc: %s',err_desc)
+ return PASS
+
+ logger.error('destroy_fail>> %s: Error executing DestroySystem' % tc)
logger.error(details)
- status = FAIL
-
- return status
+ return FAIL
@do_main(sup_types)
def main():
16 years, 5 months
CimTest Report on XenFV 22-05-2008
by Deepti B Kalakeri
======================================
CIM Test Report for XenFV
======================================
Distro : RHEL 5.2 Beta
Kernel : 2.6.18-88.el5xen
Xen version : 3.1.2-88.el5
Libvirt : libvirt-0.3.3-7.el5
CIMOM : pegasus
PyWBEM : pywbem-3.14
CIM Schema : cimv216Experimental
LibCMPIutil : 79
LibVirtCIM : 592
CIMTEST : 149
======================================
PASS : 84
FAIL : 19 [ 9 test cases passed when ran manually , so 10 tc are
failing now]
XFAIL : 4
SKIP : 22
-----------------
Total : 129
======================================
List of tc that are failing
ComputerSystem - 03_defineVS.py: FAIL --Passed
when run manually
ComputerSystem - 04_defineStartVS.py: FAIL
ComputerSystem - 06_paused_active_suspend.py: FAIL
ComputerSystem - 23_suspend_suspend.py: FAIL
ComputerSystem - 32_start_reboot.py: FAIL
ComputerSystem - 33_suspend_reboot.py: FAIL
ComputerSystem - 35_start_reset.py: FAIL
ComputerSystem - 42_cs_gi_errs.py: FAIL --Passed
when run manually
ElementConforms - 01_forward.py: FAIL --Passed
when run manually
ElementConforms - 02_reverse.py: FAIL --Passed
when run manually
EnabledLogicalElementCapabilities - 01_enum.py: FAIL --Passed
when run manually
HostSystem - 02_hostsystem_to_rasd.py: FAIL --Passed
when run manually
LogicalDisk - 03_ld_gi_errs.py: FAIL --Passed
when run manually
Memory - 01_memory.py: FAIL --Passed
when run manually
ResourceAllocationFromPool - 02_reverse.py: FAIL
ResourceAllocationFromPool - 05_RAPF_err.py: FAIL --Passed
when run manually
VSSD - 04_vssd_to_rasd.py: FAIL --Passed
when run manually
VirtualSystemManagementService - 02_destroysystem.py: FAIL
VirtualSystemManagementService - 05_destroysystem_neg.py: FAIL
--Submitted Fix for this.
Please find the complete report attached with the mail.
Thanks and Regards,
Deepti.
Starting test suite: libvirt-cim
Cleaned log files.
Testing XenFV hypervisor
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: FAIL
ERROR - Failed to enumerate the class of Xen_ComputerSystem
ERROR - Exception: No defined domain (domU1) is found
ERROR - Error: property values are not set for VS domU1
ComputerSystem - 04_defineStartVS.py: FAIL
ERROR - Error: property values are not set for VS domguest
ComputerSystem - 05_activate_defined_start.py: XFAIL Bug: 85769
ERROR - ERROR: VS DomST1 transition from Defined State to Activate state was not Successful
Bug:<85769>
ComputerSystem - 06_paused_active_suspend.py: FAIL
ERROR - Exception: (1, u'CIM_ERR_FAILED: Domain not running')
ERROR - Unable to suspend dom DomST1 using RequestedStateChange()
InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Domain not running
ComputerSystem - 22_define_suspend.py: PASS
ComputerSystem - 23_suspend_suspend.py: FAIL
ERROR - RequestedState should be 2 not 12
ERROR - Attributes for dom test_domain not set as expected.
ComputerSystem - 27_define_suspend_errs.py: PASS
ComputerSystem - 32_start_reboot.py: FAIL
ERROR - RequestedState should be 2 not 12
ERROR - Attributes for dom test_domain not set as expected.
ComputerSystem - 33_suspend_reboot.py: FAIL
ERROR - RequestedState should be 2 not 12
ERROR - Attributes for dom test_domain not set as expected.
ComputerSystem - 35_start_reset.py: FAIL
ERROR - RequestedState should be 2 not 12
ERROR - Attributes for dom test_domain not set as expected.
ComputerSystem - 40_RSC_start.py: PASS
ComputerSystem - 41_cs_to_settingdefinestate.py: SKIP
ComputerSystem - 42_cs_gi_errs.py: FAIL
ERROR - Unexpected rc code 6 and description CIM_ERR_NOT_FOUND: No such instance (ETdomain).
ERROR - ------ FAILED: Invalid CCName Key Value.------
ERROR - Unexpected rc code 6 and description CIM_ERR_NOT_FOUND: No such instance (ETdomain).
ERROR - ------ FAILED: Invalid CCName Key Name.------
ComputerSystemIndication - 01_created_indication.py: PASS
ElementAllocatedFromPool - 01_forward.py: SKIP
ElementAllocatedFromPool - 02_reverse.py: SKIP
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: FAIL
ERROR - Failed to get associators information for ElementConformsToProfile
ERROR - Exception: not enough arguments for format string
ElementConforms - 02_reverse.py: FAIL
ERROR - ERROR: Instance for domgst not created
ElementConforms - 03_ectp_fwd_errs.py: PASS
ElementConforms - 04_ectp_rev_errs.py: PASS
ElementSettingData - 01_forward.py: SKIP
ElementSettingData - 03_esd_assoc_with_rasd_errs.py: SKIP
EnabledLogicalElementCapabilities - 01_enum.py: FAIL
ERROR - Get domain list error, the number of domains is not equal
EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: PASS
HostSystem - 01_enum.py: PASS
HostSystem - 02_hostsystem_to_rasd.py: FAIL
ERROR - Xen_HostSystem with CrossClass_GuestDom was not returned
HostSystem - 03_hs_to_settdefcap.py: PASS
HostSystem - 04_hs_to_EAPF.py: SKIP
HostSystem - 05_hs_gi_errs.py: PASS
HostSystem - 06_hs_to_vsms.py: PASS
HostedDependency - 01_forward.py: SKIP
HostedDependency - 02_reverse.py: SKIP
HostedDependency - 03_enabledstate.py: SKIP
HostedDependency - 04_reverse_errs.py: SKIP
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
LogicalDisk - 01_disk.py: PASS
LogicalDisk - 02_nodevs.py: PASS
LogicalDisk - 03_ld_gi_errs.py: FAIL
ERROR - Failed to get instance by the class of Xen_LogicalDisk
ERROR - Exception: (6, u'CIM_ERR_NOT_FOUND: No such instance (hd_domain/hda)')
Memory - 01_memory.py: FAIL
ERROR - Capacity should be 262144 MB instead of 131072 MB
Memory - 02_defgetmem.py: PASS
Memory - 03_mem_gi_errs.py: PASS
NetworkPort - 01_netport.py: XFAIL Bug: 90844
ERROR - Exception: (6, u'CIM_ERR_NOT_FOUND: No such instance (test_domain/00:11:22:33:44:55)')
Bug:<90844>
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: SKIP
Profile - 02_profile_to_elec.py: SKIP
Profile - 03_rprofile_gi_errs.py: SKIP
RASD - 01_verify_rasd_fields.py: PASS
RASD - 02_enum.py: PASS
RASD - 03_rasd_errs.py: PASS
ReferencedProfile - 01_verify_refprof.py: PASS
ReferencedProfile - 02_refprofile_errs.py: PASS
ResourceAllocationFromPool - 01_forward.py: PASS
ResourceAllocationFromPool - 02_reverse.py: FAIL
ERROR - No associated pool for Domain-0/0
CIM_ERR_NOT_FOUND: No such instance (Domain-0/0)
ResourceAllocationFromPool - 03_forward_errs.py: PASS
ResourceAllocationFromPool - 04_reverse_errs.py: PASS
ResourceAllocationFromPool - 05_RAPF_err.py: FAIL
ERROR - Xen_NetResourceAllocationSettingData returned 0 instances, excepted atleast 1 instance
ERROR - ------FAILED: to verify the RAFP.------
ResourcePool - 01_enum.py: SKIP
ResourcePool - 02_rp_gi_errors.py: SKIP
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: XFAIL Bug: 92173
ERROR - Unexpected rc code 1 and description CIM_ERR_FAILED: Unknown Method
InvokeMethod(AddResourcesToResourcePool): CIM_ERR_FAILED: Unknown Method
Bug:<92173>
ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: PASS
ResourcePoolConfigurationService - 07_DeleteResourcePool.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: FAIL
ERROR - Xen_VirtualSystemSettingData with VSSDC_dom was not returned
ERROR - Xen_VirtualSystemSettingData returned 0 VSSD objects, expected only 1
VirtualSystemManagementCapabilities - 01_enum.py: PASS
VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS
VirtualSystemManagementService - 01_definesystem_name.py: PASS
VirtualSystemManagementService - 02_destroysystem.py: FAIL
ERROR - Unknow exception happened
ERROR - (1, u'CIM_ERR_FAILED: Unable to retrieve domain name.')
ERROR - Destroyed multiple domains
InvokeMethod(DestroySystem): CIM_ERR_FAILED: Unable to retrieve domain name.
VirtualSystemManagementService - 03_definesystem_ess.py: PASS
VirtualSystemManagementService - 04_definesystem_ers.py: PASS
VirtualSystemManagementService - 05_destroysystem_neg.py: FAIL
ERROR - destroy_fail>>noname: Error executing DestroySystem, exception details below
ERROR - (1, u'CIM_ERR_FAILED: Unable to retrieve domain name.')
ERROR - destroy_fail>>nonexistent: Error executing DestroySystem, exception details below
ERROR - (1, u'CIM_ERR_FAILED: Failed to find domain')
InvokeMethod(DestroySystem): CIM_ERR_FAILED: Unable to retrieve domain name.
InvokeMethod(DestroySystem): CIM_ERR_FAILED: Failed to find domain
VirtualSystemManagementService - 06_addresource.py: SKIP
VirtualSystemManagementService - 07_addresource_neg.py: PASS
VirtualSystemManagementService - 08_modifyresource.py: XFAIL Bug: 90853
ERROR - Error invoking ModifyRS
ERROR - (1, u"CIM_ERR_FAILED: Unknown system `rstest_domain'")
InvokeMethod(ModifyResourceSettings): CIM_ERR_FAILED: Unknown system `rstest_domain'
Bug:<90853>
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
VirtualSystemMigrationSettingData - 01_enum.py: PASS
VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS
VirtualSystemSettingDataComponent - 01_forward.py: SKIP
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
VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS
VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: PASS
16 years, 5 months