[Libvirt-cim] Re: XenFV on Pegasus Test Run Summary for Sep 04 2008

Deepti B Kalakeri deeptik at linux.vnet.ibm.com
Fri Sep 5 12:08:10 UTC 2008



Deepti B Kalakeri wrote:
> Below tc passed when run manually.
>
> ComputerSystem - 03_defineVS.py: FAIL
> ElementConforms - 01_forward.py: FAIL
> ElementSettingData - 01_forward.py: FAIL
> HostSystem - 02_hostsystem_to_rasd.py: FAIL
> LogicalDisk - 02_nodevs.py: FAIL
> LogicalDisk - 03_ld_gi_errs.py: FAIL
> Memory - 01_memory.py: FAIL
> NetworkPort - 01_netport.py: FAIL
> VSSD - 04_vssd_to_rasd.py: FAIL
> VirtualSystemManagementService - 08_modifyresource.py: FAIL
>
>
> The following are the test cases which are failing even when manually 
> run and needs investigation:
>
> VirtualSystemManagementService - 06_addresource.py: FAIL
This tc is failing ONLY on Xen/XenFV because of the following reasons:
We are using an non-existing network name in the VS XML file, this works 
for when defining the KVM guest, but for Xen/XenFV it fails.
   Here is the debug messages:
   XML file:
       <domain type='xen'>
       <uuid>30cde8f6-6581-4b1c-969c-04558ceff31c</uuid>
       <name>rstest_domain</name>

    <on_poweroff>destroy</on_poweroff>
    <on_crash>destroy</on_crash>
    <os>
      <type>linux</type>
      <kernel>/tmp/default-xen-kernel</kernel>
      <initrd>/tmp/default-xen-initrd</initrd>
      <cmdline>TERM=xterm</cmdline>
    </os>
    <currentMemory>131072</currentMemory>
    <memory>131072</memory>
    <vcpu>1</vcpu>
    <devices>
    <interface type='bridge'>
      <source bridge='testbridge'/>
      <mac address='11:22:33:aa:bb:cc'/>
      <script path='vif-bridge'/>
    </interface>
    <interface type='network'>
      <mac address='99:aa:bb:cc:ee:ff'/>
      <source network='cimtest-networkpool20'/>
    </interface>
    <disk type='file' device='disk'>
      <source file='/tmp/default-xen-dimage'/>
      <target dev='xvda'/>
    </disk>
    <disk type='file' device='disk'>
      <source file='/tmp/default-xen-dimage.2ND'/>
      <target dev='xvdb'/>  
    </disk>
    </devices>
    </domain>


   _Virsh message:
_    virsh define xen
    libvir: QEMU error : no network with matching name
    error: Failed to define domain from xen
  
   _Debug Messages:

_   misc_util.c(72): Connecting to libvirt with uri `xen'
   libvir: QEMU error : no network with matching name
   Virt_VirtualSystemManagementService.c(770): Failed to define domain 
from XML
   std_invokemethod.c(305): Method `AddResourceSettings' returned 1

   I believe the changes to this particular test case was done to avoid 
the test case failing due to following error seen in the batch runs:
   *"ERROR - Need to give different bridge name since it already exists   "
  
   *If yes, then I think we should revert back to the changes that was 
prior to applying the patch *"[PATCH 4 of 6] [TEST] Make network related 
changes to VSMS tests"*
   Any other suggestions ?*
*

  

> ComputerSystem - 32_start_reboot.py: FAIL
This test case failed for me today with the following error:
--------------------------------------------------------------------
ComputerSystem - 32_start_reboot.py: FAIL
ERROR   - DEBUG: Action is Start
ERROR   - DEBUG : state  is 2
ERROR   - DEBUG: Action is Reboot
ERROR   - CS instance not returned for cs_test_domain.
ERROR   - Attributes for dom 'cs_test_domain' is not set as expected.
CIM_ERR_FAILED: Unable to get domain information
--------------------------------------------------------------------
Since it is evident from the above error, enumclass.getInstance() of the 
poll_for_state_change() was not able to return the VS instance 
immediately after it was rebooted.
I set a delay of 1 sec before calling poll_for_state_change() and the tc 
passed. I submitted a fix for the same in the poll_for_state_change() 
library as this can be a problem for someother tc as well.




> VirtualSystemMigrationService - 02_host_migrate_type.py: FAIL

I am getting the following error , even though the domain is defined the 
poll_for_state_change() is not able to get the CS instance, neither does 
the virsh list --all:
misc_util.c(72): Connecting to libvirt with uri `xen'
libvir: error : invalid argument in __virGetDomain
libvir: Domain error : invalid domain pointer in virDomainFree
misc_util.c(72): Connecting to libvirt with uri `xen'
misc_util.c(199): URI of connection is: xen:///
Virt_HostSystem.c(162): SBLIM: 5 Linux_ComputerSystem
misc_util.c(72): Connecting to libvirt with uri `xen'
misc_util.c(199): URI of connection is: xen:///

Thanks and Regards,
Deepti.

>
>
> Thanks and Regards,
> Deepti.
>
> Deepti B. Kalakeri wrote:
>> =================================================
>> XenFV on Pegasus Test Run Summary for Sep 04 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: 676
>> Libvirt-cim changeset: 2db1158cea31
>> =================================================
>>  FAIL      : 14
>>  XFAIL     : 0
>>  SKIP      : 3
>>  PASS      : 118
>>  -----------------
>>  Total     : 135
>> =================================================
>> FAIL Test Summary:
>> ComputerSystem - 03_defineVS.py: FAIL
>> ComputerSystem - 32_start_reboot.py: FAIL
>> ElementConforms - 01_forward.py: FAIL
>> ElementSettingData - 01_forward.py: FAIL
>> HostSystem - 02_hostsystem_to_rasd.py: FAIL
>> LogicalDisk - 02_nodevs.py: FAIL
>> LogicalDisk - 03_ld_gi_errs.py: FAIL
>> Memory - 01_memory.py: FAIL
>> NetworkPort - 01_netport.py: FAIL
>> VSSD - 04_vssd_to_rasd.py: FAIL
>> VirtualSystemManagementService - 06_addresource.py: FAIL
>> VirtualSystemManagementService - 08_modifyresource.py: FAIL
>> VirtualSystemMigrationService - 02_host_migrate_type.py: FAIL
>>
>>
>> =================================================
>> SKIP Test Summary:
>> ComputerSystem - 02_nosystems.py: SKIP
>> NetworkPort - 03_user_netport.py: SKIP
>> VSSD - 02_bootldr.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: FAIL
>> ERROR     - Failed to enumerate the class of Xen_ComputerSystem
>> ERROR     - Exception: No defined domain (domU1) is found
>> ERROR     - Error: property values are not set for VS domU1
>> --------------------------------------------------------------------
>> ComputerSystem - 04_defineStartVS.py: 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: FAIL
>> ERROR     - EnabledState is 3 instead of 2.
>> ERROR     - Try to increase the timeout and run the test again
>> ERROR     - Attributes for dom 'cs_test_domain' is not set as expected.
>> --------------------------------------------------------------------
>> 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: FAIL
>> ERROR     - Failed to get associators information for 
>> ElementConformsToProfile
>> ERROR     - Exception: not enough arguments for format string
>> --------------------------------------------------------------------
>> ElementConforms - 02_reverse.py: PASS
>> --------------------------------------------------------------------
>> ElementConforms - 03_ectp_fwd_errs.py: PASS
>> --------------------------------------------------------------------
>> ElementConforms - 04_ectp_rev_errs.py: PASS
>> --------------------------------------------------------------------
>> ElementSettingData - 01_forward.py: FAIL
>> ERROR     - Expected at least one VirtualSystemSettingData instance
>> CIM_ERR_NOT_FOUND: No such instance (esd_dom)
>> --------------------------------------------------------------------
>> 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: FAIL
>> ERROR     - Xen_HostSystem with CrossClass_GuestDom was not returned
>> --------------------------------------------------------------------
>> 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: FAIL
>> ERROR     - LogicalDisk returned 1 instead of empty list
>> --------------------------------------------------------------------
>> LogicalDisk - 03_ld_gi_errs.py: FAIL
>> ERROR     - Failed to get instance by the class of Xen_LogicalDisk
>> ERROR     - Exception: (6, u'CIM_ERR_NOT_FOUND: No such instance 
>> (hd_domain/hda)')
>> --------------------------------------------------------------------
>> Memory - 01_memory.py: FAIL
>> ERROR     - Capacity should be 262144 MB instead of 131072 MB
>> --------------------------------------------------------------------
>> Memory - 02_defgetmem.py: PASS
>> --------------------------------------------------------------------
>> Memory - 03_mem_gi_errs.py: PASS
>> --------------------------------------------------------------------
>> NetworkPort - 01_netport.py: FAIL
>> ERROR     - Exception: (6, u'CIM_ERR_NOT_FOUND: No such instance 
>> (test_domain/00:11:22:33:44:55)')
>> --------------------------------------------------------------------
>> NetworkPort - 02_np_gi_errors.py: PASS
>> --------------------------------------------------------------------
>> NetworkPort - 03_user_netport.py: SKIP
>> --------------------------------------------------------------------
>> Processor - 01_processor.py: PASS
>> --------------------------------------------------------------------
>> Processor - 02_definesys_get_procs.py: PASS
>> --------------------------------------------------------------------
>> Processor - 03_proc_gi_errs.py: PASS
>> --------------------------------------------------------------------
>> Profile - 01_enum.py: 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: PASS
>> --------------------------------------------------------------------
>> ResourcePool - 01_enum.py: PASS
>> --------------------------------------------------------------------
>> ResourcePool - 02_rp_gi_errors.py: PASS
>> --------------------------------------------------------------------
>> ResourcePoolConfigurationCapabilities - 01_enum.py: PASS
>> --------------------------------------------------------------------
>> ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: PASS
>> --------------------------------------------------------------------
>> ResourcePoolConfigurationService - 01_enum.py: PASS
>> --------------------------------------------------------------------
>> ResourcePoolConfigurationService - 02_rcps_gi_errors.py: PASS
>> --------------------------------------------------------------------
>> ResourcePoolConfigurationService - 03_CreateResourcePool.py: PASS
>> --------------------------------------------------------------------
>> ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: PASS
>> --------------------------------------------------------------------
>> ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: 
>> PASS
>> --------------------------------------------------------------------
>> ResourcePoolConfigurationService - 
>> 06_RemoveResourcesFromResourcePool.py: PASS
>> --------------------------------------------------------------------
>> ResourcePoolConfigurationService - 07_DeleteResourcePool.py: PASS
>> --------------------------------------------------------------------
>> SettingsDefine - 01_forward.py: PASS
>> --------------------------------------------------------------------
>> SettingsDefine - 02_reverse.py: PASS
>> --------------------------------------------------------------------
>> SettingsDefine - 03_sds_fwd_errs.py: PASS
>> --------------------------------------------------------------------
>> SettingsDefine - 04_sds_rev_errs.py: PASS
>> --------------------------------------------------------------------
>> SettingsDefineCapabilities - 01_forward.py: PASS
>> --------------------------------------------------------------------
>> SettingsDefineCapabilities - 03_forward_errs.py: PASS
>> --------------------------------------------------------------------
>> SettingsDefineCapabilities - 04_forward_vsmsdata.py: PASS
>> --------------------------------------------------------------------
>> SettingsDefineCapabilities - 05_reverse_vsmcap.py: PASS
>> --------------------------------------------------------------------
>> SystemDevice - 01_forward.py: PASS
>> --------------------------------------------------------------------
>> SystemDevice - 02_reverse.py: PASS
>> --------------------------------------------------------------------
>> SystemDevice - 03_fwderrs.py: PASS
>> --------------------------------------------------------------------
>> VSSD - 01_enum.py: PASS
>> --------------------------------------------------------------------
>> VSSD - 02_bootldr.py: SKIP
>> --------------------------------------------------------------------
>> VSSD - 03_vssd_gi_errs.py: PASS
>> --------------------------------------------------------------------
>> VSSD - 04_vssd_to_rasd.py: FAIL
>> ERROR     - Xen_VirtualSystemSettingData with VSSDC_dom was not returned
>> ERROR     - Xen_VirtualSystemSettingData returned 0 VSSD objects, 
>> expected only 1
>> --------------------------------------------------------------------
>> VirtualSystemManagementCapabilities - 01_enum.py: PASS
>> --------------------------------------------------------------------
>> VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS
>> --------------------------------------------------------------------
>> VirtualSystemManagementService - 01_definesystem_name.py: PASS
>> --------------------------------------------------------------------
>> VirtualSystemManagementService - 02_destroysystem.py: 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-kvm-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: FAIL
>> ERROR     - MigrateVirtualSystemToHost took too long
>> --------------------------------------------------------------------
>> VirtualSystemMigrationService - 05_migratable_host_errs.py: PASS
>> --------------------------------------------------------------------
>> VirtualSystemMigrationSettingData - 01_enum.py: PASS
>> --------------------------------------------------------------------
>> VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS
>> --------------------------------------------------------------------
>> VirtualSystemSettingDataComponent - 01_forward.py: FAIL
>> ERROR     - VSSD instance for VSSDC_dom not found
>> CIM_ERR_NOT_FOUND: No such instance (VSSDC_dom)
>> --------------------------------------------------------------------
>> 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
>> --------------------------------------------------------------------
>>
>>   




More information about the Libvirt-cim mailing list