[PATCH] [TEST] Modifying SystemDevice/03_fwderrs.py tc to use cim_define() and cim_start(), cim_destroy()
by Deepti B. Kalakeri
# HG changeset patch
# User Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
# Date 1236098158 28800
# Node ID 7a6fc176e1ea497b2bdb361b44da6cc5d32f923f
# Parent 5a1c5290725e95f34e4da05d8f3402e458c36a60
[TEST] Modifying SystemDevice/03_fwderrs.py tc to use cim_define() and cim_start(), cim_destroy().
Also, removed un necessary import statements.
Tested with Xen/XenFV for RHEL 5.3 rpm.
Signed-off-by: Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
diff -r 5a1c5290725e -r 7a6fc176e1ea suites/libvirt-cim/cimtest/SystemDevice/03_fwderrs.py
--- a/suites/libvirt-cim/cimtest/SystemDevice/03_fwderrs.py Tue Mar 03 08:21:18 2009 -0800
+++ b/suites/libvirt-cim/cimtest/SystemDevice/03_fwderrs.py Tue Mar 03 08:35:58 2009 -0800
@@ -31,7 +31,6 @@ import sys
import sys
import pywbem
from pywbem.cim_obj import CIMInstanceName
-from VirtLib import utils
from XenKvmLib import vxml
from XenKvmLib import assoc
from XenKvmLib import enumclass
@@ -73,11 +72,16 @@ def main():
disk = test_disk)
devlist = [ "NetworkPort", "Memory", "LogicalDisk", "Processor" ]
- ret = cxml.create(options.ip)
+ ret = cxml.cim_define(options.ip)
if not ret :
- logger.info("error while 'create' of VS")
+ logger.error("Failed to define the domain '%s'", test_dom)
return FAIL
+ status = cxml.cim_start(options.ip)
+ if status != PASS :
+ cxml.undefine(options.ip)
+ logger.error("Failed to start the domain '%s'", test_dom)
+ return status
# Building the dict for avoiding the correct key:val pairs
# while verifying with the Invalid values for the association
@@ -102,15 +106,19 @@ def main():
except Exception, details:
logger.info("Exception %s for class %s", details , item)
+ cxml.cim_destroy(options.ip)
+ cxml.cim_undefine(options.ip)
return FAIL
if len(name) <=0 or len(names) <= 0:
+ cxml.cim_destroy(options.ip)
+ cxml.cim_undefine(options.ip)
logger.info("Error: Could not find the device ID's")
return FAIL
conn = assoc.myWBEMConnection('http://%s' % options.ip, \
(Globals.CIM_USER, Globals.CIM_PASS),
- Globals.CIM_NS)
+ Globals.CIM_NS)
# Testing with different combinations of keys and values
# for assocn of SysDevice class
@@ -164,13 +172,15 @@ def main():
logger.info("Success returned for wrong key and ID")
logger.info("Class = %s , key = %s , keyval = %s ",
item, i , keyval)
+ cxml.cim_destroy(options.ip)
+ cxml.cim_undefine(options.ip)
return XFAIL_RC(bug)
except Exception, details:
logger.info("exception" , details)
status = FAIL
- cxml.destroy(options.ip)
+ cxml.cim_destroy(options.ip)
cxml.undefine(options.ip)
return status
15 years, 9 months
[PATCH] [TEST] Modifying SystemDevice/01_forward.py tc to use cim_define() and cim_start(), cim_destroy()
by Deepti B. Kalakeri
# HG changeset patch
# User Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
# Date 1236097278 28800
# Node ID 5a1c5290725e95f34e4da05d8f3402e458c36a60
# Parent 50c6cbda732fcb07a7254eacc7f38dab2f075e8f
[TEST] Modifying SystemDevice/01_forward.py tc to use cim_define() and cim_start(), cim_destroy().
Also, removed un necessary import statements.
Tested with Xen/XenFV for RHEL 5.3 rpm.
Signed-off-by: Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
diff -r 50c6cbda732f -r 5a1c5290725e suites/libvirt-cim/cimtest/SystemDevice/01_forward.py
--- a/suites/libvirt-cim/cimtest/SystemDevice/01_forward.py Tue Mar 03 08:13:51 2009 -0800
+++ b/suites/libvirt-cim/cimtest/SystemDevice/01_forward.py Tue Mar 03 08:21:18 2009 -0800
@@ -27,7 +27,6 @@
import sys
from sets import Set
-from VirtLib import utils
from XenKvmLib import assoc
from XenKvmLib import vxml
from XenKvmLib.classes import get_typed_class
@@ -61,10 +60,16 @@ def main():
cxml = virt_xml(test_dom, vcpus = test_cpu, mac = test_mac,
disk = test_disk)
- ret = cxml.create(server)
+ ret = cxml.cim_define(server)
if not ret:
- logger.error('Unable to create domain %s', test_dom)
+ logger.error('Unable to define domain %s', test_dom)
return FAIL
+
+ status = cxml.cim_start(server)
+ if status != PASS:
+ cxml.undefine(server)
+ logger.error('Unable to start domain %s', test_dom)
+ return status
sd_classname = get_typed_class(virt, 'SystemDevice')
cs_classname = get_typed_class(virt, 'ComputerSystem')
@@ -73,12 +78,14 @@ def main():
Name=test_dom, CreationClassName=cs_classname)
if devs == None:
logger.error("'%s' association failed", sd_classname)
- cxml.destroy(server)
+ cxml.cim_destroy(server)
+ cxml.undefine(server)
return FAIL
if len(devs) == 0:
logger.error("No devices returned")
cxml.destroy(server)
+ cxml.undefine(server)
return FAIL
mem_cn = get_typed_class(virt, "Memory")
@@ -137,6 +144,7 @@ def main():
status = FAIL
cxml.destroy(server)
+ cxml.undefine(server)
return status
if __name__ == "__main__":
15 years, 9 months
[PATCH] Modifying ESD/03_esd_assoc_with_rasd_errs.py tc to use cim_define() and cim_start(), cim_destroy()
by Deepti B. Kalakeri
# HG changeset patch
# User Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
# Date 1236096831 28800
# Node ID 50c6cbda732fcb07a7254eacc7f38dab2f075e8f
# Parent a60140e3cf8d5a09a8be8f71462cea17f47e9a3f
Modifying ESD/03_esd_assoc_with_rasd_errs.py tc to use cim_define() and cim_start(), cim_destroy().
Also, removed unnecessary import statements.
Tested with Xen/XenFV for RHEL 5.3 rpm.
Signed-off-by: Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
diff -r a60140e3cf8d -r 50c6cbda732f suites/libvirt-cim/cimtest/ElementSettingData/03_esd_assoc_with_rasd_errs.py
--- a/suites/libvirt-cim/cimtest/ElementSettingData/03_esd_assoc_with_rasd_errs.py Tue Mar 03 07:58:10 2009 -0800
+++ b/suites/libvirt-cim/cimtest/ElementSettingData/03_esd_assoc_with_rasd_errs.py Tue Mar 03 08:13:51 2009 -0800
@@ -50,7 +50,6 @@
import sys
import pywbem
-from VirtLib import utils
from XenKvmLib import vxml
from XenKvmLib import assoc
from CimTest.Globals import logger, CIM_USER, CIM_PASS, CIM_NS, \
@@ -86,11 +85,18 @@ def main():
cxml = virtxml(test_dom)
else:
cxml = virtxml(test_dom, mac = test_mac)
- ret = cxml.create(options.ip)
+
+ ret = cxml.cim_define(options.ip)
if not ret:
- logger.error("Failed to Create the dom: %s", test_dom)
- status = FAIL
- return status
+ logger.error("Failed to define the dom: %s", test_dom)
+ return FAIL
+
+ status = cxml.cim_start(options.ip)
+ if status != PASS:
+ cxml.undefine(options.ip)
+ logger.error("Failed to start the dom: %s", test_dom)
+ return status
+
if options.virt == "XenFV":
options.virt = "Xen"
try:
@@ -100,14 +106,16 @@ def main():
rasd_list = assoc.Associators(options.ip, an, cn, InstanceID=instid)
except Exception:
logger.error(CIM_ERROR_ASSOCIATORS, an)
- cxml.destroy(options.ip)
+ cxml.cim_destroy(options.ip)
cxml.undefine(options.ip)
return FAIL
+
if len(rasd_list) < 1:
logger.error("returned %i objects, expected at least 1", len(rasd_list))
- cxml.destroy(options.ip)
+ cxml.cim_destroy(options.ip)
cxml.undefine(options.ip)
return FAIL
+
conn = assoc.myWBEMConnection('http://%s' % options.ip,
(CIM_USER, CIM_PASS), CIM_NS)
assoc_classname = get_typed_class(options.virt, esd_cn)
@@ -133,7 +141,7 @@ def main():
status = ret_value
if status != PASS:
break
- cxml.destroy(options.ip)
+ cxml.cim_destroy(options.ip)
cxml.undefine(options.ip)
return status
if __name__ == "__main__":
15 years, 9 months
[PATCH] [TEST] Modifying EAFP/02_reverse.py tc to use cim_define() and cim_start(), cim_destroy()
by Deepti B. Kalakeri
# HG changeset patch
# User Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
# Date 1236095890 28800
# Node ID a60140e3cf8d5a09a8be8f71462cea17f47e9a3f
# Parent a26791e2890e59a1f02e5d7050da3d75f8f4e0e2
[TEST] Modifying EAFP/02_reverse.py tc to use cim_define() and cim_start(), cim_destroy().
Also, removed un necessary import statements.
Tested with Xen/XenFV for RHEL 5.3 rpm.
Signed-off-by: Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
diff -r a26791e2890e -r a60140e3cf8d suites/libvirt-cim/cimtest/ElementAllocatedFromPool/02_reverse.py
--- a/suites/libvirt-cim/cimtest/ElementAllocatedFromPool/02_reverse.py Fri Feb 27 03:17:05 2009 -0800
+++ b/suites/libvirt-cim/cimtest/ElementAllocatedFromPool/02_reverse.py Tue Mar 03 07:58:10 2009 -0800
@@ -45,14 +45,11 @@
# Date : 29-11-2007
import sys
-import os
-import pywbem
from XenKvmLib.assoc import Associators
from XenKvmLib.vxml import get_class
from CimTest.Globals import logger, CIM_ERROR_ASSOCIATORS
from XenKvmLib.const import do_main
from CimTest.ReturnCodes import PASS, FAIL
-from XenKvmLib.test_doms import destroy_and_undefine_all
from XenKvmLib.classes import get_typed_class
from XenKvmLib.logicaldevices import verify_device_values
from XenKvmLib.const import default_pool_name
@@ -182,7 +179,6 @@ def main():
test_disk = 'hda'
# Getting the VS list and deleting the test_dom if it already exists.
- destroy_and_undefine_all(server)
virt_type = get_class(virt)
if virt == 'LXC':
vsxml = virt_type(test_dom, vcpus = test_vcpus)
@@ -190,17 +186,24 @@ def main():
vsxml = virt_type(test_dom, mem = test_mem, vcpus = test_vcpus,
mac = test_mac, disk = test_disk)
- ret = vsxml.create(server)
+ ret = vsxml.cim_define(server)
if not ret:
- logger.error("Failed to Create the dom: '%s'", test_dom)
+ logger.error("Failed to define the dom: '%s'", test_dom)
return FAIL
+ status = vsxml.cim_start(server)
+ if status != PASS:
+ vsxml.undefine(server)
+ logger.error("Failed to start the dom: '%s'", test_dom)
+ return status
+
# Get pool list against which the EAFP should be queried
pllist = init_pllist(virt, vsxml, default_pool_name)
status = verify_eafp_values(server, virt, pllist, test_disk)
- vsxml.destroy(server)
+ vsxml.cim_destroy(server)
+ vsxml.undefine(server)
return status
if __name__ == "__main__":
15 years, 9 months
Test Run Summary (Mar 03 2009): KVM on Fedora release 10 (Cambridge) with Pegasus
by Deepti B Kalakeri
=================================================
Test Run Summary (Mar 03 2009): KVM on Fedora release 10 (Cambridge) with Pegasus
=================================================
Distro: Fedora release 10 (Cambridge)
Kernel: 2.6.27.15-170.2.24.fc10.x86_64
libvirt: 0.5.1
Hypervisor: QEMU 0.9.1
CIMOM: Pegasus 2.7.1
Libvirt-cim revision: 812
Libvirt-cim changeset: bad1a43ac1b0
Cimtest revision: 633
Cimtest changeset: a26791e2890e
=================================================
FAIL : 2
XFAIL : 2
SKIP : 4
PASS : 138
-----------------
Total : 146
=================================================
FAIL Test Summary:
ElementConforms - 01_forward.py: FAIL
VirtualSystemManagementService - 09_procrasd_persist.py: FAIL
=================================================
XFAIL Test Summary:
ComputerSystem - 32_start_reboot.py: XFAIL
ComputerSystem - 33_suspend_reboot.py: XFAIL
=================================================
SKIP Test Summary:
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
=================================================
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 - 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
--------------------------------------------------------------------
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: FAIL
ERROR - verify_fields() exception: u'KVM_AllocationCapabilities'
ERROR - Exception: Failed to verify instance
CIM_ERR_INVALID_CLASS: Linux_ComputerSystem
--------------------------------------------------------------------
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
--------------------------------------------------------------------
RedirectionService - 01_enum_crs.py: PASS
--------------------------------------------------------------------
RedirectionService - 02_enum_crscap.py: PASS
--------------------------------------------------------------------
RedirectionService - 03_RedirectionSAP_errs.py: PASS
--------------------------------------------------------------------
ReferencedProfile - 01_verify_refprof.py: PASS
--------------------------------------------------------------------
ReferencedProfile - 02_refprofile_errs.py: PASS
--------------------------------------------------------------------
ResourceAllocationFromPool - 01_forward.py: PASS
--------------------------------------------------------------------
ResourceAllocationFromPool - 02_reverse.py: PASS
--------------------------------------------------------------------
ResourceAllocationFromPool - 03_forward_errs.py: PASS
--------------------------------------------------------------------
ResourceAllocationFromPool - 04_reverse_errs.py: PASS
--------------------------------------------------------------------
ResourceAllocationFromPool - 05_RAPF_err.py: PASS
--------------------------------------------------------------------
ResourcePool - 01_enum.py: PASS
--------------------------------------------------------------------
ResourcePool - 02_rp_gi_errors.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationCapabilities - 01_enum.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 01_enum.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 02_rcps_gi_errors.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 03_CreateResourcePool.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: PASS
--------------------------------------------------------------------
ResourcePoolConfigurationService - 07_DeleteResourcePool.py: PASS
--------------------------------------------------------------------
ServiceAccessBySAP - 01_forward.py: PASS
--------------------------------------------------------------------
ServiceAccessBySAP - 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
--------------------------------------------------------------------
VirtualSystemManagementCapabilities - 01_enum.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 01_definesystem_name.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 02_destroysystem.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 03_definesystem_ess.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 04_definesystem_ers.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 05_destroysystem_neg.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 06_addresource.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 07_addresource_neg.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 08_modifyresource.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 09_procrasd_persist.py: FAIL
ERROR - VirtualQuantity is 0, expected 3
ERROR - Exception: details CPU scheduling not set properly for the dom: procrasd_persist_dom
--------------------------------------------------------------------
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
--------------------------------------------------------------------
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: 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
--------------------------------------------------------------------
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
15 years, 9 months
Re: [Libvirt-cim] Test Run Summary (Jan 19 2009): KVM on Fedora release 9.90.1 (Rawhide) with sfcb
by Tyrel Datwyler
Christopher Buccella/Poughkeepsie/IBM wrote on 02/17/2009 12:52:40 PM:
> > This is probably caused by different versions of CMPI headers.
> > In sfcb's source code, enableIndications is defined in cmpift.h as:
> > CMPIStatus (*enableIndications) (CMPIIndicationMI * mi,
> > const CMPIContext *);
> > The provider took what is defined in the system headers
> > (/usr/include/cmpi/cmpift.h from sblim-cmpi-devel-1.0.4) as:
> > void (*enableIndications)
> > (CMPIIndicationMI* mi, const CMPIContext *);
> >
> > Libvirt-cim doesn't require a code change here, the return type used in
> > the provider depends on what the system level CMPI headers provide.
> > Let's blame me as a guinea pig using the non-stable SUSE beta/rc build.
> >
>
> sfcb's CMPI headers were updated to CMPI 2.0 independently of the
> cmpi-devel headers. We don't really like maintaining our own set of
> headers though, and plan to use the cmpi-devel ones once the
> differences between the two sets are ironed out.
>
This is fixed at the CMPI 1.0 level in sblim-cmpi-devel 1.0.6 which was
released today. CMPI 2.0 headers were also released today, and are
available in the sblim-cmpi-devel 2.0.0 package. As far as when the distros
will pick up either of these releases I'm unsure, aside from RHEL 6.0 which
should be picking up the new 2.0 headers.
Regards,
Tyrel Datwyler
Linux Software Engineer
eServer Systems Management
IBM Systems and Technology Group
Email: tyreld(a)us.ibm.com
External: (503) 578-3489, T/L: 775-3489
15 years, 9 months