KVM on Pegasus Test Run Summary for Dec 15 2008

================================================= KVM on Pegasus Test Run Summary for Dec 15 2008 ================================================= Distro: Fedora release 9 (Sulphur) Kernel: 2.6.25.14-108.fc9.x86_64 libvirt: 0.4.4 Hypervisor: QEMU 0.9.1 CIMOM: Pegasus 2.7.0 Libvirt-cim revision: 613 Libvirt-cim changeset: 1fcf330fadf8+ Cimtest revision: 539 Cimtest changeset: d63674216d3f ================================================= FAIL : 2 XFAIL : 2 SKIP : 6 PASS : 129 ----------------- Total : 139 ================================================= FAIL Test Summary: VirtualSystemManagementService - 14_define_sys_disk.py: FAIL VirtualSystemManagementService - 15_mod_system_settings.py: FAIL ================================================= XFAIL Test Summary: ComputerSystem - 32_start_reboot.py: XFAIL ComputerSystem - 33_suspend_reboot.py: XFAIL ================================================= SKIP Test Summary: RedirectionService - 01_enum_crs.py: SKIP RedirectionService - 02_enum_crscap.py: SKIP 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'CIM_ERR_FAILED: Domain Operation Failed') ERROR - Unable to 'Reboot' dom 'cs_test_domain' using RequestedStateChange() InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Domain Operation Failed Bug:<00005> -------------------------------------------------------------------- ComputerSystem - 33_suspend_reboot.py: XFAIL ERROR - Exception: (1, u'CIM_ERR_FAILED: Domain Operation Failed') ERROR - Unable to 'Reboot' dom 'test_domain' using RequestedStateChange() InvokeMethod(RequestStateChange): CIM_ERR_FAILED: 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: 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: PASS -------------------------------------------------------------------- LogicalDisk - 03_ld_gi_errs.py: PASS -------------------------------------------------------------------- Memory - 01_memory.py: PASS -------------------------------------------------------------------- Memory - 02_defgetmem.py: PASS -------------------------------------------------------------------- Memory - 03_mem_gi_errs.py: PASS -------------------------------------------------------------------- NetworkPort - 01_netport.py: PASS -------------------------------------------------------------------- NetworkPort - 02_np_gi_errors.py: PASS -------------------------------------------------------------------- NetworkPort - 03_user_netport.py: PASS -------------------------------------------------------------------- Processor - 01_processor.py: PASS -------------------------------------------------------------------- Processor - 02_definesys_get_procs.py: PASS -------------------------------------------------------------------- Processor - 03_proc_gi_errs.py: PASS -------------------------------------------------------------------- Profile - 01_enum.py: PASS -------------------------------------------------------------------- Profile - 02_profile_to_elec.py: PASS -------------------------------------------------------------------- Profile - 03_rprofile_gi_errs.py: PASS -------------------------------------------------------------------- RASD - 01_verify_rasd_fields.py: PASS -------------------------------------------------------------------- RASD - 02_enum.py: PASS -------------------------------------------------------------------- RASD - 03_rasd_errs.py: PASS -------------------------------------------------------------------- RASD - 04_disk_rasd_size.py: PASS -------------------------------------------------------------------- RedirectionService - 01_enum_crs.py: SKIP -------------------------------------------------------------------- RedirectionService - 02_enum_crscap.py: SKIP -------------------------------------------------------------------- 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: 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 -------------------------------------------------------------------- VirtualSystemManagementService - 14_define_sys_disk.py: FAIL ERROR - Unexpected rc code 1 and description: CIM_ERR_FAILED: ResourceSettings Error: Missing `VirtualDevice' property ERROR - Unable to define rstest_disk_domain InvokeMethod(DefineSystem): CIM_ERR_FAILED: ResourceSettings Error: Missing `VirtualDevice' property -------------------------------------------------------------------- VirtualSystemManagementService - 15_mod_system_settings.py: FAIL ERROR - rstest_domain not updated properly. ERROR - Exp AutomaticRecoveryAction=3, got 2 -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationService - 01_migratable_host.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 01_forward.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 02_reverse.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: PASS --------------------------------------------------------------------

Guo Lian Yun wrote:
================================================= KVM on Pegasus Test Run Summary for Dec 15 2008 ================================================= Distro: Fedora release 9 (Sulphur) Kernel: 2.6.25.14-108.fc9.x86_64 libvirt: 0.4.4 Hypervisor: QEMU 0.9.1 CIMOM: Pegasus 2.7.0 Libvirt-cim revision: 613 Libvirt-cim changeset: 1fcf330fadf8+ Cimtest revision: 539 Cimtest changeset: d63674216d3f ================================================= FAIL : 2 XFAIL : 2 SKIP : 6 PASS : 129 ----------------- Total : 139 ================================================= FAIL Test Summary: VirtualSystemManagementService - 14_define_sys_disk.py: FAIL
The above tc is failing because of the the missing VirtualDevice field in the DiskRASD passed to DefineSystem(). The net, disk, proc, mem RASD properties passed to the DefineSystem() in this tc are obtained by the association of AC with SettingsDefineCapabilities. With the F9 rpm the VirtualDevice field in the DiskRASD is not set and hence the DefineSystem() throws an error. The tc passes when we include rasd['VirtualDevice'] field to contain appropriate VirtualDevice value 'hda' in case [KVM] of F9 rpm. I have a doubt here, the changes to throw an error on Missing VirtualDevice field was included in the modifications made to the patch with revision 681 "Remove the default implied VirtualDevice on DiskRASD", but the changes included in the F9 rpm are upto 613. Can you let me know upto which changeset does the F9 rpm cover?
VirtualSystemManagementService - 15_mod_system_settings.py: FAIL The tc fails only with the KVM F9 rpm. The value of AutomaticRecoveryAction is set to 2 only for KVM with F9 rpm, otherwise the value is 3 for Xen and KVM with current sources. I am not able to track if this was expected behavior of setting AutomaticRecoveryAction to 2 when the F9 rpm was built and was changed later to be set to 3 for the modifications beyond revision 613. Can you help ?
Thanks and Regards, Deepti.

FAIL Test Summary: VirtualSystemManagementService - 14_define_sys_disk.py: FAIL The above tc is failing because of the the missing VirtualDevice field in the DiskRASD passed to DefineSystem(). The net, disk, proc, mem RASD properties passed to the DefineSystem() in this tc are obtained by the association of AC with SettingsDefineCapabilities. With the F9 rpm the VirtualDevice field in the DiskRASD is not set and hence the DefineSystem() throws an error. The tc passes when we include rasd['VirtualDevice'] field to contain appropriate VirtualDevice value 'hda' in case [KVM] of F9 rpm.
I have a doubt here, the changes to throw an error on Missing VirtualDevice field was included in the modifications made to the patch with revision 681 "Remove the default implied VirtualDevice on DiskRASD", but the changes included in the F9 rpm are upto 613. Can you let me know upto which changeset does the F9 rpm cover?
This is because the F9 rpm has additional patches applied to it. The last rpm update we did, we added the DiskRASD patch (along with a few others). You can tell patches have been applied, because the revision number is 613+ instead of 613. This makes branching the test difficult because you cannot rely on the revision number alone. What you can do is check the changeset value. In const.py, you can designate the change set as the F9 changeset. This will allow you to branch tests appropriately.
VirtualSystemManagementService - 15_mod_system_settings.py: FAIL The tc fails only with the KVM F9 rpm. The value of AutomaticRecoveryAction is set to 2 only for KVM with F9 rpm, otherwise the value is 3 for Xen and KVM with current sources. I am not able to track if this was expected behavior of setting AutomaticRecoveryAction to 2 when the F9 rpm was built and was changed later to be set to 3 for the modifications beyond revision 613. Can you help ?
Looks like this is being caused by a bug in the F9 libvirt rpm. Do the following to reproduce this issue just using virsh: 1) Run the test, dump the guest xml. 2) Modify the guest xml so that <on_crash> is set to restart. 3) Define the guest using the xml. 4) Dump the xml of the newly defined guest. The value for <on_crash> will be destroy, not restart. I'd add a bug on the wiki page and have this test XFAIL on F9. -- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com

Kaitlin Rupert wrote:
FAIL Test Summary: VirtualSystemManagementService - 14_define_sys_disk.py: FAIL The above tc is failing because of the the missing VirtualDevice field in the DiskRASD passed to DefineSystem(). The net, disk, proc, mem RASD properties passed to the DefineSystem() in this tc are obtained by the association of AC with SettingsDefineCapabilities. With the F9 rpm the VirtualDevice field in the DiskRASD is not set and hence the DefineSystem() throws an error. The tc passes when we include rasd['VirtualDevice'] field to contain appropriate VirtualDevice value 'hda' in case [KVM] of F9 rpm.
I have a doubt here, the changes to throw an error on Missing VirtualDevice field was included in the modifications made to the patch with revision 681 "Remove the default implied VirtualDevice on DiskRASD", but the changes included in the F9 rpm are upto 613. Can you let me know upto which changeset does the F9 rpm cover?
This is because the F9 rpm has additional patches applied to it. The last rpm update we did, we added the DiskRASD patch (along with a few others).
You can tell patches have been applied, because the revision number is 613+ instead of 613.
This makes branching the test difficult because you cannot rely on the revision number alone.
What you can do is check the changeset value. In const.py, you can designate the change set as the F9 changeset. This will allow you to branch tests appropriately. Can you elaborate here more, I did not get your point here.
VirtualSystemManagementService - 15_mod_system_settings.py: FAIL The tc fails only with the KVM F9 rpm. The value of AutomaticRecoveryAction is set to 2 only for KVM with F9 rpm, otherwise the value is 3 for Xen and KVM with current sources. I am not able to track if this was expected behavior of setting AutomaticRecoveryAction to 2 when the F9 rpm was built and was changed later to be set to 3 for the modifications beyond revision 613. Can you help ?
Looks like this is being caused by a bug in the F9 libvirt rpm. Do the following to reproduce this issue just using virsh:
1) Run the test, dump the guest xml.
2) Modify the guest xml so that <on_crash> is set to restart.
3) Define the guest using the xml.
4) Dump the xml of the newly defined guest. The value for <on_crash> will be destroy, not restart.
I'd add a bug on the wiki page and have this test XFAIL on F9.
I have added bug "00010" for the above problem on the wiki, please have a look at it. I have updated the tc and submitted a patch for the same. Thanks and Regards, Deepti.

Deepti B Kalakeri wrote:
Kaitlin Rupert wrote:
FAIL Test Summary: VirtualSystemManagementService - 14_define_sys_disk.py: FAIL The above tc is failing because of the the missing VirtualDevice field in the DiskRASD passed to DefineSystem(). The net, disk, proc, mem RASD properties passed to the DefineSystem() in this tc are obtained by the association of AC with SettingsDefineCapabilities. With the F9 rpm the VirtualDevice field in the DiskRASD is not set and hence the DefineSystem() throws an error. The tc passes when we include rasd['VirtualDevice'] field to contain appropriate VirtualDevice value 'hda' in case [KVM] of F9 rpm.
I have a doubt here, the changes to throw an error on Missing VirtualDevice field was included in the modifications made to the patch with revision 681 "Remove the default implied VirtualDevice on DiskRASD", but the changes included in the F9 rpm are upto 613. Can you let me know upto which changeset does the F9 rpm cover?
This is because the F9 rpm has additional patches applied to it. The last rpm update we did, we added the DiskRASD patch (along with a few others).
You can tell patches have been applied, because the revision number is 613+ instead of 613.
This makes branching the test difficult because you cannot rely on the revision number alone.
What you can do is check the changeset value. In const.py, you can designate the change set as the F9 changeset. This will allow you to branch tests appropriately. Can you elaborate here more, I did not get your point here.
get_provider_version() returns the changeset number. So in const.py, you can do: f9_changeset = "1fcf330fadf8+" When you need to branch, you can do: if changeset == const.f9_changeset: #Handle F9 case here It's not a very clean solution, but there's not a very easy way of telling what patches have been applied (unless you look at the rpm spec file, which would be out of the scope of cimtest). -- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com
participants (3)
-
Deepti B Kalakeri
-
Guo Lian Yun
-
Kaitlin Rupert