Re: Fw: [TEST] Test failure summary for Xen/XenFV with and without sblim base providers with current resource
by Guo Lian Yun
Guo Lian Yun/China/IBM wrote on 2008-09-10 15:46:25:
> Deepti,
>
> Here is my updates today.
>
> Xen (8)
>
> XenFV (11)
>
> Xen with sblim base providers installed (33)
>
> Person Responsible
>
> ComputerSystem - 01_enum.py
>
> ComputerSystem - 32_start_reboot.py
>
> ComputerSystem - 32_start_reboot.py
>
> ComputerSystem - 32_start_reboot.py
>
> submitted patch for this.
>
> ElementCapabilities - 01_forward.py
>
> ElementCapabilities - 02_reverse.py
>
> ElementCapabilities - 05_hostsystem_cap.py
>
> ElementConforms - 01_forward.py
>
> ElementConforms - 02_reverse.py
>
> EnabledLogicalElementCapabilities - 01_enum.py
>
The Host* related tests fails because that I get none when enumerate
HostSystem with sblim base provider installed.
Below query return NULL to me.
wbemcli ein http://root:password@localhost/root/virt:Xen_HostSystem
Here is the output when I debug HostSystem - 01_enum.py test case.
Virt_HostSystem.c(164): SBLIM: Returned instance
misc_util.c(72): Connecting to libvirt with uri `xen'
misc_util.c(199): URI of connection is: xen:///
Virt_HostSystem.c(164): SBLIM: Returned instance
I will continue to look into this, please let me know if you know more
about it.
Thanks!
> HostSystem - 01_enum.py
>
> HostSystem - 02_hostsystem_to_rasd.py
>
> HostSystem - 03_hs_to_settdefcap.py
>
> HostSystem - 04_hs_to_EAPF.py
>
> HostSystem - 05_hs_gi_errs.py
>
> HostSystem - 06_hs_to_vsms.py
>
> HostedDependency - 01_forward.py
>
> HostedDependency - 02_reverse.py
>
> HostedDependency - 03_enabledstate.py
>
> HostedDependency - 04_reverse_errs.py
>
> HostedResourcePool - 01_forward.py
>
> HostedResourcePool - 02_reverse.py
>
> HostedResourcePool - 03_forward_errs.py
>
> HostedService - 01_forward.py
>
> HostedService - 02_reverse.py
>
> HostedService - 03_forward_errs.py
>
> HostedService - 04_reverse_errs.py
>
> LogicalDisk - 02_nodevs.py
>
> #2 patch under review
>
> LogicalDisk - 03_ld_gi_errs.py
>
> LogicalDisk - 03_ld_gi_errs.py
>
> fix
>
> Memry - 01_memory.py
>
> Memory - 01_memory.py
>
> fix
>
> NetworkPort - 01_netport.py
>
> NetworkPort - 01_netport.py
>
> fix
>
> RASD - 02_enum.py
>
> fix
>
> ResourceAllocationFromPool - 01_forward.py
>
> fix
>
> ResourceAllocationFromPool - 05_RAPF_err.py
>
> fix
>
> ResourcePoolConfigurationService - 01_enum.py
>
> ResourcePoolConfigurationService - 02_rcps_gi_errors.py
>
> VSSD - 02_bootldr.py
>
> VSSD - 02_bootldr.py
>
> #2 patch under review
>
> VSSD - 04_vssd_to_rasd.py
>
> VSSD - 04_vssd_to_rasd.py
>
> #2 patch under review
>
> VirtualSystemManagementService - 06_addresource.py
>
> VirtualSystemManagementService - 06_addresource.py
>
> VirtualSystemManagementService - 06_addresource.py
>
> Sent the tc failures analysis
>
> VirtualSystemManagementService - 08_modifyresource.py
>
> VirtualSystemManagementService - 08_modifyresource.py
>
> VirtualSystemManagementService - 08_modifyresource.py
>
> This did not fail again for me.
>
> VirtualSystemMigrationService - 02_host_migrate_type.py
>
> Under analysis.
>
> VirtualSystemSnapshotService - 01_enum.py
>
> VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py
>
> Best,
> Regards
>
> Daisy (运国莲)
> VSM Team, China Systems & Technology Labs (CSTL)
> E-mail: yunguol(a)cn.ibm.com
> TEL: (86)-21-60922403
> Building 10, 399 Ke Yuan Rd, Pudong Shanghai, 201203
> ----- Forwarded by Guo Lian Yun/China/IBM on 2008-09-10 15:46 -----
>
> Guo Lian Yun/China/IBM
> 2008-09-09 14:36
>
> To
>
> Deepti B Kalakeri/India/IBM@IBMIN@IBMAU
>
> cc
>
> Kaitlin Rupert/Beaverton/IBM@IBMUS
>
> Subject
>
> Re: [TEST] Test failure summary for Xen/XenFV with and without sblim
> base providers with current resource
>
> Update the table.
>
> Xen (8)
>
> XenFV (11)
>
> Xen with sblim base providers installed (33)
>
> Person Responsible
>
> ComputerSystem - 01_enum.py
>
> ComputerSystem - 32_start_reboot.py
>
> ComputerSystem - 32_start_reboot.py
>
> ComputerSystem - 32_start_reboot.py
>
> submitted patch for this.
>
> ElementCapabilities - 01_forward.py
>
> ElementCapabilities - 02_reverse.py
>
> ElementCapabilities - 05_hostsystem_cap.py
>
> ElementConforms - 01_forward.py
>
> ElementConforms - 02_reverse.py
>
> EnabledLogicalElementCapabilities - 01_enum.py
>
> HostSystem - 01_enum.py
>
> HostSystem - 02_hostsystem_to_rasd.py
>
> HostSystem - 03_hs_to_settdefcap.py
>
> HostSystem - 04_hs_to_EAPF.py
>
> HostSystem - 05_hs_gi_errs.py
>
> HostSystem - 06_hs_to_vsms.py
>
> HostedDependency - 01_forward.py
>
> HostedDependency - 02_reverse.py
>
> HostedDependency - 03_enabledstate.py
>
> HostedDependency - 04_reverse_errs.py
>
> HostedResourcePool - 01_forward.py
>
> HostedResourcePool - 02_reverse.py
>
> HostedResourcePool - 03_forward_errs.py
>
> HostedService - 01_forward.py
>
> HostedService - 02_reverse.py
>
> HostedService - 03_forward_errs.py
>
> HostedService - 04_reverse_errs.py
>
> LogicalDisk - 02_nodevs.py
>
> Patch under review
>
> LogicalDisk - 03_ld_gi_errs.py
>
> LogicalDisk - 03_ld_gi_errs.py
>
> Patch under review
>
> Memry - 01_memory.py
>
> Memory - 01_memory.py
>
> Patch under review
>
> NetworkPort - 01_netport.py
>
> NetworkPort - 01_netport.py
>
> Patch under review
>
> RASD - 02_enum.py
>
> Patch under review
>
> ResourceAllocationFromPool - 01_forward.py
>
> Patch under review
>
> ResourceAllocationFromPool - 05_RAPF_err.py
>
> Patch under review
>
> ResourcePoolConfigurationService - 01_enum.py
>
> ResourcePoolConfigurationService - 02_rcps_gi_errors.py
>
> VSSD - 02_bootldr.py
>
> VSSD - 02_bootldr.py
>
> VSSD - 04_vssd_to_rasd.py
>
> VSSD - 04_vssd_to_rasd.py
>
> VirtualSystemManagementService - 06_addresource.py
>
> VirtualSystemManagementService - 06_addresource.py
>
> VirtualSystemManagementService - 06_addresource.py
>
> Sent the tc failures analysis
>
> VirtualSystemManagementService - 08_modifyresource.py
>
> VirtualSystemManagementService - 08_modifyresource.py
>
> VirtualSystemManagementService - 08_modifyresource.py
>
> This did not fail again for me.
>
> VirtualSystemMigrationService - 02_host_migrate_type.py
>
> Under analysis.
>
> VirtualSystemSnapshotService - 01_enum.py
>
> VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py
>
> Best,
> Regards
>
> Daisy (运国莲)
> VSM Team, China Systems & Technology Labs (CSTL)
> E-mail: yunguol(a)cn.ibm.com
> TEL: (86)-21-60922403
> Building 10, 399 Ke Yuan Rd, Pudong Shanghai, 201203
>
> Deepti B Kalakeri/India/IBM@IBMIN
> 2008-09-05 20:59
>
> To
>
> Guo Lian Yun/China/IBM@IBMCN@IBMAU
>
> cc
>
> Kaitlin Rupert/Beaverton/IBM@IBMUS, Kaitlin Rupert/Beaverton/IBM@IBMUS
>
> Subject
>
> Re: [TEST] Test failure summary for Xen/XenFV with and without sblim
> base providers with current resource
>
> Updated the table.
>
> Xen (8)
>
> XenFV (11)
>
> Xen with sblim base providers installed (33)
>
> Person Responsible
>
> ComputerSystem - 01_enum.py
>
> ComputerSystem - 32_start_reboot.py
>
> ComputerSystem - 32_start_reboot.py
>
> ComputerSystem - 32_start_reboot.py
>
> submitted patch for this.
>
> ElementCapabilities - 01_forward.py
>
> ElementCapabilities - 02_reverse.py
>
> ElementCapabilities - 05_hostsystem_cap.py
>
> ElementConforms - 01_forward.py
>
> ElementConforms - 02_reverse.py
>
> EnabledLogicalElementCapabilities - 01_enum.py
>
> HostSystem - 01_enum.py
>
> HostSystem - 02_hostsystem_to_rasd.py
>
> HostSystem - 03_hs_to_settdefcap.py
>
> HostSystem - 04_hs_to_EAPF.py
>
> HostSystem - 05_hs_gi_errs.py
>
> HostSystem - 06_hs_to_vsms.py
>
> HostedDependency - 01_forward.py
>
> HostedDependency - 02_reverse.py
>
> HostedDependency - 03_enabledstate.py
>
> HostedDependency - 04_reverse_errs.py
>
> HostedResourcePool - 01_forward.py
>
> HostedResourcePool - 02_reverse.py
>
> HostedResourcePool - 03_forward_errs.py
>
> HostedService - 01_forward.py
>
> HostedService - 02_reverse.py
>
> HostedService - 03_forward_errs.py
>
> HostedService - 04_reverse_errs.py
>
> LogicalDisk - 02_nodevs.py
>
> LogicalDisk - 03_ld_gi_errs.py
>
> LogicalDisk - 03_ld_gi_errs.py
>
> Memry - 01_memory.py
>
> Memory - 01_memory.py
>
> NetworkPort - 01_netport.py
>
> NetworkPort - 01_netport.py
>
> RASD - 02_enum.py
>
> ResourceAllocationFromPool - 01_forward.py
>
> ResourceAllocationFromPool - 05_RAPF_err.py
>
> ResourcePoolConfigurationService - 01_enum.py
>
> ResourcePoolConfigurationService - 02_rcps_gi_errors.py
>
> VSSD - 02_bootldr.py
>
> VSSD - 02_bootldr.py
>
> VSSD - 04_vssd_to_rasd.py
>
> VSSD - 04_vssd_to_rasd.py
>
> VirtualSystemManagementService - 06_addresource.py
>
> VirtualSystemManagementService - 06_addresource.py
>
> VirtualSystemManagementService - 06_addresource.py
>
> Sent the tc failures analysis
>
> VirtualSystemManagementService - 08_modifyresource.py
>
> VirtualSystemManagementService - 08_modifyresource.py
>
> VirtualSystemManagementService - 08_modifyresource.py
>
> This did not fail again for me.
>
> VirtualSystemMigrationService - 02_host_migrate_type.py
>
> Under analysis.
>
> VirtualSystemSnapshotService - 01_enum.py
>
> VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py
>
> Thanks and Regards,
> Deepti.
>
>
>
15 years, 11 months
[PATCH] [TEST] Check return code of run_remote() in create_netpool_conf()
by Kaitlin Rupert
# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1222101955 25200
# Node ID 16fd8f75598442d71eeb0199fb680ca6564656bc
# Parent c76b2779aca9810f4c3bdf8a0ca768dc3dc9315f
[TEST] Check return code of run_remote() in create_netpool_conf()
Instead of checking the output. Also, add log_param to main.py debug messages for errors encountered by main.py will be printed to stderr/stdout.
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r c76b2779aca9 -r 16fd8f755984 suites/libvirt-cim/lib/XenKvmLib/common_util.py
--- a/suites/libvirt-cim/lib/XenKvmLib/common_util.py Mon Sep 22 07:50:25 2008 -0700
+++ b/suites/libvirt-cim/lib/XenKvmLib/common_util.py Mon Sep 22 09:45:55 2008 -0700
@@ -431,7 +431,8 @@
cmd = "virsh -c %s net-list --all | grep %s" % \
(utils.virt2uri(virt), net_name)
ret, out = utils.run_remote(server, cmd)
- if out != "":
+ # If success, network pool with name net_name already exists
+ if ret == 0:
logger.error("Network pool with name '%s' already exists",
net_name)
return FAIL, "Unknown"
diff -r c76b2779aca9 -r 16fd8f755984 suites/libvirt-cim/main.py
--- a/suites/libvirt-cim/main.py Mon Sep 22 07:50:25 2008 -0700
+++ b/suites/libvirt-cim/main.py Mon Sep 22 09:45:55 2008 -0700
@@ -27,6 +27,7 @@
import sys
sys.path.append('../../lib')
import TestSuite
+from CimTest.Globals import logger, log_param
import commands
from VirtLib import groups
import ConfigParser
@@ -184,6 +185,7 @@
return 1
testsuite = TestSuite.TestSuite(log=True)
+ log_param(file_name=testsuite.log_file)
set_python_path()
@@ -209,6 +211,7 @@
status = setup_env(options.ip, options.virt)
if status != PASS:
print "Please check your environment.\n"
+ testsuite.finish()
return 1
print "\nTesting " + options.virt + " hypervisor"
15 years, 11 months
[PATCH] Fix the AddResources path to not expect an InstanceID from the client
by Dan Smith
# HG changeset patch
# User Dan Smith <danms(a)us.ibm.com>
# Date 1222107208 25200
# Node ID ef7ed29e251d9d09f433a8ef25c0494ec9841cc2
# Parent 3e653cbda42cf949a1c389938aed2c37ba9f90cf
Fix the AddResources path to not expect an InstanceID from the client
Remove the update_resource_settings() function that now no longer
holds common functionality for add and modify. Make _update_resource_settings()
take a domain name to be applied to each of the RASDs in the list, or NULL
if the RASD's InstanceID should be honored.
Signed-off-by: Dan Smith <danms(a)us.ibm.com>
diff -r 3e653cbda42c -r ef7ed29e251d src/Virt_VirtualSystemManagementService.c
--- a/src/Virt_VirtualSystemManagementService.c Wed Sep 10 13:27:03 2008 -0700
+++ b/src/Virt_VirtualSystemManagementService.c Mon Sep 22 11:13:28 2008 -0700
@@ -1333,6 +1333,13 @@
int *count = NULL;
int i;
+ if (devid == NULL) {
+ cu_statusf(_BROKER, &s,
+ CMPI_RC_ERR_INVALID_PARAMETER,
+ "Missing or incomplete InstanceID");
+ goto out;
+ }
+
op = CMGetObjectPath(rasd, &s);
if ((op == NULL) || (s.rc != CMPI_RC_OK))
goto out;
@@ -1420,7 +1427,6 @@
dev = &list[*count];
dev->type = type;
- dev->id = strdup(devid);
rasd_to_vdev(rasd, dominfo, dev, ns);
s = _resource_dynamic(dominfo, dev, RESOURCE_ADD, CLASSNAME(op));
@@ -1448,6 +1454,13 @@
struct virt_device *list;
int *count;
int i;
+
+ if (devid == NULL) {
+ cu_statusf(_BROKER, &s,
+ CMPI_RC_ERR_INVALID_PARAMETER,
+ "Missing or incomplete InstanceID");
+ goto out;
+ }
op = CMGetObjectPath(rasd, &s);
if ((op == NULL) || (s.rc != CMPI_RC_OK))
@@ -1541,7 +1554,32 @@
return s;
}
+static CMPIStatus get_instanceid(CMPIInstance *rasd,
+ char **domain,
+ char **devid)
+{
+ CMPIStatus s = {CMPI_RC_OK, NULL};
+ const char *id;
+
+ if (cu_get_str_prop(rasd, "InstanceID", &id) != CMPI_RC_OK) {
+ cu_statusf(_BROKER, &s,
+ CMPI_RC_ERR_INVALID_PARAMETER,
+ "Missing InstanceID in RASD");
+ return s;
+ }
+
+ if (!parse_fq_devid(id, domain, devid)) {
+ cu_statusf(_BROKER, &s,
+ CMPI_RC_ERR_INVALID_PARAMETER,
+ "Invalid InstanceID `%s'", id);
+ return s;
+ }
+
+ return s;
+}
+
static CMPIStatus _update_resource_settings(const CMPIObjectPath *ref,
+ const char *domain,
CMPIArray *resources,
const CMPIResult *results,
resmod_fn func)
@@ -1565,7 +1603,6 @@
for (i = 0; i < count; i++) {
CMPIData item;
CMPIInstance *inst;
- const char *id = NULL;
char *name = NULL;
char *devid = NULL;
virDomainPtr dom = NULL;
@@ -1573,18 +1610,17 @@
item = CMGetArrayElementAt(resources, i, NULL);
inst = item.value.inst;
- if (cu_get_str_prop(inst, "InstanceID", &id) != CMPI_RC_OK) {
- cu_statusf(_BROKER, &s,
- CMPI_RC_ERR_FAILED,
- "Missing InstanceID");
- goto end;
- }
-
- if (!parse_fq_devid(id, &name, &devid)) {
- cu_statusf(_BROKER, &s,
- CMPI_RC_ERR_FAILED,
- "Bad InstanceID `%s'", id);
- goto end;
+ /* If we were passed a domain name, then we're doing
+ * an AddResources, which means we ignore the InstanceID
+ * of the RASD. If not, then we get the domain name
+ * from the InstanceID of the RASD each time through.
+ */
+ if (domain == NULL) {
+ s = get_instanceid(inst, &name, &devid);
+ if (s.rc != CMPI_RC_OK)
+ break;
+ } else {
+ name = strdup(domain);
}
dom = virDomainLookupByName(conn, name);
@@ -1614,27 +1650,6 @@
virConnectClose(conn);
- return s;
-}
-
-static CMPIStatus update_resource_settings(const CMPIObjectPath *ref,
- const CMPIArgs *argsin,
- const CMPIResult *results,
- resmod_fn func)
-{
- CMPIArray *arr;
- CMPIStatus s;
-
- if (cu_get_array_arg(argsin, "ResourceSettings", &arr) != CMPI_RC_OK) {
- cu_statusf(_BROKER, &s,
- CMPI_RC_ERR_FAILED,
- "Missing ResourceSettings");
- goto out;
- }
-
- s = _update_resource_settings(ref, arr, results, func);
-
- out:
return s;
}
@@ -1706,10 +1721,37 @@
const CMPIArgs *argsin,
CMPIArgs *argsout)
{
- return update_resource_settings(reference,
- argsin,
- results,
- resource_add);
+ CMPIArray *arr;
+ CMPIStatus s;
+ CMPIObjectPath *sys;
+ const char *domain = NULL;
+
+ if (cu_get_array_arg(argsin, "ResourceSettings", &arr) != CMPI_RC_OK) {
+ cu_statusf(_BROKER, &s,
+ CMPI_RC_ERR_FAILED,
+ "Missing ResourceSettings");
+ return s;
+ }
+
+ if (cu_get_ref_arg(argsin, "AffectedConfiguration", &sys) != CMPI_RC_OK) {
+ cu_statusf(_BROKER, &s,
+ CMPI_RC_ERR_INVALID_PARAMETER,
+ "Missing AffectedConfiguration parameter");
+ return s;
+ }
+
+ if (cu_get_str_path(sys, "Name", &domain) != CMPI_RC_OK) {
+ cu_statusf(_BROKER, &s,
+ CMPI_RC_ERR_INVALID_PARAMETER,
+ "AffectedConfiguration has no Name property");
+ return s;
+ }
+
+ return _update_resource_settings(reference,
+ domain,
+ arr,
+ results,
+ resource_add);
}
static CMPIStatus mod_resource_settings(CMPIMethodMI *self,
@@ -1719,10 +1761,21 @@
const CMPIArgs *argsin,
CMPIArgs *argsout)
{
- return update_resource_settings(reference,
- argsin,
- results,
- resource_mod);
+ CMPIArray *arr;
+ CMPIStatus s;
+
+ if (cu_get_array_arg(argsin, "ResourceSettings", &arr) != CMPI_RC_OK) {
+ cu_statusf(_BROKER, &s,
+ CMPI_RC_ERR_FAILED,
+ "Missing ResourceSettings");
+ return s;
+ }
+
+ return _update_resource_settings(reference,
+ NULL,
+ arr,
+ results,
+ resource_mod);
}
static CMPIStatus rm_resource_settings(CMPIMethodMI *self,
@@ -1752,6 +1805,7 @@
goto out;
s = _update_resource_settings(reference,
+ NULL,
resource_arr,
results,
resource_del);
15 years, 11 months
[PATCH] [TEST] Fixing the 06_addresource.py tc of VSMS
by Deepti B. Kalakeri
# HG changeset patch
# User Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
# Date 1222080479 25200
# Node ID da720533a1b7a63c43f864d8bf1e25f384bd81a4
# Parent 892ce3fce2340df3fb51a1160f510d15838f2d54
[TEST] Fixing the 06_addresource.py tc of VSMS.
The tc was failing with Xen/XenFV since it was trying to start a VS using non-existing networkpool.
Tested witn Xen, XenFV and KVM(F9 ) with current sources.
Signed-off-by: Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
diff -r 892ce3fce234 -r da720533a1b7 suites/libvirt-cim/cimtest/VirtualSystemManagementService/06_addresource.py
--- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/06_addresource.py Fri Sep 12 14:35:12 2008 -0700
+++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/06_addresource.py Mon Sep 22 03:47:59 2008 -0700
@@ -34,6 +34,7 @@ from CimTest.ReturnCodes import FAIL, PA
from CimTest.ReturnCodes import FAIL, PASS
from XenKvmLib import vsms_util
from XenKvmLib.const import default_network_name
+from XenKvmLib.common_util import create_netpool_conf, destroy_netpool
sup_types = ['Xen', 'KVM', 'XenFV']
default_dom = 'rstest_domain'
@@ -41,7 +42,8 @@ ntype = 'network'
ntype = 'network'
npool_name = default_network_name + str(random.randint(1, 100))
-def cleanup_env(ip, virt, cxml):
+def cleanup_env(ip, virt, cxml, net_name):
+ destroy_netpool(ip, virt, net_name)
cxml.destroy(ip)
cxml.undefine(ip)
@@ -68,13 +70,21 @@ def main():
'src_path' : cxml.secondary_disk_path
}
+ status, net_name = create_netpool_conf(options.ip, options.virt,
+ use_existing=False,
+ net_name=npool_name)
+ if status != PASS:
+ logger.error('Unable to create network pool')
+ return FAIL
+
+
nasd = vsms.get_nasd_class(options.virt)(type=ntype,
mac=nmac,
name=default_dom,
- virt_net=npool_name)
+ virt_net=net_name)
net_attr = { 'ntype' : ntype,
- 'net_name' : npool_name,
+ 'net_name' : net_name,
'nmac' : nmac
}
@@ -92,13 +102,13 @@ def main():
ret = cxml.define(options.ip)
if not ret:
logger.error("Failed to define the dom: %s", default_dom)
- cleanup_env(options.ip, options.virt, cxml)
+ cleanup_env(options.ip, options.virt, cxml, net_name)
return FAIL
if case == "start":
ret = cxml.start(options.ip)
if not ret:
logger.error("Failed to start the dom: %s", default_dom)
- cleanup_env(options.ip, options.virt, cxml)
+ cleanup_env(options.ip, options.virt, cxml, net_name)
return FAIL
status = vsms_util.add_disk_res(options.ip, service, cxml, vssd_ref,
@@ -111,7 +121,7 @@ def main():
if status != PASS:
break
- cleanup_env(options.ip, options.virt, cxml)
+ cleanup_env(options.ip, options.virt, cxml, net_name)
return status
15 years, 11 months
[PATCH] [TEST] #2 Updating 01_forward.py of ECTP
by Deepti B. Kalakeri
# HG changeset patch
# User Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
# Date 1222070300 25200
# Node ID 4e5946062cb1d8cc7226e9aa7d08123bc3358574
# Parent 892ce3fce2340df3fb51a1160f510d15838f2d54
[TEST] #2 Updating 01_forward.py of ECTP.
Changes:
--------
Patch 2:
--------
1) Removed the provider specific checks.
2) Retained checks specific to key values returned by an association.
3) verified the return value after the cim_define.
Patch 1:
--------
Updated the tc to align with the modifications for "Central Class to profile" and "Update migration profile version" changes.
TC verified for XenFV, Xen and KVM (on F9 ) with current sources.
Signed-off-by: Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
diff -r 892ce3fce234 -r 4e5946062cb1 suites/libvirt-cim/cimtest/ElementConforms/01_forward.py
--- a/suites/libvirt-cim/cimtest/ElementConforms/01_forward.py Fri Sep 12 14:35:12 2008 -0700
+++ b/suites/libvirt-cim/cimtest/ElementConforms/01_forward.py Mon Sep 22 00:58:20 2008 -0700
@@ -6,6 +6,7 @@
# Guolian Yun <yunguol(a)cn.ibm.com>
# Kaitlin Rupert <karupert(a)us.ibm.com>
# Veerendra Chandrappa <vechandr(a)in.ibm.com>
+# 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
@@ -24,13 +25,18 @@
# This tc is used to verify the EnabledState, HealthState, EnabledDefault and
# the Classname are set appropriately for the results returned by the
-# Xen_ElementConformsToProfile association for the Xen_RegisteredProfile class
-# and Xen_ManagedElement Class
+# ElementConformsToProfile association for the RegisteredProfile class
+# and ManagedElement Class
#
# "CIM:DSP1042-SystemVirtualization-1.0.0" ,
# "CIM:DSP1057-VirtualSystem-1.0.0a"
+# "CIM:DSP1059-GenericDeviceResourceVirtualization-1.0.0_d"
+# "CIM:DSP1059-GenericDeviceResourceVirtualization-1.0.0_n"
+# "CIM:DSP1059-GenericDeviceResourceVirtualization-1.0.0_p"
+# "CIM:DSP1045-MemoryResourceVirtualization-1.0.0"
+# "CIM:DSP1081-VirtualSystemMigration-0.8.1"
#
-# Date : 04-12-2007
+# Date : 04-12-2007
import sys
from VirtLib import utils, live
@@ -39,120 +45,192 @@ from XenKvmLib.classes import get_typed_
from XenKvmLib.classes import get_typed_class
from XenKvmLib import vxml
from CimTest import Globals
-from CimTest.Globals import logger, CIM_ERROR_ASSOCIATORS
+from XenKvmLib.common_util import print_field_error
+from CimTest.Globals import logger, CIM_ERROR_ASSOCIATORS, CIM_ERROR_ENUMERATE
from XenKvmLib.const import do_main
from CimTest.ReturnCodes import PASS, FAIL
+from XenKvmLib.enumclass import enumerate
+from XenKvmLib.const import default_network_name, default_pool_name
+
sup_types = ['Xen', 'XenFV', 'KVM', 'LXC']
test_dom = "domU"
-def verify_cs(item, id):
- if item['EnabledState'] != 2 and \
- item['EnabledDefault'] != 2 and \
- item['RequestedState'] != 12 :
- logger.error("Values not set properly for VSP(ComputerSystem)")
+def pool_init(verify_list, pool_cn, pool_name, virt):
+ ccn = get_typed_class(virt, pool_cn)
+ instid = '%s/%s' %(pool_cn, pool_name)
+ verify_list[ccn]= {'InstanceID' : instid }
+ return verify_list
+
+def init_vs_pool_values(server, virt):
+ verify_ectp_list = { }
+ hs_ccn = get_typed_class(virt, 'HostSystem')
+ host = live.hostname(server)
+ cs_fields = {
+ 'CreationClassName' : hs_ccn,
+ 'Name' : host
+ }
+
+ verify_ectp_list[hs_ccn] = cs_fields
+
+ cs_ccn = get_typed_class(virt, 'ComputerSystem')
+ verify_ectp_list[cs_ccn] = cs_fields.copy()
+ verify_ectp_list[cs_ccn]['CreationClassName'] = cs_ccn
+ verify_ectp_list[cs_ccn]['Name'] = test_dom
+
+ vs_ccn = get_typed_class(virt, 'VirtualSystemMigrationService')
+ verify_ectp_list[vs_ccn] = cs_fields.copy()
+ verify_ectp_list[vs_ccn]['CreationClassName'] = vs_ccn
+ verify_ectp_list[vs_ccn]['SystemCreationClassName'] = hs_ccn
+ verify_ectp_list[vs_ccn]['SystemName'] = host
+ verify_ectp_list[vs_ccn]['Name'] = 'MigrationService'
+
+ verify_ectp_list = pool_init(verify_ectp_list, 'DiskPool',
+ default_pool_name, virt)
+ verify_ectp_list = pool_init(verify_ectp_list, 'NetworkPool',
+ default_network_name, virt)
+ verify_ectp_list = pool_init(verify_ectp_list, 'ProcessorPool', 0, virt)
+ verify_ectp_list = pool_init(verify_ectp_list, 'MemoryPool', 0, virt)
+
+
+ return verify_ectp_list
+
+def verify_fields(assoc_val, pllst_index, vs_pool_values):
+ try:
+ field_names = vs_pool_values[pllst_index].keys()
+ values = vs_pool_values[pllst_index]
+ for field in field_names:
+ if values[field] != assoc_val[field]:
+ print_field_error(field, assoc_val[field], values[field])
+ return FAIL
+ except Exception, details:
+ logger.error("Exception: In fn verify_fields() %s", details)
+ return FAIL
+
+ return PASS
+
+def verify_cs_hs_mig_fields(assoc_info, vs_pool_values):
+ try:
+ pllst_index = assoc_info[0]['CreationClassName']
+ assoc_val = None
+ if 'HostSystem' in pllst_index or \
+ 'VirtualSystemMigrationService' in pllst_index:
+ if len(assoc_info) != 1:
+ logger.error("'%s' returned '%d' records, expected 1",
+ pllst_index, len(assoc_info))
+ return FAIL
+ assoc_val = assoc_info[0]
+ else:
+ # For ComputerSystem info
+ for inst in assoc_info:
+ if inst['Name'] == test_dom:
+ assoc_val = inst
+ break
+ except Exception, details:
+ logger.error("Exception: In fn verify_cs_hs_mig_fields() %s", details)
return FAIL
- else:
- logger.info("1. Property values for %s and domain %s is " %
- (id, item['Name']))
- logger.info("EnabState = %d EnabDefault = %d ReqSt = %d" %
- (item['EnabledState'], item['EnabledDefault'],
- item['RequestedState'] ))
+ if assoc_val == None:
+ return FAIL
- return PASS
+ return verify_fields(assoc_val, pllst_index, vs_pool_values)
-def verify_host(item, id):
- if item['EnabledState'] != 5 and \
- item['EnabledDefault'] != 2 and \
- item['RequestedState'] != 12 :
- logger.error("Values not set properly for the the SVP (HostSystem)")
- return FAIL
+def get_proflist(server, reg_classname, virt):
+ profiles_instid_list = []
+ status = PASS
+ try:
+ key_list = ["InstanceID"]
+ proflist = enumerate(server, reg_classname, key_list, virt)
+ if len(proflist) < 7:
+ logger.error("'%s' returned '%d' '%s' objects, expected atleast 7",
+ reg_classname, len(proflist), 'Profile')
+ status = FAIL
- else:
- logger.info("2. Values for %s and host %s is" %
- (id, item['Name']))
- logger.info("EnabState = %d EnabDefault = %d ReqSt = %d" %
- (item['EnabledState'], item['EnabledDefault'],
- item['RequestedState'] ))
+ except Exception, detail:
+ logger.error(CIM_ERROR_ENUMERATE, reg_classname)
+ logger.error("Exception: %s", detail)
+ status = FAIL
- return PASS
+ if status != PASS:
+ return status, profiles_instid_list
+
+ profiles_instid_list = [ profile.InstanceID for profile in proflist ]
+
+ return status, profiles_instid_list
+
+
+def verify_ectp_assoc(server, virt):
+ reg_classname = "RegisteredProfile"
+ an = "ElementConformsToProfile"
+
+ status, inst_lst = get_proflist(server, reg_classname, virt)
+ if status != PASS:
+ return status
+
+ verify_ectp_list = init_vs_pool_values(server, virt)
+ for devid in inst_lst :
+ logger.info("Verifying '%s' with '%s'", an, devid)
+ try:
+ assoc_info = assoc.Associators(server,
+ an,
+ reg_classname,
+ virt,
+ InstanceID = devid)
+ if len(assoc_info) < 1:
+ status = FAIL
+ logger.error(" '%s' returned (%d) '%s' objects", an,
+ len(assoc_info), reg_classname)
+ break
+
+ if 'DSP1059' in devid or 'DSP1045' in devid:
+ instid = assoc_info[0]['InstanceID']
+ index, other = instid.split("/")
+ cn = get_typed_class(virt, index)
+ status = verify_fields(assoc_info[0], cn, verify_ectp_list)
+ else:
+ ccn = assoc_info[0]['CreationClassName']
+ status = verify_cs_hs_mig_fields(assoc_info, verify_ectp_list)
+
+ if status != PASS:
+ break
+
+ except Exception, detail:
+ logger.error(CIM_ERROR_ASSOCIATORS, an)
+ logger.error("Exception: %s" % detail)
+ status = FAIL
+ return status
@do_main(sup_types)
def main():
options = main.options
-
+ server = options.ip
+ virt = options.virt
+
status = PASS
destroy_and_undefine_all(options.ip, options.virt)
virt_xml = vxml.get_class(options.virt)
cxml = virt_xml(test_dom)
- ret = cxml.define(options.ip)
+ ret = cxml.cim_define(server)
if not ret:
logger.error('Unable to define domain %s' % test_dom)
return FAIL
+ ret = cxml.start(server)
+ if not ret:
+ cxml.undefine(server)
+ logger.error('Unable to start domain %s' % test_dom)
+ return FAIL
+
+
prev_namespace = Globals.CIM_NS
Globals.CIM_NS = 'root/interop'
- host = live.hostname(options.ip)
- inst_lst = {
- "InstID1" : "CIM:DSP1042-SystemVirtualization-1.0.0" ,
- "InstID2" : "CIM:DSP1057-VirtualSystem-1.0.0a"
- }
- hs = get_typed_class(options.virt, "HostSystem")
- cs = get_typed_class(options.virt, "ComputerSystem")
+ status = verify_ectp_assoc(server, virt)
- devlist = [
- hs , \
- cs
- ]
-
- for args, devid in inst_lst.items() :
- try:
- assoc_info = assoc.Associators(options.ip,
- "ElementConformsToProfile",
- "RegisteredProfile",
- options.virt,
- InstanceID = devid)
- if len(assoc_info) < 1:
- status = FAIL
- logger.error("ElementConformsToProfile returned %i\
- RegisteredProfile objects" % len(assoc_info))
- break
-
- count = 0
- for info in assoc_info:
- if info['CreationClassName'] == cs :
- if info['Name'] == 'domU' :
- count = count + 1
- verify_cs(info, devid)
-
- elif info['CreationClassName'] == hs and \
- info['Name'] == host:
- count = count + 1
- verify_host(info, devid)
-
- else:
- status = FAIL
- logger.error("CreationClassName Mismatch")
- logger.error("Returned %s instead of %s or %s" % \
- (item['CreationClassName'], devlist[0], devlist[1]))
-
- exp_count = 1
- if count != exp_count:
- status = FAIL
- logger.error("Expected to verify %d instances, not %d." %
- exp_count, count)
-
-
- except Exception, detail:
- logger.error(CIM_ERROR_ASSOCIATORS, 'ElementConformsToProfile')
- logger.error("Exception: %s" % detail)
- status = FAIL
-
- cxml.undefine(options.ip)
Globals.CIM_NS = prev_namespace
+ cxml.destroy(server)
+ cxml.undefine(server)
return status
if __name__ == "__main__":
15 years, 11 months
KVM on sfcb Test Run Summary for Sep 22 2008
by Guo Lian Yun
=================================================
KVM on sfcb Test Run Summary for Sep 22 2008
=================================================
Distro: Fedora release 9.90.1 (Rawhide)
Kernel: 2.6.27-0.323.rc6.fc10.x86_64
libvirt: 0.4.5
Hypervisor: QEMU 0.9.1
CIMOM: sfcb sfcbd 1.3.0
Libvirt-cim revision: 686
Libvirt-cim changeset: 3e653cbda42c
=================================================
FAIL : 12
XFAIL : 4
SKIP : 4
PASS : 115
-----------------
Total : 135
=================================================
FAIL Test Summary:
ComputerSystemIndication - 01_created_indication.py: FAIL
LogicalDisk - 03_ld_gi_errs.py: FAIL
Processor - 03_proc_gi_errs.py: FAIL
SettingsDefine - 03_sds_fwd_errs.py: FAIL
VirtualSystemMigrationCapabilities - 01_enum.py: FAIL
VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: FAIL
VirtualSystemMigrationSettingData - 01_enum.py: FAIL
VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: FAIL
VirtualSystemSnapshotService - 01_enum.py: FAIL
VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: FAIL
VirtualSystemSnapshotServiceCapabilities - 01_enum.py: FAIL
VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py:
FAIL
=================================================
XFAIL Test Summary:
ComputerSystem - 32_start_reboot.py: XFAIL
ComputerSystem - 33_suspend_reboot.py: XFAIL
ResourceAllocationFromPool - 05_RAPF_err.py: XFAIL
SettingsDefineCapabilities - 03_forward_errs.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_suspend_suspend.py: PASS
--------------------------------------------------------------------
ComputerSystem - 27_define_suspend_errs.py: PASS
--------------------------------------------------------------------
ComputerSystem - 32_start_reboot.py: XFAIL
ERROR - Exception: (1, u'Domain Operation Failed')
ERROR - Unable to 'Reboot' dom 'cs_test_domain' using
RequestedStateChange()
InvokeMethod(RequestStateChange): Domain Operation Failed
Bug:<00005>
--------------------------------------------------------------------
ComputerSystem - 33_suspend_reboot.py: XFAIL
ERROR - Exception: (1, u'Domain Operation Failed')
ERROR - Unable to 'Reboot' dom 'test_domain' using
RequestedStateChange()
InvokeMethod(RequestStateChange): Domain Operation Failed
Bug:<00005>
--------------------------------------------------------------------
ComputerSystem - 35_start_reset.py: PASS
--------------------------------------------------------------------
ComputerSystem - 40_RSC_start.py: PASS
--------------------------------------------------------------------
ComputerSystem - 41_cs_to_settingdefinestate.py: PASS
--------------------------------------------------------------------
ComputerSystem - 42_cs_gi_errs.py: PASS
--------------------------------------------------------------------
ComputerSystemIndication - 01_created_indication.py: FAIL
ERROR - Exception: not enough arguments for format string
Got indication: KVM_ComputerSystemCreatedIndication
ERROR - Received indication error: 256
ERROR - Exception: not enough arguments for format string
Got indication: KVM_ComputerSystemCreatedIndication
ERROR - Received indication error: 256
--------------------------------------------------------------------
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
--------------------------------------------------------------------
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: FAIL
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
ERROR - ------ FAILED: INVALID_DevID_Keyvalue------
--------------------------------------------------------------------
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: FAIL
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
ERROR - ------ FAILED: INVALID_DevID_Keyvalue------
--------------------------------------------------------------------
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
--------------------------------------------------------------------
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: XFAIL
ERROR - 'KVM_ResourceAllocationFromPool' association failed to
generate an exception and 'InstanceID' passed.
ERROR - ------FAILED: to verify the RAFP.------
Bug:<>
--------------------------------------------------------------------
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: PASS
--------------------------------------------------------------------
SettingsDefine - 03_sds_fwd_errs.py: FAIL
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
ERROR - ------ FAILED: INVALID_DevID_Keyval------
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
ERROR - ------ FAILED: INVALID_DevID_Keyval------
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
ERROR - ------ FAILED: INVALID_DevID_Keyval------
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
ERROR - ------ FAILED: INVALID_DevID_Keyval------
--------------------------------------------------------------------
SettingsDefine - 04_sds_rev_errs.py: PASS
--------------------------------------------------------------------
SettingsDefineCapabilities - 01_forward.py: PASS
--------------------------------------------------------------------
SettingsDefineCapabilities - 03_forward_errs.py: XFAIL
ERROR - 'KVM_SettingsDefineCapabilities' association failed to
generate an exception and 'WrongClassName' passed.
ERROR - ------ FAILED: Invalid CCName Key Name.------
Bug:<>
--------------------------------------------------------------------
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: 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
--------------------------------------------------------------------
VirtualSystemMigrationCapabilities - 01_enum.py: FAIL
ERROR - KVM_VirtualSystemMigrationCapabilities return 0
instances, excepted only 1 instance
Provider not found or not loadable
--------------------------------------------------------------------
VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: FAIL
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
ERROR - ------ FAILED: Invalid InstanceID Key Name.------
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
ERROR - ------ FAILED: Invalid InstanceID Key Value.------
--------------------------------------------------------------------
VirtualSystemMigrationService - 01_migratable_host.py: SKIP
--------------------------------------------------------------------
VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP
--------------------------------------------------------------------
VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP
--------------------------------------------------------------------
VirtualSystemMigrationSettingData - 01_enum.py: FAIL
ERROR - KVM_VirtualSystemMigrationSettingData return 0
instances, excepted only 1 instance
Provider not found or not loadable
--------------------------------------------------------------------
VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: FAIL
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
ERROR - ------ FAILED: to check INVALID_Instid_KeyName.------
--------------------------------------------------------------------
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: FAIL
ERROR - KVM_VirtualSystemSnapshotService return 0 instances,
excepted only 1 instance
Provider not found or not loadable
--------------------------------------------------------------------
VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: FAIL
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
ERROR - ------ FAILED: to check INVALID_CCName_KeyName.------
--------------------------------------------------------------------
VirtualSystemSnapshotServiceCapabilities - 01_enum.py: FAIL
ERROR - KVM_VirtualSystemSnapshotServiceCapabilities return 0
instances, excepted only 1 instance
Provider not found or not loadable
--------------------------------------------------------------------
VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py:
FAIL
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
ERROR - ------ FAILED: to check INVALID_Instid_KeyName.------
--------------------------------------------------------------------
15 years, 11 months
Xen on Pegasus Test Run Summary for Sep 22 2008
by Guo Lian Yun
=================================================
Xen on Pegasus Test Run Summary for Sep 22 2008
=================================================
Distro: Red Hat Enterprise Linux Server release 5.2 (Tikanga)
Kernel: 2.6.18-92.el5xen
libvirt: 0.3.3
Hypervisor: Xen 3.1.0
CIMOM: Pegasus 2.7.0
Libvirt-cim revision: 686
Libvirt-cim changeset: 3e653cbda42c
=================================================
FAIL : 5
XFAIL : 1
SKIP : 3
PASS : 126
-----------------
Total : 135
=================================================
FAIL Test Summary:
LogicalDisk - 03_ld_gi_errs.py: FAIL
Processor - 03_proc_gi_errs.py: FAIL
SettingsDefine - 03_sds_fwd_errs.py: FAIL
VirtualSystemManagementService - 06_addresource.py: FAIL
VirtualSystemManagementService - 08_modifyresource.py: FAIL
=================================================
XFAIL Test Summary:
ResourceAllocationFromPool - 05_RAPF_err.py: XFAIL
=================================================
SKIP Test Summary:
ComputerSystem - 02_nosystems.py: SKIP
LogicalDisk - 02_nodevs.py: SKIP
NetworkPort - 03_user_netport.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_suspend_suspend.py: PASS
--------------------------------------------------------------------
ComputerSystem - 27_define_suspend_errs.py: PASS
--------------------------------------------------------------------
ComputerSystem - 32_start_reboot.py: PASS
--------------------------------------------------------------------
ComputerSystem - 33_suspend_reboot.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
--------------------------------------------------------------------
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
--------------------------------------------------------------------
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: SKIP
ERROR - System has defined domains; unable to run
--------------------------------------------------------------------
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
(no domain for hd_domain/xvda)')
--------------------------------------------------------------------
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: FAIL
Traceback (most recent call last):
File "/usr/lib64/python2.4/logging/__init__.py", line 731, in emit
msg = self.format(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 617, in format
return fmt.format(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 405, in format
record.message = record.getMessage()
File "/usr/lib64/python2.4/logging/__init__.py", line 276, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.4/logging/__init__.py", line 731, in emit
msg = self.format(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 617, in format
return fmt.format(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 405, in format
record.message = record.getMessage()
File "/usr/lib64/python2.4/logging/__init__.py", line 276, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.4/logging/__init__.py", line 731, in emit
msg = self.format(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 617, in format
return fmt.format(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 405, in format
record.message = record.getMessage()
File "/usr/lib64/python2.4/logging/__init__.py", line 276, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
ERROR - ------ FAILED: INVALID_DevID_Keyvalue------
--------------------------------------------------------------------
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
--------------------------------------------------------------------
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: XFAIL
ERROR - 'Xen_ResourceAllocationFromPool' association failed to
generate an exception and 'InstanceID' passed.
ERROR - ------FAILED: to verify the RAFP.------
Bug:<>
--------------------------------------------------------------------
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: PASS
--------------------------------------------------------------------
SettingsDefine - 03_sds_fwd_errs.py: FAIL
Traceback (most recent call last):
File "/usr/lib64/python2.4/logging/__init__.py", line 731, in emit
msg = self.format(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 617, in format
return fmt.format(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 405, in format
record.message = record.getMessage()
File "/usr/lib64/python2.4/logging/__init__.py", line 276, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.4/logging/__init__.py", line 731, in emit
msg = self.format(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 617, in format
return fmt.format(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 405, in format
record.message = record.getMessage()
File "/usr/lib64/python2.4/logging/__init__.py", line 276, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.4/logging/__init__.py", line 731, in emit
msg = self.format(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 617, in format
return fmt.format(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 405, in format
record.message = record.getMessage()
File "/usr/lib64/python2.4/logging/__init__.py", line 276, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
ERROR - ------ FAILED: INVALID_DevID_Keyval------
Traceback (most recent call last):
File "/usr/lib64/python2.4/logging/__init__.py", line 731, in emit
msg = self.format(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 617, in format
return fmt.format(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 405, in format
record.message = record.getMessage()
File "/usr/lib64/python2.4/logging/__init__.py", line 276, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.4/logging/__init__.py", line 731, in emit
msg = self.format(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 617, in format
return fmt.format(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 405, in format
record.message = record.getMessage()
File "/usr/lib64/python2.4/logging/__init__.py", line 276, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.4/logging/__init__.py", line 731, in emit
msg = self.format(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 617, in format
return fmt.format(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 405, in format
record.message = record.getMessage()
File "/usr/lib64/python2.4/logging/__init__.py", line 276, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
ERROR - ------ FAILED: INVALID_DevID_Keyval------
Traceback (most recent call last):
File "/usr/lib64/python2.4/logging/__init__.py", line 731, in emit
msg = self.format(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 617, in format
return fmt.format(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 405, in format
record.message = record.getMessage()
File "/usr/lib64/python2.4/logging/__init__.py", line 276, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.4/logging/__init__.py", line 731, in emit
msg = self.format(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 617, in format
return fmt.format(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 405, in format
record.message = record.getMessage()
File "/usr/lib64/python2.4/logging/__init__.py", line 276, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.4/logging/__init__.py", line 731, in emit
msg = self.format(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 617, in format
return fmt.format(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 405, in format
record.message = record.getMessage()
File "/usr/lib64/python2.4/logging/__init__.py", line 276, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
ERROR - ------ FAILED: INVALID_DevID_Keyval------
Traceback (most recent call last):
File "/usr/lib64/python2.4/logging/__init__.py", line 731, in emit
msg = self.format(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 617, in format
return fmt.format(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 405, in format
record.message = record.getMessage()
File "/usr/lib64/python2.4/logging/__init__.py", line 276, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.4/logging/__init__.py", line 731, in emit
msg = self.format(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 617, in format
return fmt.format(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 405, in format
record.message = record.getMessage()
File "/usr/lib64/python2.4/logging/__init__.py", line 276, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.4/logging/__init__.py", line 731, in emit
msg = self.format(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 617, in format
return fmt.format(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 405, in format
record.message = record.getMessage()
File "/usr/lib64/python2.4/logging/__init__.py", line 276, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
ERROR - ------ FAILED: INVALID_DevID_Keyval------
--------------------------------------------------------------------
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
--------------------------------------------------------------------
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 - Error invoking AddRS: add_net_res
ERROR - (1, u'CIM_ERR_FAILED: Failed to create domain')
InvokeMethod(AddResourceSettings): CIM_ERR_FAILED: Failed to create domain
--------------------------------------------------------------------
VirtualSystemManagementService - 07_addresource_neg.py: PASS
--------------------------------------------------------------------
VirtualSystemManagementService - 08_modifyresource.py: FAIL
ERROR - Got None, exp /tmp/default-xen-dimage.2ND.
ERROR - Error invoking ModifyRS: mod_disk_res
ERROR - Error changing rs for disk path
--------------------------------------------------------------------
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
--------------------------------------------------------------------
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
--------------------------------------------------------------------
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
--------------------------------------------------------------------
15 years, 11 months
[PATCH] [TEST] Fix HostedService-01_forward.py with sblim base provider installed
by yunguol@cn.ibm.com
# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1222065339 25200
# Node ID 365281e25f086316d4f8561b92bddc3cf8b7f3c9
# Parent 892ce3fce2340df3fb51a1160f510d15838f2d54
[TEST] Fix HostedService-01_forward.py with sblim base provider installed
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 892ce3fce234 -r 365281e25f08 suites/libvirt-cim/cimtest/HostedService/01_forward.py
--- a/suites/libvirt-cim/cimtest/HostedService/01_forward.py Fri Sep 12 14:35:12 2008 -0700
+++ b/suites/libvirt-cim/cimtest/HostedService/01_forward.py Sun Sep 21 23:35:39 2008 -0700
@@ -29,9 +29,10 @@ from CimTest import Globals
from CimTest import Globals
from XenKvmLib.const import do_main
from CimTest.Globals import logger
-from CimTest.ReturnCodes import PASS, FAIL, XFAIL
+from CimTest.ReturnCodes import PASS, FAIL, XFAIL_RC
sup_types = ['Xen', 'XenFV', 'KVM', 'LXC']
+bug = '00007'
@do_main(sup_types)
def main():
@@ -42,6 +43,14 @@ def main():
except Exception:
logger.error(Globals.CIM_ERROR_ENUMERATE % host_sys.name)
return FAIL
+
+ if len(host_sys) == 0:
+ linux_cs = enumclass.enumerate(options.ip, 'ComputerSystem', keys, 'Linux')[0]
+ if len(linux_cs) == 0:
+ return XFAIL_RC(bug)
+ else:
+ host_sys = linux_cs
+
try:
service = assoc.AssociatorNames(options.ip,
"HostedService",
15 years, 11 months
KVM on sfcb Test Run Summary for Sep 18 2008
by Guo Lian Yun
=================================================
KVM on sfcb Test Run Summary for Sep 18 2008
=================================================
Distro: Fedora release 9.90.1 (Rawhide)
Kernel: 2.6.26-rc2-mm1-netns
libvirt: 0.4.5
Hypervisor: QEMU 0.9.1
CIMOM: sfcb sfcbd 1.3.0
Libvirt-cim revision: 686
Libvirt-cim changeset: 3e653cbda42c
=================================================
FAIL : 12
XFAIL : 4
SKIP : 4
PASS : 115
-----------------
Total : 135
=================================================
FAIL Test Summary:
ComputerSystemIndication - 01_created_indication.py: FAIL
LogicalDisk - 03_ld_gi_errs.py: FAIL
Processor - 03_proc_gi_errs.py: FAIL
SettingsDefine - 03_sds_fwd_errs.py: FAIL
VirtualSystemMigrationCapabilities - 01_enum.py: FAIL
VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: FAIL
VirtualSystemMigrationSettingData - 01_enum.py: FAIL
VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: FAIL
VirtualSystemSnapshotService - 01_enum.py: FAIL
VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: FAIL
VirtualSystemSnapshotServiceCapabilities - 01_enum.py: FAIL
VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py:
FAIL
=================================================
XFAIL Test Summary:
ComputerSystem - 32_start_reboot.py: XFAIL
ComputerSystem - 33_suspend_reboot.py: XFAIL
ResourceAllocationFromPool - 05_RAPF_err.py: XFAIL
SettingsDefineCapabilities - 03_forward_errs.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_suspend_suspend.py: PASS
--------------------------------------------------------------------
ComputerSystem - 27_define_suspend_errs.py: PASS
--------------------------------------------------------------------
ComputerSystem - 32_start_reboot.py: XFAIL
ERROR - Exception: (1, u'Domain Operation Failed')
ERROR - Unable to 'Reboot' dom 'cs_test_domain' using
RequestedStateChange()
InvokeMethod(RequestStateChange): Domain Operation Failed
Bug:<00005>
--------------------------------------------------------------------
ComputerSystem - 33_suspend_reboot.py: XFAIL
ERROR - Exception: (1, u'Domain Operation Failed')
ERROR - Unable to 'Reboot' dom 'test_domain' using
RequestedStateChange()
InvokeMethod(RequestStateChange): Domain Operation Failed
Bug:<00005>
--------------------------------------------------------------------
ComputerSystem - 35_start_reset.py: PASS
--------------------------------------------------------------------
ComputerSystem - 40_RSC_start.py: PASS
--------------------------------------------------------------------
ComputerSystem - 41_cs_to_settingdefinestate.py: PASS
--------------------------------------------------------------------
ComputerSystem - 42_cs_gi_errs.py: PASS
--------------------------------------------------------------------
ComputerSystemIndication - 01_created_indication.py: FAIL
ERROR - Exception: not enough arguments for format string
Got indication: KVM_ComputerSystemCreatedIndication
ERROR - Received indication error: 256
ERROR - Exception: not enough arguments for format string
Got indication: KVM_ComputerSystemCreatedIndication
ERROR - Received indication error: 256
--------------------------------------------------------------------
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
--------------------------------------------------------------------
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: FAIL
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
ERROR - ------ FAILED: INVALID_DevID_Keyvalue------
--------------------------------------------------------------------
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: FAIL
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
ERROR - ------ FAILED: INVALID_DevID_Keyvalue------
--------------------------------------------------------------------
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
--------------------------------------------------------------------
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: XFAIL
ERROR - 'KVM_ResourceAllocationFromPool' association failed to
generate an exception and 'InstanceID' passed.
ERROR - ------FAILED: to verify the RAFP.------
Bug:<>
--------------------------------------------------------------------
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: PASS
--------------------------------------------------------------------
SettingsDefine - 03_sds_fwd_errs.py: FAIL
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
ERROR - ------ FAILED: INVALID_DevID_Keyval------
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
ERROR - ------ FAILED: INVALID_DevID_Keyval------
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
ERROR - ------ FAILED: INVALID_DevID_Keyval------
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
ERROR - ------ FAILED: INVALID_DevID_Keyval------
--------------------------------------------------------------------
SettingsDefine - 04_sds_rev_errs.py: PASS
--------------------------------------------------------------------
SettingsDefineCapabilities - 01_forward.py: PASS
--------------------------------------------------------------------
SettingsDefineCapabilities - 03_forward_errs.py: XFAIL
ERROR - 'KVM_SettingsDefineCapabilities' association failed to
generate an exception and 'WrongClassName' passed.
ERROR - ------ FAILED: Invalid CCName Key Name.------
Bug:<>
--------------------------------------------------------------------
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: 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
--------------------------------------------------------------------
VirtualSystemMigrationCapabilities - 01_enum.py: FAIL
ERROR - KVM_VirtualSystemMigrationCapabilities return 0
instances, excepted only 1 instance
Provider not found or not loadable
--------------------------------------------------------------------
VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: FAIL
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
ERROR - ------ FAILED: Invalid InstanceID Key Name.------
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
ERROR - ------ FAILED: Invalid InstanceID Key Value.------
--------------------------------------------------------------------
VirtualSystemMigrationService - 01_migratable_host.py: SKIP
--------------------------------------------------------------------
VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP
--------------------------------------------------------------------
VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP
--------------------------------------------------------------------
VirtualSystemMigrationSettingData - 01_enum.py: FAIL
ERROR - KVM_VirtualSystemMigrationSettingData return 0
instances, excepted only 1 instance
Provider not found or not loadable
--------------------------------------------------------------------
VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: FAIL
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
ERROR - ------ FAILED: to check INVALID_Instid_KeyName.------
--------------------------------------------------------------------
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: FAIL
ERROR - KVM_VirtualSystemSnapshotService return 0 instances,
excepted only 1 instance
Provider not found or not loadable
--------------------------------------------------------------------
VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: FAIL
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
ERROR - ------ FAILED: to check INVALID_CCName_KeyName.------
--------------------------------------------------------------------
VirtualSystemSnapshotServiceCapabilities - 01_enum.py: FAIL
ERROR - KVM_VirtualSystemSnapshotServiceCapabilities return 0
instances, excepted only 1 instance
Provider not found or not loadable
--------------------------------------------------------------------
VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py:
FAIL
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Traceback (most recent call last):
File "/usr/lib64/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/usr/lib64/python2.5/logging/__init__.py", line 418, in format
record.message = record.getMessage()
File "/usr/lib64/python2.5/logging/__init__.py", line 288, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
ERROR - ------ FAILED: to check INVALID_Instid_KeyName.------
--------------------------------------------------------------------
15 years, 11 months
[PATCH] [TEST] #4 Fix LogicalDisk - 02_nodevs.py
by yunguol@cn.ibm.com
# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1221535110 25200
# Node ID ff1df42efd6b7dff7f5a4d595fe37abf558b124b
# Parent 12931170a223bf6194177be33dfad154d7cb21e9
[TEST] #4 Fix LogicalDisk - 02_nodevs.py
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 12931170a223 -r ff1df42efd6b suites/libvirt-cim/cimtest/LogicalDisk/02_nodevs.py
--- a/suites/libvirt-cim/cimtest/LogicalDisk/02_nodevs.py Wed Sep 10 18:58:22 2008 -0700
+++ b/suites/libvirt-cim/cimtest/LogicalDisk/02_nodevs.py Mon Sep 15 20:18:30 2008 -0700
@@ -25,8 +25,9 @@
import sys
import pywbem
-from VirtLib import live
+from time import sleep
from XenKvmLib import devices
+from XenKvmLib import enumclass
from CimTest.Globals import logger, CIM_ERROR_ENUMERATE
from XenKvmLib.const import do_main
from CimTest.ReturnCodes import PASS, FAIL, SKIP
@@ -35,17 +36,17 @@ sup_types = ['Xen', 'KVM', 'XenFV', 'LXC
test_dom = "test_domain"
def clean_system(host, virt='Xen'):
- l = live.domain_list(host, virt)
-
- if virt == "XenFV" or virt == "Xen":
- if len(l) > 1:
- return False
+ timer_count = 10
+ for count in range(0, timer_count):
+ keys = ['Name', 'CreationClassName']
+ l = enumclass.enumerate(host, 'ComputerSystem', keys, virt)
+ if len(l) == 0:
+ return True
+ if virt == 'Xen' or virt == 'XenFV':
+ sleep(1)
else:
- return True
- elif len(l) > 0:
- return False
- else:
- return True
+ break
+ return False
@do_main(sup_types)
def main():
15 years, 11 months