[Libvirt-cim] Re: CimTest Report on XenFV 10-04-2008

Deepti B Kalakeri deeptik at linux.vnet.ibm.com
Mon Apr 14 11:17:49 UTC 2008


Hi,

All the test cases which are failing below

ComputerSystem - 23_suspend_suspend.py: FAIL
ComputerSystem - 27_define_suspend_errs.py: FAIL
ComputerSystem - 32_start_reboot.py: FAIL
ComputerSystem - 33_suspend_reboot.py: FAIL
ComputerSystem - 35_start_reset.py: FAIL
ComputerSystem - 40_RSC_start.py: FAIL
Memory - 02_defgetmem.py: FAIL
Processor - 02_definesys_get_procs.py: FAIL
VirtualSystemManagementService - 01_definesystem_name.py: FAIL


have one thing in common.They make use of create_using_definesystem() 
funtion.
When I ran the tc with the gdb ON I found the following error for XenFV:

/libvir: XML error : missing kernel information
libvir: Xen Daemon error : XML description for domain is not well formed 
or invalid/

I tried modifying the vsms.py functions which is ultimately called by 
the create_using_definesystem().
The only difference I found between the way the Xen and XenFV params was 
the absence of the Kernel info for XenFV.
I tried specifying the normal kernel and the initrd image available on 
my Fc8 FV machine, but even this did not seem to solve the problem.
Can someone help ?


Thanks and Regards,
Deepti.

Deepti B Kalakeri wrote:
> Sorry Forgot the attachment for the complete result.
> Also , in the test report the test cases which do not have support for 
> XenFV are skipped.
> Also see my comments inline for the test result.
>
> Thanks and Regards,
> Deepti.
>
> Deepti B Kalakeri wrote:
>> Hi,
>>
>> Please find the test case list that are failing for the XenFV below:
>> Please see the attachment for the complete result.
>> Total FAIL        : 14
>>
>> ComputerSystem - 04_defineStartVS.py: FAIL
>> Thu, 10 Apr 2008 12:42:52:TEST LOG:INFO         -  
>> ====04_defineStartVS.py Log====
>> Thu, 10 Apr 2008 12:42:53:TEST LOG:ERROR        -  Error: property 
>> values are not set for VS domguest
>>
> The tc are failing since they are not able to get the required 
> property values set immediately.
> Fixed the tc by adding logic to poll.
>> ComputerSystem - 06_paused_active_suspend.py: FAIL
>> Thu, 10 Apr 2008 12:42:58:TEST LOG:INFO         -  
>> ====06_paused_active_suspend.py Log====
>> Thu, 10 Apr 2008 12:42:59:TEST LOG:ERROR        -  Exception: (1, 
>> u'CIM_ERR_FAILED: A general error occurred that is not covered by a 
>> more specific error code: "Domain not running"')
>> Thu, 10 Apr 2008 12:42:59:TEST LOG:ERROR        -  Unable to suspend 
>> dom DomST1 using RequestedStateChange()
>>
> same as above.
> Fixed the tc by adding logic to poll.
>> ComputerSystem - 23_suspend_suspend.py: FAIL
>> Thu, 10 Apr 2008 12:43:03:TEST LOG:INFO         -  
>> ====23_suspend_suspend.py Log====
>> Thu, 10 Apr 2008 12:43:04:TEST LOG:ERROR        -  Unexpected rc code 
>> 1 and description:
>> CIM_ERR_FAILED: A general error occurred that is not covered by a 
>> more specific error code: "Failed to create domain"
>> Thu, 10 Apr 2008 12:43:04:TEST LOG:ERROR        -  Unable to define 
>> domain test_domain using DefineSystem()
>
>>
>> ComputerSystem - 27_define_suspend_errs.py: FAIL
>> Thu, 10 Apr 2008 12:43:05:TEST LOG:INFO         -  
>> ====27_define_suspend_errs.py Log====
>> Thu, 10 Apr 2008 12:43:05:TEST LOG:ERROR        -  Unexpected rc code 
>> 1 and description:
>> CIM_ERR_FAILED: A general error occurred that is not covered by a 
>> more specific error code: "Failed to create domain"
>> Thu, 10 Apr 2008 12:43:05:TEST LOG:ERROR        -  Unable to define 
>> domain test_domain using DefineSystem()
>>
>> ComputerSystem - 32_start_reboot.py: FAIL
>> Thu, 10 Apr 2008 12:43:06:TEST LOG:INFO         -  
>> ====32_start_reboot.py Log====
>> Thu, 10 Apr 2008 12:43:06:TEST LOG:ERROR        -  Unexpected rc code 
>> 1 and description:
>> CIM_ERR_FAILED: A general error occurred that is not covered by a 
>> more specific error code: "Failed to create domain"
>> Thu, 10 Apr 2008 12:43:06:TEST LOG:ERROR        -  Unable to define 
>> domain test_domain using DefineSystem()
>>
>> ComputerSystem - 33_suspend_reboot.py: FAIL
>> Thu, 10 Apr 2008 12:43:08:TEST LOG:INFO         -  
>> ====33_suspend_reboot.py Log====
>> Thu, 10 Apr 2008 12:43:08:TEST LOG:ERROR        -  Unexpected rc code 
>> 1 and description:
>> CIM_ERR_FAILED: A general error occurred that is not covered by a 
>> more specific error code: "Failed to create domain"
>> Thu, 10 Apr 2008 12:43:08:TEST LOG:ERROR        -  Unable to define 
>> domain test_domain using DefineSystem()
>>
>> ComputerSystem - 35_start_reset.py: FAIL
>> Thu, 10 Apr 2008 12:43:09:TEST LOG:INFO         -  
>> ====35_start_reset.py Log====
>> Thu, 10 Apr 2008 12:43:09:TEST LOG:ERROR        -  Unexpected rc code 
>> 1 and description:
>> CIM_ERR_FAILED: A general error occurred that is not covered by a 
>> more specific error code: "Failed to create domain"
>> Thu, 10 Apr 2008 12:43:09:TEST LOG:ERROR        -  Unable to define 
>> domain test_domain using DefineSystem()
>>
>> ComputerSystem - 40_RSC_start.py: FAIL
>> Thu, 10 Apr 2008 12:43:10:TEST LOG:INFO         -  
>> ====40_RSC_start.py Log====
>> Thu, 10 Apr 2008 12:43:11:TEST LOG:ERROR        -  Unexpected rc code 
>> 1 and description:
>> CIM_ERR_FAILED: A general error occurred that is not covered by a 
>> more specific error code: "Failed to create domain"
>> Thu, 10 Apr 2008 12:43:11:TEST LOG:ERROR        -  Exception: 
>> ('Unable create domain %s using DefineSystem()', 'test_domain')
>>
>> ComputerSystemIndication - 01_created_indication.py: FAIL
>> Thu, 10 Apr 2008 12:43:14:TEST LOG:INFO         -  
>> ====01_created_indication.py Log====
>> Thu, 10 Apr 2008 12:46:23:TEST LOG:ERROR        -  error : (110, 
>> 'Connection timed out')
>>
>> Memory - 02_defgetmem.py: FAIL
>> Thu, 10 Apr 2008 12:47:30:TEST LOG:INFO     -  ====02_defgetmem.py 
>> Log====
>> Thu, 10 Apr 2008 12:47:30:TEST LOG:ERROR    -  Unexpected rc code 1 
>> and description:
>> CIM_ERR_FAILED: A general error occurred that is not covered by a 
>> more specific error code: "Failed to create domain"
>> Thu, 10 Apr 2008 12:47:30:TEST LOG:ERROR    -  Exception: Unable to 
>> create domain domu using DefineSys()
>>
> Need to look into the above tc which are failing.
>> NetworkPort - 01_netport.py: FAIL
>> Thu, 10 Apr 2008 12:47:35:TEST LOG:INFO         -  ====01_netport.py 
>> Log====
>> Thu, 10 Apr 2008 12:47:36:TEST LOG:ERROR        -  KeyError : '__eq__'
>>
> Test case error fixed it.
>> Processor - 02_definesys_get_procs.py: FAIL
>> Thu, 10 Apr 2008 12:47:45:TEST LOG:INFO         -  
>> ====02_definesys_get_procs.py Log====
>> Thu, 10 Apr 2008 12:47:45:TEST LOG:ERROR        -  Unexpected rc code 
>> 1 and description:
>> CIM_ERR_FAILED: A general error occurred that is not covered by a 
>> more specific error code: "Failed to create domain"
>> Thu, 10 Apr 2008 12:47:45:TEST LOG:ERROR        -  Exception: Unable 
>> create domain test_domain using DefineSystem()
>>
>> VirtualSystemManagementService - 01_definesystem_name.py: FAIL
>> Thu, 10 Apr 2008 12:49:09:TEST LOG:INFO         -  
>> ====01_definesystem_name.py Log====
>> Thu, 10 Apr 2008 12:49:09:TEST LOG:ERROR        -  Unexpected rc code 
>> 1 and description:
>> CIM_ERR_FAILED: A general error occurred that is not covered by a 
>> more specific error code: "Failed to create domain"
>>
> Need to look into the above tc which are failing.
>> VirtualSystemManagementService - 05_destroysystem_neg.py: FAIL
>> Thu, 10 Apr 2008 12:49:17:TEST LOG:INFO         -  
>> ====05_destroysystem_neg.py Log====
>> Thu, 10 Apr 2008 12:49:17:TEST LOG:ERROR        -  
>> destroy_fail>>nonexistent: Got rc: 2, but we expect 4
>> Thu, 10 Apr 2008 12:49:17:TEST LOG:ERROR        -  
>> destroy_fail>>nonexistent: Got rc: 2, but we expect 4
>>
> The error code returned was mismatching. Fixed it.
> I have a doubt here though.
>
> The part of the code in Virt_VirtualSystemManagementService.c which is 
> checked here does seem to handle all the error condition.
> 520 error:
> 521         if (rc == IM_RC_SYS_NOT_FOUND)
> 522                 cu_statusf(_BROKER, &status,
> 523                            CMPI_RC_ERR_FAILED,
> 524                            "Failed to find domain");
> 525         else if (rc == IM_RC_OK)
> 526                 status = (CMPIStatus){CMPI_RC_OK, NULL};
> 527
> The tc does should have got the "Failed to find domain" error when a 
> nonexisting domain is passed, but this is not so because the part of 
> the code which is used to check this does not set
> the rc to IM_RC_SYS_NOT_FOUND before junping to error , see the code 
> below.
>
>        // Make sure system exists and destroy it.
>        if (!domain_exists(conn, dom_name))
>                goto error;
>
>>
>> Thanks and Regards,
>> Deepti.
> ------------------------------------------------------------------------
>
> ======================================
> CIM Test Report for XenFV
> ======================================
> Distro      : Fedora release 8
> Kernel      : 2.6.21-2950.fc8xen
> Xen version : 3.1.0-rc7-2950.fc8
> Libvirt     : libvirt-0.3.3-2.fc8
> CIMOM       : pegasus
> PyWBEM      : pywbem-0.6
> CIM Schema  : cimv216Experimental
> LibCMPIutil : 72
> LibVirtCIM  : 530
> CIMTEST     : 73
> ======================================
> PASS        : 80
> FAIL        : 14
> XFAIL       : 3
> SKIP        : 32
> -----------------
> Total  : 129
> ======================================
> Cleaned log files.
> Testing XenFV hypervisor
> AllocationCapabilities - 01_enum.py: PASS
> AllocationCapabilities - 02_alloccap_gi_errs.py: PASS
> ComputerSystem - 01_enum.py: PASS
> ComputerSystem - 02_nosystems.py: PASS
> ComputerSystem - 03_defineVS.py: PASS
> ComputerSystem - 04_defineStartVS.py: FAIL
> ComputerSystem - 05_activate_defined_start.py: XFAIL    Bug: 85769
> ComputerSystem - 06_paused_active_suspend.py: FAIL
> InvokeMethod(RequestStateChange): CIM_ERR_FAILED: A general error occurred that is not covered by a more specific error code: "Domain not running"
> ComputerSystem - 22_define_suspend.py: PASS
> ComputerSystem - 23_suspend_suspend.py: FAIL
> InvokeMethod(DefineSystem): CIM_ERR_FAILED: A general error occurred that is not covered by a more specific error code: "Failed to create domain"
> ComputerSystem - 27_define_suspend_errs.py: FAIL
> InvokeMethod(DefineSystem): CIM_ERR_FAILED: A general error occurred that is not covered by a more specific error code: "Failed to create domain"
> ComputerSystem - 32_start_reboot.py: FAIL
> InvokeMethod(DefineSystem): CIM_ERR_FAILED: A general error occurred that is not covered by a more specific error code: "Failed to create domain"
> ComputerSystem - 33_suspend_reboot.py: FAIL
> InvokeMethod(DefineSystem): CIM_ERR_FAILED: A general error occurred that is not covered by a more specific error code: "Failed to create domain"
> ComputerSystem - 35_start_reset.py: FAIL
> InvokeMethod(DefineSystem): CIM_ERR_FAILED: A general error occurred that is not covered by a more specific error code: "Failed to create domain"
> ComputerSystem - 40_RSC_start.py: FAIL
> InvokeMethod(DefineSystem): CIM_ERR_FAILED: A general error occurred that is not covered by a more specific error code: "Failed to create domain"
> ComputerSystem - 41_cs_to_settingdefinestate.py: SKIP
> ComputerSystem - 42_cs_gi_errs.py: PASS
> ComputerSystemIndication - 01_created_indication.py: FAIL
> ElementAllocatedFromPool - 01_forward.py: SKIP
> ElementAllocatedFromPool - 02_reverse.py: SKIP
> ElementAllocatedFromPool - 03_reverse_errs.py: PASS
> ElementAllocatedFromPool - 04_forward_errs.py: PASS
> ElementCapabilities - 01_forward.py: PASS
> ElementCapabilities - 02_reverse.py: PASS
> ElementCapabilities - 03_forward_errs.py: PASS
> ElementCapabilities - 04_reverse_errs.py: PASS
> ElementCapabilities - 05_hostsystem_cap.py: PASS
> ElementConforms - 01_forward.py: PASS
> ElementConforms - 02_reverse.py: PASS
> ElementConforms - 03_ectp_fwd_errs.py: PASS
> ElementConforms - 04_ectp_rev_errs.py: SKIP
> ElementSettingData - 01_forward.py: SKIP
> ElementSettingData - 03_esd_assoc_with_rasd_errs.py: SKIP
> EnabledLogicalElementCapabilities - 01_enum.py: PASS
> EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: PASS
> HostSystem - 01_enum.py: PASS
> HostSystem - 02_hostsystem_to_rasd.py: PASS
> HostSystem - 03_hs_to_settdefcap.py: PASS
> HostSystem - 04_hs_to_EAPF.py: SKIP
> HostSystem - 05_hs_gi_errs.py: PASS
> HostSystem - 06_hs_to_vsms.py: PASS
> HostedDependency - 01_forward.py: SKIP
> HostedDependency - 02_reverse.py: SKIP
> HostedDependency - 03_enabledstate.py: SKIP
> HostedDependency - 04_reverse_errs.py: SKIP
> HostedResourcePool - 01_forward.py: PASS
> HostedResourcePool - 02_reverse.py: PASS
> HostedResourcePool - 03_forward_errs.py: PASS
> HostedResourcePool - 04_reverse_errs.py: PASS
> HostedService - 01_forward.py: PASS
> HostedService - 02_reverse.py: PASS
> HostedService - 03_forward_errs.py: PASS
> HostedService - 04_reverse_errs.py: PASS
> LogicalDisk - 01_disk.py: PASS
> LogicalDisk - 02_nodevs.py: PASS
> LogicalDisk - 03_ld_gi_errs.py: PASS
> Memory - 01_memory.py: PASS
> Memory - 02_defgetmem.py: FAIL
> InvokeMethod(DefineSystem): CIM_ERR_FAILED: A general error occurred that is not covered by a more specific error code: "Failed to create domain"
> Memory - 03_mem_gi_errs.py: PASS
> NetworkPort - 01_netport.py: FAIL
> NetworkPort - 02_np_gi_errors.py: PASS
> NetworkPort - 03_user_netport.py: SKIP
> Processor - 01_processor.py: PASS
> Processor - 02_definesys_get_procs.py: FAIL
> InvokeMethod(DefineSystem): CIM_ERR_FAILED: A general error occurred that is not covered by a more specific error code: "Failed to create domain"
> Processor - 03_proc_gi_errs.py: PASS
> Profile - 01_enum.py: SKIP
> Profile - 02_profile_to_elec.py: SKIP
> Profile - 03_rprofile_gi_errs.py: SKIP
> RASD - 01_verify_rasd_fields.py: PASS
> RASD - 02_enum.py: PASS
> RASD - 03_rasd_errs.py: PASS
> ReferencedProfile - 01_verify_refprof.py: PASS
> ReferencedProfile - 02_refprofile_errs.py: PASS
> ResourceAllocationFromPool - 01_forward.py: PASS
> ResourceAllocationFromPool - 02_reverse.py: PASS
> ResourceAllocationFromPool - 03_forward_errs.py: PASS
> ResourceAllocationFromPool - 04_reverse_errs.py: PASS
> ResourceAllocationFromPool - 05_RAPF_err.py: PASS
> ResourcePool - 01_enum.py: SKIP
> ResourcePool - 02_rp_gi_errors.py: SKIP
> ResourcePoolConfigurationCapabilities - 01_enum.py: PASS
> ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: PASS
> ResourcePoolConfigurationService - 01_enum.py: PASS
> ResourcePoolConfigurationService - 02_rcps_gi_errors.py: PASS
> ResourcePoolConfigurationService - 03_CreateResourcePool.py: PASS
> ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: PASS
> ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: XFAIL      Bug: 92173
> InvokeMethod(AddResourcesToResourcePool): CIM_ERR_FAILED: A general error occurred that is not covered by a more specific error code: "Unknown Method"
> Bug:<92173>
> ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: PASS
> ResourcePoolConfigurationService - 07_DeleteResourcePool.py: PASS
> SettingsDefine - 01_forward.py: PASS
> SettingsDefine - 02_reverse.py: PASS
> SettingsDefine - 03_sds_fwd_errs.py: PASS
> SettingsDefine - 04_sds_rev_errs.py: PASS
> SettingsDefineCapabilities - 01_forward.py: SKIP
> SettingsDefineCapabilities - 03_forward_errs.py: SKIP
> SettingsDefineCapabilities - 04_forward_vsmsdata.py: SKIP
> SettingsDefineCapabilities - 05_reverse_vsmcap.py: SKIP
> SystemDevice - 01_forward.py: PASS
> SystemDevice - 02_reverse.py: PASS
> SystemDevice - 03_fwderrs.py: PASS
> VSSD - 01_enum.py: SKIP
> VSSD - 02_bootldr.py: SKIP
> VSSD - 03_vssd_gi_errs.py: SKIP
> VSSD - 04_vssd_to_rasd.py: PASS
> VirtualSystemManagementCapabilities - 01_enum.py: PASS
> VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS
> VirtualSystemManagementService - 01_definesystem_name.py: FAIL
> InvokeMethod(DefineSystem): CIM_ERR_FAILED: A general error occurred that is not covered by a more specific error code: "Failed to create domain"
> VirtualSystemManagementService - 02_destroysystem.py: PASS
> VirtualSystemManagementService - 03_definesystem_ess.py: PASS
> VirtualSystemManagementService - 04_definesystem_ers.py: PASS
> VirtualSystemManagementService - 05_destroysystem_neg.py: FAIL
> VirtualSystemManagementService - 06_addresource.py: SKIP
> VirtualSystemManagementService - 07_addresource_neg.py: PASS
> VirtualSystemManagementService - 08_modifyresource.py: XFAIL    Bug: 90853
> InvokeMethod(ModifyResourceSettings): CIM_ERR_FAILED: A general error occurred that is not covered by a more specific error code: "Failed to create domain"
> Bug:<90853>
> VirtualSystemMigrationCapabilities - 01_enum.py: PASS
> VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: PASS
> VirtualSystemMigrationService - 01_migratable_host.py: SKIP
> VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP
> VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP
> VirtualSystemMigrationSettingData - 01_enum.py: PASS
> VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS
> VirtualSystemSettingDataComponent - 01_forward.py: SKIP
> VirtualSystemSettingDataComponent - 02_reverse.py: SKIP
> VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: SKIP
> VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: SKIP
> 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
>
>   




More information about the Libvirt-cim mailing list