Cimtest Report for KVM on Fedora 9 (2008/08/11)

Distro : Fedora 9 Kernel : kernel-2.6.25-0.121.rc5.git4.fc9.x86_64 Libvirt : libvirt-0.4.4 CIMOM : sblim-sfcb-1.3.0 PyWBEM : pywbem-0.6 CIM Schema : cimv216Experimental LibCMPIutil : 83 LibVirtCIM : 665 CIMTEST : 289 ========================================================= PASS : 118 FAILED : 6 XFAIL : 3 SKIP : 6 Total : 133 =======================FAILED============================== ComputerSystemIndication - 01_created_indication.py: FAIL Got indication: KVM_ComputerSystemCreatedIndication Got indication: KVM_ComputerSystemCreatedIndication Here is the debug info on sfcb: Problem processing indication to http://localhost:8008. sfcb rc: 4 CURL error: 52 (Server returned nothing (no headers, no data)) Problem processing indication to http://localhost:8007. sfcb rc: 4 CURL error: 52 (Server returned nothing (no headers, no data)) Problem processing indication to http://localhost:8006. sfcb rc: 4 CURL error: 52 (Server returned nothing (no headers, no data)) ResourcePoolConfigurationService - 03_CreateResourcePool.py: FAIL ERROR - Unexpected rc code 7 and description The requested operation is not supported InvokeMethod(CreateResourcePool): The requested operation is not supported ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: FAIL ERROR - Unexpected rc code 7 and description The requested operation is not supported InvokeMethod(CreateChildResourcePool): The requested operation is not supported ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: FAIL ERROR - Unexpected rc code 7 and description The requested operation is not supported InvokeMethod(RemoveResourcesFromResourcePool): The requested operation is not supported ResourcePoolConfigurationService - 07_DeleteResourcePool.py: FAIL ERROR - Unexpected rc code 7 and description The requested operation is not supported InvokeMethod(DeleteResourcePool): The requested operation is not supported VirtualSystemManagementService - 05_destroysystem_neg.py: FAIL ERROR - destroy_fail>> noname: Error executing DestroySystem ERROR - (1, u'Unable to retrieve domain name.') ERROR - destroy_fail>> nonexistent: Error executing DestroySystem ERROR - (1, u'Failed to find domain') InvokeMethod(DestroySystem): Unable to retrieve domain name. InvokeMethod(DestroySystem): Failed to find domain =======================CIMTEST 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 Bug: 00005 InvokeMethod(RequestStateChange): Domain Operation Failed Bug:<00005> ComputerSystem - 33_suspend_reboot.py: XFAIL Bug: 00005 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: SKIP ComputerSystem - 42_cs_gi_errs.py: PASS ComputerSystemIndication - 01_created_indication.py: FAIL Got indication: KVM_ComputerSystemCreatedIndication Got indication: KVM_ComputerSystemCreatedIndication 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: PASS Memory - 01_memory.py: PASS Memory - 02_defgetmem.py: PASS Memory - 03_mem_gi_errs.py: PASS NetworkPort - 01_netport.py: PASS NetworkPort - 02_np_gi_errors.py: PASS NetworkPort - 03_user_netport.py: PASS Processor - 01_processor.py: PASS Processor - 02_definesys_get_procs.py: PASS Processor - 03_proc_gi_errs.py: PASS Profile - 01_enum.py: PASS Profile - 02_profile_to_elec.py: SKIP 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: PASS ResourcePool - 01_enum.py: PASS ResourcePool - 02_rp_gi_errors.py: PASS ResourcePoolConfigurationCapabilities - 01_enum.py: PASS ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: PASS ResourcePoolConfigurationService - 01_enum.py: PASS ResourcePoolConfigurationService - 02_rcps_gi_errors.py: PASS ResourcePoolConfigurationService - 03_CreateResourcePool.py: FAIL InvokeMethod(CreateResourcePool): The requested operation is not supported ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: FAIL InvokeMethod(CreateChildResourcePool): The requested operation is not supported ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: PASS ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: FAIL InvokeMethod(RemoveResourcesFromResourcePool): The requested operation is not supported ResourcePoolConfigurationService - 07_DeleteResourcePool.py: FAIL InvokeMethod(DeleteResourcePool): The requested operation is not supported SettingsDefine - 01_forward.py: PASS SettingsDefine - 02_reverse.py: PASS SettingsDefine - 03_sds_fwd_errs.py: PASS SettingsDefine - 04_sds_rev_errs.py: PASS SettingsDefineCapabilities - 01_forward.py: PASS SettingsDefineCapabilities - 03_forward_errs.py: XFAIL Bug: Test error: returned XFAIL without a valid bug string. 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: FAIL InvokeMethod(DestroySystem): Unable to retrieve domain name. InvokeMethod(DestroySystem): Failed to find domain 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 VirtualSystemMigrationCapabilities - 01_enum.py: PASS VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: PASS VirtualSystemMigrationService - 01_migratable_host.py: SKIP VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP VirtualSystemMigrationSettingData - 01_enum.py: PASS VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS VirtualSystemSettingDataComponent - 01_forward.py: PASS VirtualSystemSettingDataComponent - 02_reverse.py: PASS VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: PASS VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: PASS VirtualSystemSnapshotService - 01_enum.py: PASS VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: PASS VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: PASS Best, Regards Daisy (运国莲) VSM Team, China Systems & Technology Labs (CSTL) E-mail: yunguol@cn.ibm.com TEL: (86)-21-60922403 Building 10, 399 Ke Yuan Rd, Pudong Shanghai, 201203

GY> Problem processing indication to http://localhost:8008. sfcb rc: 4 CURL error: GY> 52 (Server returned nothing (no headers, no data)) GY> Problem processing indication to http://localhost:8007. sfcb rc: 4 CURL error: GY> 52 (Server returned nothing (no headers, no data)) GY> Problem processing indication to http://localhost:8006. sfcb rc: 4 CURL error: GY> 52 (Server returned nothing (no headers, no data)) This is an SFCB build issue. If it's not properly linked against libcurl, then it can't process incoming HTTP requests for the indications. GY> ResourcePoolConfigurationService - 03_CreateResourcePool.py: FAIL GY> ERROR - Unexpected rc code 7 and description The requested operation is not GY> supported GY> InvokeMethod(CreateResourcePool): The requested operation is not supported GY> ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: FAIL GY> ERROR - Unexpected rc code 7 and description The requested operation is not GY> supported GY> InvokeMethod(CreateChildResourcePool): The requested operation is not supported GY> ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: FAIL GY> ERROR - Unexpected rc code 7 and description The requested operation is not GY> supported GY> InvokeMethod(RemoveResourcesFromResourcePool): The requested operation is not GY> supported GY> ResourcePoolConfigurationService - 07_DeleteResourcePool.py: FAIL GY> ERROR - Unexpected rc code 7 and description The requested operation is not GY> supported GY> InvokeMethod(DeleteResourcePool): The requested operation is not supported Why are these failing? We don't support these methods, so returning NOT_SUPPORTED is the proper behavior. GY> VirtualSystemManagementService - 05_destroysystem_neg.py: FAIL GY> ERROR - destroy_fail>> noname: Error executing DestroySystem GY> ERROR - (1, u'Unable to retrieve domain name.') GY> ERROR - destroy_fail>> nonexistent: Error executing DestroySystem GY> ERROR - (1, u'Failed to find domain') GY> InvokeMethod(DestroySystem): Unable to retrieve domain name. GY> InvokeMethod(DestroySystem): Failed to find domain Any idea why this is failing? -- Dan Smith IBM Linux Technology Center Open Hypervisor Team email: danms@us.ibm.com

GY> ResourcePoolConfigurationService - 03_CreateResourcePool.py: FAIL GY> ERROR - Unexpected rc code 7 and description The requested operation is not GY> supported GY> InvokeMethod(CreateResourcePool): The requested operation is not supported
GY> ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: FAIL GY> ERROR - Unexpected rc code 7 and description The requested operation is not GY> supported GY> InvokeMethod(CreateChildResourcePool): The requested operation is not supported GY> ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: FAIL GY> ERROR - Unexpected rc code 7 and description The requested operation is not GY> supported GY> InvokeMethod(RemoveResourcesFromResourcePool): The requested operation is not GY> supported GY> ResourcePoolConfigurationService - 07_DeleteResourcePool.py: FAIL GY> ERROR - Unexpected rc code 7 and description The requested operation is not GY> supported GY> InvokeMethod(DeleteResourcePool): The requested operation is not supported
Why are these failing? We don't support these methods, so returning NOT_SUPPORTED is the proper behavior.
These tests were written against Pegasus, which returns "CIM_ERR_NOT_SUPPORTED". SFCB is returning "The requested operation is not supported". Daisy - can you update these tests?
GY> VirtualSystemManagementService - 05_destroysystem_neg.py: FAIL GY> ERROR - destroy_fail>> noname: Error executing DestroySystem GY> ERROR - (1, u'Unable to retrieve domain name.') GY> ERROR - destroy_fail>> nonexistent: Error executing DestroySystem GY> ERROR - (1, u'Failed to find domain') GY> InvokeMethod(DestroySystem): Unable to retrieve domain name. GY> InvokeMethod(DestroySystem): Failed to find domain
Any idea why this is failing?
This is a similar problem. SFCB is returning the following errors: "Unable to retrieve domain name." "Failed to find domain" The test is looking for the following errors (because this is what Pegasus returns): "CIM_ERR_FAILED: Unable to retrieve domain name." "CIM_ERR_FAILED: Failed to find domain" Daisy - can you fix this test to work for both Pegasus and SFCB? Thanks! -- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com

KR> The test is looking for the following errors (because this is what KR> Pegasus returns): KR> "CIM_ERR_FAILED: Unable to retrieve domain name." KR> "CIM_ERR_FAILED: Failed to find domain" The error code is the same though, right? I think that it would be better to check the code than the string... -- Dan Smith IBM Linux Technology Center Open Hypervisor Team email: danms@us.ibm.com

Dan Smith wrote:
KR> The test is looking for the following errors (because this is what KR> Pegasus returns): KR> "CIM_ERR_FAILED: Unable to retrieve domain name." KR> "CIM_ERR_FAILED: Failed to find domain"
The error code is the same though, right? I think that it would be better to check the code than the string...
Yep, the return code is the same. But the problem is that the provider returns CIM_ERR_FAILED as the return code, which is the generic return code. So the test is checking the error description to verify that the test failed for the expected reason. There was some talk awhile back about adding provider specific return codes in addition to the standard CIM ones. If we move that way in the future, it'll allow us to check just the error codes in the tests. -- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com

libvirt-cim-bounces@redhat.com wrote on 2008-08-12 04:26:45:
GY> ResourcePoolConfigurationService - 03_CreateResourcePool.py: FAIL GY> ERROR - Unexpected rc code 7 and description The requested operation is not GY> supported GY> InvokeMethod(CreateResourcePool): The requested operation is not supported
GY> ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: FAIL GY> ERROR - Unexpected rc code 7 and description The requested operation is not GY> supported GY> InvokeMethod(CreateChildResourcePool): The requested operation is not supported GY> ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: FAIL GY> ERROR - Unexpected rc code 7 and description The requested operation is not GY> supported GY> InvokeMethod(RemoveResourcesFromResourcePool): The requested operation is not GY> supported GY> ResourcePoolConfigurationService - 07_DeleteResourcePool.py: FAIL GY> ERROR - Unexpected rc code 7 and description The requested operation is not GY> supported GY> InvokeMethod(DeleteResourcePool): The requested operation is not supported
Why are these failing? We don't support these methods, so returning NOT_SUPPORTED is the proper behavior.
These tests were written against Pegasus, which returns "CIM_ERR_NOT_SUPPORTED". SFCB is returning "The requested operation is not supported".
Daisy - can you update these tests?
Patch on the way.
GY> VirtualSystemManagementService - 05_destroysystem_neg.py: FAIL GY> ERROR - destroy_fail>> noname: Error executing DestroySystem GY> ERROR - (1, u'Unable to retrieve domain name.') GY> ERROR - destroy_fail>> nonexistent: Error executing
DestroySystem
GY> ERROR - (1, u'Failed to find domain') GY> InvokeMethod(DestroySystem): Unable to retrieve domain name. GY> InvokeMethod(DestroySystem): Failed to find domain
Any idea why this is failing?
This is a similar problem. SFCB is returning the following errors:
"Unable to retrieve domain name." "Failed to find domain"
The test is looking for the following errors (because this is what Pegasus returns): "CIM_ERR_FAILED: Unable to retrieve domain name." "CIM_ERR_FAILED: Failed to find domain"
Daisy - can you fix this test to work for both Pegasus and SFCB?
Done!
Thanks!
-- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim
participants (3)
-
Dan Smith
-
Guo Lian Yun
-
Kaitlin Rupert