From jyang at redhat.com Mon Jan 4 13:40:42 2010 From: jyang at redhat.com (Osier Yang) Date: Mon, 04 Jan 2010 21:40:42 +0800 Subject: [Libvirt-cim] question about libvirt-cim testing. Message-ID: <4B41EFDA.6040703@redhat.com> Hi all I got a testing result (see the attachment) that seems not reasonable with cimtest --- with just 50 about cases passed. And I just want to known if it's caused by my testing enviroment or the problem of libvirt-cim self. Tried find out myself, but because not very farmiliar with CIM, so didn't helps. Any suggestion will be appreciatec. The steps of setting up testing enviroment is as follows: 1> install an RHEL5.5-Server, (x86_64) 2> updated the related packages to the newest version: [root at dhcp-66-70-64 ~]# rpm -qa | grep xen kernel-xen-2.6.18-183.el5 xen-devel-3.0.3-102.el5 xen-libs-3.0.3-102.el5 [root at dhcp-66-70-64 ~]# rpm -qa | grep libvirt libvirt-devel-0.6.3-28.el5 libvirt-debuginfo-0.6.3-28.el5 libvirt-cim-0.5.8-2.el5 libvirt-python-0.6.3-28.el5 libvirt-0.6.3-28.el5 libvirt-0.6.3-28.el5 libvirt-cim-debuginfo-0.5.8-2.el5 [root at dhcp-66-70-64 ~]# rpm -qa | grep cmpi libcmpiutil-0.5-1.el5 libcmpiutil-0.5-1.el5 libcmpiutil-devel-0.5-1.el5 libcmpiutil-debuginfo-0.5-1.el5 [root at dhcp-66-70-64 ~]# rpm -qa | grep pega tog-pegasus-devel-2.9.1-1.el5 tog-pegasus-devel-2.9.1-1.el5 tog-pegasus-2.9.1-1.el5 3> install sblim-wbemcli # yum install sblim-wbemcli -y 4> config CIM server (tog-pegasus) # cimconfig -p -s enableHttpConnection=true # cimconfig -p -s repositoryIsDefaultInstanceProvider=true 5> restart CIM server # service tog-pegasus restart 6> get the providers list (verify) [root at dhcp-66-70-64 ~]# wbemcli ecn http://root:redhat at localhost:5988 | grep -i xen localhost:5988/root/cimv2:Xen_RegisteredProfile localhost:5988/root/cimv2:Xen_HostedAccessPoint localhost:5988/root/cimv2:Xen_HostedResourcePool localhost:5988/root/cimv2:Xen_HostedService localhost:5988/root/cimv2:Xen_HostedDependency localhost:5988/root/cimv2:Xen_ComputerSystem localhost:5988/root/cimv2:Xen_ElementConformsToProfile localhost:5988/root/cimv2:Xen_ElementCapabilities 7> download cimtest snapshot and extract it # wget -c ftp://libvirt.org/libvirt-cim/cimtest-snapshot.tar.gz # tar xvzf cimtest-snapshot.tar.gz 8> execute the case # CIM_NS=root/virt CIM_USER=root CIM_PASS=redhat ./runtests libvirt-cim -i localhost Thanks and Regards osier From snmishra at us.ibm.com Mon Jan 4 17:35:25 2010 From: snmishra at us.ibm.com (Sharad Mishra) Date: Mon, 4 Jan 2010 09:35:25 -0800 Subject: [Libvirt-cim] question about libvirt-cim testing. In-Reply-To: <4B41EFDA.6040703@redhat.com> References: <4B41EFDA.6040703@redhat.com> Message-ID: Hi Osier, I don't see any test result attachment with your email. Can you send your test results? Regards Sharad Mishra System x Enablement Linux Technology Center IBM Osier Yang To Sent by: libvirt-cim at redhat.com, Guan Nan libvirt-cim-bounc Ren es at redhat.com cc Subject 01/04/2010 05:40 [Libvirt-cim] question about AM libvirt-cim testing. Please respond to List for discussion and development of libvirt CIM Hi all I got a testing result (see the attachment) that seems not reasonable with cimtest --- with just 50 about cases passed. And I just want to known if it's caused by my testing enviroment or the problem of libvirt-cim self. Tried find out myself, but because not very farmiliar with CIM, so didn't helps. Any suggestion will be appreciatec. The steps of setting up testing enviroment is as follows: 1> install an RHEL5.5-Server, (x86_64) 2> updated the related packages to the newest version: [root at dhcp-66-70-64 ~]# rpm -qa | grep xen kernel-xen-2.6.18-183.el5 xen-devel-3.0.3-102.el5 xen-libs-3.0.3-102.el5 [root at dhcp-66-70-64 ~]# rpm -qa | grep libvirt libvirt-devel-0.6.3-28.el5 libvirt-debuginfo-0.6.3-28.el5 libvirt-cim-0.5.8-2.el5 libvirt-python-0.6.3-28.el5 libvirt-0.6.3-28.el5 libvirt-0.6.3-28.el5 libvirt-cim-debuginfo-0.5.8-2.el5 [root at dhcp-66-70-64 ~]# rpm -qa | grep cmpi libcmpiutil-0.5-1.el5 libcmpiutil-0.5-1.el5 libcmpiutil-devel-0.5-1.el5 libcmpiutil-debuginfo-0.5-1.el5 [root at dhcp-66-70-64 ~]# rpm -qa | grep pega tog-pegasus-devel-2.9.1-1.el5 tog-pegasus-devel-2.9.1-1.el5 tog-pegasus-2.9.1-1.el5 3> install sblim-wbemcli # yum install sblim-wbemcli -y 4> config CIM server (tog-pegasus) # cimconfig -p -s enableHttpConnection=true # cimconfig -p -s repositoryIsDefaultInstanceProvider=true 5> restart CIM server # service tog-pegasus restart 6> get the providers list (verify) [root at dhcp-66-70-64 ~]# wbemcli ecn http://root:redhat at localhost:5988 | grep -i xen localhost:5988/root/cimv2:Xen_RegisteredProfile localhost:5988/root/cimv2:Xen_HostedAccessPoint localhost:5988/root/cimv2:Xen_HostedResourcePool localhost:5988/root/cimv2:Xen_HostedService localhost:5988/root/cimv2:Xen_HostedDependency localhost:5988/root/cimv2:Xen_ComputerSystem localhost:5988/root/cimv2:Xen_ElementConformsToProfile localhost:5988/root/cimv2:Xen_ElementCapabilities 7> download cimtest snapshot and extract it # wget -c ftp://libvirt.org/libvirt-cim/cimtest-snapshot.tar.gz # tar xvzf cimtest-snapshot.tar.gz 8> execute the case # CIM_NS=root/virt CIM_USER=root CIM_PASS=redhat ./runtests libvirt-cim -i localhost Thanks and Regards osier _______________________________________________ Libvirt-cim mailing list Libvirt-cim at redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: graycol.gif Type: image/gif Size: 105 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pic04782.gif Type: image/gif Size: 1255 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ecblank.gif Type: image/gif Size: 45 bytes Desc: not available URL: From jyang at redhat.com Tue Jan 5 02:43:29 2010 From: jyang at redhat.com (Osier Yang) Date: Tue, 05 Jan 2010 10:43:29 +0800 Subject: [Libvirt-cim] question about libvirt-cim testing. In-Reply-To: References: <4B41EFDA.6040703@redhat.com> Message-ID: <4B42A751.2090902@redhat.com> Hi Sharad sorry for missing the attachment, here it is now, see the attachment. Thanks and Regards osier Sharad Mishra wrote: > > Hi Osier, > > I don't see any test result attachment with your email. Can you send > your test results? > > Regards > Sharad Mishra > System x Enablement > Linux Technology Center > IBM > > Inactive hide details for Osier Yang ---01/04/2010 05:48:36 AM---Hi > allOsier Yang ---01/04/2010 05:48:36 AM---Hi all > > *Osier Yang * > Sent by: libvirt-cim-bounces at redhat.com > > 01/04/2010 05:40 AM > Please respond to > List for discussion and development of libvirt > CIM > > > > To > > libvirt-cim at redhat.com, Guan Nan Ren > > cc > > > Subject > > [Libvirt-cim] question about libvirt-cim testing. > > > > > Hi all > > I got a testing result (see the attachment) that seems not > reasonable with cimtest --- with just 50 about cases passed. And I just > want to known if it's caused by my testing enviroment or the problem of > libvirt-cim self. Tried find out myself, but because not very farmiliar > with CIM, so didn't helps. Any suggestion will be appreciatec. > > The steps of setting up testing enviroment is as follows: > > 1> install an RHEL5.5-Server, (x86_64) > > 2> updated the related packages to the newest version: > [root at dhcp-66-70-64 ~]# rpm -qa | grep xen > kernel-xen-2.6.18-183.el5 > xen-devel-3.0.3-102.el5 > xen-libs-3.0.3-102.el5 > > [root at dhcp-66-70-64 ~]# rpm -qa | grep libvirt > libvirt-devel-0.6.3-28.el5 > libvirt-debuginfo-0.6.3-28.el5 > libvirt-cim-0.5.8-2.el5 > libvirt-python-0.6.3-28.el5 > libvirt-0.6.3-28.el5 > libvirt-0.6.3-28.el5 > libvirt-cim-debuginfo-0.5.8-2.el5 > > [root at dhcp-66-70-64 ~]# rpm -qa | grep cmpi > libcmpiutil-0.5-1.el5 > libcmpiutil-0.5-1.el5 > libcmpiutil-devel-0.5-1.el5 > libcmpiutil-debuginfo-0.5-1.el5 > > [root at dhcp-66-70-64 ~]# rpm -qa | grep pega > tog-pegasus-devel-2.9.1-1.el5 > tog-pegasus-devel-2.9.1-1.el5 > tog-pegasus-2.9.1-1.el5 > > 3> install sblim-wbemcli > # yum install sblim-wbemcli -y > > 4> config CIM server (tog-pegasus) > # cimconfig -p -s enableHttpConnection=true > # cimconfig -p -s repositoryIsDefaultInstanceProvider=true > > 5> restart CIM server > # service tog-pegasus restart > > 6> get the providers list (verify) > [root at dhcp-66-70-64 ~]# wbemcli ecn > http://root:redhat at localhost:5988 | grep -i xen > localhost:5988/root/cimv2:Xen_RegisteredProfile > localhost:5988/root/cimv2:Xen_HostedAccessPoint > localhost:5988/root/cimv2:Xen_HostedResourcePool > localhost:5988/root/cimv2:Xen_HostedService > localhost:5988/root/cimv2:Xen_HostedDependency > localhost:5988/root/cimv2:Xen_ComputerSystem > localhost:5988/root/cimv2:Xen_ElementConformsToProfile > localhost:5988/root/cimv2:Xen_ElementCapabilities > > 7> download cimtest snapshot and extract it > # wget -c ftp://libvirt.org/libvirt-cim/cimtest-snapshot.tar.gz > # tar xvzf cimtest-snapshot.tar.gz > > 8> execute the case > # CIM_NS=root/virt CIM_USER=root CIM_PASS=redhat ./runtests > libvirt-cim -i localhost > > > > Thanks and Regards > osier > > > _______________________________________________ > Libvirt-cim mailing list > Libvirt-cim at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-cim > > ------------------------------------------------------------------------ > > _______________________________________________ > Libvirt-cim mailing list > Libvirt-cim at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-cim -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: run_report.txt URL: From deeptik at linux.vnet.ibm.com Tue Jan 5 11:13:36 2010 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Tue, 05 Jan 2010 16:43:36 +0530 Subject: [Libvirt-cim] question about libvirt-cim testing. In-Reply-To: <4B42A751.2090902@redhat.com> References: <4B41EFDA.6040703@redhat.com> <4B42A751.2090902@redhat.com> Message-ID: <4B431EE0.6020107@linux.vnet.ibm.com> Hi Osier, Thanks for using cimtest. Most of the failures are because of the "Unable to parse embedded object" error. This does not seem to be test case issue. I have seen this error with the old libcmpiutil, but this error seems to go with latest libcmpiutil. I have not used RHEL5.5 for testing so not sure if the packages being used are all up to date. Will you be able to build and install the libcmpiutil [from hg clone http://libvirt.org/hg/libcmpiutil ] or better you can use the latest one available @ ftp://libvirt.org/libvirt-cim/libcmpiutil-snapshot.tar.gz to build and install it. The build and setup instructions are given @ http://wiki.libvirt.org/page/Libvirt-cim_setup [ Check the Install from Source topic] Also, can you see if you can execute the following command without any error: wbemcli ei 'http://root:password at localhost:5988/root/virt:Xen_VirtualSystemSettingData' -nl Thanks and Regards, Deepti. Osier Yang wrote: > Hi Sharad > sorry for missing the attachment, here it is now, see the > attachment. > > Thanks and Regards > osier > > Sharad Mishra wrote: >> >> Hi Osier, >> >> I don't see any test result attachment with your email. Can you send >> your test results? >> >> Regards >> Sharad Mishra >> System x Enablement >> Linux Technology Center >> IBM >> >> Inactive hide details for Osier Yang ---01/04/2010 05:48:36 AM---Hi >> allOsier Yang ---01/04/2010 05:48:36 AM---Hi all >> >> *Osier Yang * >> Sent by: libvirt-cim-bounces at redhat.com >> >> 01/04/2010 05:40 AM >> Please respond to >> List for discussion and development of libvirt >> CIM >> >> >> >> To >> >> libvirt-cim at redhat.com, Guan Nan Ren >> >> cc >> >> >> Subject >> >> [Libvirt-cim] question about libvirt-cim testing. >> >> >> >> >> Hi all >> I got a testing result (see the attachment) that seems not >> reasonable with cimtest --- with just 50 about cases passed. And I just >> want to known if it's caused by my testing enviroment or the problem of >> libvirt-cim self. Tried find out myself, but because not very farmiliar >> with CIM, so didn't helps. Any suggestion will be appreciatec. >> The steps of setting up testing enviroment is as follows: >> >> 1> install an RHEL5.5-Server, (x86_64) >> >> 2> updated the related packages to the newest version: >> [root at dhcp-66-70-64 ~]# rpm -qa | grep xen >> kernel-xen-2.6.18-183.el5 >> xen-devel-3.0.3-102.el5 >> xen-libs-3.0.3-102.el5 >> >> [root at dhcp-66-70-64 ~]# rpm -qa | grep libvirt >> libvirt-devel-0.6.3-28.el5 >> libvirt-debuginfo-0.6.3-28.el5 >> libvirt-cim-0.5.8-2.el5 >> libvirt-python-0.6.3-28.el5 >> libvirt-0.6.3-28.el5 >> libvirt-0.6.3-28.el5 >> libvirt-cim-debuginfo-0.5.8-2.el5 >> >> [root at dhcp-66-70-64 ~]# rpm -qa | grep cmpi >> libcmpiutil-0.5-1.el5 >> libcmpiutil-0.5-1.el5 >> libcmpiutil-devel-0.5-1.el5 >> libcmpiutil-debuginfo-0.5-1.el5 >> >> [root at dhcp-66-70-64 ~]# rpm -qa | grep pega >> tog-pegasus-devel-2.9.1-1.el5 >> tog-pegasus-devel-2.9.1-1.el5 >> tog-pegasus-2.9.1-1.el5 >> >> 3> install sblim-wbemcli >> # yum install sblim-wbemcli -y >> >> 4> config CIM server (tog-pegasus) >> # cimconfig -p -s enableHttpConnection=true >> # cimconfig -p -s repositoryIsDefaultInstanceProvider=true >> >> 5> restart CIM server >> # service tog-pegasus restart >> >> 6> get the providers list (verify) >> [root at dhcp-66-70-64 ~]# wbemcli ecn >> http://root:redhat at localhost:5988 | grep -i xen >> localhost:5988/root/cimv2:Xen_RegisteredProfile >> localhost:5988/root/cimv2:Xen_HostedAccessPoint >> localhost:5988/root/cimv2:Xen_HostedResourcePool >> localhost:5988/root/cimv2:Xen_HostedService >> localhost:5988/root/cimv2:Xen_HostedDependency >> localhost:5988/root/cimv2:Xen_ComputerSystem >> localhost:5988/root/cimv2:Xen_ElementConformsToProfile >> localhost:5988/root/cimv2:Xen_ElementCapabilities >> >> 7> download cimtest snapshot and extract it >> # wget -c ftp://libvirt.org/libvirt-cim/cimtest-snapshot.tar.gz >> # tar xvzf cimtest-snapshot.tar.gz >> 8> execute the case >> # CIM_NS=root/virt CIM_USER=root CIM_PASS=redhat ./runtests >> libvirt-cim -i localhost >> >> >> >> Thanks and Regards >> osier >> >> _______________________________________________ >> Libvirt-cim mailing list >> Libvirt-cim at redhat.com >> https://www.redhat.com/mailman/listinfo/libvirt-cim >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Libvirt-cim mailing list >> Libvirt-cim at redhat.com >> https://www.redhat.com/mailman/listinfo/libvirt-cim > ------------------------------------------------------------------------ > > ================================================= > Test Run Summary (Jan 05 2010): Xen on Red Hat Enterprise Linux Server release 5.4 (Tikanga) with Pegasus > ================================================= > Distro: Red Hat Enterprise Linux Server release 5.4 (Tikanga) > Kernel: 2.6.18-183.el5xen > libvirt: 0.6.3 > Hypervisor: Xen 3.1.0 > CIMOM: Pegasus 2.9.1 > Libvirt-cim revision: 1018 > Libvirt-cim changeset: 2ba30fae43e7 > Cimtest revision: > Cimtest changeset: > Total test execution: Unknown > ================================================= > FAIL : 120 > XFAIL : 0 > SKIP : 5 > PASS : 54 > ----------------- > Total : 179 > ================================================= > FAIL Test Summary: > ComputerSystem - 03_defineVS.py: FAIL > ComputerSystem - 04_defineStartVS.py: FAIL > ComputerSystem - 05_activate_defined_start.py: FAIL > ComputerSystem - 06_paused_active_suspend.py: FAIL > ComputerSystem - 22_define_suspend.py: FAIL > ComputerSystem - 23_pause_pause.py: FAIL > ComputerSystem - 32_start_reboot.py: FAIL > ComputerSystem - 33_suspend_reboot.py: FAIL > ComputerSystem - 34_start_disable.py: FAIL > ComputerSystem - 35_start_reset.py: FAIL > ComputerSystem - 40_RSC_start.py: FAIL > ComputerSystem - 41_cs_to_settingdefinestate.py: FAIL > ComputerSystem - 42_cs_gi_errs.py: FAIL > ComputerSystemIndication - 01_created_indication.py: FAIL > ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: FAIL > ElementAllocatedFromPool - 01_forward.py: FAIL > ElementAllocatedFromPool - 02_reverse.py: FAIL > ElementAllocatedFromPool - 03_reverse_errs.py: FAIL > ElementAllocatedFromPool - 04_forward_errs.py: FAIL > ElementCapabilities - 01_forward.py: FAIL > ElementCapabilities - 02_reverse.py: FAIL > ElementConforms - 01_forward.py: FAIL > ElementConforms - 02_reverse.py: FAIL > ElementConforms - 04_ectp_rev_errs.py: FAIL > ElementSettingData - 01_forward.py: FAIL > ElementSettingData - 03_esd_assoc_with_rasd_errs.py: FAIL > EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: FAIL > HostedAccessPoint - 01_forward.py: FAIL > HostedAccessPoint - 02_reverse.py: FAIL > HostedDependency - 01_forward.py: FAIL > HostedDependency - 02_reverse.py: FAIL > HostedDependency - 03_enabledstate.py: FAIL > HostedDependency - 04_reverse_errs.py: FAIL > HostSystem - 02_hostsystem_to_rasd.py: FAIL > HostSystem - 03_hs_to_settdefcap.py: FAIL > HostSystem - 04_hs_to_EAPF.py: FAIL > KVMRedirectionSAP - 01_enum_KVMredSAP.py: FAIL > KVMRedirectionSAP - 02_ipv6_support.py: FAIL > LogicalDisk - 01_disk.py: FAIL > LogicalDisk - 03_ld_gi_errs.py: FAIL > Memory - 01_memory.py: FAIL > Memory - 02_defgetmem.py: FAIL > Memory - 03_mem_gi_errs.py: FAIL > NetworkPort - 01_netport.py: FAIL > NetworkPort - 02_np_gi_errors.py: FAIL > Processor - 01_processor.py: FAIL > Processor - 02_definesys_get_procs.py: FAIL > Processor - 03_proc_gi_errs.py: FAIL > Profile - 02_profile_to_elec.py: FAIL > RASD - 01_verify_rasd_fields.py: FAIL > RASD - 02_enum.py: FAIL > RASD - 03_rasd_errs.py: FAIL > RASD - 04_disk_rasd_size.py: FAIL > RASD - 05_disk_rasd_emu_type.py: FAIL > RASD - 06_parent_net_pool.py: FAIL > RASD - 07_parent_disk_pool.py: FAIL > RASDIndications - 01_guest_states_rasd_ind.py: FAIL > RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: FAIL > RedirectionService - 03_RedirectionSAP_errs.py: FAIL > ResourceAllocationFromPool - 01_forward.py: FAIL > ResourceAllocationFromPool - 02_reverse.py: FAIL > ResourceAllocationFromPool - 04_reverse_errs.py: FAIL > ResourceAllocationFromPool - 05_RAPF_err.py: FAIL > ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: FAIL > ResourcePoolConfigurationService - 07_DeleteResourcePool.py: FAIL > ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: FAIL > ResourcePoolConfigurationService - 09_DeleteDiskPool.py: FAIL > ResourcePoolConfigurationService - 10_create_storagevolume.py: FAIL > ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: FAIL > ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: FAIL > ResourcePoolConfigurationService - 13_delete_storagevolume.py: FAIL > ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: FAIL > ServiceAccessBySAP - 01_forward.py: FAIL > ServiceAccessBySAP - 02_reverse.py: FAIL > ServiceAffectsElement - 01_forward.py: FAIL > ServiceAffectsElement - 02_reverse.py: FAIL > SettingsDefine - 01_forward.py: FAIL > SettingsDefine - 02_reverse.py: FAIL > SettingsDefine - 03_sds_fwd_errs.py: FAIL > SettingsDefine - 04_sds_rev_errs.py: FAIL > SettingsDefineCapabilities - 01_forward.py: FAIL > SystemDevice - 01_forward.py: FAIL > SystemDevice - 02_reverse.py: FAIL > SystemDevice - 03_fwderrs.py: FAIL > VirtualSystemManagementService - 01_definesystem_name.py: FAIL > VirtualSystemManagementService - 02_destroysystem.py: FAIL > VirtualSystemManagementService - 06_addresource.py: FAIL > VirtualSystemManagementService - 08_modifyresource.py: FAIL > VirtualSystemManagementService - 09_procrasd_persist.py: FAIL > VirtualSystemManagementService - 11_define_memrasdunits.py: FAIL > VirtualSystemManagementService - 12_referenced_config.py: FAIL > VirtualSystemManagementService - 13_refconfig_additional_devs.py: FAIL > VirtualSystemManagementService - 14_define_sys_disk.py: FAIL > VirtualSystemManagementService - 15_mod_system_settings.py: FAIL > VirtualSystemManagementService - 16_removeresource.py: FAIL > VirtualSystemManagementService - 17_removeresource_neg.py: FAIL > VirtualSystemManagementService - 18_define_sys_bridge.py: FAIL > VirtualSystemManagementService - 19_definenetwork_ers.py: FAIL > VirtualSystemManagementService - 20_verify_vnc_password.py: FAIL > VirtualSystemManagementService - 21_createVS_verifyMAC.py: FAIL > VirtualSystemManagementService - 22_addmulti_brg_interface.py: FAIL > VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: FAIL > VirtualSystemManagementService - 24_verify_modifyres_output.py: FAIL > VirtualSystemMigrationService - 01_migratable_host.py: FAIL > VirtualSystemMigrationService - 02_host_migrate_type.py: FAIL > VirtualSystemMigrationService - 05_migratable_host_errs.py: FAIL > VirtualSystemMigrationService - 06_remote_live_migration.py: FAIL > VirtualSystemMigrationService - 07_remote_offline_migration.py: FAIL > VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: FAIL > VirtualSystemSettingDataComponent - 01_forward.py: FAIL > VirtualSystemSettingDataComponent - 02_reverse.py: FAIL > VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: FAIL > VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: FAIL > VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL > VSSD - 01_enum.py: FAIL > VSSD - 02_bootldr.py: FAIL > VSSD - 03_vssd_gi_errs.py: FAIL > VSSD - 04_vssd_to_rasd.py: FAIL > VSSD - 05_set_uuid.py: FAIL > VSSD - 06_duplicate_uuid.py: FAIL > > ================================================= > SKIP Test Summary: > ComputerSystem - 02_nosystems.py: SKIP > LogicalDisk - 02_nodevs.py: SKIP > NetworkPort - 03_user_netport.py: SKIP > Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP > VirtualSystemManagementService - 24_define_sys_features.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 - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define a domain with the name domU1 from virsh > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > ComputerSystem - 04_defineStartVS.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Unable to define domguest > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > ComputerSystem - 05_activate_defined_start.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - ERROR: VS 'DomST1' was not defined > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > ComputerSystem - 06_paused_active_suspend.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Exception variable: VS 'DomST1' was not defined > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > ComputerSystem - 22_define_suspend.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Error: Unable to define domgst > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > ComputerSystem - 23_pause_pause.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Exception: 'Failed to define the guest: cs_test_domain' > ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain `cs_test_domain' does not exist: Domain not found: xenUnifiedDomainLookupByName with return code 6 > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain `cs_test_domain' does not exist: Domain not found: xenUnifiedDomainLookupByName > -------------------------------------------------------------------- > ComputerSystem - 27_define_pause_errs.py: PASS > -------------------------------------------------------------------- > ComputerSystem - 32_start_reboot.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Exception: Failed to define the guest: cs_test_domain > ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain `cs_test_domain' does not exist: Domain not found: xenUnifiedDomainLookupByName with return code 6 > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain `cs_test_domain' does not exist: Domain not found: xenUnifiedDomainLookupByName > -------------------------------------------------------------------- > ComputerSystem - 33_suspend_reboot.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Exception: Failed to define the guest: test_domain > ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain `test_domain' does not exist: Domain not found: xenUnifiedDomainLookupByName with return code 6 > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain `test_domain' does not exist: Domain not found: xenUnifiedDomainLookupByName > -------------------------------------------------------------------- > ComputerSystem - 34_start_disable.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Exception: Failed to define the guest: cs_test_domain > ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain `cs_test_domain' does not exist: Domain not found: xenUnifiedDomainLookupByName with return code 6 > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain `cs_test_domain' does not exist: Domain not found: xenUnifiedDomainLookupByName > -------------------------------------------------------------------- > ComputerSystem - 35_start_reset.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Exception: Failed to define the guest: cs_test_domain > ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain `cs_test_domain' does not exist: Domain not found: xenUnifiedDomainLookupByName with return code 6 > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain `cs_test_domain' does not exist: Domain not found: xenUnifiedDomainLookupByName > -------------------------------------------------------------------- > ComputerSystem - 40_RSC_start.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Exception: Failed to define the guest: cs_test_domain > ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain `cs_test_domain' does not exist: Domain not found: xenUnifiedDomainLookupByName with return code 6 > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain `cs_test_domain' does not exist: Domain not found: xenUnifiedDomainLookupByName > -------------------------------------------------------------------- > ComputerSystem - 41_cs_to_settingdefinestate.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: CrossClass_GuestDom > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > ComputerSystem - 42_cs_gi_errs.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Unable to define guest ETdomain > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > ComputerSystemIndication - 01_created_indication.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Exception: Unable to generate indication > ERROR - Failed to start domain: domU > ERROR - Exception: Unable to generate indication > ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain `domU' does not exist: Domain not found: xenUnifiedDomainLookupByName with return code 6 > ERROR - Unable to destroy domU > ERROR - Exception: Unable to generate indication > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > CIM_ERR_NOT_FOUND: Referenced domain `domU' does not exist: Domain not found: xenUnifiedDomainLookupByName > InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain `domU' does not exist: Domain not found: xenUnifiedDomainLookupByName > -------------------------------------------------------------------- > ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Error define domain VM_frm_dhcp-66-70-64.nay.redhat.com > ERROR - Error setting up the guest > ERROR - Exception: Unable to generate indication > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > ElementAllocatedFromPool - 01_forward.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: 'hd_domain' > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > ElementAllocatedFromPool - 02_reverse.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: 'eafp_domain' > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > ElementAllocatedFromPool - 03_reverse_errs.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: hd_domain > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > ElementAllocatedFromPool - 04_forward_errs.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: hd_domain > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > ElementCapabilities - 01_forward.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: dom_elecap > CIM_ERR_INVALID_CLASS: Linux_ComputerSystem > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > ElementCapabilities - 02_reverse.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: dom_elecap > CIM_ERR_INVALID_CLASS: Linux_ComputerSystem > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > ElementCapabilities - 03_forward_errs.py: PASS > -------------------------------------------------------------------- > ElementCapabilities - 04_reverse_errs.py: PASS > -------------------------------------------------------------------- > ElementCapabilities - 05_hostsystem_cap.py: PASS > -------------------------------------------------------------------- > ElementConforms - 01_forward.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Unable to define domain domU > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > ElementConforms - 02_reverse.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - ERROR: Failed to Define the dom: domgst > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > ElementConforms - 03_ectp_fwd_errs.py: PASS > -------------------------------------------------------------------- > ElementConforms - 04_ectp_rev_errs.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Unable to define domain domU > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > ElementSettingData - 01_forward.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: esd_dom > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > ElementSettingData - 03_esd_assoc_with_rasd_errs.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: hd_domain1 > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > EnabledLogicalElementCapabilities - 01_enum.py: PASS > -------------------------------------------------------------------- > EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to Define the dom: qemu > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > HostedAccessPoint - 01_forward.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: domu1 > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > HostedAccessPoint - 02_reverse.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: domu1 > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > HostedDependency - 01_forward.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: hd_domain > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > HostedDependency - 02_reverse.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: hd_domain > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > HostedDependency - 03_enabledstate.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: hd_domain1 > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > HostedDependency - 04_reverse_errs.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: hd_domain1 > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > 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 > -------------------------------------------------------------------- > HostSystem - 01_enum.py: PASS > -------------------------------------------------------------------- > HostSystem - 02_hostsystem_to_rasd.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: CrossClass_GuestDom > CIM_ERR_INVALID_CLASS: Linux_ComputerSystem > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > HostSystem - 03_hs_to_settdefcap.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: domgst_test > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > HostSystem - 04_hs_to_EAPF.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: 'CrossClass_GuestDom' > CIM_ERR_INVALID_CLASS: Linux_ComputerSystem > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > HostSystem - 05_hs_gi_errs.py: PASS > -------------------------------------------------------------------- > HostSystem - 06_hs_to_vsms.py: PASS > -------------------------------------------------------------------- > KVMRedirectionSAP - 01_enum_KVMredSAP.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Exception: Failed to define the dom: test_kvmredsap_dom > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > KVMRedirectionSAP - 02_ipv6_support.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Exception: Failed to define the dom: test_ipv6_dom > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > LogicalDisk - 01_disk.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - AttributeError : 'NoneType' object has no attribute 'Name' > Traceback (most recent call last): > File "./lib/XenKvmLib/const.py", line 140, in do_try > File "01_disk.py", line 60, in main > if dev.Name != test_dev: > AttributeError: 'NoneType' object has no attribute 'Name' > ERROR - None > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > CIM_ERR_NOT_FOUND: No such instance (no domain for test_domain/xvda): Domain not found: xenUnifiedDomainLookupByName > -------------------------------------------------------------------- > LogicalDisk - 02_nodevs.py: SKIP > ERROR - System has defined domains; unable to run > -------------------------------------------------------------------- > LogicalDisk - 03_ld_gi_errs.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to Define the dom: hd_domain > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > Memory - 01_memory.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - AttributeError : 'NoneType' object has no attribute 'ConsumableBlocks' > Traceback (most recent call last): > File "./lib/XenKvmLib/const.py", line 140, in do_try > File "01_memory.py", line 59, in main > if dev.ConsumableBlocks > dev.NumberOfBlocks: > AttributeError: 'NoneType' object has no attribute 'ConsumableBlocks' > ERROR - None > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > CIM_ERR_NOT_FOUND: No such instance (no domain for test_domain/mem): Domain not found: xenUnifiedDomainLookupByName > -------------------------------------------------------------------- > Memory - 02_defgetmem.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Exception: Failed to define the guest: domu > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > Memory - 03_mem_gi_errs.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to Create the dom: domU > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > NetworkPort - 01_netport.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - AttributeError : 'NoneType' object has no attribute 'DeviceID' > Traceback (most recent call last): > File "./lib/XenKvmLib/const.py", line 140, in do_try > File "01_netport.py", line 86, in main > if dev.DeviceID == None: > AttributeError: 'NoneType' object has no attribute 'DeviceID' > ERROR - None > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > CIM_ERR_NOT_FOUND: No such instance (no domain for test_domain/00:11:22:33:44:55): Domain not found: xenUnifiedDomainLookupByName > -------------------------------------------------------------------- > NetworkPort - 02_np_gi_errors.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Define domain failed! > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > NetworkPort - 03_user_netport.py: SKIP > -------------------------------------------------------------------- > Processor - 01_processor.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Domain not started, we're not able to check vcpu > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > Processor - 02_definesys_get_procs.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Exception: Failed to define the guest: test_domain > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > Processor - 03_proc_gi_errs.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the guest: proc_domain > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > Profile - 01_enum.py: PASS > -------------------------------------------------------------------- > Profile - 02_profile_to_elec.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Unable define domain domguest using DefineSystem() > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > Profile - 03_rprofile_gi_errs.py: PASS > -------------------------------------------------------------------- > Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP > ERROR - SLP tool does not exist on the machine > -------------------------------------------------------------------- > RASD - 01_verify_rasd_fields.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Unable to define the domain VSSDC_dom > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > RASD - 02_enum.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to Define the domain: VSSDC_dom > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > RASD - 03_rasd_errs.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to Define the domain: VSSDC_dom > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > RASD - 04_disk_rasd_size.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to test RASD: Failed to define the dom: diskrasd_test > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > RASD - 05_disk_rasd_emu_type.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to call DefineSystem() > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > RASD - 06_parent_net_pool.py: FAIL > ERROR - Exception details: Got 0 recs instead of 5 > CIM_ERR_FAILED: Unable to create instance of type NetPoolResourceAllocationSettingData > -------------------------------------------------------------------- > RASD - 07_parent_disk_pool.py: FAIL > ERROR - Exception details: Got 0 recs instead of 7 > CIM_ERR_FAILED: Unable to create instance of type DiskPoolResourceAllocationSettingData > -------------------------------------------------------------------- > RASDIndications - 01_guest_states_rasd_ind.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Exception details: Failed to define domain VM_dhcp-66-70-64.nay.redhat.com > ERROR - Exception details :Error setting up the guest 'VM_dhcp-66-70-64.nay.redhat.com' > ERROR - Exception: Unable to generate indication > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Exception details: Failed to define domain VM_dhcp-66-70-64.nay.redhat.com > ERROR - Error setting up the guest 'VM_dhcp-66-70-64.nay.redhat.com' > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > RedirectionService - 01_enum_crs.py: PASS > -------------------------------------------------------------------- > RedirectionService - 02_enum_crscap.py: PASS > -------------------------------------------------------------------- > RedirectionService - 03_RedirectionSAP_errs.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - ERROR: VS 'demo' is not defined > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > ReferencedProfile - 01_verify_refprof.py: PASS > -------------------------------------------------------------------- > ReferencedProfile - 02_refprofile_errs.py: PASS > -------------------------------------------------------------------- > ResourceAllocationFromPool - 01_forward.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to Define the domain: RAFP_dom > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > ResourceAllocationFromPool - 02_reverse.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to Define the domain: RAFP_dom > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > ResourceAllocationFromPool - 03_forward_errs.py: PASS > -------------------------------------------------------------------- > ResourceAllocationFromPool - 04_reverse_errs.py: FAIL > ERROR - Unexpected rc code 4 and description CIM_ERR_INVALID_PARAMETER: Xen_ProcResourceAllocationSettingData.InstanceID="wrong" > > -------------------------------------------------------------------- > ResourceAllocationFromPool - 05_RAPF_err.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom 'RAPF_domain' for 'network' type interface > ERROR - Failed to setup the domain > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > 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: FAIL > ERROR - Failed to get 'NetworkPoolRASD' > ERROR - Error in networkpool creation > CIM_ERR_FAILED: Unable to create instance of type NetPoolResourceAllocationSettingData > -------------------------------------------------------------------- > ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: PASS > -------------------------------------------------------------------- > ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: PASS > -------------------------------------------------------------------- > ResourcePoolConfigurationService - 07_DeleteResourcePool.py: FAIL > ERROR - Failed to get 'NetworkPoolRASD' > ERROR - Error in networkpool creation > CIM_ERR_FAILED: Unable to create instance of type NetPoolResourceAllocationSettingData > -------------------------------------------------------------------- > ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: FAIL > ERROR - Failed to get 'DiskPoolRASD' > ERROR - Exception details: Failed to create 'DISK_POOL_NETFS' type diskpool 'DISK_POOL_NETFS' > ERROR - Failed to get 'DiskPoolRASD' > ERROR - Exception details: Failed to create 'DISK_POOL_DIR' type diskpool 'DISK_POOL_DIR' > CIM_ERR_FAILED: Unable to create instance of type DiskPoolResourceAllocationSettingData > CIM_ERR_FAILED: Unable to create instance of type DiskPoolResourceAllocationSettingData > -------------------------------------------------------------------- > ResourcePoolConfigurationService - 09_DeleteDiskPool.py: FAIL > ERROR - Failed to get 'DiskPoolRASD' > ERROR - Failed to create diskpool 'dp_pool' > CIM_ERR_FAILED: Unable to create instance of type DiskPoolResourceAllocationSettingData > -------------------------------------------------------------------- > ResourcePoolConfigurationService - 10_create_storagevolume.py: FAIL > ERROR - Exception details: local variable 'dpool_rasd' referenced before assignment > CIM_ERR_FAILED: Unable to create instance of type StorageVolumeResourceAllocationSettingData > -------------------------------------------------------------------- > ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: FAIL > ERROR - Exception: Failed to get default StorageVolRASD , Expected atleast 4, Got '0' > ERROR - Failed to get the StorageVol RASD's > ERROR - In get_inputs() Exception details: Failed to get the defualt StorageVolRASD info > ERROR - In main() Exception details: Failed to verify the Invlaid 'DUP_VOL_PATH' > CIM_ERR_FAILED: Unable to create instance of type StorageVolumeResourceAllocationSettingData > -------------------------------------------------------------------- > ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: FAIL > ERROR - Failed to get 'DiskPoolRASD' > ERROR - Failed to create pool 'NETFS_POOL' > CIM_ERR_FAILED: Unable to create instance of type DiskPoolResourceAllocationSettingData > -------------------------------------------------------------------- > ResourcePoolConfigurationService - 13_delete_storagevolume.py: FAIL > ERROR - Exception: Failed to get default StorageVolRASD , Expected atleast 4, Got '0' > ERROR - Failed to get the StorageVol RASD's > ERROR - Exception details: Failed to get the defualt StorageVolRASD info > CIM_ERR_FAILED: Unable to create instance of type StorageVolumeResourceAllocationSettingData > -------------------------------------------------------------------- > ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: FAIL > ERROR - Exception: Failed to get default StorageVolRASD , Expected atleast 4, Got '0' > ERROR - Failed to get the StorageVol RASD's > ERROR - Exception details: Failed to get the defualt StorageVolRASD info > CIM_ERR_FAILED: Unable to create instance of type StorageVolumeResourceAllocationSettingData > -------------------------------------------------------------------- > ServiceAccessBySAP - 01_forward.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: domu1 > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > ServiceAccessBySAP - 02_reverse.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: domu1 > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > ServiceAffectsElement - 01_forward.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: SAE_dom > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > ServiceAffectsElement - 02_reverse.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: SAE_dom > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > SettingsDefine - 01_forward.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to Create the dom: domu1 > ERROR - NameError : global name 'cmxl' is not defined > Traceback (most recent call last): > File "./lib/XenKvmLib/const.py", line 140, in do_try > File "01_forward.py", line 144, in main > status, cxml = setup_env(options.ip, options.virt) > File "01_forward.py", line 58, in setup_env > return FAIL, cmxl > NameError: global name 'cmxl' is not defined > ERROR - None > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > SettingsDefine - 02_reverse.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to Create the dom: virtgst > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > SettingsDefine - 03_sds_fwd_errs.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: domu1 > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > SettingsDefine - 04_sds_rev_errs.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: domu1 > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > SettingsDefineCapabilities - 01_forward.py: FAIL > ERROR - Xen_SettingsDefineCapabilities returned 0 ResourcePool objects instead of 68 > CIM_ERR_FAILED: Unable to create instance of type StorageVolumeResourceAllocationSettingData > -------------------------------------------------------------------- > SettingsDefineCapabilities - 03_forward_errs.py: PASS > -------------------------------------------------------------------- > SettingsDefineCapabilities - 04_forward_vsmsdata.py: PASS > -------------------------------------------------------------------- > SettingsDefineCapabilities - 05_reverse_vsmcap.py: PASS > -------------------------------------------------------------------- > SystemDevice - 01_forward.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Unable to define domain test_domain > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > SystemDevice - 02_reverse.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Unable to define domain test_domain > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > SystemDevice - 03_fwderrs.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the domain 'virt1' > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > VirtualSystemManagementCapabilities - 01_enum.py: PASS > -------------------------------------------------------------------- > VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS > -------------------------------------------------------------------- > VirtualSystemManagementService - 01_definesystem_name.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Unable to define test_domain > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > VirtualSystemManagementService - 02_destroysystem.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the domain 'test_domain' > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > VirtualSystemManagementService - 03_definesystem_ess.py: PASS > -------------------------------------------------------------------- > VirtualSystemManagementService - 04_definesystem_ers.py: PASS > -------------------------------------------------------------------- > VirtualSystemManagementService - 05_destroysystem_neg.py: PASS > -------------------------------------------------------------------- > VirtualSystemManagementService - 06_addresource.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: rstest_domain > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > VirtualSystemManagementService - 07_addresource_neg.py: PASS > -------------------------------------------------------------------- > VirtualSystemManagementService - 08_modifyresource.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: rstest_domain > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > VirtualSystemManagementService - 09_procrasd_persist.py: FAIL > ERROR - Unable to set template ProcRASD > CIM_ERR_FAILED: Unable to create instance of type MemResourceAllocationSettingData > -------------------------------------------------------------------- > VirtualSystemManagementService - 10_hv_version.py: PASS > -------------------------------------------------------------------- > VirtualSystemManagementService - 11_define_memrasdunits.py: FAIL > ERROR - KeyError : 'Xen_MemResourceAllocationSettingData' > Traceback (most recent call last): > File "./lib/XenKvmLib/const.py", line 140, in do_try > File "11_define_memrasdunits.py", line 120, in main > status = try_define(options, units, value, cxml) > File "11_define_memrasdunits.py", line 61, in try_define > if rasd_list[mrasd_cn] is None: > KeyError: 'Xen_MemResourceAllocationSettingData' > ERROR - None > CIM_ERR_FAILED: Unable to create instance of type MemResourceAllocationSettingData > -------------------------------------------------------------------- > VirtualSystemManagementService - 12_referenced_config.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Unable to define rstest_domain using DefineSystem() > ERROR - Unable to start rstest_domain > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > VirtualSystemManagementService - 13_refconfig_additional_devs.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Unable define domain rstest_domain > ERROR - Unable to define domain rstest_domain > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > VirtualSystemManagementService - 14_define_sys_disk.py: FAIL > ERROR - Unable to get template RASDs for rstest_disk_domain > CIM_ERR_FAILED: Unable to create instance of type MemResourceAllocationSettingData > -------------------------------------------------------------------- > VirtualSystemManagementService - 15_mod_system_settings.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: rstest_domain > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > VirtualSystemManagementService - 16_removeresource.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: domain > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > VirtualSystemManagementService - 17_removeresource_neg.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: domain > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > VirtualSystemManagementService - 18_define_sys_bridge.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: brgtest_domain > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > VirtualSystemManagementService - 19_definenetwork_ers.py: FAIL > ERROR - DEBUG nettype is network, field is None, tc is none > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Desc Mismatch, Got desc: 'CIM_ERR_FAILED: Unable to parse embedded object', exp 'Valid param ' > ERROR - Defing domain with invalid network name None gave unexpected rc code 1 and description: > CIM_ERR_FAILED: Unable to parse embedded object > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > VirtualSystemManagementService - 20_verify_vnc_password.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: vncpasswd_domain > ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain `vncpasswd_domain' does not exist: Domain not found: xenUnifiedDomainLookupByName with return code 6 > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain `vncpasswd_domain' does not exist: Domain not found: xenUnifiedDomainLookupByName > -------------------------------------------------------------------- > VirtualSystemManagementService - 21_createVS_verifyMAC.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Exception details: Unable to define dom_mac_notspecified > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > VirtualSystemManagementService - 22_addmulti_brg_interface.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - global name 'default_dom' is not defined > ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain `my_domain1' does not exist: Domain not found: xenUnifiedDomainLookupByName with return code 6 > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain `my_domain1' does not exist: Domain not found: xenUnifiedDomainLookupByName > -------------------------------------------------------------------- > VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Desc Mismatch, Got desc: 'CIM_ERR_FAILED: Unable to parse embedded object', exp 'Conflicting MAC Addresses' > ERROR - Got unexpected rc code 1 and description CIM_ERR_FAILED: Unable to parse embedded object > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > VirtualSystemManagementService - 24_define_sys_features.py: SKIP > -------------------------------------------------------------------- > VirtualSystemManagementService - 24_verify_modifyres_output.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: rstest_domain > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > VirtualSystemMigrationCapabilities - 01_enum.py: PASS > -------------------------------------------------------------------- > VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: PASS > -------------------------------------------------------------------- > VirtualSystemMigrationService - 01_migratable_host.py: FAIL > ERROR - Error invoke 'CheckVirtualSystemIsMigratableToHost'. > ERROR - (1, u'CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system)') > Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="dom_migrate" > InvokeMethod(CheckVirtualSystemIsMigratableToHost): CIM_ERR_FAILED: Failed to connect to remote host (xen+ssh://localhost/system) > -------------------------------------------------------------------- > VirtualSystemMigrationService - 02_host_migrate_type.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - CS instance not returned for dom_migrate. > ERROR - Error start domain dom_migrate > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: Domain not found: xenUnifiedDomainLookupByName > CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: Domain not found: xenUnifiedDomainLookupByName > CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: Domain not found: xenUnifiedDomainLookupByName > CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: Domain not found: xenUnifiedDomainLookupByName > CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: Domain not found: xenUnifiedDomainLookupByName > CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: Domain not found: xenUnifiedDomainLookupByName > CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: Domain not found: xenUnifiedDomainLookupByName > CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: Domain not found: xenUnifiedDomainLookupByName > CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: Domain not found: xenUnifiedDomainLookupByName > CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: Domain not found: xenUnifiedDomainLookupByName > CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: Domain not found: xenUnifiedDomainLookupByName > CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: Domain not found: xenUnifiedDomainLookupByName > CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: Domain not found: xenUnifiedDomainLookupByName > CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: Domain not found: xenUnifiedDomainLookupByName > CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: Domain not found: xenUnifiedDomainLookupByName > CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: Domain not found: xenUnifiedDomainLookupByName > CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: Domain not found: xenUnifiedDomainLookupByName > CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: Domain not found: xenUnifiedDomainLookupByName > CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: Domain not found: xenUnifiedDomainLookupByName > CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: Domain not found: xenUnifiedDomainLookupByName > CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: Domain not found: xenUnifiedDomainLookupByName > CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: Domain not found: xenUnifiedDomainLookupByName > CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: Domain not found: xenUnifiedDomainLookupByName > CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: Domain not found: xenUnifiedDomainLookupByName > CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: Domain not found: xenUnifiedDomainLookupByName > CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: Domain not found: xenUnifiedDomainLookupByName > CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: Domain not found: xenUnifiedDomainLookupByName > CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: Domain not found: xenUnifiedDomainLookupByName > CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: Domain not found: xenUnifiedDomainLookupByName > CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: Domain not found: xenUnifiedDomainLookupByName > -------------------------------------------------------------------- > VirtualSystemMigrationService - 05_migratable_host_errs.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Error define domain dom_migration > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > VirtualSystemMigrationService - 06_remote_live_migration.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Error define domain VM_frm_dhcp-66-70-64.nay.redhat.com > ERROR - Error setting up the guest > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > VirtualSystemMigrationService - 07_remote_offline_migration.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Error define domain VM_frm_dhcp-66-70-64.nay.redhat.com > ERROR - Error setting up the guest > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > VirtualSystemMigrationService - 08_remote_restart_resume_migration.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Error define domain VM_frm_dhcp-66-70-64.nay.redhat.com > ERROR - Error setting up the guest > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > VirtualSystemMigrationSettingData - 01_enum.py: PASS > -------------------------------------------------------------------- > VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS > -------------------------------------------------------------------- > VirtualSystemSettingDataComponent - 01_forward.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: VSSDC_dom > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > VirtualSystemSettingDataComponent - 02_reverse.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: VSSDC_dom > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Unable to define domain domu1 > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Unable to define domain domu1 > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > VirtualSystemSnapshotService - 01_enum.py: PASS > -------------------------------------------------------------------- > VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: PASS > -------------------------------------------------------------------- > VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Exception: ('Unable to define %s', 'snapshot_vm') > ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain `snapshot_vm' does not exist: Domain not found: xenUnifiedDomainLookupByName with return code 6 > ERROR - Failed to remove snapshot file for snapshot_vm > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain `snapshot_vm' does not exist: Domain not found: xenUnifiedDomainLookupByName > -------------------------------------------------------------------- > VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS > -------------------------------------------------------------------- > VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: PASS > -------------------------------------------------------------------- > VSSD - 01_enum.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - error while create of VS > ERROR - Missing VSSD instance for the system VSSD_dom > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > VSSD - 02_bootldr.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - error while 'define' of VS > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > VSSD - 03_vssd_gi_errs.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - error while define of VS > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > VSSD - 04_vssd_to_rasd.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to Define the domain: VSSDC_dom > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > VSSD - 05_set_uuid.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: uuid_domain > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > VSSD - 06_duplicate_uuid.py: FAIL > ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object with return code 1 > ERROR - Failed to define the dom: uuid_domain > InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded object > -------------------------------------------------------------------- > > > ------------------------------------------------------------------------ > > _______________________________________________ > Libvirt-cim mailing list > Libvirt-cim at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-cim -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From jyang at redhat.com Tue Jan 5 13:27:30 2010 From: jyang at redhat.com (Osier Yang) Date: Tue, 05 Jan 2010 21:27:30 +0800 Subject: [Libvirt-cim] question about libvirt-cim testing. In-Reply-To: <4B431EE0.6020107@linux.vnet.ibm.com> References: <4B41EFDA.6040703@redhat.com> <4B42A751.2090902@redhat.com> <4B431EE0.6020107@linux.vnet.ibm.com> Message-ID: <4B433E42.5090606@redhat.com> Hi Deepti I tried wbemcli ei 'http://root:password at localhost:5988/root/virt:Xen_VirtualSystemSettingData' -nl . It seems behaves well: [root at dhcp-66-70-64 libcmpiutil]# wbemcli ei 'http://root:redhat at localhost:5988/root/virt:Xen_VirtualSystemSettingData' -nl localhost:5988/root/virt:Xen_VirtualSystemSettingData.InstanceID="Xen:Domain-0" -Caption="Virtual System" -Description="Virtual System" -Generation= -InstanceID="Xen:Domain-0" -ElementName="Domain-0" -ConfigurationName= -ChangeableType= -VirtualSystemIdentifier="Domain-0" -VirtualSystemType="Xen" -Notes= -CreationTime= -ConfigurationID= -ConfigurationDataRoot= -ConfigurationFile= -SnapshotDataRoot= -SuspendDataRoot= -SwapFileDataRoot= -LogDataRoot= -AutomaticStartupAction= -AutomaticStartupActionDelay= -AutomaticStartupActionSequenceNumber= -AutomaticRecoveryAction=3 -RecoveryFile= -ClockOffset=0 -AutomaticShutdownAction=2 -UUID="00000000-0000-0000-0000-000000000000" -EnableACPI=FALSE -EnableAPIC=FALSE -EnablePAE=FALSE -IsFullVirt=FALSE -Bootloader= -BootloaderArgs= -Kernel= -Ramdisk= -CommandLine= -BootDevices= -Emulator= Then I get the newest libcmpiutil from ftp://libvirt.org/libvirt-cim/libcmpiutil-snapshot.tar.gz, build and install it. but it doesn't work, the testing result is same as previous attachment. BTW: there should be some problem of the Makefile of ftp://libvirt.org/libvirt-cim/libcmpiutil-snapshot.tar.gz : [root at dhcp-66-70-64 libcmpiutil]# make clean && make Making clean in tools make[1]: Entering directory `/root/libcmpiutil/tools' rm -rf .libs _libs rm -f *.lo make[1]: Leaving directory `/root/libcmpiutil/tools' Making clean in . make[1]: Entering directory `/root/libcmpiutil' test -z "libcueoparser.la libcmpiutil.la " || rm -f libcueoparser.la libcmpiutil.la rm -f "./so_locations" rm -f "./so_locations" rm -rf .libs _libs rm -f eo_util_lexer.c eo_util_parser.c eo_util_parser.h *~ rm -f *.o rm -f *.lo make[1]: Leaving directory `/root/libcmpiutil' : -Peo_parse_ eo_util_lexer.l sed '/^#/ s|lex.eo_parse_\.c|eo_util_lexer.c|' lex.eo_parse_.c >eo_util_lexer.c sed: can't read lex.eo_parse_.c: No such file or directory make: *** [eo_util_lexer.c] Error 2 But with type another "make" in the command line after above "make clean && make", no error happens. Thanks and Regards osier Deepti B Kalakeri wrote: > Hi Osier, > > Thanks for using cimtest. Most of the failures are because of the > "Unable to parse embedded object" error. > This does not seem to be test case issue. I have seen this error with > the old libcmpiutil, but this error seems to go with latest libcmpiutil. > I have not used RHEL5.5 for testing so not sure if the packages being > used are all up to date. > Will you be able to build and install the libcmpiutil [from hg clone > http://libvirt.org/hg/libcmpiutil ] or better you can use the latest > one available @ > ftp://libvirt.org/libvirt-cim/libcmpiutil-snapshot.tar.gz to build and > install it. > The build and setup instructions are given @ > http://wiki.libvirt.org/page/Libvirt-cim_setup [ Check the Install > from Source topic] > > Also, can you see if you can execute the following command without any > error: > wbemcli ei > 'http://root:password at localhost:5988/root/virt:Xen_VirtualSystemSettingData' > -nl > > Thanks and Regards, > Deepti. > > > Osier Yang wrote: >> Hi Sharad >> sorry for missing the attachment, here it is now, see the >> attachment. >> >> Thanks and Regards >> osier >> >> Sharad Mishra wrote: >>> >>> Hi Osier, >>> >>> I don't see any test result attachment with your email. Can you send >>> your test results? >>> >>> Regards >>> Sharad Mishra >>> System x Enablement >>> Linux Technology Center >>> IBM >>> >>> Inactive hide details for Osier Yang ---01/04/2010 05:48:36 AM---Hi >>> allOsier Yang ---01/04/2010 05:48:36 AM---Hi all >>> >>> *Osier Yang * >>> Sent by: libvirt-cim-bounces at redhat.com >>> >>> 01/04/2010 05:40 AM >>> Please respond to >>> List for discussion and development of libvirt >>> CIM >>> >>> >>> To >>> libvirt-cim at redhat.com, Guan Nan Ren >>> >>> cc >>> >>> Subject >>> [Libvirt-cim] question about libvirt-cim testing. >>> >>> >>> >>> Hi all >>> I got a testing result (see the attachment) that seems not >>> reasonable with cimtest --- with just 50 about cases passed. And I >>> just >>> want to known if it's caused by my testing enviroment or the >>> problem of >>> libvirt-cim self. Tried find out myself, but because not very >>> farmiliar >>> with CIM, so didn't helps. Any suggestion will be appreciatec. >>> The steps of setting up testing enviroment is as follows: >>> >>> 1> install an RHEL5.5-Server, (x86_64) >>> >>> 2> updated the related packages to the newest version: >>> [root at dhcp-66-70-64 ~]# rpm -qa | grep xen >>> kernel-xen-2.6.18-183.el5 >>> xen-devel-3.0.3-102.el5 >>> xen-libs-3.0.3-102.el5 >>> >>> [root at dhcp-66-70-64 ~]# rpm -qa | grep libvirt >>> libvirt-devel-0.6.3-28.el5 >>> libvirt-debuginfo-0.6.3-28.el5 >>> libvirt-cim-0.5.8-2.el5 >>> libvirt-python-0.6.3-28.el5 >>> libvirt-0.6.3-28.el5 >>> libvirt-0.6.3-28.el5 >>> libvirt-cim-debuginfo-0.5.8-2.el5 >>> >>> [root at dhcp-66-70-64 ~]# rpm -qa | grep cmpi >>> libcmpiutil-0.5-1.el5 >>> libcmpiutil-0.5-1.el5 >>> libcmpiutil-devel-0.5-1.el5 >>> libcmpiutil-debuginfo-0.5-1.el5 >>> >>> [root at dhcp-66-70-64 ~]# rpm -qa | grep pega >>> tog-pegasus-devel-2.9.1-1.el5 >>> tog-pegasus-devel-2.9.1-1.el5 >>> tog-pegasus-2.9.1-1.el5 >>> >>> 3> install sblim-wbemcli >>> # yum install sblim-wbemcli -y >>> >>> 4> config CIM server (tog-pegasus) >>> # cimconfig -p -s enableHttpConnection=true >>> # cimconfig -p -s repositoryIsDefaultInstanceProvider=true >>> >>> 5> restart CIM server >>> # service tog-pegasus restart >>> >>> 6> get the providers list (verify) >>> [root at dhcp-66-70-64 ~]# wbemcli ecn >>> http://root:redhat at localhost:5988 | grep -i xen >>> localhost:5988/root/cimv2:Xen_RegisteredProfile >>> localhost:5988/root/cimv2:Xen_HostedAccessPoint >>> localhost:5988/root/cimv2:Xen_HostedResourcePool >>> localhost:5988/root/cimv2:Xen_HostedService >>> localhost:5988/root/cimv2:Xen_HostedDependency >>> localhost:5988/root/cimv2:Xen_ComputerSystem >>> localhost:5988/root/cimv2:Xen_ElementConformsToProfile >>> localhost:5988/root/cimv2:Xen_ElementCapabilities >>> >>> 7> download cimtest snapshot and extract it >>> # wget -c ftp://libvirt.org/libvirt-cim/cimtest-snapshot.tar.gz >>> # tar xvzf cimtest-snapshot.tar.gz >>> 8> execute the case >>> # CIM_NS=root/virt CIM_USER=root CIM_PASS=redhat ./runtests >>> libvirt-cim -i localhost >>> >>> >>> >>> Thanks and Regards >>> osier >>> _______________________________________________ >>> Libvirt-cim mailing list >>> Libvirt-cim at redhat.com >>> https://www.redhat.com/mailman/listinfo/libvirt-cim >>> >>> ------------------------------------------------------------------------ >>> >>> >>> _______________________________________________ >>> Libvirt-cim mailing list >>> Libvirt-cim at redhat.com >>> https://www.redhat.com/mailman/listinfo/libvirt-cim >> ------------------------------------------------------------------------ >> >> ================================================= >> Test Run Summary (Jan 05 2010): Xen on Red Hat Enterprise Linux >> Server release 5.4 (Tikanga) with Pegasus >> ================================================= >> Distro: Red Hat Enterprise Linux Server release 5.4 (Tikanga) >> Kernel: 2.6.18-183.el5xen >> libvirt: 0.6.3 >> Hypervisor: Xen 3.1.0 >> CIMOM: Pegasus 2.9.1 >> Libvirt-cim revision: 1018 >> Libvirt-cim changeset: 2ba30fae43e7 >> Cimtest revision: Cimtest changeset: Total test execution: Unknown >> ================================================= >> FAIL : 120 >> XFAIL : 0 >> SKIP : 5 >> PASS : 54 >> ----------------- >> Total : 179 >> ================================================= >> FAIL Test Summary: >> ComputerSystem - 03_defineVS.py: FAIL >> ComputerSystem - 04_defineStartVS.py: FAIL >> ComputerSystem - 05_activate_defined_start.py: FAIL >> ComputerSystem - 06_paused_active_suspend.py: FAIL >> ComputerSystem - 22_define_suspend.py: FAIL >> ComputerSystem - 23_pause_pause.py: FAIL >> ComputerSystem - 32_start_reboot.py: FAIL >> ComputerSystem - 33_suspend_reboot.py: FAIL >> ComputerSystem - 34_start_disable.py: FAIL >> ComputerSystem - 35_start_reset.py: FAIL >> ComputerSystem - 40_RSC_start.py: FAIL >> ComputerSystem - 41_cs_to_settingdefinestate.py: FAIL >> ComputerSystem - 42_cs_gi_errs.py: FAIL >> ComputerSystemIndication - 01_created_indication.py: FAIL >> ComputerSystemMigrationJobIndication - >> 01_csmig_ind_for_offline_mig.py: FAIL >> ElementAllocatedFromPool - 01_forward.py: FAIL >> ElementAllocatedFromPool - 02_reverse.py: FAIL >> ElementAllocatedFromPool - 03_reverse_errs.py: FAIL >> ElementAllocatedFromPool - 04_forward_errs.py: FAIL >> ElementCapabilities - 01_forward.py: FAIL >> ElementCapabilities - 02_reverse.py: FAIL >> ElementConforms - 01_forward.py: FAIL >> ElementConforms - 02_reverse.py: FAIL >> ElementConforms - 04_ectp_rev_errs.py: FAIL >> ElementSettingData - 01_forward.py: FAIL >> ElementSettingData - 03_esd_assoc_with_rasd_errs.py: FAIL >> EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: FAIL >> HostedAccessPoint - 01_forward.py: FAIL >> HostedAccessPoint - 02_reverse.py: FAIL >> HostedDependency - 01_forward.py: FAIL >> HostedDependency - 02_reverse.py: FAIL >> HostedDependency - 03_enabledstate.py: FAIL >> HostedDependency - 04_reverse_errs.py: FAIL >> HostSystem - 02_hostsystem_to_rasd.py: FAIL >> HostSystem - 03_hs_to_settdefcap.py: FAIL >> HostSystem - 04_hs_to_EAPF.py: FAIL >> KVMRedirectionSAP - 01_enum_KVMredSAP.py: FAIL >> KVMRedirectionSAP - 02_ipv6_support.py: FAIL >> LogicalDisk - 01_disk.py: FAIL >> LogicalDisk - 03_ld_gi_errs.py: FAIL >> Memory - 01_memory.py: FAIL >> Memory - 02_defgetmem.py: FAIL >> Memory - 03_mem_gi_errs.py: FAIL >> NetworkPort - 01_netport.py: FAIL >> NetworkPort - 02_np_gi_errors.py: FAIL >> Processor - 01_processor.py: FAIL >> Processor - 02_definesys_get_procs.py: FAIL >> Processor - 03_proc_gi_errs.py: FAIL >> Profile - 02_profile_to_elec.py: FAIL >> RASD - 01_verify_rasd_fields.py: FAIL >> RASD - 02_enum.py: FAIL >> RASD - 03_rasd_errs.py: FAIL >> RASD - 04_disk_rasd_size.py: FAIL >> RASD - 05_disk_rasd_emu_type.py: FAIL >> RASD - 06_parent_net_pool.py: FAIL >> RASD - 07_parent_disk_pool.py: FAIL >> RASDIndications - 01_guest_states_rasd_ind.py: FAIL >> RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: FAIL >> RedirectionService - 03_RedirectionSAP_errs.py: FAIL >> ResourceAllocationFromPool - 01_forward.py: FAIL >> ResourceAllocationFromPool - 02_reverse.py: FAIL >> ResourceAllocationFromPool - 04_reverse_errs.py: FAIL >> ResourceAllocationFromPool - 05_RAPF_err.py: FAIL >> ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: FAIL >> ResourcePoolConfigurationService - 07_DeleteResourcePool.py: FAIL >> ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: FAIL >> ResourcePoolConfigurationService - 09_DeleteDiskPool.py: FAIL >> ResourcePoolConfigurationService - 10_create_storagevolume.py: FAIL >> ResourcePoolConfigurationService - >> 11_create_dir_storagevolume_errs.py: FAIL >> ResourcePoolConfigurationService - >> 12_create_netfs_storagevolume_errs.py: FAIL >> ResourcePoolConfigurationService - 13_delete_storagevolume.py: FAIL >> ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: FAIL >> ServiceAccessBySAP - 01_forward.py: FAIL >> ServiceAccessBySAP - 02_reverse.py: FAIL >> ServiceAffectsElement - 01_forward.py: FAIL >> ServiceAffectsElement - 02_reverse.py: FAIL >> SettingsDefine - 01_forward.py: FAIL >> SettingsDefine - 02_reverse.py: FAIL >> SettingsDefine - 03_sds_fwd_errs.py: FAIL >> SettingsDefine - 04_sds_rev_errs.py: FAIL >> SettingsDefineCapabilities - 01_forward.py: FAIL >> SystemDevice - 01_forward.py: FAIL >> SystemDevice - 02_reverse.py: FAIL >> SystemDevice - 03_fwderrs.py: FAIL >> VirtualSystemManagementService - 01_definesystem_name.py: FAIL >> VirtualSystemManagementService - 02_destroysystem.py: FAIL >> VirtualSystemManagementService - 06_addresource.py: FAIL >> VirtualSystemManagementService - 08_modifyresource.py: FAIL >> VirtualSystemManagementService - 09_procrasd_persist.py: FAIL >> VirtualSystemManagementService - 11_define_memrasdunits.py: FAIL >> VirtualSystemManagementService - 12_referenced_config.py: FAIL >> VirtualSystemManagementService - 13_refconfig_additional_devs.py: FAIL >> VirtualSystemManagementService - 14_define_sys_disk.py: FAIL >> VirtualSystemManagementService - 15_mod_system_settings.py: FAIL >> VirtualSystemManagementService - 16_removeresource.py: FAIL >> VirtualSystemManagementService - 17_removeresource_neg.py: FAIL >> VirtualSystemManagementService - 18_define_sys_bridge.py: FAIL >> VirtualSystemManagementService - 19_definenetwork_ers.py: FAIL >> VirtualSystemManagementService - 20_verify_vnc_password.py: FAIL >> VirtualSystemManagementService - 21_createVS_verifyMAC.py: FAIL >> VirtualSystemManagementService - 22_addmulti_brg_interface.py: FAIL >> VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: FAIL >> VirtualSystemManagementService - 24_verify_modifyres_output.py: FAIL >> VirtualSystemMigrationService - 01_migratable_host.py: FAIL >> VirtualSystemMigrationService - 02_host_migrate_type.py: FAIL >> VirtualSystemMigrationService - 05_migratable_host_errs.py: FAIL >> VirtualSystemMigrationService - 06_remote_live_migration.py: FAIL >> VirtualSystemMigrationService - 07_remote_offline_migration.py: FAIL >> VirtualSystemMigrationService - >> 08_remote_restart_resume_migration.py: FAIL >> VirtualSystemSettingDataComponent - 01_forward.py: FAIL >> VirtualSystemSettingDataComponent - 02_reverse.py: FAIL >> VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: FAIL >> VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: FAIL >> VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL >> VSSD - 01_enum.py: FAIL >> VSSD - 02_bootldr.py: FAIL >> VSSD - 03_vssd_gi_errs.py: FAIL >> VSSD - 04_vssd_to_rasd.py: FAIL >> VSSD - 05_set_uuid.py: FAIL >> VSSD - 06_duplicate_uuid.py: FAIL >> >> ================================================= >> SKIP Test Summary: >> ComputerSystem - 02_nosystems.py: SKIP >> LogicalDisk - 02_nodevs.py: SKIP >> NetworkPort - 03_user_netport.py: SKIP >> Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP >> VirtualSystemManagementService - 24_define_sys_features.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 - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define a domain with the name domU1 from virsh >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> ComputerSystem - 04_defineStartVS.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Unable to define domguest >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> ComputerSystem - 05_activate_defined_start.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - ERROR: VS 'DomST1' was not defined >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> ComputerSystem - 06_paused_active_suspend.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Exception variable: VS 'DomST1' was not defined >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> ComputerSystem - 22_define_suspend.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Error: Unable to define domgst >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> ComputerSystem - 23_pause_pause.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Exception: 'Failed to define the guest: cs_test_domain' >> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >> `cs_test_domain' does not exist: Domain not found: >> xenUnifiedDomainLookupByName with return code 6 >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >> `cs_test_domain' does not exist: Domain not found: >> xenUnifiedDomainLookupByName >> -------------------------------------------------------------------- >> ComputerSystem - 27_define_pause_errs.py: PASS >> -------------------------------------------------------------------- >> ComputerSystem - 32_start_reboot.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Exception: Failed to define the guest: cs_test_domain >> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >> `cs_test_domain' does not exist: Domain not found: >> xenUnifiedDomainLookupByName with return code 6 >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >> `cs_test_domain' does not exist: Domain not found: >> xenUnifiedDomainLookupByName >> -------------------------------------------------------------------- >> ComputerSystem - 33_suspend_reboot.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Exception: Failed to define the guest: test_domain >> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >> `test_domain' does not exist: Domain not found: >> xenUnifiedDomainLookupByName with return code 6 >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >> `test_domain' does not exist: Domain not found: >> xenUnifiedDomainLookupByName >> -------------------------------------------------------------------- >> ComputerSystem - 34_start_disable.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Exception: Failed to define the guest: cs_test_domain >> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >> `cs_test_domain' does not exist: Domain not found: >> xenUnifiedDomainLookupByName with return code 6 >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >> `cs_test_domain' does not exist: Domain not found: >> xenUnifiedDomainLookupByName >> -------------------------------------------------------------------- >> ComputerSystem - 35_start_reset.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Exception: Failed to define the guest: cs_test_domain >> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >> `cs_test_domain' does not exist: Domain not found: >> xenUnifiedDomainLookupByName with return code 6 >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >> `cs_test_domain' does not exist: Domain not found: >> xenUnifiedDomainLookupByName >> -------------------------------------------------------------------- >> ComputerSystem - 40_RSC_start.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Exception: Failed to define the guest: cs_test_domain >> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >> `cs_test_domain' does not exist: Domain not found: >> xenUnifiedDomainLookupByName with return code 6 >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >> `cs_test_domain' does not exist: Domain not found: >> xenUnifiedDomainLookupByName >> -------------------------------------------------------------------- >> ComputerSystem - 41_cs_to_settingdefinestate.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: CrossClass_GuestDom >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> ComputerSystem - 42_cs_gi_errs.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Unable to define guest ETdomain >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> ComputerSystemIndication - 01_created_indication.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Exception: Unable to generate indication >> ERROR - Failed to start domain: domU >> ERROR - Exception: Unable to generate indication >> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain `domU' >> does not exist: Domain not found: xenUnifiedDomainLookupByName with >> return code 6 >> ERROR - Unable to destroy domU >> ERROR - Exception: Unable to generate indication >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> CIM_ERR_NOT_FOUND: Referenced domain `domU' does not exist: Domain >> not found: xenUnifiedDomainLookupByName >> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >> `domU' does not exist: Domain not found: xenUnifiedDomainLookupByName >> -------------------------------------------------------------------- >> ComputerSystemMigrationJobIndication - >> 01_csmig_ind_for_offline_mig.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Error define domain VM_frm_dhcp-66-70-64.nay.redhat.com >> ERROR - Error setting up the guest >> ERROR - Exception: Unable to generate indication >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> ElementAllocatedFromPool - 01_forward.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: 'hd_domain' >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> ElementAllocatedFromPool - 02_reverse.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: 'eafp_domain' >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> ElementAllocatedFromPool - 03_reverse_errs.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: hd_domain >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> ElementAllocatedFromPool - 04_forward_errs.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: hd_domain >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> ElementCapabilities - 01_forward.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: dom_elecap >> CIM_ERR_INVALID_CLASS: Linux_ComputerSystem >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> ElementCapabilities - 02_reverse.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: dom_elecap >> CIM_ERR_INVALID_CLASS: Linux_ComputerSystem >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> ElementCapabilities - 03_forward_errs.py: PASS >> -------------------------------------------------------------------- >> ElementCapabilities - 04_reverse_errs.py: PASS >> -------------------------------------------------------------------- >> ElementCapabilities - 05_hostsystem_cap.py: PASS >> -------------------------------------------------------------------- >> ElementConforms - 01_forward.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Unable to define domain domU >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> ElementConforms - 02_reverse.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - ERROR: Failed to Define the dom: domgst >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> ElementConforms - 03_ectp_fwd_errs.py: PASS >> -------------------------------------------------------------------- >> ElementConforms - 04_ectp_rev_errs.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Unable to define domain domU >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> ElementSettingData - 01_forward.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: esd_dom >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> ElementSettingData - 03_esd_assoc_with_rasd_errs.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: hd_domain1 >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> EnabledLogicalElementCapabilities - 01_enum.py: PASS >> -------------------------------------------------------------------- >> EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to Define the dom: qemu >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> HostedAccessPoint - 01_forward.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: domu1 >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> HostedAccessPoint - 02_reverse.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: domu1 >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> HostedDependency - 01_forward.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: hd_domain >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> HostedDependency - 02_reverse.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: hd_domain >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> HostedDependency - 03_enabledstate.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: hd_domain1 >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> HostedDependency - 04_reverse_errs.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: hd_domain1 >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> 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 >> -------------------------------------------------------------------- >> HostSystem - 01_enum.py: PASS >> -------------------------------------------------------------------- >> HostSystem - 02_hostsystem_to_rasd.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: CrossClass_GuestDom >> CIM_ERR_INVALID_CLASS: Linux_ComputerSystem >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> HostSystem - 03_hs_to_settdefcap.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: domgst_test >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> HostSystem - 04_hs_to_EAPF.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: 'CrossClass_GuestDom' >> CIM_ERR_INVALID_CLASS: Linux_ComputerSystem >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> HostSystem - 05_hs_gi_errs.py: PASS >> -------------------------------------------------------------------- >> HostSystem - 06_hs_to_vsms.py: PASS >> -------------------------------------------------------------------- >> KVMRedirectionSAP - 01_enum_KVMredSAP.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Exception: Failed to define the dom: test_kvmredsap_dom >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> KVMRedirectionSAP - 02_ipv6_support.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Exception: Failed to define the dom: test_ipv6_dom >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> LogicalDisk - 01_disk.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - AttributeError : 'NoneType' object has no attribute 'Name' >> Traceback (most recent call last): >> File "./lib/XenKvmLib/const.py", line 140, in do_try >> File "01_disk.py", line 60, in main >> if dev.Name != test_dev: >> AttributeError: 'NoneType' object has no attribute 'Name' >> ERROR - None >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> CIM_ERR_NOT_FOUND: No such instance (no domain for test_domain/xvda): >> Domain not found: xenUnifiedDomainLookupByName >> -------------------------------------------------------------------- >> LogicalDisk - 02_nodevs.py: SKIP >> ERROR - System has defined domains; unable to run >> -------------------------------------------------------------------- >> LogicalDisk - 03_ld_gi_errs.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to Define the dom: hd_domain >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> Memory - 01_memory.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - AttributeError : 'NoneType' object has no attribute >> 'ConsumableBlocks' >> Traceback (most recent call last): >> File "./lib/XenKvmLib/const.py", line 140, in do_try >> File "01_memory.py", line 59, in main >> if dev.ConsumableBlocks > dev.NumberOfBlocks: >> AttributeError: 'NoneType' object has no attribute 'ConsumableBlocks' >> ERROR - None >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> CIM_ERR_NOT_FOUND: No such instance (no domain for test_domain/mem): >> Domain not found: xenUnifiedDomainLookupByName >> -------------------------------------------------------------------- >> Memory - 02_defgetmem.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Exception: Failed to define the guest: domu >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> Memory - 03_mem_gi_errs.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to Create the dom: domU >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> NetworkPort - 01_netport.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - AttributeError : 'NoneType' object has no attribute >> 'DeviceID' >> Traceback (most recent call last): >> File "./lib/XenKvmLib/const.py", line 140, in do_try >> File "01_netport.py", line 86, in main >> if dev.DeviceID == None: >> AttributeError: 'NoneType' object has no attribute 'DeviceID' >> ERROR - None >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> CIM_ERR_NOT_FOUND: No such instance (no domain for >> test_domain/00:11:22:33:44:55): Domain not found: >> xenUnifiedDomainLookupByName >> -------------------------------------------------------------------- >> NetworkPort - 02_np_gi_errors.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Define domain failed! >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> NetworkPort - 03_user_netport.py: SKIP >> -------------------------------------------------------------------- >> Processor - 01_processor.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Domain not started, we're not able to check vcpu >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> Processor - 02_definesys_get_procs.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Exception: Failed to define the guest: test_domain >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> Processor - 03_proc_gi_errs.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the guest: proc_domain >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> Profile - 01_enum.py: PASS >> -------------------------------------------------------------------- >> Profile - 02_profile_to_elec.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Unable define domain domguest using DefineSystem() >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> Profile - 03_rprofile_gi_errs.py: PASS >> -------------------------------------------------------------------- >> Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP >> ERROR - SLP tool does not exist on the machine >> -------------------------------------------------------------------- >> RASD - 01_verify_rasd_fields.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Unable to define the domain VSSDC_dom >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> RASD - 02_enum.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to Define the domain: VSSDC_dom >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> RASD - 03_rasd_errs.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to Define the domain: VSSDC_dom >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> RASD - 04_disk_rasd_size.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to test RASD: Failed to define the dom: diskrasd_test >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> RASD - 05_disk_rasd_emu_type.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to call DefineSystem() >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> RASD - 06_parent_net_pool.py: FAIL >> ERROR - Exception details: Got 0 recs instead of 5 >> CIM_ERR_FAILED: Unable to create instance of type >> NetPoolResourceAllocationSettingData >> -------------------------------------------------------------------- >> RASD - 07_parent_disk_pool.py: FAIL >> ERROR - Exception details: Got 0 recs instead of 7 >> CIM_ERR_FAILED: Unable to create instance of type >> DiskPoolResourceAllocationSettingData >> -------------------------------------------------------------------- >> RASDIndications - 01_guest_states_rasd_ind.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Exception details: Failed to define domain >> VM_dhcp-66-70-64.nay.redhat.com >> ERROR - Exception details :Error setting up the guest >> 'VM_dhcp-66-70-64.nay.redhat.com' >> ERROR - Exception: Unable to generate indication >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Exception details: Failed to define domain >> VM_dhcp-66-70-64.nay.redhat.com >> ERROR - Error setting up the guest 'VM_dhcp-66-70-64.nay.redhat.com' >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> RedirectionService - 01_enum_crs.py: PASS >> -------------------------------------------------------------------- >> RedirectionService - 02_enum_crscap.py: PASS >> -------------------------------------------------------------------- >> RedirectionService - 03_RedirectionSAP_errs.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - ERROR: VS 'demo' is not defined >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> ReferencedProfile - 01_verify_refprof.py: PASS >> -------------------------------------------------------------------- >> ReferencedProfile - 02_refprofile_errs.py: PASS >> -------------------------------------------------------------------- >> ResourceAllocationFromPool - 01_forward.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to Define the domain: RAFP_dom >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> ResourceAllocationFromPool - 02_reverse.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to Define the domain: RAFP_dom >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> ResourceAllocationFromPool - 03_forward_errs.py: PASS >> -------------------------------------------------------------------- >> ResourceAllocationFromPool - 04_reverse_errs.py: FAIL >> ERROR - Unexpected rc code 4 and description >> CIM_ERR_INVALID_PARAMETER: >> Xen_ProcResourceAllocationSettingData.InstanceID="wrong" >> >> -------------------------------------------------------------------- >> ResourceAllocationFromPool - 05_RAPF_err.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom 'RAPF_domain' for 'network' type >> interface >> ERROR - Failed to setup the domain >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> 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: FAIL >> ERROR - Failed to get 'NetworkPoolRASD' >> ERROR - Error in networkpool creation >> CIM_ERR_FAILED: Unable to create instance of type >> NetPoolResourceAllocationSettingData >> -------------------------------------------------------------------- >> ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: >> PASS >> -------------------------------------------------------------------- >> ResourcePoolConfigurationService - >> 06_RemoveResourcesFromResourcePool.py: PASS >> -------------------------------------------------------------------- >> ResourcePoolConfigurationService - 07_DeleteResourcePool.py: FAIL >> ERROR - Failed to get 'NetworkPoolRASD' >> ERROR - Error in networkpool creation >> CIM_ERR_FAILED: Unable to create instance of type >> NetPoolResourceAllocationSettingData >> -------------------------------------------------------------------- >> ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: FAIL >> ERROR - Failed to get 'DiskPoolRASD' >> ERROR - Exception details: Failed to create 'DISK_POOL_NETFS' >> type diskpool 'DISK_POOL_NETFS' >> ERROR - Failed to get 'DiskPoolRASD' >> ERROR - Exception details: Failed to create 'DISK_POOL_DIR' type >> diskpool 'DISK_POOL_DIR' >> CIM_ERR_FAILED: Unable to create instance of type >> DiskPoolResourceAllocationSettingData >> CIM_ERR_FAILED: Unable to create instance of type >> DiskPoolResourceAllocationSettingData >> -------------------------------------------------------------------- >> ResourcePoolConfigurationService - 09_DeleteDiskPool.py: FAIL >> ERROR - Failed to get 'DiskPoolRASD' >> ERROR - Failed to create diskpool 'dp_pool' >> CIM_ERR_FAILED: Unable to create instance of type >> DiskPoolResourceAllocationSettingData >> -------------------------------------------------------------------- >> ResourcePoolConfigurationService - 10_create_storagevolume.py: FAIL >> ERROR - Exception details: local variable 'dpool_rasd' referenced >> before assignment >> CIM_ERR_FAILED: Unable to create instance of type >> StorageVolumeResourceAllocationSettingData >> -------------------------------------------------------------------- >> ResourcePoolConfigurationService - >> 11_create_dir_storagevolume_errs.py: FAIL >> ERROR - Exception: Failed to get default StorageVolRASD , >> Expected atleast 4, Got '0' >> ERROR - Failed to get the StorageVol RASD's >> ERROR - In get_inputs() Exception details: Failed to get the >> defualt StorageVolRASD info >> ERROR - In main() Exception details: Failed to verify the Invlaid >> 'DUP_VOL_PATH' >> CIM_ERR_FAILED: Unable to create instance of type >> StorageVolumeResourceAllocationSettingData >> -------------------------------------------------------------------- >> ResourcePoolConfigurationService - >> 12_create_netfs_storagevolume_errs.py: FAIL >> ERROR - Failed to get 'DiskPoolRASD' >> ERROR - Failed to create pool 'NETFS_POOL' >> CIM_ERR_FAILED: Unable to create instance of type >> DiskPoolResourceAllocationSettingData >> -------------------------------------------------------------------- >> ResourcePoolConfigurationService - 13_delete_storagevolume.py: FAIL >> ERROR - Exception: Failed to get default StorageVolRASD , >> Expected atleast 4, Got '0' >> ERROR - Failed to get the StorageVol RASD's >> ERROR - Exception details: Failed to get the defualt >> StorageVolRASD info >> CIM_ERR_FAILED: Unable to create instance of type >> StorageVolumeResourceAllocationSettingData >> -------------------------------------------------------------------- >> ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: FAIL >> ERROR - Exception: Failed to get default StorageVolRASD , >> Expected atleast 4, Got '0' >> ERROR - Failed to get the StorageVol RASD's >> ERROR - Exception details: Failed to get the defualt >> StorageVolRASD info >> CIM_ERR_FAILED: Unable to create instance of type >> StorageVolumeResourceAllocationSettingData >> -------------------------------------------------------------------- >> ServiceAccessBySAP - 01_forward.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: domu1 >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> ServiceAccessBySAP - 02_reverse.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: domu1 >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> ServiceAffectsElement - 01_forward.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: SAE_dom >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> ServiceAffectsElement - 02_reverse.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: SAE_dom >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> SettingsDefine - 01_forward.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to Create the dom: domu1 >> ERROR - NameError : global name 'cmxl' is not defined >> Traceback (most recent call last): >> File "./lib/XenKvmLib/const.py", line 140, in do_try >> File "01_forward.py", line 144, in main >> status, cxml = setup_env(options.ip, options.virt) >> File "01_forward.py", line 58, in setup_env >> return FAIL, cmxl >> NameError: global name 'cmxl' is not defined >> ERROR - None >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> SettingsDefine - 02_reverse.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to Create the dom: virtgst >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> SettingsDefine - 03_sds_fwd_errs.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: domu1 >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> SettingsDefine - 04_sds_rev_errs.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: domu1 >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> SettingsDefineCapabilities - 01_forward.py: FAIL >> ERROR - Xen_SettingsDefineCapabilities returned 0 ResourcePool >> objects instead of 68 >> CIM_ERR_FAILED: Unable to create instance of type >> StorageVolumeResourceAllocationSettingData >> -------------------------------------------------------------------- >> SettingsDefineCapabilities - 03_forward_errs.py: PASS >> -------------------------------------------------------------------- >> SettingsDefineCapabilities - 04_forward_vsmsdata.py: PASS >> -------------------------------------------------------------------- >> SettingsDefineCapabilities - 05_reverse_vsmcap.py: PASS >> -------------------------------------------------------------------- >> SystemDevice - 01_forward.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Unable to define domain test_domain >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> SystemDevice - 02_reverse.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Unable to define domain test_domain >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> SystemDevice - 03_fwderrs.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the domain 'virt1' >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> VirtualSystemManagementCapabilities - 01_enum.py: PASS >> -------------------------------------------------------------------- >> VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS >> -------------------------------------------------------------------- >> VirtualSystemManagementService - 01_definesystem_name.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Unable to define test_domain >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> VirtualSystemManagementService - 02_destroysystem.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the domain 'test_domain' >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> VirtualSystemManagementService - 03_definesystem_ess.py: PASS >> -------------------------------------------------------------------- >> VirtualSystemManagementService - 04_definesystem_ers.py: PASS >> -------------------------------------------------------------------- >> VirtualSystemManagementService - 05_destroysystem_neg.py: PASS >> -------------------------------------------------------------------- >> VirtualSystemManagementService - 06_addresource.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: rstest_domain >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> VirtualSystemManagementService - 07_addresource_neg.py: PASS >> -------------------------------------------------------------------- >> VirtualSystemManagementService - 08_modifyresource.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: rstest_domain >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> VirtualSystemManagementService - 09_procrasd_persist.py: FAIL >> ERROR - Unable to set template ProcRASD >> CIM_ERR_FAILED: Unable to create instance of type >> MemResourceAllocationSettingData >> -------------------------------------------------------------------- >> VirtualSystemManagementService - 10_hv_version.py: PASS >> -------------------------------------------------------------------- >> VirtualSystemManagementService - 11_define_memrasdunits.py: FAIL >> ERROR - KeyError : 'Xen_MemResourceAllocationSettingData' >> Traceback (most recent call last): >> File "./lib/XenKvmLib/const.py", line 140, in do_try >> File "11_define_memrasdunits.py", line 120, in main >> status = try_define(options, units, value, cxml) >> File "11_define_memrasdunits.py", line 61, in try_define >> if rasd_list[mrasd_cn] is None: >> KeyError: 'Xen_MemResourceAllocationSettingData' >> ERROR - None >> CIM_ERR_FAILED: Unable to create instance of type >> MemResourceAllocationSettingData >> -------------------------------------------------------------------- >> VirtualSystemManagementService - 12_referenced_config.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Unable to define rstest_domain using DefineSystem() >> ERROR - Unable to start rstest_domain >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> VirtualSystemManagementService - 13_refconfig_additional_devs.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Unable define domain rstest_domain >> ERROR - Unable to define domain rstest_domain >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> VirtualSystemManagementService - 14_define_sys_disk.py: FAIL >> ERROR - Unable to get template RASDs for rstest_disk_domain >> CIM_ERR_FAILED: Unable to create instance of type >> MemResourceAllocationSettingData >> -------------------------------------------------------------------- >> VirtualSystemManagementService - 15_mod_system_settings.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: rstest_domain >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> VirtualSystemManagementService - 16_removeresource.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: domain >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> VirtualSystemManagementService - 17_removeresource_neg.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: domain >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> VirtualSystemManagementService - 18_define_sys_bridge.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: brgtest_domain >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> VirtualSystemManagementService - 19_definenetwork_ers.py: FAIL >> ERROR - DEBUG nettype is network, field is None, tc is none >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Desc Mismatch, Got desc: 'CIM_ERR_FAILED: Unable to parse >> embedded object', exp 'Valid param ' >> ERROR - Defing domain with invalid network name None gave >> unexpected rc code 1 and description: >> CIM_ERR_FAILED: Unable to parse embedded object >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> VirtualSystemManagementService - 20_verify_vnc_password.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: vncpasswd_domain >> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >> `vncpasswd_domain' does not exist: Domain not found: >> xenUnifiedDomainLookupByName with return code 6 >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >> `vncpasswd_domain' does not exist: Domain not found: >> xenUnifiedDomainLookupByName >> -------------------------------------------------------------------- >> VirtualSystemManagementService - 21_createVS_verifyMAC.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Exception details: Unable to define dom_mac_notspecified >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> VirtualSystemManagementService - 22_addmulti_brg_interface.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - global name 'default_dom' is not defined >> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >> `my_domain1' does not exist: Domain not found: >> xenUnifiedDomainLookupByName with return code 6 >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >> `my_domain1' does not exist: Domain not found: >> xenUnifiedDomainLookupByName >> -------------------------------------------------------------------- >> VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Desc Mismatch, Got desc: 'CIM_ERR_FAILED: Unable to parse >> embedded object', exp 'Conflicting MAC Addresses' >> ERROR - Got unexpected rc code 1 and description CIM_ERR_FAILED: >> Unable to parse embedded object >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> VirtualSystemManagementService - 24_define_sys_features.py: SKIP >> -------------------------------------------------------------------- >> VirtualSystemManagementService - 24_verify_modifyres_output.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: rstest_domain >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> VirtualSystemMigrationCapabilities - 01_enum.py: PASS >> -------------------------------------------------------------------- >> VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: PASS >> -------------------------------------------------------------------- >> VirtualSystemMigrationService - 01_migratable_host.py: FAIL >> ERROR - Error invoke 'CheckVirtualSystemIsMigratableToHost'. >> ERROR - (1, u'CIM_ERR_FAILED: Failed to connect to remote host >> (xen+ssh://localhost/system)') >> Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="dom_migrate" >> >> InvokeMethod(CheckVirtualSystemIsMigratableToHost): CIM_ERR_FAILED: >> Failed to connect to remote host (xen+ssh://localhost/system) >> -------------------------------------------------------------------- >> VirtualSystemMigrationService - 02_host_migrate_type.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - CS instance not returned for dom_migrate. >> ERROR - Error start domain dom_migrate >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >> Domain not found: xenUnifiedDomainLookupByName >> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >> Domain not found: xenUnifiedDomainLookupByName >> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >> Domain not found: xenUnifiedDomainLookupByName >> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >> Domain not found: xenUnifiedDomainLookupByName >> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >> Domain not found: xenUnifiedDomainLookupByName >> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >> Domain not found: xenUnifiedDomainLookupByName >> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >> Domain not found: xenUnifiedDomainLookupByName >> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >> Domain not found: xenUnifiedDomainLookupByName >> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >> Domain not found: xenUnifiedDomainLookupByName >> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >> Domain not found: xenUnifiedDomainLookupByName >> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >> Domain not found: xenUnifiedDomainLookupByName >> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >> Domain not found: xenUnifiedDomainLookupByName >> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >> Domain not found: xenUnifiedDomainLookupByName >> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >> Domain not found: xenUnifiedDomainLookupByName >> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >> Domain not found: xenUnifiedDomainLookupByName >> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >> Domain not found: xenUnifiedDomainLookupByName >> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >> Domain not found: xenUnifiedDomainLookupByName >> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >> Domain not found: xenUnifiedDomainLookupByName >> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >> Domain not found: xenUnifiedDomainLookupByName >> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >> Domain not found: xenUnifiedDomainLookupByName >> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >> Domain not found: xenUnifiedDomainLookupByName >> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >> Domain not found: xenUnifiedDomainLookupByName >> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >> Domain not found: xenUnifiedDomainLookupByName >> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >> Domain not found: xenUnifiedDomainLookupByName >> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >> Domain not found: xenUnifiedDomainLookupByName >> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >> Domain not found: xenUnifiedDomainLookupByName >> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >> Domain not found: xenUnifiedDomainLookupByName >> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >> Domain not found: xenUnifiedDomainLookupByName >> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >> Domain not found: xenUnifiedDomainLookupByName >> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >> Domain not found: xenUnifiedDomainLookupByName >> -------------------------------------------------------------------- >> VirtualSystemMigrationService - 05_migratable_host_errs.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Error define domain dom_migration >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> VirtualSystemMigrationService - 06_remote_live_migration.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Error define domain VM_frm_dhcp-66-70-64.nay.redhat.com >> ERROR - Error setting up the guest >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> VirtualSystemMigrationService - 07_remote_offline_migration.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Error define domain VM_frm_dhcp-66-70-64.nay.redhat.com >> ERROR - Error setting up the guest >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> VirtualSystemMigrationService - >> 08_remote_restart_resume_migration.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Error define domain VM_frm_dhcp-66-70-64.nay.redhat.com >> ERROR - Error setting up the guest >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> VirtualSystemMigrationSettingData - 01_enum.py: PASS >> -------------------------------------------------------------------- >> VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS >> -------------------------------------------------------------------- >> VirtualSystemSettingDataComponent - 01_forward.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: VSSDC_dom >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> VirtualSystemSettingDataComponent - 02_reverse.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: VSSDC_dom >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Unable to define domain domu1 >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Unable to define domain domu1 >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> VirtualSystemSnapshotService - 01_enum.py: PASS >> -------------------------------------------------------------------- >> VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: PASS >> -------------------------------------------------------------------- >> VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Exception: ('Unable to define %s', 'snapshot_vm') >> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >> `snapshot_vm' does not exist: Domain not found: >> xenUnifiedDomainLookupByName with return code 6 >> ERROR - Failed to remove snapshot file for snapshot_vm >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >> `snapshot_vm' does not exist: Domain not found: >> xenUnifiedDomainLookupByName >> -------------------------------------------------------------------- >> VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS >> -------------------------------------------------------------------- >> VirtualSystemSnapshotServiceCapabilities - >> 02_vs_sservicecap_gi_errs.py: PASS >> -------------------------------------------------------------------- >> VSSD - 01_enum.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - error while create of VS >> ERROR - Missing VSSD instance for the system VSSD_dom >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> VSSD - 02_bootldr.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - error while 'define' of VS >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> VSSD - 03_vssd_gi_errs.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - error while define of VS >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> VSSD - 04_vssd_to_rasd.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to Define the domain: VSSDC_dom >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> VSSD - 05_set_uuid.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: uuid_domain >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> VSSD - 06_duplicate_uuid.py: FAIL >> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >> object with return code 1 >> ERROR - Failed to define the dom: uuid_domain >> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >> object >> -------------------------------------------------------------------- >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Libvirt-cim mailing list >> Libvirt-cim at redhat.com >> https://www.redhat.com/mailman/listinfo/libvirt-cim > From deeptik at linux.vnet.ibm.com Wed Jan 6 12:31:52 2010 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Wed, 06 Jan 2010 18:01:52 +0530 Subject: [Libvirt-cim] question about libvirt-cim testing. In-Reply-To: <4B433E42.5090606@redhat.com> References: <4B41EFDA.6040703@redhat.com> <4B42A751.2090902@redhat.com> <4B431EE0.6020107@linux.vnet.ibm.com> <4B433E42.5090606@redhat.com> Message-ID: <4B4482B8.60509@linux.vnet.ibm.com> Osier Yang wrote: > Hi Deepti > I tried wbemcli ei > 'http://root:password at localhost:5988/root/virt:Xen_VirtualSystemSettingData' > -nl . It seems behaves well: Hi Osier, Can you enable to the trace and send the cimom logs ? Use the following commands: cimconfig -s traceLeve=4 cimconfig -s traceComponents=ALL The trace file will be @ /var/lib/Pegasus/cache/trace/ > > [root at dhcp-66-70-64 libcmpiutil]# wbemcli ei > 'http://root:redhat at localhost:5988/root/virt:Xen_VirtualSystemSettingData' > -nl > localhost:5988/root/virt:Xen_VirtualSystemSettingData.InstanceID="Xen:Domain-0" > > -Caption="Virtual System" > -Description="Virtual System" > -Generation= > -InstanceID="Xen:Domain-0" > -ElementName="Domain-0" > -ConfigurationName= > -ChangeableType= > -VirtualSystemIdentifier="Domain-0" > -VirtualSystemType="Xen" > -Notes= > -CreationTime= > -ConfigurationID= > -ConfigurationDataRoot= > -ConfigurationFile= > -SnapshotDataRoot= > -SuspendDataRoot= > -SwapFileDataRoot= > -LogDataRoot= > -AutomaticStartupAction= > -AutomaticStartupActionDelay= > -AutomaticStartupActionSequenceNumber= > -AutomaticRecoveryAction=3 > -RecoveryFile= > -ClockOffset=0 > -AutomaticShutdownAction=2 > -UUID="00000000-0000-0000-0000-000000000000" > -EnableACPI=FALSE > -EnableAPIC=FALSE > -EnablePAE=FALSE > -IsFullVirt=FALSE > -Bootloader= > -BootloaderArgs= > -Kernel= > -Ramdisk= > -CommandLine= > -BootDevices= > -Emulator= > > Then I get the newest libcmpiutil from > ftp://libvirt.org/libvirt-cim/libcmpiutil-snapshot.tar.gz, build and > install it. > but it doesn't work, the testing result is same as previous attachment. > > BTW: there should be some problem of the Makefile of > ftp://libvirt.org/libvirt-cim/libcmpiutil-snapshot.tar.gz : > [root at dhcp-66-70-64 libcmpiutil]# make clean && make > Making clean in tools > make[1]: Entering directory `/root/libcmpiutil/tools' > rm -rf .libs _libs > rm -f *.lo > make[1]: Leaving directory `/root/libcmpiutil/tools' > Making clean in . > make[1]: Entering directory `/root/libcmpiutil' > test -z "libcueoparser.la libcmpiutil.la " || rm -f libcueoparser.la > libcmpiutil.la > rm -f "./so_locations" > rm -f "./so_locations" > rm -rf .libs _libs > rm -f eo_util_lexer.c eo_util_parser.c eo_util_parser.h *~ > rm -f *.o > rm -f *.lo > make[1]: Leaving directory `/root/libcmpiutil' > : -Peo_parse_ eo_util_lexer.l > sed '/^#/ s|lex.eo_parse_\.c|eo_util_lexer.c|' lex.eo_parse_.c > >eo_util_lexer.c > sed: can't read lex.eo_parse_.c: No such file or directory > make: *** [eo_util_lexer.c] Error 2 > > But with type another "make" in the command line after above "make > clean && make", no error happens. I will take a look at this. Thanks for the heads up here. > > Thanks and Regards > osier -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From jyang at redhat.com Wed Jan 6 13:44:55 2010 From: jyang at redhat.com (Osier Yang) Date: Wed, 06 Jan 2010 21:44:55 +0800 Subject: [Libvirt-cim] question about libvirt-cim testing. In-Reply-To: <4B4482B8.60509@linux.vnet.ibm.com> References: <4B41EFDA.6040703@redhat.com> <4B42A751.2090902@redhat.com> <4B431EE0.6020107@linux.vnet.ibm.com> <4B433E42.5090606@redhat.com> <4B4482B8.60509@linux.vnet.ibm.com> Message-ID: <4B4493D7.5050107@redhat.com> hi deepti It seems caused by DMTF CIM v2.16 not installed. I downloaded cimtest-snapshot, libvirt-cim-snapshot, libcmpiutil-snapshot, all of them are newest. (20090106). built and installed them. and then installed the DMTF CIM v2.16 as the instructions listed in "http://libvirt.org/CIM/schema.html". (the first and the last instruction failed, the others worked well). Then the testing result seems good now (with about 11 cases failed). The attachment is the testing and tracing result. Tomrrow, I will reinstall a new RHEL5.5-Server, do the testing again to make sure whether it's caused by DMTF CIM v2.16 not installed indeed. It's late, I must go to sleep, :) BTW: if it's really caused by DMTF CIM v2.16 not installed. It's not reasonable I think, because there is no RPM package of DMTF CIM v2.16, the end-user who want to take the advantage of libvirt-cim must install it manaully. it's not good. Of course, It may be caused by other problem but not DMTF CIM v2.16 not installed. just wait for confirming. :-) Thanks and Regards osier Deepti B Kalakeri wrote: > > > Osier Yang wrote: >> Hi Deepti >> I tried wbemcli ei >> 'http://root:password at localhost:5988/root/virt:Xen_VirtualSystemSettingData' >> -nl . It seems behaves well: > Hi Osier, > > Can you enable to the trace and send the cimom logs ? > Use the following commands: > cimconfig -s traceLeve=4 > cimconfig -s traceComponents=ALL > > The trace file will be @ /var/lib/Pegasus/cache/trace/ > >> >> [root at dhcp-66-70-64 libcmpiutil]# wbemcli ei >> 'http://root:redhat at localhost:5988/root/virt:Xen_VirtualSystemSettingData' >> -nl >> localhost:5988/root/virt:Xen_VirtualSystemSettingData.InstanceID="Xen:Domain-0" >> >> -Caption="Virtual System" >> -Description="Virtual System" >> -Generation= >> -InstanceID="Xen:Domain-0" >> -ElementName="Domain-0" >> -ConfigurationName= >> -ChangeableType= >> -VirtualSystemIdentifier="Domain-0" >> -VirtualSystemType="Xen" >> -Notes= >> -CreationTime= >> -ConfigurationID= >> -ConfigurationDataRoot= >> -ConfigurationFile= >> -SnapshotDataRoot= >> -SuspendDataRoot= >> -SwapFileDataRoot= >> -LogDataRoot= >> -AutomaticStartupAction= >> -AutomaticStartupActionDelay= >> -AutomaticStartupActionSequenceNumber= >> -AutomaticRecoveryAction=3 >> -RecoveryFile= >> -ClockOffset=0 >> -AutomaticShutdownAction=2 >> -UUID="00000000-0000-0000-0000-000000000000" >> -EnableACPI=FALSE >> -EnableAPIC=FALSE >> -EnablePAE=FALSE >> -IsFullVirt=FALSE >> -Bootloader= >> -BootloaderArgs= >> -Kernel= >> -Ramdisk= >> -CommandLine= >> -BootDevices= >> -Emulator= >> >> Then I get the newest libcmpiutil from >> ftp://libvirt.org/libvirt-cim/libcmpiutil-snapshot.tar.gz, build and >> install it. >> but it doesn't work, the testing result is same as previous attachment. >> >> BTW: there should be some problem of the Makefile of >> ftp://libvirt.org/libvirt-cim/libcmpiutil-snapshot.tar.gz : >> [root at dhcp-66-70-64 libcmpiutil]# make clean && make >> Making clean in tools >> make[1]: Entering directory `/root/libcmpiutil/tools' >> rm -rf .libs _libs >> rm -f *.lo >> make[1]: Leaving directory `/root/libcmpiutil/tools' >> Making clean in . >> make[1]: Entering directory `/root/libcmpiutil' >> test -z "libcueoparser.la libcmpiutil.la " || rm -f libcueoparser.la >> libcmpiutil.la >> rm -f "./so_locations" >> rm -f "./so_locations" >> rm -rf .libs _libs >> rm -f eo_util_lexer.c eo_util_parser.c eo_util_parser.h *~ >> rm -f *.o >> rm -f *.lo >> make[1]: Leaving directory `/root/libcmpiutil' >> : -Peo_parse_ eo_util_lexer.l >> sed '/^#/ s|lex.eo_parse_\.c|eo_util_lexer.c|' lex.eo_parse_.c >> >eo_util_lexer.c >> sed: can't read lex.eo_parse_.c: No such file or directory >> make: *** [eo_util_lexer.c] Error 2 >> >> But with type another "make" in the command line after above "make >> clean && make", no error happens. > I will take a look at this. Thanks for the heads up here. >> >> Thanks and Regards >> osier > -------------- next part -------------- A non-text attachment was scrubbed... Name: trace.tar.bz2 Type: application/x-bzip Size: 5596042 bytes Desc: not available URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: run_report.txt URL: From rmaciel at linux.vnet.ibm.com Wed Jan 6 18:14:24 2010 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Wed, 06 Jan 2010 16:14:24 -0200 Subject: [Libvirt-cim] question about libvirt-cim testing. In-Reply-To: <4B433E42.5090606@redhat.com> References: <4B41EFDA.6040703@redhat.com> <4B42A751.2090902@redhat.com> <4B431EE0.6020107@linux.vnet.ibm.com> <4B433E42.5090606@redhat.com> Message-ID: <4B44D300.9040506@linux.vnet.ibm.com> On 01/05/2010 11:27 AM, Osier Yang wrote: > Then I get the newest libcmpiutil from > ftp://libvirt.org/libvirt-cim/libcmpiutil-snapshot.tar.gz, build and > install it. > but it doesn't work, the testing result is same as previous attachment. Did you configure libcmpiutil with EO Parser support (--enable-eoparser when using the ./configure script)? > > BTW: there should be some problem of the Makefile of > ftp://libvirt.org/libvirt-cim/libcmpiutil-snapshot.tar.gz : > [root at dhcp-66-70-64 libcmpiutil]# make clean && make > Making clean in tools > make[1]: Entering directory `/root/libcmpiutil/tools' > rm -rf .libs _libs > rm -f *.lo > make[1]: Leaving directory `/root/libcmpiutil/tools' > Making clean in . > make[1]: Entering directory `/root/libcmpiutil' > test -z "libcueoparser.la libcmpiutil.la " || rm -f libcueoparser.la > libcmpiutil.la > rm -f "./so_locations" > rm -f "./so_locations" > rm -rf .libs _libs > rm -f eo_util_lexer.c eo_util_parser.c eo_util_parser.h *~ > rm -f *.o > rm -f *.lo > make[1]: Leaving directory `/root/libcmpiutil' > : -Peo_parse_ eo_util_lexer.l > sed '/^#/ s|lex.eo_parse_\.c|eo_util_lexer.c|' lex.eo_parse_.c > >eo_util_lexer.c > sed: can't read lex.eo_parse_.c: No such file or directory > make: *** [eo_util_lexer.c] Error 2 > > But with type another "make" in the command line after above "make clean > && make", no error happens. Just to make sure, you have bison and flex installed, right? What is their version? To me looks like the problem is in your virsh, (since it cannot create a guest using virsh), not libvirt-cim or libcmpiutil. Check if you are able to create a guest on virsh, please. > > Thanks and Regards > osier > > > > > Deepti B Kalakeri wrote: >> Hi Osier, >> >> Thanks for using cimtest. Most of the failures are because of the >> "Unable to parse embedded object" error. >> This does not seem to be test case issue. I have seen this error with >> the old libcmpiutil, but this error seems to go with latest libcmpiutil. >> I have not used RHEL5.5 for testing so not sure if the packages being >> used are all up to date. >> Will you be able to build and install the libcmpiutil [from hg clone >> http://libvirt.org/hg/libcmpiutil ] or better you can use the latest >> one available @ >> ftp://libvirt.org/libvirt-cim/libcmpiutil-snapshot.tar.gz to build and >> install it. >> The build and setup instructions are given @ >> http://wiki.libvirt.org/page/Libvirt-cim_setup [ Check the Install >> from Source topic] >> >> Also, can you see if you can execute the following command without any >> error: >> wbemcli ei >> 'http://root:password at localhost:5988/root/virt:Xen_VirtualSystemSettingData' >> -nl >> >> Thanks and Regards, >> Deepti. >> >> >> Osier Yang wrote: >>> Hi Sharad >>> sorry for missing the attachment, here it is now, see the attachment. >>> >>> Thanks and Regards >>> osier >>> >>> Sharad Mishra wrote: >>>> >>>> Hi Osier, >>>> >>>> I don't see any test result attachment with your email. Can you send >>>> your test results? >>>> >>>> Regards >>>> Sharad Mishra >>>> System x Enablement >>>> Linux Technology Center >>>> IBM >>>> >>>> Inactive hide details for Osier Yang ---01/04/2010 05:48:36 AM---Hi >>>> allOsier Yang ---01/04/2010 05:48:36 AM---Hi all >>>> >>>> *Osier Yang * >>>> Sent by: libvirt-cim-bounces at redhat.com >>>> >>>> 01/04/2010 05:40 AM >>>> Please respond to >>>> List for discussion and development of libvirt >>>> CIM >>>> >>>> To >>>> libvirt-cim at redhat.com, Guan Nan Ren >>>> >>>> cc >>>> Subject >>>> [Libvirt-cim] question about libvirt-cim testing. >>>> >>>> >>>> Hi all >>>> I got a testing result (see the attachment) that seems not >>>> reasonable with cimtest --- with just 50 about cases passed. And I just >>>> want to known if it's caused by my testing enviroment or the problem of >>>> libvirt-cim self. Tried find out myself, but because not very farmiliar >>>> with CIM, so didn't helps. Any suggestion will be appreciatec. >>>> The steps of setting up testing enviroment is as follows: >>>> >>>> 1> install an RHEL5.5-Server, (x86_64) >>>> >>>> 2> updated the related packages to the newest version: >>>> [root at dhcp-66-70-64 ~]# rpm -qa | grep xen >>>> kernel-xen-2.6.18-183.el5 >>>> xen-devel-3.0.3-102.el5 >>>> xen-libs-3.0.3-102.el5 >>>> >>>> [root at dhcp-66-70-64 ~]# rpm -qa | grep libvirt >>>> libvirt-devel-0.6.3-28.el5 >>>> libvirt-debuginfo-0.6.3-28.el5 >>>> libvirt-cim-0.5.8-2.el5 >>>> libvirt-python-0.6.3-28.el5 >>>> libvirt-0.6.3-28.el5 >>>> libvirt-0.6.3-28.el5 >>>> libvirt-cim-debuginfo-0.5.8-2.el5 >>>> >>>> [root at dhcp-66-70-64 ~]# rpm -qa | grep cmpi >>>> libcmpiutil-0.5-1.el5 >>>> libcmpiutil-0.5-1.el5 >>>> libcmpiutil-devel-0.5-1.el5 >>>> libcmpiutil-debuginfo-0.5-1.el5 >>>> >>>> [root at dhcp-66-70-64 ~]# rpm -qa | grep pega >>>> tog-pegasus-devel-2.9.1-1.el5 >>>> tog-pegasus-devel-2.9.1-1.el5 >>>> tog-pegasus-2.9.1-1.el5 >>>> >>>> 3> install sblim-wbemcli >>>> # yum install sblim-wbemcli -y >>>> >>>> 4> config CIM server (tog-pegasus) >>>> # cimconfig -p -s enableHttpConnection=true >>>> # cimconfig -p -s repositoryIsDefaultInstanceProvider=true >>>> >>>> 5> restart CIM server >>>> # service tog-pegasus restart >>>> >>>> 6> get the providers list (verify) >>>> [root at dhcp-66-70-64 ~]# wbemcli ecn >>>> http://root:redhat at localhost:5988 | grep -i xen >>>> localhost:5988/root/cimv2:Xen_RegisteredProfile >>>> localhost:5988/root/cimv2:Xen_HostedAccessPoint >>>> localhost:5988/root/cimv2:Xen_HostedResourcePool >>>> localhost:5988/root/cimv2:Xen_HostedService >>>> localhost:5988/root/cimv2:Xen_HostedDependency >>>> localhost:5988/root/cimv2:Xen_ComputerSystem >>>> localhost:5988/root/cimv2:Xen_ElementConformsToProfile >>>> localhost:5988/root/cimv2:Xen_ElementCapabilities >>>> >>>> 7> download cimtest snapshot and extract it >>>> # wget -c ftp://libvirt.org/libvirt-cim/cimtest-snapshot.tar.gz >>>> # tar xvzf cimtest-snapshot.tar.gz >>>> 8> execute the case >>>> # CIM_NS=root/virt CIM_USER=root CIM_PASS=redhat ./runtests >>>> libvirt-cim -i localhost >>>> >>>> >>>> >>>> Thanks and Regards >>>> osier >>>> _______________________________________________ >>>> Libvirt-cim mailing list >>>> Libvirt-cim at redhat.com >>>> https://www.redhat.com/mailman/listinfo/libvirt-cim >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> >>>> _______________________________________________ >>>> Libvirt-cim mailing list >>>> Libvirt-cim at redhat.com >>>> https://www.redhat.com/mailman/listinfo/libvirt-cim >>> ------------------------------------------------------------------------ >>> >>> ================================================= >>> Test Run Summary (Jan 05 2010): Xen on Red Hat Enterprise Linux >>> Server release 5.4 (Tikanga) with Pegasus >>> ================================================= >>> Distro: Red Hat Enterprise Linux Server release 5.4 (Tikanga) >>> Kernel: 2.6.18-183.el5xen >>> libvirt: 0.6.3 >>> Hypervisor: Xen 3.1.0 >>> CIMOM: Pegasus 2.9.1 >>> Libvirt-cim revision: 1018 >>> Libvirt-cim changeset: 2ba30fae43e7 >>> Cimtest revision: Cimtest changeset: Total test execution: Unknown >>> ================================================= >>> FAIL : 120 >>> XFAIL : 0 >>> SKIP : 5 >>> PASS : 54 >>> ----------------- >>> Total : 179 >>> ================================================= >>> FAIL Test Summary: >>> ComputerSystem - 03_defineVS.py: FAIL >>> ComputerSystem - 04_defineStartVS.py: FAIL >>> ComputerSystem - 05_activate_defined_start.py: FAIL >>> ComputerSystem - 06_paused_active_suspend.py: FAIL >>> ComputerSystem - 22_define_suspend.py: FAIL >>> ComputerSystem - 23_pause_pause.py: FAIL >>> ComputerSystem - 32_start_reboot.py: FAIL >>> ComputerSystem - 33_suspend_reboot.py: FAIL >>> ComputerSystem - 34_start_disable.py: FAIL >>> ComputerSystem - 35_start_reset.py: FAIL >>> ComputerSystem - 40_RSC_start.py: FAIL >>> ComputerSystem - 41_cs_to_settingdefinestate.py: FAIL >>> ComputerSystem - 42_cs_gi_errs.py: FAIL >>> ComputerSystemIndication - 01_created_indication.py: FAIL >>> ComputerSystemMigrationJobIndication - >>> 01_csmig_ind_for_offline_mig.py: FAIL >>> ElementAllocatedFromPool - 01_forward.py: FAIL >>> ElementAllocatedFromPool - 02_reverse.py: FAIL >>> ElementAllocatedFromPool - 03_reverse_errs.py: FAIL >>> ElementAllocatedFromPool - 04_forward_errs.py: FAIL >>> ElementCapabilities - 01_forward.py: FAIL >>> ElementCapabilities - 02_reverse.py: FAIL >>> ElementConforms - 01_forward.py: FAIL >>> ElementConforms - 02_reverse.py: FAIL >>> ElementConforms - 04_ectp_rev_errs.py: FAIL >>> ElementSettingData - 01_forward.py: FAIL >>> ElementSettingData - 03_esd_assoc_with_rasd_errs.py: FAIL >>> EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: FAIL >>> HostedAccessPoint - 01_forward.py: FAIL >>> HostedAccessPoint - 02_reverse.py: FAIL >>> HostedDependency - 01_forward.py: FAIL >>> HostedDependency - 02_reverse.py: FAIL >>> HostedDependency - 03_enabledstate.py: FAIL >>> HostedDependency - 04_reverse_errs.py: FAIL >>> HostSystem - 02_hostsystem_to_rasd.py: FAIL >>> HostSystem - 03_hs_to_settdefcap.py: FAIL >>> HostSystem - 04_hs_to_EAPF.py: FAIL >>> KVMRedirectionSAP - 01_enum_KVMredSAP.py: FAIL >>> KVMRedirectionSAP - 02_ipv6_support.py: FAIL >>> LogicalDisk - 01_disk.py: FAIL >>> LogicalDisk - 03_ld_gi_errs.py: FAIL >>> Memory - 01_memory.py: FAIL >>> Memory - 02_defgetmem.py: FAIL >>> Memory - 03_mem_gi_errs.py: FAIL >>> NetworkPort - 01_netport.py: FAIL >>> NetworkPort - 02_np_gi_errors.py: FAIL >>> Processor - 01_processor.py: FAIL >>> Processor - 02_definesys_get_procs.py: FAIL >>> Processor - 03_proc_gi_errs.py: FAIL >>> Profile - 02_profile_to_elec.py: FAIL >>> RASD - 01_verify_rasd_fields.py: FAIL >>> RASD - 02_enum.py: FAIL >>> RASD - 03_rasd_errs.py: FAIL >>> RASD - 04_disk_rasd_size.py: FAIL >>> RASD - 05_disk_rasd_emu_type.py: FAIL >>> RASD - 06_parent_net_pool.py: FAIL >>> RASD - 07_parent_disk_pool.py: FAIL >>> RASDIndications - 01_guest_states_rasd_ind.py: FAIL >>> RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: FAIL >>> RedirectionService - 03_RedirectionSAP_errs.py: FAIL >>> ResourceAllocationFromPool - 01_forward.py: FAIL >>> ResourceAllocationFromPool - 02_reverse.py: FAIL >>> ResourceAllocationFromPool - 04_reverse_errs.py: FAIL >>> ResourceAllocationFromPool - 05_RAPF_err.py: FAIL >>> ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: FAIL >>> ResourcePoolConfigurationService - 07_DeleteResourcePool.py: FAIL >>> ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: FAIL >>> ResourcePoolConfigurationService - 09_DeleteDiskPool.py: FAIL >>> ResourcePoolConfigurationService - 10_create_storagevolume.py: FAIL >>> ResourcePoolConfigurationService - >>> 11_create_dir_storagevolume_errs.py: FAIL >>> ResourcePoolConfigurationService - >>> 12_create_netfs_storagevolume_errs.py: FAIL >>> ResourcePoolConfigurationService - 13_delete_storagevolume.py: FAIL >>> ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: FAIL >>> ServiceAccessBySAP - 01_forward.py: FAIL >>> ServiceAccessBySAP - 02_reverse.py: FAIL >>> ServiceAffectsElement - 01_forward.py: FAIL >>> ServiceAffectsElement - 02_reverse.py: FAIL >>> SettingsDefine - 01_forward.py: FAIL >>> SettingsDefine - 02_reverse.py: FAIL >>> SettingsDefine - 03_sds_fwd_errs.py: FAIL >>> SettingsDefine - 04_sds_rev_errs.py: FAIL >>> SettingsDefineCapabilities - 01_forward.py: FAIL >>> SystemDevice - 01_forward.py: FAIL >>> SystemDevice - 02_reverse.py: FAIL >>> SystemDevice - 03_fwderrs.py: FAIL >>> VirtualSystemManagementService - 01_definesystem_name.py: FAIL >>> VirtualSystemManagementService - 02_destroysystem.py: FAIL >>> VirtualSystemManagementService - 06_addresource.py: FAIL >>> VirtualSystemManagementService - 08_modifyresource.py: FAIL >>> VirtualSystemManagementService - 09_procrasd_persist.py: FAIL >>> VirtualSystemManagementService - 11_define_memrasdunits.py: FAIL >>> VirtualSystemManagementService - 12_referenced_config.py: FAIL >>> VirtualSystemManagementService - 13_refconfig_additional_devs.py: FAIL >>> VirtualSystemManagementService - 14_define_sys_disk.py: FAIL >>> VirtualSystemManagementService - 15_mod_system_settings.py: FAIL >>> VirtualSystemManagementService - 16_removeresource.py: FAIL >>> VirtualSystemManagementService - 17_removeresource_neg.py: FAIL >>> VirtualSystemManagementService - 18_define_sys_bridge.py: FAIL >>> VirtualSystemManagementService - 19_definenetwork_ers.py: FAIL >>> VirtualSystemManagementService - 20_verify_vnc_password.py: FAIL >>> VirtualSystemManagementService - 21_createVS_verifyMAC.py: FAIL >>> VirtualSystemManagementService - 22_addmulti_brg_interface.py: FAIL >>> VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: FAIL >>> VirtualSystemManagementService - 24_verify_modifyres_output.py: FAIL >>> VirtualSystemMigrationService - 01_migratable_host.py: FAIL >>> VirtualSystemMigrationService - 02_host_migrate_type.py: FAIL >>> VirtualSystemMigrationService - 05_migratable_host_errs.py: FAIL >>> VirtualSystemMigrationService - 06_remote_live_migration.py: FAIL >>> VirtualSystemMigrationService - 07_remote_offline_migration.py: FAIL >>> VirtualSystemMigrationService - >>> 08_remote_restart_resume_migration.py: FAIL >>> VirtualSystemSettingDataComponent - 01_forward.py: FAIL >>> VirtualSystemSettingDataComponent - 02_reverse.py: FAIL >>> VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: FAIL >>> VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: FAIL >>> VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL >>> VSSD - 01_enum.py: FAIL >>> VSSD - 02_bootldr.py: FAIL >>> VSSD - 03_vssd_gi_errs.py: FAIL >>> VSSD - 04_vssd_to_rasd.py: FAIL >>> VSSD - 05_set_uuid.py: FAIL >>> VSSD - 06_duplicate_uuid.py: FAIL >>> >>> ================================================= >>> SKIP Test Summary: >>> ComputerSystem - 02_nosystems.py: SKIP >>> LogicalDisk - 02_nodevs.py: SKIP >>> NetworkPort - 03_user_netport.py: SKIP >>> Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP >>> VirtualSystemManagementService - 24_define_sys_features.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 - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define a domain with the name domU1 from virsh >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> ComputerSystem - 04_defineStartVS.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Unable to define domguest >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> ComputerSystem - 05_activate_defined_start.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - ERROR: VS 'DomST1' was not defined >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> ComputerSystem - 06_paused_active_suspend.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Exception variable: VS 'DomST1' was not defined >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> ComputerSystem - 22_define_suspend.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Error: Unable to define domgst >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> ComputerSystem - 23_pause_pause.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Exception: 'Failed to define the guest: cs_test_domain' >>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>> `cs_test_domain' does not exist: Domain not found: >>> xenUnifiedDomainLookupByName with return code 6 >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>> `cs_test_domain' does not exist: Domain not found: >>> xenUnifiedDomainLookupByName >>> -------------------------------------------------------------------- >>> ComputerSystem - 27_define_pause_errs.py: PASS >>> -------------------------------------------------------------------- >>> ComputerSystem - 32_start_reboot.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Exception: Failed to define the guest: cs_test_domain >>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>> `cs_test_domain' does not exist: Domain not found: >>> xenUnifiedDomainLookupByName with return code 6 >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>> `cs_test_domain' does not exist: Domain not found: >>> xenUnifiedDomainLookupByName >>> -------------------------------------------------------------------- >>> ComputerSystem - 33_suspend_reboot.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Exception: Failed to define the guest: test_domain >>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>> `test_domain' does not exist: Domain not found: >>> xenUnifiedDomainLookupByName with return code 6 >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>> `test_domain' does not exist: Domain not found: >>> xenUnifiedDomainLookupByName >>> -------------------------------------------------------------------- >>> ComputerSystem - 34_start_disable.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Exception: Failed to define the guest: cs_test_domain >>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>> `cs_test_domain' does not exist: Domain not found: >>> xenUnifiedDomainLookupByName with return code 6 >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>> `cs_test_domain' does not exist: Domain not found: >>> xenUnifiedDomainLookupByName >>> -------------------------------------------------------------------- >>> ComputerSystem - 35_start_reset.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Exception: Failed to define the guest: cs_test_domain >>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>> `cs_test_domain' does not exist: Domain not found: >>> xenUnifiedDomainLookupByName with return code 6 >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>> `cs_test_domain' does not exist: Domain not found: >>> xenUnifiedDomainLookupByName >>> -------------------------------------------------------------------- >>> ComputerSystem - 40_RSC_start.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Exception: Failed to define the guest: cs_test_domain >>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>> `cs_test_domain' does not exist: Domain not found: >>> xenUnifiedDomainLookupByName with return code 6 >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>> `cs_test_domain' does not exist: Domain not found: >>> xenUnifiedDomainLookupByName >>> -------------------------------------------------------------------- >>> ComputerSystem - 41_cs_to_settingdefinestate.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: CrossClass_GuestDom >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> ComputerSystem - 42_cs_gi_errs.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Unable to define guest ETdomain >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> ComputerSystemIndication - 01_created_indication.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Exception: Unable to generate indication >>> ERROR - Failed to start domain: domU >>> ERROR - Exception: Unable to generate indication >>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain `domU' >>> does not exist: Domain not found: xenUnifiedDomainLookupByName with >>> return code 6 >>> ERROR - Unable to destroy domU >>> ERROR - Exception: Unable to generate indication >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> CIM_ERR_NOT_FOUND: Referenced domain `domU' does not exist: Domain >>> not found: xenUnifiedDomainLookupByName >>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>> `domU' does not exist: Domain not found: xenUnifiedDomainLookupByName >>> -------------------------------------------------------------------- >>> ComputerSystemMigrationJobIndication - >>> 01_csmig_ind_for_offline_mig.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Error define domain VM_frm_dhcp-66-70-64.nay.redhat.com >>> ERROR - Error setting up the guest >>> ERROR - Exception: Unable to generate indication >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> ElementAllocatedFromPool - 01_forward.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: 'hd_domain' >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> ElementAllocatedFromPool - 02_reverse.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: 'eafp_domain' >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> ElementAllocatedFromPool - 03_reverse_errs.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: hd_domain >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> ElementAllocatedFromPool - 04_forward_errs.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: hd_domain >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> ElementCapabilities - 01_forward.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: dom_elecap >>> CIM_ERR_INVALID_CLASS: Linux_ComputerSystem >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> ElementCapabilities - 02_reverse.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: dom_elecap >>> CIM_ERR_INVALID_CLASS: Linux_ComputerSystem >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> ElementCapabilities - 03_forward_errs.py: PASS >>> -------------------------------------------------------------------- >>> ElementCapabilities - 04_reverse_errs.py: PASS >>> -------------------------------------------------------------------- >>> ElementCapabilities - 05_hostsystem_cap.py: PASS >>> -------------------------------------------------------------------- >>> ElementConforms - 01_forward.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Unable to define domain domU >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> ElementConforms - 02_reverse.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - ERROR: Failed to Define the dom: domgst >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> ElementConforms - 03_ectp_fwd_errs.py: PASS >>> -------------------------------------------------------------------- >>> ElementConforms - 04_ectp_rev_errs.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Unable to define domain domU >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> ElementSettingData - 01_forward.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: esd_dom >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> ElementSettingData - 03_esd_assoc_with_rasd_errs.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: hd_domain1 >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> EnabledLogicalElementCapabilities - 01_enum.py: PASS >>> -------------------------------------------------------------------- >>> EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to Define the dom: qemu >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> HostedAccessPoint - 01_forward.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: domu1 >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> HostedAccessPoint - 02_reverse.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: domu1 >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> HostedDependency - 01_forward.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: hd_domain >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> HostedDependency - 02_reverse.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: hd_domain >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> HostedDependency - 03_enabledstate.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: hd_domain1 >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> HostedDependency - 04_reverse_errs.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: hd_domain1 >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> 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 >>> -------------------------------------------------------------------- >>> HostSystem - 01_enum.py: PASS >>> -------------------------------------------------------------------- >>> HostSystem - 02_hostsystem_to_rasd.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: CrossClass_GuestDom >>> CIM_ERR_INVALID_CLASS: Linux_ComputerSystem >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> HostSystem - 03_hs_to_settdefcap.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: domgst_test >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> HostSystem - 04_hs_to_EAPF.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: 'CrossClass_GuestDom' >>> CIM_ERR_INVALID_CLASS: Linux_ComputerSystem >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> HostSystem - 05_hs_gi_errs.py: PASS >>> -------------------------------------------------------------------- >>> HostSystem - 06_hs_to_vsms.py: PASS >>> -------------------------------------------------------------------- >>> KVMRedirectionSAP - 01_enum_KVMredSAP.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Exception: Failed to define the dom: test_kvmredsap_dom >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> KVMRedirectionSAP - 02_ipv6_support.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Exception: Failed to define the dom: test_ipv6_dom >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> LogicalDisk - 01_disk.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - AttributeError : 'NoneType' object has no attribute 'Name' >>> Traceback (most recent call last): >>> File "./lib/XenKvmLib/const.py", line 140, in do_try >>> File "01_disk.py", line 60, in main >>> if dev.Name != test_dev: >>> AttributeError: 'NoneType' object has no attribute 'Name' >>> ERROR - None >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> CIM_ERR_NOT_FOUND: No such instance (no domain for test_domain/xvda): >>> Domain not found: xenUnifiedDomainLookupByName >>> -------------------------------------------------------------------- >>> LogicalDisk - 02_nodevs.py: SKIP >>> ERROR - System has defined domains; unable to run >>> -------------------------------------------------------------------- >>> LogicalDisk - 03_ld_gi_errs.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to Define the dom: hd_domain >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> Memory - 01_memory.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - AttributeError : 'NoneType' object has no attribute >>> 'ConsumableBlocks' >>> Traceback (most recent call last): >>> File "./lib/XenKvmLib/const.py", line 140, in do_try >>> File "01_memory.py", line 59, in main >>> if dev.ConsumableBlocks > dev.NumberOfBlocks: >>> AttributeError: 'NoneType' object has no attribute 'ConsumableBlocks' >>> ERROR - None >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> CIM_ERR_NOT_FOUND: No such instance (no domain for test_domain/mem): >>> Domain not found: xenUnifiedDomainLookupByName >>> -------------------------------------------------------------------- >>> Memory - 02_defgetmem.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Exception: Failed to define the guest: domu >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> Memory - 03_mem_gi_errs.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to Create the dom: domU >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> NetworkPort - 01_netport.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - AttributeError : 'NoneType' object has no attribute 'DeviceID' >>> Traceback (most recent call last): >>> File "./lib/XenKvmLib/const.py", line 140, in do_try >>> File "01_netport.py", line 86, in main >>> if dev.DeviceID == None: >>> AttributeError: 'NoneType' object has no attribute 'DeviceID' >>> ERROR - None >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> CIM_ERR_NOT_FOUND: No such instance (no domain for >>> test_domain/00:11:22:33:44:55): Domain not found: >>> xenUnifiedDomainLookupByName >>> -------------------------------------------------------------------- >>> NetworkPort - 02_np_gi_errors.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Define domain failed! >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> NetworkPort - 03_user_netport.py: SKIP >>> -------------------------------------------------------------------- >>> Processor - 01_processor.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Domain not started, we're not able to check vcpu >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> Processor - 02_definesys_get_procs.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Exception: Failed to define the guest: test_domain >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> Processor - 03_proc_gi_errs.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the guest: proc_domain >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> Profile - 01_enum.py: PASS >>> -------------------------------------------------------------------- >>> Profile - 02_profile_to_elec.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Unable define domain domguest using DefineSystem() >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> Profile - 03_rprofile_gi_errs.py: PASS >>> -------------------------------------------------------------------- >>> Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP >>> ERROR - SLP tool does not exist on the machine >>> -------------------------------------------------------------------- >>> RASD - 01_verify_rasd_fields.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Unable to define the domain VSSDC_dom >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> RASD - 02_enum.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to Define the domain: VSSDC_dom >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> RASD - 03_rasd_errs.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to Define the domain: VSSDC_dom >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> RASD - 04_disk_rasd_size.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to test RASD: Failed to define the dom: diskrasd_test >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> RASD - 05_disk_rasd_emu_type.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to call DefineSystem() >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> RASD - 06_parent_net_pool.py: FAIL >>> ERROR - Exception details: Got 0 recs instead of 5 >>> CIM_ERR_FAILED: Unable to create instance of type >>> NetPoolResourceAllocationSettingData >>> -------------------------------------------------------------------- >>> RASD - 07_parent_disk_pool.py: FAIL >>> ERROR - Exception details: Got 0 recs instead of 7 >>> CIM_ERR_FAILED: Unable to create instance of type >>> DiskPoolResourceAllocationSettingData >>> -------------------------------------------------------------------- >>> RASDIndications - 01_guest_states_rasd_ind.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Exception details: Failed to define domain >>> VM_dhcp-66-70-64.nay.redhat.com >>> ERROR - Exception details :Error setting up the guest >>> 'VM_dhcp-66-70-64.nay.redhat.com' >>> ERROR - Exception: Unable to generate indication >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Exception details: Failed to define domain >>> VM_dhcp-66-70-64.nay.redhat.com >>> ERROR - Error setting up the guest 'VM_dhcp-66-70-64.nay.redhat.com' >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> RedirectionService - 01_enum_crs.py: PASS >>> -------------------------------------------------------------------- >>> RedirectionService - 02_enum_crscap.py: PASS >>> -------------------------------------------------------------------- >>> RedirectionService - 03_RedirectionSAP_errs.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - ERROR: VS 'demo' is not defined >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> ReferencedProfile - 01_verify_refprof.py: PASS >>> -------------------------------------------------------------------- >>> ReferencedProfile - 02_refprofile_errs.py: PASS >>> -------------------------------------------------------------------- >>> ResourceAllocationFromPool - 01_forward.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to Define the domain: RAFP_dom >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> ResourceAllocationFromPool - 02_reverse.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to Define the domain: RAFP_dom >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> ResourceAllocationFromPool - 03_forward_errs.py: PASS >>> -------------------------------------------------------------------- >>> ResourceAllocationFromPool - 04_reverse_errs.py: FAIL >>> ERROR - Unexpected rc code 4 and description >>> CIM_ERR_INVALID_PARAMETER: >>> Xen_ProcResourceAllocationSettingData.InstanceID="wrong" >>> >>> -------------------------------------------------------------------- >>> ResourceAllocationFromPool - 05_RAPF_err.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom 'RAPF_domain' for 'network' type >>> interface >>> ERROR - Failed to setup the domain >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> 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: FAIL >>> ERROR - Failed to get 'NetworkPoolRASD' >>> ERROR - Error in networkpool creation >>> CIM_ERR_FAILED: Unable to create instance of type >>> NetPoolResourceAllocationSettingData >>> -------------------------------------------------------------------- >>> ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: >>> PASS >>> -------------------------------------------------------------------- >>> ResourcePoolConfigurationService - >>> 06_RemoveResourcesFromResourcePool.py: PASS >>> -------------------------------------------------------------------- >>> ResourcePoolConfigurationService - 07_DeleteResourcePool.py: FAIL >>> ERROR - Failed to get 'NetworkPoolRASD' >>> ERROR - Error in networkpool creation >>> CIM_ERR_FAILED: Unable to create instance of type >>> NetPoolResourceAllocationSettingData >>> -------------------------------------------------------------------- >>> ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: FAIL >>> ERROR - Failed to get 'DiskPoolRASD' >>> ERROR - Exception details: Failed to create 'DISK_POOL_NETFS' type >>> diskpool 'DISK_POOL_NETFS' >>> ERROR - Failed to get 'DiskPoolRASD' >>> ERROR - Exception details: Failed to create 'DISK_POOL_DIR' type >>> diskpool 'DISK_POOL_DIR' >>> CIM_ERR_FAILED: Unable to create instance of type >>> DiskPoolResourceAllocationSettingData >>> CIM_ERR_FAILED: Unable to create instance of type >>> DiskPoolResourceAllocationSettingData >>> -------------------------------------------------------------------- >>> ResourcePoolConfigurationService - 09_DeleteDiskPool.py: FAIL >>> ERROR - Failed to get 'DiskPoolRASD' >>> ERROR - Failed to create diskpool 'dp_pool' >>> CIM_ERR_FAILED: Unable to create instance of type >>> DiskPoolResourceAllocationSettingData >>> -------------------------------------------------------------------- >>> ResourcePoolConfigurationService - 10_create_storagevolume.py: FAIL >>> ERROR - Exception details: local variable 'dpool_rasd' referenced >>> before assignment >>> CIM_ERR_FAILED: Unable to create instance of type >>> StorageVolumeResourceAllocationSettingData >>> -------------------------------------------------------------------- >>> ResourcePoolConfigurationService - >>> 11_create_dir_storagevolume_errs.py: FAIL >>> ERROR - Exception: Failed to get default StorageVolRASD , Expected >>> atleast 4, Got '0' >>> ERROR - Failed to get the StorageVol RASD's >>> ERROR - In get_inputs() Exception details: Failed to get the defualt >>> StorageVolRASD info >>> ERROR - In main() Exception details: Failed to verify the Invlaid >>> 'DUP_VOL_PATH' >>> CIM_ERR_FAILED: Unable to create instance of type >>> StorageVolumeResourceAllocationSettingData >>> -------------------------------------------------------------------- >>> ResourcePoolConfigurationService - >>> 12_create_netfs_storagevolume_errs.py: FAIL >>> ERROR - Failed to get 'DiskPoolRASD' >>> ERROR - Failed to create pool 'NETFS_POOL' >>> CIM_ERR_FAILED: Unable to create instance of type >>> DiskPoolResourceAllocationSettingData >>> -------------------------------------------------------------------- >>> ResourcePoolConfigurationService - 13_delete_storagevolume.py: FAIL >>> ERROR - Exception: Failed to get default StorageVolRASD , Expected >>> atleast 4, Got '0' >>> ERROR - Failed to get the StorageVol RASD's >>> ERROR - Exception details: Failed to get the defualt StorageVolRASD info >>> CIM_ERR_FAILED: Unable to create instance of type >>> StorageVolumeResourceAllocationSettingData >>> -------------------------------------------------------------------- >>> ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: FAIL >>> ERROR - Exception: Failed to get default StorageVolRASD , Expected >>> atleast 4, Got '0' >>> ERROR - Failed to get the StorageVol RASD's >>> ERROR - Exception details: Failed to get the defualt StorageVolRASD info >>> CIM_ERR_FAILED: Unable to create instance of type >>> StorageVolumeResourceAllocationSettingData >>> -------------------------------------------------------------------- >>> ServiceAccessBySAP - 01_forward.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: domu1 >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> ServiceAccessBySAP - 02_reverse.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: domu1 >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> ServiceAffectsElement - 01_forward.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: SAE_dom >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> ServiceAffectsElement - 02_reverse.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: SAE_dom >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> SettingsDefine - 01_forward.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to Create the dom: domu1 >>> ERROR - NameError : global name 'cmxl' is not defined >>> Traceback (most recent call last): >>> File "./lib/XenKvmLib/const.py", line 140, in do_try >>> File "01_forward.py", line 144, in main >>> status, cxml = setup_env(options.ip, options.virt) >>> File "01_forward.py", line 58, in setup_env >>> return FAIL, cmxl >>> NameError: global name 'cmxl' is not defined >>> ERROR - None >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> SettingsDefine - 02_reverse.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to Create the dom: virtgst >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> SettingsDefine - 03_sds_fwd_errs.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: domu1 >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> SettingsDefine - 04_sds_rev_errs.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: domu1 >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> SettingsDefineCapabilities - 01_forward.py: FAIL >>> ERROR - Xen_SettingsDefineCapabilities returned 0 ResourcePool >>> objects instead of 68 >>> CIM_ERR_FAILED: Unable to create instance of type >>> StorageVolumeResourceAllocationSettingData >>> -------------------------------------------------------------------- >>> SettingsDefineCapabilities - 03_forward_errs.py: PASS >>> -------------------------------------------------------------------- >>> SettingsDefineCapabilities - 04_forward_vsmsdata.py: PASS >>> -------------------------------------------------------------------- >>> SettingsDefineCapabilities - 05_reverse_vsmcap.py: PASS >>> -------------------------------------------------------------------- >>> SystemDevice - 01_forward.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Unable to define domain test_domain >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> SystemDevice - 02_reverse.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Unable to define domain test_domain >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> SystemDevice - 03_fwderrs.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the domain 'virt1' >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> VirtualSystemManagementCapabilities - 01_enum.py: PASS >>> -------------------------------------------------------------------- >>> VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS >>> -------------------------------------------------------------------- >>> VirtualSystemManagementService - 01_definesystem_name.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Unable to define test_domain >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> VirtualSystemManagementService - 02_destroysystem.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the domain 'test_domain' >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> VirtualSystemManagementService - 03_definesystem_ess.py: PASS >>> -------------------------------------------------------------------- >>> VirtualSystemManagementService - 04_definesystem_ers.py: PASS >>> -------------------------------------------------------------------- >>> VirtualSystemManagementService - 05_destroysystem_neg.py: PASS >>> -------------------------------------------------------------------- >>> VirtualSystemManagementService - 06_addresource.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: rstest_domain >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> VirtualSystemManagementService - 07_addresource_neg.py: PASS >>> -------------------------------------------------------------------- >>> VirtualSystemManagementService - 08_modifyresource.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: rstest_domain >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> VirtualSystemManagementService - 09_procrasd_persist.py: FAIL >>> ERROR - Unable to set template ProcRASD >>> CIM_ERR_FAILED: Unable to create instance of type >>> MemResourceAllocationSettingData >>> -------------------------------------------------------------------- >>> VirtualSystemManagementService - 10_hv_version.py: PASS >>> -------------------------------------------------------------------- >>> VirtualSystemManagementService - 11_define_memrasdunits.py: FAIL >>> ERROR - KeyError : 'Xen_MemResourceAllocationSettingData' >>> Traceback (most recent call last): >>> File "./lib/XenKvmLib/const.py", line 140, in do_try >>> File "11_define_memrasdunits.py", line 120, in main >>> status = try_define(options, units, value, cxml) >>> File "11_define_memrasdunits.py", line 61, in try_define >>> if rasd_list[mrasd_cn] is None: >>> KeyError: 'Xen_MemResourceAllocationSettingData' >>> ERROR - None >>> CIM_ERR_FAILED: Unable to create instance of type >>> MemResourceAllocationSettingData >>> -------------------------------------------------------------------- >>> VirtualSystemManagementService - 12_referenced_config.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Unable to define rstest_domain using DefineSystem() >>> ERROR - Unable to start rstest_domain >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> VirtualSystemManagementService - 13_refconfig_additional_devs.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Unable define domain rstest_domain >>> ERROR - Unable to define domain rstest_domain >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> VirtualSystemManagementService - 14_define_sys_disk.py: FAIL >>> ERROR - Unable to get template RASDs for rstest_disk_domain >>> CIM_ERR_FAILED: Unable to create instance of type >>> MemResourceAllocationSettingData >>> -------------------------------------------------------------------- >>> VirtualSystemManagementService - 15_mod_system_settings.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: rstest_domain >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> VirtualSystemManagementService - 16_removeresource.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: domain >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> VirtualSystemManagementService - 17_removeresource_neg.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: domain >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> VirtualSystemManagementService - 18_define_sys_bridge.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: brgtest_domain >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> VirtualSystemManagementService - 19_definenetwork_ers.py: FAIL >>> ERROR - DEBUG nettype is network, field is None, tc is none >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Desc Mismatch, Got desc: 'CIM_ERR_FAILED: Unable to parse >>> embedded object', exp 'Valid param ' >>> ERROR - Defing domain with invalid network name None gave unexpected >>> rc code 1 and description: >>> CIM_ERR_FAILED: Unable to parse embedded object >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> VirtualSystemManagementService - 20_verify_vnc_password.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: vncpasswd_domain >>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>> `vncpasswd_domain' does not exist: Domain not found: >>> xenUnifiedDomainLookupByName with return code 6 >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>> `vncpasswd_domain' does not exist: Domain not found: >>> xenUnifiedDomainLookupByName >>> -------------------------------------------------------------------- >>> VirtualSystemManagementService - 21_createVS_verifyMAC.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Exception details: Unable to define dom_mac_notspecified >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> VirtualSystemManagementService - 22_addmulti_brg_interface.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - global name 'default_dom' is not defined >>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>> `my_domain1' does not exist: Domain not found: >>> xenUnifiedDomainLookupByName with return code 6 >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>> `my_domain1' does not exist: Domain not found: >>> xenUnifiedDomainLookupByName >>> -------------------------------------------------------------------- >>> VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Desc Mismatch, Got desc: 'CIM_ERR_FAILED: Unable to parse >>> embedded object', exp 'Conflicting MAC Addresses' >>> ERROR - Got unexpected rc code 1 and description CIM_ERR_FAILED: >>> Unable to parse embedded object >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> VirtualSystemManagementService - 24_define_sys_features.py: SKIP >>> -------------------------------------------------------------------- >>> VirtualSystemManagementService - 24_verify_modifyres_output.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: rstest_domain >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> VirtualSystemMigrationCapabilities - 01_enum.py: PASS >>> -------------------------------------------------------------------- >>> VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: PASS >>> -------------------------------------------------------------------- >>> VirtualSystemMigrationService - 01_migratable_host.py: FAIL >>> ERROR - Error invoke 'CheckVirtualSystemIsMigratableToHost'. >>> ERROR - (1, u'CIM_ERR_FAILED: Failed to connect to remote host >>> (xen+ssh://localhost/system)') >>> Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="dom_migrate" >>> >>> InvokeMethod(CheckVirtualSystemIsMigratableToHost): CIM_ERR_FAILED: >>> Failed to connect to remote host (xen+ssh://localhost/system) >>> -------------------------------------------------------------------- >>> VirtualSystemMigrationService - 02_host_migrate_type.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - CS instance not returned for dom_migrate. >>> ERROR - Error start domain dom_migrate >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>> Domain not found: xenUnifiedDomainLookupByName >>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>> Domain not found: xenUnifiedDomainLookupByName >>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>> Domain not found: xenUnifiedDomainLookupByName >>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>> Domain not found: xenUnifiedDomainLookupByName >>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>> Domain not found: xenUnifiedDomainLookupByName >>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>> Domain not found: xenUnifiedDomainLookupByName >>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>> Domain not found: xenUnifiedDomainLookupByName >>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>> Domain not found: xenUnifiedDomainLookupByName >>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>> Domain not found: xenUnifiedDomainLookupByName >>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>> Domain not found: xenUnifiedDomainLookupByName >>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>> Domain not found: xenUnifiedDomainLookupByName >>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>> Domain not found: xenUnifiedDomainLookupByName >>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>> Domain not found: xenUnifiedDomainLookupByName >>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>> Domain not found: xenUnifiedDomainLookupByName >>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>> Domain not found: xenUnifiedDomainLookupByName >>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>> Domain not found: xenUnifiedDomainLookupByName >>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>> Domain not found: xenUnifiedDomainLookupByName >>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>> Domain not found: xenUnifiedDomainLookupByName >>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>> Domain not found: xenUnifiedDomainLookupByName >>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>> Domain not found: xenUnifiedDomainLookupByName >>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>> Domain not found: xenUnifiedDomainLookupByName >>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>> Domain not found: xenUnifiedDomainLookupByName >>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>> Domain not found: xenUnifiedDomainLookupByName >>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>> Domain not found: xenUnifiedDomainLookupByName >>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>> Domain not found: xenUnifiedDomainLookupByName >>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>> Domain not found: xenUnifiedDomainLookupByName >>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>> Domain not found: xenUnifiedDomainLookupByName >>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>> Domain not found: xenUnifiedDomainLookupByName >>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>> Domain not found: xenUnifiedDomainLookupByName >>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>> Domain not found: xenUnifiedDomainLookupByName >>> -------------------------------------------------------------------- >>> VirtualSystemMigrationService - 05_migratable_host_errs.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Error define domain dom_migration >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> VirtualSystemMigrationService - 06_remote_live_migration.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Error define domain VM_frm_dhcp-66-70-64.nay.redhat.com >>> ERROR - Error setting up the guest >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> VirtualSystemMigrationService - 07_remote_offline_migration.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Error define domain VM_frm_dhcp-66-70-64.nay.redhat.com >>> ERROR - Error setting up the guest >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> VirtualSystemMigrationService - >>> 08_remote_restart_resume_migration.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Error define domain VM_frm_dhcp-66-70-64.nay.redhat.com >>> ERROR - Error setting up the guest >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> VirtualSystemMigrationSettingData - 01_enum.py: PASS >>> -------------------------------------------------------------------- >>> VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS >>> -------------------------------------------------------------------- >>> VirtualSystemSettingDataComponent - 01_forward.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: VSSDC_dom >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> VirtualSystemSettingDataComponent - 02_reverse.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: VSSDC_dom >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Unable to define domain domu1 >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Unable to define domain domu1 >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> VirtualSystemSnapshotService - 01_enum.py: PASS >>> -------------------------------------------------------------------- >>> VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: PASS >>> -------------------------------------------------------------------- >>> VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Exception: ('Unable to define %s', 'snapshot_vm') >>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>> `snapshot_vm' does not exist: Domain not found: >>> xenUnifiedDomainLookupByName with return code 6 >>> ERROR - Failed to remove snapshot file for snapshot_vm >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>> `snapshot_vm' does not exist: Domain not found: >>> xenUnifiedDomainLookupByName >>> -------------------------------------------------------------------- >>> VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS >>> -------------------------------------------------------------------- >>> VirtualSystemSnapshotServiceCapabilities - >>> 02_vs_sservicecap_gi_errs.py: PASS >>> -------------------------------------------------------------------- >>> VSSD - 01_enum.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - error while create of VS >>> ERROR - Missing VSSD instance for the system VSSD_dom >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> VSSD - 02_bootldr.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - error while 'define' of VS >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> VSSD - 03_vssd_gi_errs.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - error while define of VS >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> VSSD - 04_vssd_to_rasd.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to Define the domain: VSSDC_dom >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> VSSD - 05_set_uuid.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: uuid_domain >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> VSSD - 06_duplicate_uuid.py: FAIL >>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>> with return code 1 >>> ERROR - Failed to define the dom: uuid_domain >>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>> object >>> -------------------------------------------------------------------- >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Libvirt-cim mailing list >>> Libvirt-cim at redhat.com >>> https://www.redhat.com/mailman/listinfo/libvirt-cim >> > > _______________________________________________ > Libvirt-cim mailing list > Libvirt-cim at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-cim -- Richard Maciel, MSc IBM Linux Technology Center rmaciel at linux.vnet.ibm.com From jyang at redhat.com Mon Jan 11 08:52:51 2010 From: jyang at redhat.com (Osier Yang) Date: Mon, 11 Jan 2010 16:52:51 +0800 Subject: [Libvirt-cim] question about libvirt-cim testing. In-Reply-To: <4B44D300.9040506@linux.vnet.ibm.com> References: <4B41EFDA.6040703@redhat.com> <4B42A751.2090902@redhat.com> <4B431EE0.6020107@linux.vnet.ibm.com> <4B433E42.5090606@redhat.com> <4B44D300.9040506@linux.vnet.ibm.com> Message-ID: <4B4AE6E3.60005@redhat.com> Hi, all thanks for your kind help, and It seems caused by libvirt-cim, I have already added the comments in https://bugzilla.redhat.com/show_bug.cgi?id=540843 Thanks and Regards osier Richard Maciel wrote: > On 01/05/2010 11:27 AM, Osier Yang wrote: >> Then I get the newest libcmpiutil from >> ftp://libvirt.org/libvirt-cim/libcmpiutil-snapshot.tar.gz, build and >> install it. >> but it doesn't work, the testing result is same as previous attachment. > > Did you configure libcmpiutil with EO Parser support > (--enable-eoparser when using the ./configure script)? > >> >> BTW: there should be some problem of the Makefile of >> ftp://libvirt.org/libvirt-cim/libcmpiutil-snapshot.tar.gz : >> [root at dhcp-66-70-64 libcmpiutil]# make clean && make >> Making clean in tools >> make[1]: Entering directory `/root/libcmpiutil/tools' >> rm -rf .libs _libs >> rm -f *.lo >> make[1]: Leaving directory `/root/libcmpiutil/tools' >> Making clean in . >> make[1]: Entering directory `/root/libcmpiutil' >> test -z "libcueoparser.la libcmpiutil.la " || rm -f libcueoparser.la >> libcmpiutil.la >> rm -f "./so_locations" >> rm -f "./so_locations" >> rm -rf .libs _libs >> rm -f eo_util_lexer.c eo_util_parser.c eo_util_parser.h *~ >> rm -f *.o >> rm -f *.lo >> make[1]: Leaving directory `/root/libcmpiutil' >> : -Peo_parse_ eo_util_lexer.l >> sed '/^#/ s|lex.eo_parse_\.c|eo_util_lexer.c|' lex.eo_parse_.c >> >eo_util_lexer.c >> sed: can't read lex.eo_parse_.c: No such file or directory >> make: *** [eo_util_lexer.c] Error 2 >> >> But with type another "make" in the command line after above "make clean >> && make", no error happens. > > Just to make sure, you have bison and flex installed, right? What is > their version? > > > To me looks like the problem is in your virsh, (since it cannot create > a guest using virsh), not libvirt-cim or libcmpiutil. > > Check if you are able to create a guest on virsh, please. > >> >> Thanks and Regards >> osier >> >> >> >> >> Deepti B Kalakeri wrote: >>> Hi Osier, >>> >>> Thanks for using cimtest. Most of the failures are because of the >>> "Unable to parse embedded object" error. >>> This does not seem to be test case issue. I have seen this error with >>> the old libcmpiutil, but this error seems to go with latest >>> libcmpiutil. >>> I have not used RHEL5.5 for testing so not sure if the packages being >>> used are all up to date. >>> Will you be able to build and install the libcmpiutil [from hg clone >>> http://libvirt.org/hg/libcmpiutil ] or better you can use the latest >>> one available @ >>> ftp://libvirt.org/libvirt-cim/libcmpiutil-snapshot.tar.gz to build and >>> install it. >>> The build and setup instructions are given @ >>> http://wiki.libvirt.org/page/Libvirt-cim_setup [ Check the Install >>> from Source topic] >>> >>> Also, can you see if you can execute the following command without any >>> error: >>> wbemcli ei >>> 'http://root:password at localhost:5988/root/virt:Xen_VirtualSystemSettingData' >>> >>> -nl >>> >>> Thanks and Regards, >>> Deepti. >>> >>> >>> Osier Yang wrote: >>>> Hi Sharad >>>> sorry for missing the attachment, here it is now, see the attachment. >>>> >>>> Thanks and Regards >>>> osier >>>> >>>> Sharad Mishra wrote: >>>>> >>>>> Hi Osier, >>>>> >>>>> I don't see any test result attachment with your email. Can you send >>>>> your test results? >>>>> >>>>> Regards >>>>> Sharad Mishra >>>>> System x Enablement >>>>> Linux Technology Center >>>>> IBM >>>>> >>>>> Inactive hide details for Osier Yang ---01/04/2010 05:48:36 AM---Hi >>>>> allOsier Yang ---01/04/2010 05:48:36 AM---Hi all >>>>> >>>>> *Osier Yang * >>>>> Sent by: libvirt-cim-bounces at redhat.com >>>>> >>>>> 01/04/2010 05:40 AM >>>>> Please respond to >>>>> List for discussion and development of libvirt >>>>> CIM >>>>> >>>>> To >>>>> libvirt-cim at redhat.com, Guan Nan Ren >>>>> >>>>> cc >>>>> Subject >>>>> [Libvirt-cim] question about libvirt-cim testing. >>>>> >>>>> >>>>> Hi all >>>>> I got a testing result (see the attachment) that seems not >>>>> reasonable with cimtest --- with just 50 about cases passed. And I >>>>> just >>>>> want to known if it's caused by my testing enviroment or the >>>>> problem of >>>>> libvirt-cim self. Tried find out myself, but because not very >>>>> farmiliar >>>>> with CIM, so didn't helps. Any suggestion will be appreciatec. >>>>> The steps of setting up testing enviroment is as follows: >>>>> >>>>> 1> install an RHEL5.5-Server, (x86_64) >>>>> >>>>> 2> updated the related packages to the newest version: >>>>> [root at dhcp-66-70-64 ~]# rpm -qa | grep xen >>>>> kernel-xen-2.6.18-183.el5 >>>>> xen-devel-3.0.3-102.el5 >>>>> xen-libs-3.0.3-102.el5 >>>>> >>>>> [root at dhcp-66-70-64 ~]# rpm -qa | grep libvirt >>>>> libvirt-devel-0.6.3-28.el5 >>>>> libvirt-debuginfo-0.6.3-28.el5 >>>>> libvirt-cim-0.5.8-2.el5 >>>>> libvirt-python-0.6.3-28.el5 >>>>> libvirt-0.6.3-28.el5 >>>>> libvirt-0.6.3-28.el5 >>>>> libvirt-cim-debuginfo-0.5.8-2.el5 >>>>> >>>>> [root at dhcp-66-70-64 ~]# rpm -qa | grep cmpi >>>>> libcmpiutil-0.5-1.el5 >>>>> libcmpiutil-0.5-1.el5 >>>>> libcmpiutil-devel-0.5-1.el5 >>>>> libcmpiutil-debuginfo-0.5-1.el5 >>>>> >>>>> [root at dhcp-66-70-64 ~]# rpm -qa | grep pega >>>>> tog-pegasus-devel-2.9.1-1.el5 >>>>> tog-pegasus-devel-2.9.1-1.el5 >>>>> tog-pegasus-2.9.1-1.el5 >>>>> >>>>> 3> install sblim-wbemcli >>>>> # yum install sblim-wbemcli -y >>>>> >>>>> 4> config CIM server (tog-pegasus) >>>>> # cimconfig -p -s enableHttpConnection=true >>>>> # cimconfig -p -s repositoryIsDefaultInstanceProvider=true >>>>> >>>>> 5> restart CIM server >>>>> # service tog-pegasus restart >>>>> >>>>> 6> get the providers list (verify) >>>>> [root at dhcp-66-70-64 ~]# wbemcli ecn >>>>> http://root:redhat at localhost:5988 | grep -i xen >>>>> localhost:5988/root/cimv2:Xen_RegisteredProfile >>>>> localhost:5988/root/cimv2:Xen_HostedAccessPoint >>>>> localhost:5988/root/cimv2:Xen_HostedResourcePool >>>>> localhost:5988/root/cimv2:Xen_HostedService >>>>> localhost:5988/root/cimv2:Xen_HostedDependency >>>>> localhost:5988/root/cimv2:Xen_ComputerSystem >>>>> localhost:5988/root/cimv2:Xen_ElementConformsToProfile >>>>> localhost:5988/root/cimv2:Xen_ElementCapabilities >>>>> >>>>> 7> download cimtest snapshot and extract it >>>>> # wget -c ftp://libvirt.org/libvirt-cim/cimtest-snapshot.tar.gz >>>>> # tar xvzf cimtest-snapshot.tar.gz >>>>> 8> execute the case >>>>> # CIM_NS=root/virt CIM_USER=root CIM_PASS=redhat ./runtests >>>>> libvirt-cim -i localhost >>>>> >>>>> >>>>> >>>>> Thanks and Regards >>>>> osier >>>>> _______________________________________________ >>>>> Libvirt-cim mailing list >>>>> Libvirt-cim at redhat.com >>>>> https://www.redhat.com/mailman/listinfo/libvirt-cim >>>>> >>>>> ------------------------------------------------------------------------ >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Libvirt-cim mailing list >>>>> Libvirt-cim at redhat.com >>>>> https://www.redhat.com/mailman/listinfo/libvirt-cim >>>> ------------------------------------------------------------------------ >>>> >>>> >>>> ================================================= >>>> Test Run Summary (Jan 05 2010): Xen on Red Hat Enterprise Linux >>>> Server release 5.4 (Tikanga) with Pegasus >>>> ================================================= >>>> Distro: Red Hat Enterprise Linux Server release 5.4 (Tikanga) >>>> Kernel: 2.6.18-183.el5xen >>>> libvirt: 0.6.3 >>>> Hypervisor: Xen 3.1.0 >>>> CIMOM: Pegasus 2.9.1 >>>> Libvirt-cim revision: 1018 >>>> Libvirt-cim changeset: 2ba30fae43e7 >>>> Cimtest revision: Cimtest changeset: Total test execution: Unknown >>>> ================================================= >>>> FAIL : 120 >>>> XFAIL : 0 >>>> SKIP : 5 >>>> PASS : 54 >>>> ----------------- >>>> Total : 179 >>>> ================================================= >>>> FAIL Test Summary: >>>> ComputerSystem - 03_defineVS.py: FAIL >>>> ComputerSystem - 04_defineStartVS.py: FAIL >>>> ComputerSystem - 05_activate_defined_start.py: FAIL >>>> ComputerSystem - 06_paused_active_suspend.py: FAIL >>>> ComputerSystem - 22_define_suspend.py: FAIL >>>> ComputerSystem - 23_pause_pause.py: FAIL >>>> ComputerSystem - 32_start_reboot.py: FAIL >>>> ComputerSystem - 33_suspend_reboot.py: FAIL >>>> ComputerSystem - 34_start_disable.py: FAIL >>>> ComputerSystem - 35_start_reset.py: FAIL >>>> ComputerSystem - 40_RSC_start.py: FAIL >>>> ComputerSystem - 41_cs_to_settingdefinestate.py: FAIL >>>> ComputerSystem - 42_cs_gi_errs.py: FAIL >>>> ComputerSystemIndication - 01_created_indication.py: FAIL >>>> ComputerSystemMigrationJobIndication - >>>> 01_csmig_ind_for_offline_mig.py: FAIL >>>> ElementAllocatedFromPool - 01_forward.py: FAIL >>>> ElementAllocatedFromPool - 02_reverse.py: FAIL >>>> ElementAllocatedFromPool - 03_reverse_errs.py: FAIL >>>> ElementAllocatedFromPool - 04_forward_errs.py: FAIL >>>> ElementCapabilities - 01_forward.py: FAIL >>>> ElementCapabilities - 02_reverse.py: FAIL >>>> ElementConforms - 01_forward.py: FAIL >>>> ElementConforms - 02_reverse.py: FAIL >>>> ElementConforms - 04_ectp_rev_errs.py: FAIL >>>> ElementSettingData - 01_forward.py: FAIL >>>> ElementSettingData - 03_esd_assoc_with_rasd_errs.py: FAIL >>>> EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: FAIL >>>> HostedAccessPoint - 01_forward.py: FAIL >>>> HostedAccessPoint - 02_reverse.py: FAIL >>>> HostedDependency - 01_forward.py: FAIL >>>> HostedDependency - 02_reverse.py: FAIL >>>> HostedDependency - 03_enabledstate.py: FAIL >>>> HostedDependency - 04_reverse_errs.py: FAIL >>>> HostSystem - 02_hostsystem_to_rasd.py: FAIL >>>> HostSystem - 03_hs_to_settdefcap.py: FAIL >>>> HostSystem - 04_hs_to_EAPF.py: FAIL >>>> KVMRedirectionSAP - 01_enum_KVMredSAP.py: FAIL >>>> KVMRedirectionSAP - 02_ipv6_support.py: FAIL >>>> LogicalDisk - 01_disk.py: FAIL >>>> LogicalDisk - 03_ld_gi_errs.py: FAIL >>>> Memory - 01_memory.py: FAIL >>>> Memory - 02_defgetmem.py: FAIL >>>> Memory - 03_mem_gi_errs.py: FAIL >>>> NetworkPort - 01_netport.py: FAIL >>>> NetworkPort - 02_np_gi_errors.py: FAIL >>>> Processor - 01_processor.py: FAIL >>>> Processor - 02_definesys_get_procs.py: FAIL >>>> Processor - 03_proc_gi_errs.py: FAIL >>>> Profile - 02_profile_to_elec.py: FAIL >>>> RASD - 01_verify_rasd_fields.py: FAIL >>>> RASD - 02_enum.py: FAIL >>>> RASD - 03_rasd_errs.py: FAIL >>>> RASD - 04_disk_rasd_size.py: FAIL >>>> RASD - 05_disk_rasd_emu_type.py: FAIL >>>> RASD - 06_parent_net_pool.py: FAIL >>>> RASD - 07_parent_disk_pool.py: FAIL >>>> RASDIndications - 01_guest_states_rasd_ind.py: FAIL >>>> RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: FAIL >>>> RedirectionService - 03_RedirectionSAP_errs.py: FAIL >>>> ResourceAllocationFromPool - 01_forward.py: FAIL >>>> ResourceAllocationFromPool - 02_reverse.py: FAIL >>>> ResourceAllocationFromPool - 04_reverse_errs.py: FAIL >>>> ResourceAllocationFromPool - 05_RAPF_err.py: FAIL >>>> ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: FAIL >>>> ResourcePoolConfigurationService - 07_DeleteResourcePool.py: FAIL >>>> ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: FAIL >>>> ResourcePoolConfigurationService - 09_DeleteDiskPool.py: FAIL >>>> ResourcePoolConfigurationService - 10_create_storagevolume.py: FAIL >>>> ResourcePoolConfigurationService - >>>> 11_create_dir_storagevolume_errs.py: FAIL >>>> ResourcePoolConfigurationService - >>>> 12_create_netfs_storagevolume_errs.py: FAIL >>>> ResourcePoolConfigurationService - 13_delete_storagevolume.py: FAIL >>>> ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: >>>> FAIL >>>> ServiceAccessBySAP - 01_forward.py: FAIL >>>> ServiceAccessBySAP - 02_reverse.py: FAIL >>>> ServiceAffectsElement - 01_forward.py: FAIL >>>> ServiceAffectsElement - 02_reverse.py: FAIL >>>> SettingsDefine - 01_forward.py: FAIL >>>> SettingsDefine - 02_reverse.py: FAIL >>>> SettingsDefine - 03_sds_fwd_errs.py: FAIL >>>> SettingsDefine - 04_sds_rev_errs.py: FAIL >>>> SettingsDefineCapabilities - 01_forward.py: FAIL >>>> SystemDevice - 01_forward.py: FAIL >>>> SystemDevice - 02_reverse.py: FAIL >>>> SystemDevice - 03_fwderrs.py: FAIL >>>> VirtualSystemManagementService - 01_definesystem_name.py: FAIL >>>> VirtualSystemManagementService - 02_destroysystem.py: FAIL >>>> VirtualSystemManagementService - 06_addresource.py: FAIL >>>> VirtualSystemManagementService - 08_modifyresource.py: FAIL >>>> VirtualSystemManagementService - 09_procrasd_persist.py: FAIL >>>> VirtualSystemManagementService - 11_define_memrasdunits.py: FAIL >>>> VirtualSystemManagementService - 12_referenced_config.py: FAIL >>>> VirtualSystemManagementService - 13_refconfig_additional_devs.py: FAIL >>>> VirtualSystemManagementService - 14_define_sys_disk.py: FAIL >>>> VirtualSystemManagementService - 15_mod_system_settings.py: FAIL >>>> VirtualSystemManagementService - 16_removeresource.py: FAIL >>>> VirtualSystemManagementService - 17_removeresource_neg.py: FAIL >>>> VirtualSystemManagementService - 18_define_sys_bridge.py: FAIL >>>> VirtualSystemManagementService - 19_definenetwork_ers.py: FAIL >>>> VirtualSystemManagementService - 20_verify_vnc_password.py: FAIL >>>> VirtualSystemManagementService - 21_createVS_verifyMAC.py: FAIL >>>> VirtualSystemManagementService - 22_addmulti_brg_interface.py: FAIL >>>> VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: FAIL >>>> VirtualSystemManagementService - 24_verify_modifyres_output.py: FAIL >>>> VirtualSystemMigrationService - 01_migratable_host.py: FAIL >>>> VirtualSystemMigrationService - 02_host_migrate_type.py: FAIL >>>> VirtualSystemMigrationService - 05_migratable_host_errs.py: FAIL >>>> VirtualSystemMigrationService - 06_remote_live_migration.py: FAIL >>>> VirtualSystemMigrationService - 07_remote_offline_migration.py: FAIL >>>> VirtualSystemMigrationService - >>>> 08_remote_restart_resume_migration.py: FAIL >>>> VirtualSystemSettingDataComponent - 01_forward.py: FAIL >>>> VirtualSystemSettingDataComponent - 02_reverse.py: FAIL >>>> VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: FAIL >>>> VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: FAIL >>>> VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL >>>> VSSD - 01_enum.py: FAIL >>>> VSSD - 02_bootldr.py: FAIL >>>> VSSD - 03_vssd_gi_errs.py: FAIL >>>> VSSD - 04_vssd_to_rasd.py: FAIL >>>> VSSD - 05_set_uuid.py: FAIL >>>> VSSD - 06_duplicate_uuid.py: FAIL >>>> >>>> ================================================= >>>> SKIP Test Summary: >>>> ComputerSystem - 02_nosystems.py: SKIP >>>> LogicalDisk - 02_nodevs.py: SKIP >>>> NetworkPort - 03_user_netport.py: SKIP >>>> Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP >>>> VirtualSystemManagementService - 24_define_sys_features.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 - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define a domain with the name domU1 from virsh >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> ComputerSystem - 04_defineStartVS.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Unable to define domguest >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> ComputerSystem - 05_activate_defined_start.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - ERROR: VS 'DomST1' was not defined >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> ComputerSystem - 06_paused_active_suspend.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Exception variable: VS 'DomST1' was not defined >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> ComputerSystem - 22_define_suspend.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Error: Unable to define domgst >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> ComputerSystem - 23_pause_pause.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Exception: 'Failed to define the guest: cs_test_domain' >>>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>>> `cs_test_domain' does not exist: Domain not found: >>>> xenUnifiedDomainLookupByName with return code 6 >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>>> `cs_test_domain' does not exist: Domain not found: >>>> xenUnifiedDomainLookupByName >>>> -------------------------------------------------------------------- >>>> ComputerSystem - 27_define_pause_errs.py: PASS >>>> -------------------------------------------------------------------- >>>> ComputerSystem - 32_start_reboot.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Exception: Failed to define the guest: cs_test_domain >>>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>>> `cs_test_domain' does not exist: Domain not found: >>>> xenUnifiedDomainLookupByName with return code 6 >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>>> `cs_test_domain' does not exist: Domain not found: >>>> xenUnifiedDomainLookupByName >>>> -------------------------------------------------------------------- >>>> ComputerSystem - 33_suspend_reboot.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Exception: Failed to define the guest: test_domain >>>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>>> `test_domain' does not exist: Domain not found: >>>> xenUnifiedDomainLookupByName with return code 6 >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>>> `test_domain' does not exist: Domain not found: >>>> xenUnifiedDomainLookupByName >>>> -------------------------------------------------------------------- >>>> ComputerSystem - 34_start_disable.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Exception: Failed to define the guest: cs_test_domain >>>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>>> `cs_test_domain' does not exist: Domain not found: >>>> xenUnifiedDomainLookupByName with return code 6 >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>>> `cs_test_domain' does not exist: Domain not found: >>>> xenUnifiedDomainLookupByName >>>> -------------------------------------------------------------------- >>>> ComputerSystem - 35_start_reset.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Exception: Failed to define the guest: cs_test_domain >>>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>>> `cs_test_domain' does not exist: Domain not found: >>>> xenUnifiedDomainLookupByName with return code 6 >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>>> `cs_test_domain' does not exist: Domain not found: >>>> xenUnifiedDomainLookupByName >>>> -------------------------------------------------------------------- >>>> ComputerSystem - 40_RSC_start.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Exception: Failed to define the guest: cs_test_domain >>>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>>> `cs_test_domain' does not exist: Domain not found: >>>> xenUnifiedDomainLookupByName with return code 6 >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>>> `cs_test_domain' does not exist: Domain not found: >>>> xenUnifiedDomainLookupByName >>>> -------------------------------------------------------------------- >>>> ComputerSystem - 41_cs_to_settingdefinestate.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: CrossClass_GuestDom >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> ComputerSystem - 42_cs_gi_errs.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Unable to define guest ETdomain >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> ComputerSystemIndication - 01_created_indication.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Exception: Unable to generate indication >>>> ERROR - Failed to start domain: domU >>>> ERROR - Exception: Unable to generate indication >>>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain `domU' >>>> does not exist: Domain not found: xenUnifiedDomainLookupByName with >>>> return code 6 >>>> ERROR - Unable to destroy domU >>>> ERROR - Exception: Unable to generate indication >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> CIM_ERR_NOT_FOUND: Referenced domain `domU' does not exist: Domain >>>> not found: xenUnifiedDomainLookupByName >>>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>>> `domU' does not exist: Domain not found: xenUnifiedDomainLookupByName >>>> -------------------------------------------------------------------- >>>> ComputerSystemMigrationJobIndication - >>>> 01_csmig_ind_for_offline_mig.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Error define domain VM_frm_dhcp-66-70-64.nay.redhat.com >>>> ERROR - Error setting up the guest >>>> ERROR - Exception: Unable to generate indication >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> ElementAllocatedFromPool - 01_forward.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: 'hd_domain' >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> ElementAllocatedFromPool - 02_reverse.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: 'eafp_domain' >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> ElementAllocatedFromPool - 03_reverse_errs.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: hd_domain >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> ElementAllocatedFromPool - 04_forward_errs.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: hd_domain >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> ElementCapabilities - 01_forward.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: dom_elecap >>>> CIM_ERR_INVALID_CLASS: Linux_ComputerSystem >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> ElementCapabilities - 02_reverse.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: dom_elecap >>>> CIM_ERR_INVALID_CLASS: Linux_ComputerSystem >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> ElementCapabilities - 03_forward_errs.py: PASS >>>> -------------------------------------------------------------------- >>>> ElementCapabilities - 04_reverse_errs.py: PASS >>>> -------------------------------------------------------------------- >>>> ElementCapabilities - 05_hostsystem_cap.py: PASS >>>> -------------------------------------------------------------------- >>>> ElementConforms - 01_forward.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Unable to define domain domU >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> ElementConforms - 02_reverse.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - ERROR: Failed to Define the dom: domgst >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> ElementConforms - 03_ectp_fwd_errs.py: PASS >>>> -------------------------------------------------------------------- >>>> ElementConforms - 04_ectp_rev_errs.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Unable to define domain domU >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> ElementSettingData - 01_forward.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: esd_dom >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> ElementSettingData - 03_esd_assoc_with_rasd_errs.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: hd_domain1 >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> EnabledLogicalElementCapabilities - 01_enum.py: PASS >>>> -------------------------------------------------------------------- >>>> EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to Define the dom: qemu >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> HostedAccessPoint - 01_forward.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: domu1 >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> HostedAccessPoint - 02_reverse.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: domu1 >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> HostedDependency - 01_forward.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: hd_domain >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> HostedDependency - 02_reverse.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: hd_domain >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> HostedDependency - 03_enabledstate.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: hd_domain1 >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> HostedDependency - 04_reverse_errs.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: hd_domain1 >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> 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 >>>> -------------------------------------------------------------------- >>>> HostSystem - 01_enum.py: PASS >>>> -------------------------------------------------------------------- >>>> HostSystem - 02_hostsystem_to_rasd.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: CrossClass_GuestDom >>>> CIM_ERR_INVALID_CLASS: Linux_ComputerSystem >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> HostSystem - 03_hs_to_settdefcap.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: domgst_test >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> HostSystem - 04_hs_to_EAPF.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: 'CrossClass_GuestDom' >>>> CIM_ERR_INVALID_CLASS: Linux_ComputerSystem >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> HostSystem - 05_hs_gi_errs.py: PASS >>>> -------------------------------------------------------------------- >>>> HostSystem - 06_hs_to_vsms.py: PASS >>>> -------------------------------------------------------------------- >>>> KVMRedirectionSAP - 01_enum_KVMredSAP.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Exception: Failed to define the dom: test_kvmredsap_dom >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> KVMRedirectionSAP - 02_ipv6_support.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Exception: Failed to define the dom: test_ipv6_dom >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> LogicalDisk - 01_disk.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - AttributeError : 'NoneType' object has no attribute 'Name' >>>> Traceback (most recent call last): >>>> File "./lib/XenKvmLib/const.py", line 140, in do_try >>>> File "01_disk.py", line 60, in main >>>> if dev.Name != test_dev: >>>> AttributeError: 'NoneType' object has no attribute 'Name' >>>> ERROR - None >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> CIM_ERR_NOT_FOUND: No such instance (no domain for test_domain/xvda): >>>> Domain not found: xenUnifiedDomainLookupByName >>>> -------------------------------------------------------------------- >>>> LogicalDisk - 02_nodevs.py: SKIP >>>> ERROR - System has defined domains; unable to run >>>> -------------------------------------------------------------------- >>>> LogicalDisk - 03_ld_gi_errs.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to Define the dom: hd_domain >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> Memory - 01_memory.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - AttributeError : 'NoneType' object has no attribute >>>> 'ConsumableBlocks' >>>> Traceback (most recent call last): >>>> File "./lib/XenKvmLib/const.py", line 140, in do_try >>>> File "01_memory.py", line 59, in main >>>> if dev.ConsumableBlocks > dev.NumberOfBlocks: >>>> AttributeError: 'NoneType' object has no attribute 'ConsumableBlocks' >>>> ERROR - None >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> CIM_ERR_NOT_FOUND: No such instance (no domain for test_domain/mem): >>>> Domain not found: xenUnifiedDomainLookupByName >>>> -------------------------------------------------------------------- >>>> Memory - 02_defgetmem.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Exception: Failed to define the guest: domu >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> Memory - 03_mem_gi_errs.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to Create the dom: domU >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> NetworkPort - 01_netport.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - AttributeError : 'NoneType' object has no attribute 'DeviceID' >>>> Traceback (most recent call last): >>>> File "./lib/XenKvmLib/const.py", line 140, in do_try >>>> File "01_netport.py", line 86, in main >>>> if dev.DeviceID == None: >>>> AttributeError: 'NoneType' object has no attribute 'DeviceID' >>>> ERROR - None >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> CIM_ERR_NOT_FOUND: No such instance (no domain for >>>> test_domain/00:11:22:33:44:55): Domain not found: >>>> xenUnifiedDomainLookupByName >>>> -------------------------------------------------------------------- >>>> NetworkPort - 02_np_gi_errors.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Define domain failed! >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> NetworkPort - 03_user_netport.py: SKIP >>>> -------------------------------------------------------------------- >>>> Processor - 01_processor.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Domain not started, we're not able to check vcpu >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> Processor - 02_definesys_get_procs.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Exception: Failed to define the guest: test_domain >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> Processor - 03_proc_gi_errs.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the guest: proc_domain >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> Profile - 01_enum.py: PASS >>>> -------------------------------------------------------------------- >>>> Profile - 02_profile_to_elec.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Unable define domain domguest using DefineSystem() >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> Profile - 03_rprofile_gi_errs.py: PASS >>>> -------------------------------------------------------------------- >>>> Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP >>>> ERROR - SLP tool does not exist on the machine >>>> -------------------------------------------------------------------- >>>> RASD - 01_verify_rasd_fields.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Unable to define the domain VSSDC_dom >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> RASD - 02_enum.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to Define the domain: VSSDC_dom >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> RASD - 03_rasd_errs.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to Define the domain: VSSDC_dom >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> RASD - 04_disk_rasd_size.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to test RASD: Failed to define the dom: diskrasd_test >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> RASD - 05_disk_rasd_emu_type.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to call DefineSystem() >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> RASD - 06_parent_net_pool.py: FAIL >>>> ERROR - Exception details: Got 0 recs instead of 5 >>>> CIM_ERR_FAILED: Unable to create instance of type >>>> NetPoolResourceAllocationSettingData >>>> -------------------------------------------------------------------- >>>> RASD - 07_parent_disk_pool.py: FAIL >>>> ERROR - Exception details: Got 0 recs instead of 7 >>>> CIM_ERR_FAILED: Unable to create instance of type >>>> DiskPoolResourceAllocationSettingData >>>> -------------------------------------------------------------------- >>>> RASDIndications - 01_guest_states_rasd_ind.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Exception details: Failed to define domain >>>> VM_dhcp-66-70-64.nay.redhat.com >>>> ERROR - Exception details :Error setting up the guest >>>> 'VM_dhcp-66-70-64.nay.redhat.com' >>>> ERROR - Exception: Unable to generate indication >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Exception details: Failed to define domain >>>> VM_dhcp-66-70-64.nay.redhat.com >>>> ERROR - Error setting up the guest 'VM_dhcp-66-70-64.nay.redhat.com' >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> RedirectionService - 01_enum_crs.py: PASS >>>> -------------------------------------------------------------------- >>>> RedirectionService - 02_enum_crscap.py: PASS >>>> -------------------------------------------------------------------- >>>> RedirectionService - 03_RedirectionSAP_errs.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - ERROR: VS 'demo' is not defined >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> ReferencedProfile - 01_verify_refprof.py: PASS >>>> -------------------------------------------------------------------- >>>> ReferencedProfile - 02_refprofile_errs.py: PASS >>>> -------------------------------------------------------------------- >>>> ResourceAllocationFromPool - 01_forward.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to Define the domain: RAFP_dom >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> ResourceAllocationFromPool - 02_reverse.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to Define the domain: RAFP_dom >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> ResourceAllocationFromPool - 03_forward_errs.py: PASS >>>> -------------------------------------------------------------------- >>>> ResourceAllocationFromPool - 04_reverse_errs.py: FAIL >>>> ERROR - Unexpected rc code 4 and description >>>> CIM_ERR_INVALID_PARAMETER: >>>> Xen_ProcResourceAllocationSettingData.InstanceID="wrong" >>>> >>>> -------------------------------------------------------------------- >>>> ResourceAllocationFromPool - 05_RAPF_err.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom 'RAPF_domain' for 'network' type >>>> interface >>>> ERROR - Failed to setup the domain >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> 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: FAIL >>>> ERROR - Failed to get 'NetworkPoolRASD' >>>> ERROR - Error in networkpool creation >>>> CIM_ERR_FAILED: Unable to create instance of type >>>> NetPoolResourceAllocationSettingData >>>> -------------------------------------------------------------------- >>>> ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: >>>> PASS >>>> -------------------------------------------------------------------- >>>> ResourcePoolConfigurationService - >>>> 06_RemoveResourcesFromResourcePool.py: PASS >>>> -------------------------------------------------------------------- >>>> ResourcePoolConfigurationService - 07_DeleteResourcePool.py: FAIL >>>> ERROR - Failed to get 'NetworkPoolRASD' >>>> ERROR - Error in networkpool creation >>>> CIM_ERR_FAILED: Unable to create instance of type >>>> NetPoolResourceAllocationSettingData >>>> -------------------------------------------------------------------- >>>> ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: FAIL >>>> ERROR - Failed to get 'DiskPoolRASD' >>>> ERROR - Exception details: Failed to create 'DISK_POOL_NETFS' type >>>> diskpool 'DISK_POOL_NETFS' >>>> ERROR - Failed to get 'DiskPoolRASD' >>>> ERROR - Exception details: Failed to create 'DISK_POOL_DIR' type >>>> diskpool 'DISK_POOL_DIR' >>>> CIM_ERR_FAILED: Unable to create instance of type >>>> DiskPoolResourceAllocationSettingData >>>> CIM_ERR_FAILED: Unable to create instance of type >>>> DiskPoolResourceAllocationSettingData >>>> -------------------------------------------------------------------- >>>> ResourcePoolConfigurationService - 09_DeleteDiskPool.py: FAIL >>>> ERROR - Failed to get 'DiskPoolRASD' >>>> ERROR - Failed to create diskpool 'dp_pool' >>>> CIM_ERR_FAILED: Unable to create instance of type >>>> DiskPoolResourceAllocationSettingData >>>> -------------------------------------------------------------------- >>>> ResourcePoolConfigurationService - 10_create_storagevolume.py: FAIL >>>> ERROR - Exception details: local variable 'dpool_rasd' referenced >>>> before assignment >>>> CIM_ERR_FAILED: Unable to create instance of type >>>> StorageVolumeResourceAllocationSettingData >>>> -------------------------------------------------------------------- >>>> ResourcePoolConfigurationService - >>>> 11_create_dir_storagevolume_errs.py: FAIL >>>> ERROR - Exception: Failed to get default StorageVolRASD , Expected >>>> atleast 4, Got '0' >>>> ERROR - Failed to get the StorageVol RASD's >>>> ERROR - In get_inputs() Exception details: Failed to get the defualt >>>> StorageVolRASD info >>>> ERROR - In main() Exception details: Failed to verify the Invlaid >>>> 'DUP_VOL_PATH' >>>> CIM_ERR_FAILED: Unable to create instance of type >>>> StorageVolumeResourceAllocationSettingData >>>> -------------------------------------------------------------------- >>>> ResourcePoolConfigurationService - >>>> 12_create_netfs_storagevolume_errs.py: FAIL >>>> ERROR - Failed to get 'DiskPoolRASD' >>>> ERROR - Failed to create pool 'NETFS_POOL' >>>> CIM_ERR_FAILED: Unable to create instance of type >>>> DiskPoolResourceAllocationSettingData >>>> -------------------------------------------------------------------- >>>> ResourcePoolConfigurationService - 13_delete_storagevolume.py: FAIL >>>> ERROR - Exception: Failed to get default StorageVolRASD , Expected >>>> atleast 4, Got '0' >>>> ERROR - Failed to get the StorageVol RASD's >>>> ERROR - Exception details: Failed to get the defualt StorageVolRASD >>>> info >>>> CIM_ERR_FAILED: Unable to create instance of type >>>> StorageVolumeResourceAllocationSettingData >>>> -------------------------------------------------------------------- >>>> ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: >>>> FAIL >>>> ERROR - Exception: Failed to get default StorageVolRASD , Expected >>>> atleast 4, Got '0' >>>> ERROR - Failed to get the StorageVol RASD's >>>> ERROR - Exception details: Failed to get the defualt StorageVolRASD >>>> info >>>> CIM_ERR_FAILED: Unable to create instance of type >>>> StorageVolumeResourceAllocationSettingData >>>> -------------------------------------------------------------------- >>>> ServiceAccessBySAP - 01_forward.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: domu1 >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> ServiceAccessBySAP - 02_reverse.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: domu1 >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> ServiceAffectsElement - 01_forward.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: SAE_dom >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> ServiceAffectsElement - 02_reverse.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: SAE_dom >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> SettingsDefine - 01_forward.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to Create the dom: domu1 >>>> ERROR - NameError : global name 'cmxl' is not defined >>>> Traceback (most recent call last): >>>> File "./lib/XenKvmLib/const.py", line 140, in do_try >>>> File "01_forward.py", line 144, in main >>>> status, cxml = setup_env(options.ip, options.virt) >>>> File "01_forward.py", line 58, in setup_env >>>> return FAIL, cmxl >>>> NameError: global name 'cmxl' is not defined >>>> ERROR - None >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> SettingsDefine - 02_reverse.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to Create the dom: virtgst >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> SettingsDefine - 03_sds_fwd_errs.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: domu1 >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> SettingsDefine - 04_sds_rev_errs.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: domu1 >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> SettingsDefineCapabilities - 01_forward.py: FAIL >>>> ERROR - Xen_SettingsDefineCapabilities returned 0 ResourcePool >>>> objects instead of 68 >>>> CIM_ERR_FAILED: Unable to create instance of type >>>> StorageVolumeResourceAllocationSettingData >>>> -------------------------------------------------------------------- >>>> SettingsDefineCapabilities - 03_forward_errs.py: PASS >>>> -------------------------------------------------------------------- >>>> SettingsDefineCapabilities - 04_forward_vsmsdata.py: PASS >>>> -------------------------------------------------------------------- >>>> SettingsDefineCapabilities - 05_reverse_vsmcap.py: PASS >>>> -------------------------------------------------------------------- >>>> SystemDevice - 01_forward.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Unable to define domain test_domain >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> SystemDevice - 02_reverse.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Unable to define domain test_domain >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> SystemDevice - 03_fwderrs.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the domain 'virt1' >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> VirtualSystemManagementCapabilities - 01_enum.py: PASS >>>> -------------------------------------------------------------------- >>>> VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS >>>> -------------------------------------------------------------------- >>>> VirtualSystemManagementService - 01_definesystem_name.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Unable to define test_domain >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> VirtualSystemManagementService - 02_destroysystem.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the domain 'test_domain' >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> VirtualSystemManagementService - 03_definesystem_ess.py: PASS >>>> -------------------------------------------------------------------- >>>> VirtualSystemManagementService - 04_definesystem_ers.py: PASS >>>> -------------------------------------------------------------------- >>>> VirtualSystemManagementService - 05_destroysystem_neg.py: PASS >>>> -------------------------------------------------------------------- >>>> VirtualSystemManagementService - 06_addresource.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: rstest_domain >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> VirtualSystemManagementService - 07_addresource_neg.py: PASS >>>> -------------------------------------------------------------------- >>>> VirtualSystemManagementService - 08_modifyresource.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: rstest_domain >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> VirtualSystemManagementService - 09_procrasd_persist.py: FAIL >>>> ERROR - Unable to set template ProcRASD >>>> CIM_ERR_FAILED: Unable to create instance of type >>>> MemResourceAllocationSettingData >>>> -------------------------------------------------------------------- >>>> VirtualSystemManagementService - 10_hv_version.py: PASS >>>> -------------------------------------------------------------------- >>>> VirtualSystemManagementService - 11_define_memrasdunits.py: FAIL >>>> ERROR - KeyError : 'Xen_MemResourceAllocationSettingData' >>>> Traceback (most recent call last): >>>> File "./lib/XenKvmLib/const.py", line 140, in do_try >>>> File "11_define_memrasdunits.py", line 120, in main >>>> status = try_define(options, units, value, cxml) >>>> File "11_define_memrasdunits.py", line 61, in try_define >>>> if rasd_list[mrasd_cn] is None: >>>> KeyError: 'Xen_MemResourceAllocationSettingData' >>>> ERROR - None >>>> CIM_ERR_FAILED: Unable to create instance of type >>>> MemResourceAllocationSettingData >>>> -------------------------------------------------------------------- >>>> VirtualSystemManagementService - 12_referenced_config.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Unable to define rstest_domain using DefineSystem() >>>> ERROR - Unable to start rstest_domain >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> VirtualSystemManagementService - 13_refconfig_additional_devs.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Unable define domain rstest_domain >>>> ERROR - Unable to define domain rstest_domain >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> VirtualSystemManagementService - 14_define_sys_disk.py: FAIL >>>> ERROR - Unable to get template RASDs for rstest_disk_domain >>>> CIM_ERR_FAILED: Unable to create instance of type >>>> MemResourceAllocationSettingData >>>> -------------------------------------------------------------------- >>>> VirtualSystemManagementService - 15_mod_system_settings.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: rstest_domain >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> VirtualSystemManagementService - 16_removeresource.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: domain >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> VirtualSystemManagementService - 17_removeresource_neg.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: domain >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> VirtualSystemManagementService - 18_define_sys_bridge.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: brgtest_domain >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> VirtualSystemManagementService - 19_definenetwork_ers.py: FAIL >>>> ERROR - DEBUG nettype is network, field is None, tc is none >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Desc Mismatch, Got desc: 'CIM_ERR_FAILED: Unable to parse >>>> embedded object', exp 'Valid param ' >>>> ERROR - Defing domain with invalid network name None gave unexpected >>>> rc code 1 and description: >>>> CIM_ERR_FAILED: Unable to parse embedded object >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> VirtualSystemManagementService - 20_verify_vnc_password.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: vncpasswd_domain >>>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>>> `vncpasswd_domain' does not exist: Domain not found: >>>> xenUnifiedDomainLookupByName with return code 6 >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>>> `vncpasswd_domain' does not exist: Domain not found: >>>> xenUnifiedDomainLookupByName >>>> -------------------------------------------------------------------- >>>> VirtualSystemManagementService - 21_createVS_verifyMAC.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Exception details: Unable to define dom_mac_notspecified >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> VirtualSystemManagementService - 22_addmulti_brg_interface.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - global name 'default_dom' is not defined >>>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>>> `my_domain1' does not exist: Domain not found: >>>> xenUnifiedDomainLookupByName with return code 6 >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>>> `my_domain1' does not exist: Domain not found: >>>> xenUnifiedDomainLookupByName >>>> -------------------------------------------------------------------- >>>> VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Desc Mismatch, Got desc: 'CIM_ERR_FAILED: Unable to parse >>>> embedded object', exp 'Conflicting MAC Addresses' >>>> ERROR - Got unexpected rc code 1 and description CIM_ERR_FAILED: >>>> Unable to parse embedded object >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> VirtualSystemManagementService - 24_define_sys_features.py: SKIP >>>> -------------------------------------------------------------------- >>>> VirtualSystemManagementService - 24_verify_modifyres_output.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: rstest_domain >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> VirtualSystemMigrationCapabilities - 01_enum.py: PASS >>>> -------------------------------------------------------------------- >>>> VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: PASS >>>> -------------------------------------------------------------------- >>>> VirtualSystemMigrationService - 01_migratable_host.py: FAIL >>>> ERROR - Error invoke 'CheckVirtualSystemIsMigratableToHost'. >>>> ERROR - (1, u'CIM_ERR_FAILED: Failed to connect to remote host >>>> (xen+ssh://localhost/system)') >>>> Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="dom_migrate" >>>> >>>> >>>> InvokeMethod(CheckVirtualSystemIsMigratableToHost): CIM_ERR_FAILED: >>>> Failed to connect to remote host (xen+ssh://localhost/system) >>>> -------------------------------------------------------------------- >>>> VirtualSystemMigrationService - 02_host_migrate_type.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - CS instance not returned for dom_migrate. >>>> ERROR - Error start domain dom_migrate >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>> Domain not found: xenUnifiedDomainLookupByName >>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>> Domain not found: xenUnifiedDomainLookupByName >>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>> Domain not found: xenUnifiedDomainLookupByName >>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>> Domain not found: xenUnifiedDomainLookupByName >>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>> Domain not found: xenUnifiedDomainLookupByName >>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>> Domain not found: xenUnifiedDomainLookupByName >>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>> Domain not found: xenUnifiedDomainLookupByName >>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>> Domain not found: xenUnifiedDomainLookupByName >>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>> Domain not found: xenUnifiedDomainLookupByName >>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>> Domain not found: xenUnifiedDomainLookupByName >>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>> Domain not found: xenUnifiedDomainLookupByName >>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>> Domain not found: xenUnifiedDomainLookupByName >>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>> Domain not found: xenUnifiedDomainLookupByName >>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>> Domain not found: xenUnifiedDomainLookupByName >>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>> Domain not found: xenUnifiedDomainLookupByName >>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>> Domain not found: xenUnifiedDomainLookupByName >>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>> Domain not found: xenUnifiedDomainLookupByName >>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>> Domain not found: xenUnifiedDomainLookupByName >>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>> Domain not found: xenUnifiedDomainLookupByName >>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>> Domain not found: xenUnifiedDomainLookupByName >>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>> Domain not found: xenUnifiedDomainLookupByName >>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>> Domain not found: xenUnifiedDomainLookupByName >>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>> Domain not found: xenUnifiedDomainLookupByName >>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>> Domain not found: xenUnifiedDomainLookupByName >>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>> Domain not found: xenUnifiedDomainLookupByName >>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>> Domain not found: xenUnifiedDomainLookupByName >>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>> Domain not found: xenUnifiedDomainLookupByName >>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>> Domain not found: xenUnifiedDomainLookupByName >>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>> Domain not found: xenUnifiedDomainLookupByName >>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>> Domain not found: xenUnifiedDomainLookupByName >>>> -------------------------------------------------------------------- >>>> VirtualSystemMigrationService - 05_migratable_host_errs.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Error define domain dom_migration >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> VirtualSystemMigrationService - 06_remote_live_migration.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Error define domain VM_frm_dhcp-66-70-64.nay.redhat.com >>>> ERROR - Error setting up the guest >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> VirtualSystemMigrationService - 07_remote_offline_migration.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Error define domain VM_frm_dhcp-66-70-64.nay.redhat.com >>>> ERROR - Error setting up the guest >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> VirtualSystemMigrationService - >>>> 08_remote_restart_resume_migration.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Error define domain VM_frm_dhcp-66-70-64.nay.redhat.com >>>> ERROR - Error setting up the guest >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> VirtualSystemMigrationSettingData - 01_enum.py: PASS >>>> -------------------------------------------------------------------- >>>> VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS >>>> -------------------------------------------------------------------- >>>> VirtualSystemSettingDataComponent - 01_forward.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: VSSDC_dom >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> VirtualSystemSettingDataComponent - 02_reverse.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: VSSDC_dom >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Unable to define domain domu1 >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Unable to define domain domu1 >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> VirtualSystemSnapshotService - 01_enum.py: PASS >>>> -------------------------------------------------------------------- >>>> VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: PASS >>>> -------------------------------------------------------------------- >>>> VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Exception: ('Unable to define %s', 'snapshot_vm') >>>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>>> `snapshot_vm' does not exist: Domain not found: >>>> xenUnifiedDomainLookupByName with return code 6 >>>> ERROR - Failed to remove snapshot file for snapshot_vm >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>>> `snapshot_vm' does not exist: Domain not found: >>>> xenUnifiedDomainLookupByName >>>> -------------------------------------------------------------------- >>>> VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS >>>> -------------------------------------------------------------------- >>>> VirtualSystemSnapshotServiceCapabilities - >>>> 02_vs_sservicecap_gi_errs.py: PASS >>>> -------------------------------------------------------------------- >>>> VSSD - 01_enum.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - error while create of VS >>>> ERROR - Missing VSSD instance for the system VSSD_dom >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> VSSD - 02_bootldr.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - error while 'define' of VS >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> VSSD - 03_vssd_gi_errs.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - error while define of VS >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> VSSD - 04_vssd_to_rasd.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to Define the domain: VSSDC_dom >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> VSSD - 05_set_uuid.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: uuid_domain >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> VSSD - 06_duplicate_uuid.py: FAIL >>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>> with return code 1 >>>> ERROR - Failed to define the dom: uuid_domain >>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>> object >>>> -------------------------------------------------------------------- >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> >>>> _______________________________________________ >>>> Libvirt-cim mailing list >>>> Libvirt-cim at redhat.com >>>> https://www.redhat.com/mailman/listinfo/libvirt-cim >>> >> >> _______________________________________________ >> Libvirt-cim mailing list >> Libvirt-cim at redhat.com >> https://www.redhat.com/mailman/listinfo/libvirt-cim > > From rmaciel at linux.vnet.ibm.com Mon Jan 11 18:16:52 2010 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Mon, 11 Jan 2010 16:16:52 -0200 Subject: [Libvirt-cim] [PATCH 1 of 3] Creates and register provider class GuestCrashAlertIndication In-Reply-To: References: Message-ID: <23b104fd6d9cad1416d8.1263233812@localhost6.localdomain6> # HG changeset patch # User Richard Maciel # Date 1248549583 10800 # Node ID 23b104fd6d9cad1416d89c60750c603eef7d3381 # Parent 2e80fd8fdbc575decc0b8a1623f8b9ad9122dccf Creates and register provider class GuestCrashAlertIndication Signed-off-by: Richard Maciel diff -r 2e80fd8fdbc5 -r 23b104fd6d9c Makefile.am --- a/Makefile.am Fri Dec 11 18:04:28 2009 -0800 +++ b/Makefile.am Sat Jul 25 16:19:43 2009 -0300 @@ -56,7 +56,8 @@ schema/InputPool.mof \ schema/HostedAccessPoint.mof \ schema/ServiceAccessBySAP.mof \ - schema/SAPAvailableForElement.mof + schema/SAPAvailableForElement.mof \ + schema/GuestCrashAlertIndication.mof INTEROP_MOFS = \ schema/ComputerSystem.mof \ @@ -136,7 +137,8 @@ schema/InputPool.registration \ schema/HostedAccessPoint.registration \ schema/ServiceAccessBySAP.registration \ - schema/SAPAvailableForElement.registration + schema/SAPAvailableForElement.registration \ + schema/GuestCrashAlertIndication.registration INTEROP_REGS = \ schema/RegisteredProfile.registration \ diff -r 2e80fd8fdbc5 -r 23b104fd6d9c schema/GuestCrashAlertIndication.mof --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/schema/GuestCrashAlertIndication.mof Sat Jul 25 16:19:43 2009 -0300 @@ -0,0 +1,17 @@ +// Copyright IBM Corp. 2007 + +[Description ("Xen guest crash alert"), + Provider("cmpi::Virt_GuestCrashAlertIndication") +] +class Xen_GuestCrashAlertIndication : CIM_AlertIndication +{ + uint32 RaiseIndication([IN] CIM_InstCreation REF TheIndication); +}; + +[Description ("KVM guest crash alert"), + Provider("cmpi::Virt_GuestCrashAlertIndication") +] +class KVM_GuestCrashAlertIndication : CIM_AlertIndication +{ + uint32 RaiseIndication([IN] CIM_InstCreation REF TheIndication); +}; diff -r 2e80fd8fdbc5 -r 23b104fd6d9c schema/GuestCrashAlertIndication.registration --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/schema/GuestCrashAlertIndication.registration Sat Jul 25 16:19:43 2009 -0300 @@ -0,0 +1,4 @@ +# Copyright IBM Corp. 2007 +# Classname Namespace ProviderName ProviderModule ProviderTypes +Xen_GuestCrashAlertIndication root/virt Virt_GuestCrashAlertIndicationProvider Virt_GuestCrashAlertIndication indication method +KVM_GuestCrashAlertIndication root/virt Virt_GuestCrashAlertIndicationProvider Virt_GuestCrashAlertIndication indication method From rmaciel at linux.vnet.ibm.com Mon Jan 11 18:16:53 2010 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Mon, 11 Jan 2010 16:16:53 -0200 Subject: [Libvirt-cim] [PATCH 2 of 3] Raises GuestCrashAlertIndication when QEMU crashes In-Reply-To: References: Message-ID: <22540c8901bd5a58a663.1263233813@localhost6.localdomain6> # HG changeset patch # User Richard Maciel # Date 1248549583 10800 # Node ID 22540c8901bd5a58a6631c6b449c92a3d0c5fd5b # Parent 23b104fd6d9cad1416d89c60750c603eef7d3381 Raises GuestCrashAlertIndication when QEMU crashes Signed-off-by: Richard Maciel diff -r 23b104fd6d9c -r 22540c8901bd src/Makefile.am --- a/src/Makefile.am Sat Jul 25 16:19:43 2009 -0300 +++ b/src/Makefile.am Sat Jul 25 16:19:43 2009 -0300 @@ -76,7 +76,8 @@ libVirt_ServiceAffectsElement.la \ libVirt_HostedAccessPoint.la \ libVirt_ServiceAccessBySAP.la \ - libVirt_SAPAvailableForElement.la + libVirt_SAPAvailableForElement.la \ + libVirt_GuestCrashAlertIndication.la libVirt_ComputerSystem_la_SOURCES = Virt_ComputerSystem.c libVirt_ComputerSystem_la_DEPENDENCIES = libVirt_VirtualSystemSnapshotService.la @@ -238,3 +239,7 @@ libVirt_SAPAvailableForElement_la_SOURCES = Virt_SAPAvailableForElement.c libVirt_SAPAvailableForElement_la_LIBADD = -lVirt_ComputerSystem -lVirt_KVMRedirectionSAP +libVirt_GuestCrashAlertIndication_la_DEPENDENCIES = libVirt_ComputerSystem.la +libVirt_GuestCrashAlertIndication_la_SOURCES = Virt_GuestCrashAlertIndication.c +libVirt_GuestCrashAlertIndication_la_LIBADD = -lVirt_ComputerSystem + diff -r 23b104fd6d9c -r 22540c8901bd src/Virt_GuestCrashAlertIndication.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/Virt_GuestCrashAlertIndication.c Sat Jul 25 16:19:43 2009 -0300 @@ -0,0 +1,524 @@ +/* + * Copyright IBM Corp. 2009 + * + * Authors: + * Richard Maciel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include + +#include + +#include +#include +#include +#include + +#include "config.h" +#include "infostore.h" + +typedef struct cb_info { + const CMPIContext *context; + const CMPIObjectPath *obj_path; +} *cb_info_ptr; + +static const CMPIBroker *_BROKER; + +#define CAI_NUM_PLATFORMS 3 +enum CAI_PLATFORMS {CAI_XEN, + CAI_KVM, + CAI_LXC, +}; +static int active_filters[CAI_NUM_PLATFORMS]; + +static pthread_mutex_t cb_reg_mutex = PTHREAD_MUTEX_INITIALIZER; + +static void set_alert_ind_props(const CMPIBroker *broker, + const char *classname, + const CMPIContext *ctx, + const CMPIInstance *ind) +{ + CMPIStatus s; + CMPIString *str = NULL; + CMPIUint16 val; + CMPIArray *array = NULL; + CMPIDateTime *time = NULL; + + + //CMSetProperty(ind, "Description", &str, CMPI_string); + + + // val 1 + val = 1; + CMSetProperty(ind, "AlertType", &val, CMPI_uint16); + + str = CMNewString(broker, "Virtual guest crash", &s); + CMSetProperty(ind, "OtherAlertType", &str, CMPI_string); + + val = 7; + CMSetProperty(ind, "PerceivedSeverity", &val, CMPI_uint16); + + // val 48 + val = 48; + CMSetProperty(ind, "ProbableCause", &val, CMPI_uint16); + + //CMSetProperty(ind, "ProbableCauseDescription", &str, CMPI_string); + + // val 1 + val = 1; + CMSetProperty(ind, "Trending", &val, CMPI_uint16); + + // This is an array + // CMSetProperty(ind, "RecommendedActions", &str, CMPI_string); + + time = CMNewDateTime(broker, &s); + CMSetProperty(ind, "EventTime", &time, CMPI_dateTime); + + // Kaitlin, do I need to fill this one? + //CMSetProperty(ind, "SystemCreationClassName", &str, CMPI_string); + + // What about this? + // CMSetProperty(ind, "SystemName", &str, CMPI_string); + + str = CMNewString(broker, classname, &s); + CMSetProperty(ind, "ProviderName", &str, CMPI_string); + + str = CMNewString(broker, "DTMF", &s); + CMSetProperty(ind, "OwningEntity", &str, CMPI_string); + + str = CMNewString(broker, "322", &s); + CMSetProperty(ind, "MessageID", &str, CMPI_string); + + //CMSetProperty(ind, "Message", &str, CMPI_string); + + // This is an string array + array = CMNewArray(broker, 1, CMPI_stringA, &s); + str = CMNewString(broker, + "Virtual machine execution ended " + "unexpectly", + &s); + s = CMSetArrayElementAt(array, 0, &str, CMPI_string); + CMSetProperty(ind, "MessageArguments", &array, CMPI_string); +} + +static CMPIStatus create_and_deliver_ind(const CMPIBroker *broker, + const CMPIContext *ctx, + struct ind_args *args, + const CMPIInstance *ind) +{ + CMPIStatus s; + CMPIObjectPath *ind_op = NULL; + + set_alert_ind_props(broker, args->classname, ctx, ind); + + ind_op = CMGetObjectPath(ind, NULL); + CU_DEBUG("Delivering Indication: %s", + CMGetCharPtr(CMObjectPathToString(ind_op, NULL))); + + s = stdi_deliver(broker, ctx, args, (CMPIInstance *)ind); + if (s.rc == CMPI_RC_OK) { + CU_DEBUG("Indication delivered"); + } else { + CU_DEBUG("Not delivered: %s", CMGetCharPtr(s.msg)); + } + + return s; +} + +DECLARE_FILTER(xen_crashed, "Xen_GuestCrashAlertIndication"); +DECLARE_FILTER(kvm_crashed, "KVM_GuestCrashAlertIndication"); + +static struct std_ind_filter *filters[] = { + &xen_crashed, + &kvm_crashed, + NULL, +}; + +static CMPIStatus raise_indication(const CMPIBroker *broker, + const CMPIContext *ctx, + const CMPIInstance *ind) +{ + CMPIStatus s = {CMPI_RC_OK, NULL}; + CMPIObjectPath *ref = NULL; + struct std_indication_ctx *_ctx = NULL; + struct ind_args *args = NULL; + + CU_DEBUG("Guest Crash Raise indication"); + + ref = CMGetObjectPath(ind, &s); + if (s.rc != CMPI_RC_OK) { + cu_statusf(broker, &s, + CMPI_RC_ERR_FAILED, + "Unable to get a reference to the guest"); + goto out; + } + + /* FIXME: This is a Pegasus work around. Pegsus loses the namespace + when an ObjectPath is pulled from an instance */ + if (STREQ(NAMESPACE(ref), "")) + CMSetNameSpace(ref, "root/virt"); + + /*s = get_domain_by_ref(broker, ref, &src_inst); + if (s.rc != CMPI_RC_OK || CMIsNullObject(src_inst)) + goto out;*/ + + _ctx = malloc(sizeof(struct std_indication_ctx)); + if (_ctx == NULL) { + cu_statusf(broker, &s, + CMPI_RC_ERR_FAILED, + "Unable to allocate indication context"); + goto out; + } + + _ctx->brkr = broker; + _ctx->handler = NULL; + _ctx->filters = filters; + _ctx->enabled = true; + + args = malloc(sizeof(struct ind_args)); + if (args == NULL) { + cu_statusf(broker, &s, + CMPI_RC_ERR_FAILED, + "Unable to allocate ind_args"); + goto out; + } + + args->ns = strdup(NAMESPACE(ref)); + args->classname = strdup(CLASSNAME(ref)); + args->_ctx = _ctx; + + + s = create_and_deliver_ind(broker, ctx, args, ind); + + if (s.rc != CMPI_RC_OK) { + cu_statusf(_BROKER, &s, + CMPI_RC_ERR_FAILED, + "Unable to generate indication"); + } + + out: + if (args != NULL) + stdi_free_ind_args(&args); + + if (_ctx != NULL) + free(_ctx); + + return s; +} + + +static void free_cb(void *opaque) +{ + cb_info_ptr cbinfo = NULL; + + CU_DEBUG("Releasing memory from guest crash callback"); + + cbinfo = (cb_info_ptr)opaque; + free(cbinfo); +} + +static char * inc_counter(virDomainPtr dom) +{ + struct infostore_ctx *store = NULL; + char *str = NULL; + uint64_t counter = 0; + bool ret = false; + + pthread_mutex_lock(&cb_reg_mutex); + + store = infostore_open(dom); + + if (store == NULL) { + CU_DEBUG("Could not open infostore"); + goto out; + } + + counter = infostore_get_u64(store, "EventID"); + + if (counter == 0) + CU_DEBUG("No EventID available. Creating..."); + + counter++; + + if (asprintf(&str, "%llu", counter) < 0) { + CU_DEBUG("Could not alloc memory for counter"); + goto out; + } + + ret = infostore_set_u64(store, "EventID", counter); + if (!ret) { + CU_DEBUG("Could not save EventID to infostore"); + free(str); + } + + out: + if (!ret) + str = NULL; + + infostore_close(store); + + pthread_mutex_unlock(&cb_reg_mutex); + + return str; +} + +static void preset_alert_ind_props(CMPIInstance *ind, virDomainPtr dom) +{ + CMPIStatus s; + CMPIString *str = NULL; + char *dom_name = (char *)virDomainGetName(dom); + char *counter = NULL; + + if (dom_name == NULL) { + CU_DEBUG("Could not retrieve name of guest responsible for " + "crash"); + dom_name = "Guest name not available"; + } + + str = CMNewString(_BROKER, dom_name, &s); + CMSetProperty(ind, "AlertingManagedElement", &str, CMPI_string); + + // This property must be unique, retrieve a counter from infostore + counter = inc_counter(dom); + if (counter == NULL) { + CU_DEBUG("Could not retrieve counter"); + } else { + str = CMNewString(_BROKER, counter, &s); + CMSetProperty(ind, "EventID", &str, CMPI_string); + free(counter); + } +} + +static int guest_crashed_cb(virConnectPtr conn, + virDomainPtr dom, + int event, + int detail, + void *opaque) +{ + char *type = NULL; + CMPIStatus s = {CMPI_RC_OK, NULL}; + const char *ind_name = "GuestCrashAlertIndication"; + CMPIInstance *ind = NULL; + cb_info_ptr cbinfo = NULL; + const CMPIObjectPath *op = NULL; + const CMPIContext *context = NULL; + + CU_DEBUG("Preparing %s", ind_name); + + if (event != VIR_DOMAIN_EVENT_STOPPED_FAILED) { + CU_DEBUG("Event not monitored. Ignoring..."); + return 0; + } + + cbinfo = (cb_info_ptr)opaque; + op = cbinfo->obj_path; + context = cbinfo->context; + + ind = get_typed_instance(_BROKER, + CLASSNAME(op), + ind_name, + NAMESPACE(op)); + + preset_alert_ind_props(ind, dom); + + if (ind == NULL) { + CU_DEBUG("Failed to create ind '%s'", ind_name); + goto out; + } + + type = get_typed_class(CLASSNAME(op), ind_name); + + s = stdi_raise_indication(_BROKER, + context, + type, + NAMESPACE(op), + ind); + + out: + free(type); + + return s.rc != CMPI_RC_OK; +} + +static int platform_from_class(const char *cn) +{ + if (STARTS_WITH(cn, "Xen")) + return CAI_XEN; + else if (STARTS_WITH(cn, "KVM")) + return CAI_KVM; + else if (STARTS_WITH(cn, "LXC")) + return CAI_LXC; + else + return -1; +} + +static CMPIStatus ActivateFilter(CMPIIndicationMI* mi, + const CMPIContext* ctx, + const CMPISelectExp* se, + const char *ns, + const CMPIObjectPath* op, + CMPIBoolean first) +{ + virConnectPtr conn = NULL; + CMPIStatus s = {CMPI_RC_OK, NULL}; + cb_info_ptr cbinfo = NULL; + int platform; + int ret = 0; + + cbinfo = (cb_info_ptr)malloc(sizeof(struct cb_info)); + cbinfo->context = ctx; + cbinfo->obj_path = op; + + CU_DEBUG("ActivateFilter for %s", CLASSNAME(op)); + + if (CMIsNullObject(op)) { + cu_statusf(_BROKER, &s, + CMPI_RC_ERR_FAILED, + "No ObjectPath given"); + goto out; + } + + platform = platform_from_class(CLASSNAME(op)); + if (platform < 0) { + cu_statusf(_BROKER, &s, + CMPI_RC_ERR_FAILED, + "Unknown platform"); + goto out; + } + + pthread_mutex_lock(&cb_reg_mutex); + + active_filters[platform]++; + + if (active_filters[platform] == 1) { + conn = connect_by_classname(_BROKER, CLASSNAME(op), &s); + + CU_DEBUG("Registering callback function"); + ret = virConnectDomainEventRegister(conn, + guest_crashed_cb, + (void *)cbinfo, + free_cb); + CU_DEBUG("ret val: %d\n", ret); + } + + pthread_mutex_unlock(&cb_reg_mutex); + + out: + return s; +} + +static CMPIStatus DeActivateFilter(CMPIIndicationMI* mi, + const CMPIContext* ctx, + const CMPISelectExp* se, + const char *ns, + const CMPIObjectPath* op, + CMPIBoolean last) +{ + virConnectPtr conn = NULL; + int platform; + int ret = 0; + + CMPIStatus s = {CMPI_RC_OK, NULL}; + + pthread_mutex_lock(&cb_reg_mutex); + + platform = platform_from_class(CLASSNAME(op)); + if (platform < 0) { + cu_statusf(_BROKER, &s, + CMPI_RC_ERR_FAILED, + "Unknown platform"); + goto out; + } + + if (active_filters[platform] == 1) { + // Unregister callback + conn = connect_by_classname(_BROKER, CLASSNAME(op), &s); + + CU_DEBUG("De-registering callback function"); + ret = virConnectDomainEventDeregister(conn, + guest_crashed_cb); + CU_DEBUG("ret val: %d\n", ret); + + } + + active_filters[platform]--; + + pthread_mutex_unlock(&cb_reg_mutex); + + CU_DEBUG("DeActivateFilter for %s", CLASSNAME(op)); + + out: + return s; +} + +static _EI_RTYPE EnableIndications(CMPIIndicationMI* mi, + const CMPIContext *ctx) +{ + CU_DEBUG("EnableIndications"); + + _EI_RET(); + +} + +static _EI_RTYPE DisableIndications(CMPIIndicationMI* mi, + const CMPIContext *ctx) +{ + CU_DEBUG("DisableIndications"); + + _EI_RET(); +} + + + +static struct std_indication_handler csi = { + .raise_fn = raise_indication, + .trigger_fn = NULL, + .activate_fn = ActivateFilter, + .deactivate_fn = DeActivateFilter, + .enable_fn = EnableIndications, + .disable_fn = DisableIndications, +}; + +DEFAULT_IND_CLEANUP(); +DEFAULT_AF(); +DEFAULT_MP(); + +STDI_IndicationMIStub(, + Virt_GuestCrashAlertIndicationProvider, + _BROKER, + libvirt_cim_init(), + &csi, + filters); + +/* + * Local Variables: + * mode: C + * c-set-style: "K&R" + * tab-width: 8 + * c-basic-offset: 8 + * indent-tabs-mode: nil + * End: + */ From rmaciel at linux.vnet.ibm.com Mon Jan 11 18:16:54 2010 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Mon, 11 Jan 2010 16:16:54 -0200 Subject: [Libvirt-cim] [PATCH 3 of 3] [RFC] Implement libvirt event callback management In-Reply-To: References: Message-ID: <9c4cb3443e88714c2029.1263233814@localhost6.localdomain6> # HG changeset patch # User Hollis Blanchard # Date 1250181138 25200 # Node ID 9c4cb3443e88714c2029cff3c37d59e3ab8a5a01 # Parent 22540c8901bd5a58a6631c6b449c92a3d0c5fd5b [RFC] Implement libvirt event callback management. Libvirt requires that users implement their own event monitoring and callback-management infrastructure. Actually, two similar lists are needed: one for file descriptors to monitor, and one for pending timers. This patch starts exactly one event-monitoring thread per libvirt-cim instance. Multiple provider threads in the same process will share this thread. Signed-off-by: Hollis Blanchard --- This builds but isn't tested, and may very well contain embarrassing list manipulation or locking bugs. It really needs a consumer to test, i.e. for someone to register a domain event callback. Comments welcome. Please CC me on replies. diff -r 22540c8901bd -r 9c4cb3443e88 libxkutil/Makefile.am --- a/libxkutil/Makefile.am Sat Jul 25 16:19:43 2009 -0300 +++ b/libxkutil/Makefile.am Thu Aug 13 09:32:18 2009 -0700 @@ -5,14 +5,14 @@ CFLAGS += $(CFLAGS_STRICT) noinst_HEADERS = cs_util.h misc_util.h device_parsing.h xmlgen.h infostore.h \ - pool_parsing.h + pool_parsing.h event.h lib_LTLIBRARIES = libxkutil.la AM_LDFLAGS = -lvirt -luuid libxkutil_la_SOURCES = cs_util_instance.c misc_util.c device_parsing.c \ - xmlgen.c infostore.c pool_parsing.c + xmlgen.c infostore.c pool_parsing.c event.c noinst_PROGRAMS = xml_parse_test diff -r 22540c8901bd -r 9c4cb3443e88 libxkutil/event.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libxkutil/event.c Thu Aug 13 09:32:18 2009 -0700 @@ -0,0 +1,418 @@ +/* + * Copyright IBM Corp. 2009 + * + * Authors: + * Hollis Blanchard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +#include "event.h" + +struct timer { + int id; + int timeout; + void *opaque; + virFreeCallback ff; + struct timer *next; + bool deleted; +}; + +struct watch { + int id; + int fd; + int events; + virEventHandleCallback cb; + void *opaque; + virFreeCallback ff; + struct watch *next; + bool deleted; +}; + +static pthread_t watch_thread_id; + +static int next_watch_id; +static struct watch *watch_list; +static int watch_count; +static pthread_mutex_t watch_list_mutex = PTHREAD_MUTEX_INITIALIZER; + +static int next_timer_id; +static struct timer *timer_list; +static pthread_mutex_t timer_list_mutex = PTHREAD_MUTEX_INITIALIZER; + + +static int eventAddHandle(int fd, int events, virEventHandleCallback cb, + void *opaque, virFreeCallback ff) +{ + struct watch *watch; + + CU_DEBUG("%s", __func__); + + watch = malloc(sizeof(struct watch)); + if (!watch) + return -ENOMEM; + + CU_DEBUG("watch->fd = %d", fd); + + watch->fd = fd; + watch->events = events; + watch->cb = cb; + watch->opaque = opaque; + watch->ff = ff; + watch->deleted = 0; + + pthread_mutex_lock(&watch_list_mutex); + + watch->id = next_watch_id++; + CU_DEBUG("watch->id = %d", watch->id); + watch->next = watch_list; + watch_list = watch; + watch_count++; + + pthread_mutex_unlock(&watch_list_mutex); + + return watch->id; +} + +static void eventUpdateHandle(int id, int events) +{ + struct watch *cur; + + CU_DEBUG("%s %d", __func__, id); + + pthread_mutex_lock(&watch_list_mutex); + + for (cur = watch_list; cur != NULL; cur = cur->next) { + if (cur->id == id) { + cur->events = events; + CU_DEBUG("id: %d, events: %d", cur->id, cur->events); + break; + } + } + + pthread_mutex_unlock(&watch_list_mutex); +} + +/* To avoid locking problems, watches are just flagged here, and the memory is + * freed later. */ +static int eventRemoveHandle(int id) +{ + struct watch *cur; + + CU_DEBUG("%s %d", __func__, id); + + pthread_mutex_lock(&watch_list_mutex); + + for (cur = watch_list; cur != NULL; cur = cur->next) { + if (cur->id == id) { + cur->deleted = 1; + break; + } + } + + pthread_mutex_unlock(&watch_list_mutex); + + return 0; +} + +/* Delete all watches marked for deletion. */ +static void event_watch_free_deleted(void) +{ + struct watch *cur; + struct watch **link; + + CU_DEBUG("%s", __func__); + + pthread_mutex_lock(&watch_list_mutex); + + cur = watch_list; + link = &watch_list; + while (cur != NULL) { + struct watch *next = cur->next; + + if (cur->deleted) { + CU_DEBUG("Deleting id: %d", cur->id); + *link = next; + + cur->ff(cur->opaque); + free(cur); + watch_count--; + } else + link = &cur->next; + + cur = next; + } + + pthread_mutex_unlock(&watch_list_mutex); +} + +static int eventAddTimeout(int timeout, virEventTimeoutCallback cb, + void *opaque, virFreeCallback ff) +{ + struct timer *timer; + + CU_DEBUG("%s", __func__); + + timer = malloc(sizeof(struct timer)); + if (!timer) + return -ENOMEM; + + CU_DEBUG("timeout: %d", timeout); + + timer->timeout = timeout; + timer->opaque = opaque; + timer->ff = ff; + timer->deleted = 0; + + pthread_mutex_lock(&timer_list_mutex); + + timer->id = next_timer_id++; + timer->next = timer_list; + timer_list = timer; + + pthread_mutex_unlock(&timer_list_mutex); + + return timer->id; +} + +static void eventUpdateTimeout(int id, int timeout) +{ + struct timer *cur; + + CU_DEBUG("%s %d", __func__, id); + + pthread_mutex_lock(&timer_list_mutex); + + for (cur = timer_list; cur != NULL; cur = cur->next) { + if (cur->id == id) { + cur->timeout = timeout; + break; + } + } + + pthread_mutex_unlock(&timer_list_mutex); +} + +static int eventRemoveTimeout(int id) +{ + struct timer *cur; + + CU_DEBUG("%s %d", __func__, id); + + pthread_mutex_lock(&timer_list_mutex); + + for (cur = timer_list; cur != NULL; cur = cur->next) { + if (cur->id == id) { + cur->deleted = 1; + break; + } + } + + pthread_mutex_unlock(&timer_list_mutex); + + return 0; +} + +/* Delete all timers marked for deletion. */ +static void event_timer_free_deleted(void) +{ + struct timer *cur; + struct timer **link; + + CU_DEBUG("%s", __func__); + + pthread_mutex_lock(&timer_list_mutex); + + cur = timer_list; + link = &timer_list; + while (cur != NULL) { + struct timer *next = cur->next; + + if (cur->deleted) { + CU_DEBUG("deleted timer"); + *link = next; + + cur->ff(cur->opaque); + free(cur); + } else + link = &cur->next; + + cur = next; + } + + pthread_mutex_unlock(&timer_list_mutex); +} + + + +static int poll_to_libvirt_events(int pevents) +{ + int vevents = 0; + + if (pevents & POLLIN) + vevents |= VIR_EVENT_HANDLE_READABLE; + + if (pevents & POLLOUT) + vevents |= VIR_EVENT_HANDLE_WRITABLE; + + if (pevents & POLLERR) + vevents |= VIR_EVENT_HANDLE_ERROR; + + if (pevents & POLLHUP) + vevents |= VIR_EVENT_HANDLE_HANGUP; + + return vevents; +} + +static int libvirt_to_poll_events(int vevents) +{ + int pevents = 0; + + if (vevents & VIR_EVENT_HANDLE_READABLE) + pevents |= POLLIN; + + if (vevents & VIR_EVENT_HANDLE_WRITABLE) + pevents |= POLLOUT; + + if (vevents & VIR_EVENT_HANDLE_ERROR) + pevents |= POLLERR; + + if (vevents & VIR_EVENT_HANDLE_HANGUP) + pevents |= POLLHUP; + + return pevents; +} + +static void invoke_callback(struct watch *watch, struct pollfd *pollfd) +{ + int vevents = poll_to_libvirt_events(watch->events); + + CU_DEBUG("invoke_callback. events: %d", vevents); + + watch->cb(watch->id, watch->fd, vevents, watch->opaque); +} + +static int event_next_timeout(void) +{ + struct timer *cur; + int closest = 10000; + + for (cur = timer_list; cur != NULL; cur = cur->next) { + CU_DEBUG("cur->timeout: %d", cur->timeout); + if (cur->timeout > 0 && cur->timeout < closest) + closest = cur->timeout; + } + + return closest; +} + +/* One thread to watch all fds for all events for all libvirt threads. */ +static void *event_thread(void *ptr) +{ + while (1) { + struct watch *cur; + struct pollfd *pollfds; + struct pollfd *pollfd; + int timeout; + int i; + int pollrv; + + CU_DEBUG("event_thread"); + + //pthread_mutex_lock(&watch_list_mutex); + + pollfds = malloc(sizeof(struct pollfd) * watch_count); + + /* fill in pollfds array from our watch list */ + for (pollfd = &pollfds[0], cur = watch_list; + cur != NULL; + pollfd++, cur = cur->next) { + CU_DEBUG("pollfd = %d", *pollfd); + pollfd->fd = cur->fd; + pollfd->events = libvirt_to_poll_events(cur->events); + } + + //CU_DEBUG("event_next_timeout"); + + timeout = event_next_timeout(); + + //CU_DEBUG("poll timeout: %d", timeout); + + pollrv = poll(pollfds, watch_count, timeout); + + //CU_DEBUG("pool"); + + /* invoke callbacks in case of event */ + if (pollrv > 0) { + CU_DEBUG("Got movement"); + for (i = 0; i < watch_count; i++) { + for (cur = watch_list; cur != NULL; cur = cur->next) + if (cur->fd == pollfds[i].fd + && !cur->deleted) { + CU_DEBUG("Invoke call back fds: %d", pollfds[i]); + invoke_callback(cur, &pollfds[i]); + break; + } + } + } else { + CU_DEBUG("All clear: %d", pollrv); + } + + //pthread_mutex_unlock(&watch_list_mutex); + + free(pollfds); + + event_watch_free_deleted(); + event_timer_free_deleted(); + } + + return NULL; +} + +void init_events(void) +{ + static pthread_mutex_t thread_mutex = PTHREAD_MUTEX_INITIALIZER; + + CU_DEBUG("%s", __func__); + + pthread_mutex_lock(&thread_mutex); + + if (!watch_thread_id) { + virEventRegisterImpl(eventAddHandle, + eventUpdateHandle, + eventRemoveHandle, + eventAddTimeout, + eventUpdateTimeout, + eventRemoveTimeout); + + pthread_create(&watch_thread_id, NULL, event_thread, NULL); + } + + pthread_mutex_unlock(&thread_mutex); +} diff -r 22540c8901bd -r 9c4cb3443e88 libxkutil/event.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libxkutil/event.h Thu Aug 13 09:32:18 2009 -0700 @@ -0,0 +1,29 @@ +/* + * Copyright IBM Corp. 2009 + * + * Authors: + * Hollis Blanchard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#ifndef __EVENT_H +#define __EVENT_H + +#include + +void init_events(void); + +#endif /* __EVENT_H */ diff -r 22540c8901bd -r 9c4cb3443e88 libxkutil/misc_util.c --- a/libxkutil/misc_util.c Sat Jul 25 16:19:43 2009 -0300 +++ b/libxkutil/misc_util.c Thu Aug 13 09:32:18 2009 -0700 @@ -38,6 +38,7 @@ #include "misc_util.h" #include "cs_util.h" +#include "event.h" #include @@ -489,6 +490,7 @@ bool libvirt_cim_init(void) { + init_events(); return virInitialize() == 0; } From rmaciel at linux.vnet.ibm.com Mon Jan 11 18:16:51 2010 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Mon, 11 Jan 2010 16:16:51 -0200 Subject: [Libvirt-cim] [PATCH 0 of 3] [RFC] Handles events generated when the qemu process crashes Message-ID: 1. Look at the init_events function and see how it's called when you cancel the execution of the indication_tester.py 2. Notice that when you kill the qemu process, the event_thread invokes the callback, but the event received (look at the invoke_callback function) is a read, instead of a hangup From kaitlin at linux.vnet.ibm.com Tue Jan 12 23:25:30 2010 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Tue, 12 Jan 2010 15:25:30 -0800 Subject: [Libvirt-cim] question about libvirt-cim testing. In-Reply-To: <4B4AE6E3.60005@redhat.com> References: <4B41EFDA.6040703@redhat.com> <4B42A751.2090902@redhat.com> <4B431EE0.6020107@linux.vnet.ibm.com> <4B433E42.5090606@redhat.com> <4B44D300.9040506@linux.vnet.ibm.com> <4B4AE6E3.60005@redhat.com> Message-ID: <4B4D04EA.5040607@linux.vnet.ibm.com> Osier Yang wrote: > Hi, all > thanks for your kind help, and It seems caused by libvirt-cim, I have > already added the comments in > https://bugzilla.redhat.com/show_bug.cgi?id=540843 Hi Osier, I think this issue is caused by an older version of libcmpiutil. I tested with the tarball at ftp://libvirt.org/libvirt-cim/libcmpiutil-snapshot.tar.gz and used the rawhide version of libvirt-cim (libvirt-cim-0.5.8-2.fc13.x86_64). With this snapshot, I did not hit the parsing error. Do you still have a copy of your snapshot tarball? You can compare it against the tarball I used. # ls -la libcmpiutil-snapshot.tar.gz -rw-r--r--. 1 root root 384304 Jan 12 15:11 libcmpiutil-snapshot.tar.gz # md5sum libcmpiutil-snapshot.tar.gz b37d75713d849dc8c92e914483010405 libcmpiutil-snapshot.tar.gz I tested on a rawhide system with the rawhide version of tog-pegasus. > > Thanks and Regards > osier > > Richard Maciel wrote: >> On 01/05/2010 11:27 AM, Osier Yang wrote: >>> Then I get the newest libcmpiutil from >>> ftp://libvirt.org/libvirt-cim/libcmpiutil-snapshot.tar.gz, build and >>> install it. >>> but it doesn't work, the testing result is same as previous attachment. >> >> Did you configure libcmpiutil with EO Parser support >> (--enable-eoparser when using the ./configure script)? >> >>> >>> BTW: there should be some problem of the Makefile of >>> ftp://libvirt.org/libvirt-cim/libcmpiutil-snapshot.tar.gz : >>> [root at dhcp-66-70-64 libcmpiutil]# make clean && make >>> Making clean in tools >>> make[1]: Entering directory `/root/libcmpiutil/tools' >>> rm -rf .libs _libs >>> rm -f *.lo >>> make[1]: Leaving directory `/root/libcmpiutil/tools' >>> Making clean in . >>> make[1]: Entering directory `/root/libcmpiutil' >>> test -z "libcueoparser.la libcmpiutil.la " || rm -f libcueoparser.la >>> libcmpiutil.la >>> rm -f "./so_locations" >>> rm -f "./so_locations" >>> rm -rf .libs _libs >>> rm -f eo_util_lexer.c eo_util_parser.c eo_util_parser.h *~ >>> rm -f *.o >>> rm -f *.lo >>> make[1]: Leaving directory `/root/libcmpiutil' >>> : -Peo_parse_ eo_util_lexer.l >>> sed '/^#/ s|lex.eo_parse_\.c|eo_util_lexer.c|' lex.eo_parse_.c >>> >eo_util_lexer.c >>> sed: can't read lex.eo_parse_.c: No such file or directory >>> make: *** [eo_util_lexer.c] Error 2 >>> >>> But with type another "make" in the command line after above "make clean >>> && make", no error happens. >> >> Just to make sure, you have bison and flex installed, right? What is >> their version? >> >> >> To me looks like the problem is in your virsh, (since it cannot create >> a guest using virsh), not libvirt-cim or libcmpiutil. >> >> Check if you are able to create a guest on virsh, please. >> >>> >>> Thanks and Regards >>> osier >>> >>> >>> >>> >>> Deepti B Kalakeri wrote: >>>> Hi Osier, >>>> >>>> Thanks for using cimtest. Most of the failures are because of the >>>> "Unable to parse embedded object" error. >>>> This does not seem to be test case issue. I have seen this error with >>>> the old libcmpiutil, but this error seems to go with latest >>>> libcmpiutil. >>>> I have not used RHEL5.5 for testing so not sure if the packages being >>>> used are all up to date. >>>> Will you be able to build and install the libcmpiutil [from hg clone >>>> http://libvirt.org/hg/libcmpiutil ] or better you can use the latest >>>> one available @ >>>> ftp://libvirt.org/libvirt-cim/libcmpiutil-snapshot.tar.gz to build and >>>> install it. >>>> The build and setup instructions are given @ >>>> http://wiki.libvirt.org/page/Libvirt-cim_setup [ Check the Install >>>> from Source topic] >>>> >>>> Also, can you see if you can execute the following command without any >>>> error: >>>> wbemcli ei >>>> 'http://root:password at localhost:5988/root/virt:Xen_VirtualSystemSettingData' >>>> >>>> -nl >>>> >>>> Thanks and Regards, >>>> Deepti. >>>> >>>> >>>> Osier Yang wrote: >>>>> Hi Sharad >>>>> sorry for missing the attachment, here it is now, see the attachment. >>>>> >>>>> Thanks and Regards >>>>> osier >>>>> >>>>> Sharad Mishra wrote: >>>>>> >>>>>> Hi Osier, >>>>>> >>>>>> I don't see any test result attachment with your email. Can you send >>>>>> your test results? >>>>>> >>>>>> Regards >>>>>> Sharad Mishra >>>>>> System x Enablement >>>>>> Linux Technology Center >>>>>> IBM >>>>>> >>>>>> Inactive hide details for Osier Yang ---01/04/2010 05:48:36 AM---Hi >>>>>> allOsier Yang ---01/04/2010 05:48:36 AM---Hi all >>>>>> >>>>>> *Osier Yang * >>>>>> Sent by: libvirt-cim-bounces at redhat.com >>>>>> >>>>>> 01/04/2010 05:40 AM >>>>>> Please respond to >>>>>> List for discussion and development of libvirt >>>>>> CIM >>>>>> >>>>>> To >>>>>> libvirt-cim at redhat.com, Guan Nan Ren >>>>>> >>>>>> cc >>>>>> Subject >>>>>> [Libvirt-cim] question about libvirt-cim testing. >>>>>> >>>>>> >>>>>> Hi all >>>>>> I got a testing result (see the attachment) that seems not >>>>>> reasonable with cimtest --- with just 50 about cases passed. And I >>>>>> just >>>>>> want to known if it's caused by my testing enviroment or the >>>>>> problem of >>>>>> libvirt-cim self. Tried find out myself, but because not very >>>>>> farmiliar >>>>>> with CIM, so didn't helps. Any suggestion will be appreciatec. >>>>>> The steps of setting up testing enviroment is as follows: >>>>>> >>>>>> 1> install an RHEL5.5-Server, (x86_64) >>>>>> >>>>>> 2> updated the related packages to the newest version: >>>>>> [root at dhcp-66-70-64 ~]# rpm -qa | grep xen >>>>>> kernel-xen-2.6.18-183.el5 >>>>>> xen-devel-3.0.3-102.el5 >>>>>> xen-libs-3.0.3-102.el5 >>>>>> >>>>>> [root at dhcp-66-70-64 ~]# rpm -qa | grep libvirt >>>>>> libvirt-devel-0.6.3-28.el5 >>>>>> libvirt-debuginfo-0.6.3-28.el5 >>>>>> libvirt-cim-0.5.8-2.el5 >>>>>> libvirt-python-0.6.3-28.el5 >>>>>> libvirt-0.6.3-28.el5 >>>>>> libvirt-0.6.3-28.el5 >>>>>> libvirt-cim-debuginfo-0.5.8-2.el5 >>>>>> >>>>>> [root at dhcp-66-70-64 ~]# rpm -qa | grep cmpi >>>>>> libcmpiutil-0.5-1.el5 >>>>>> libcmpiutil-0.5-1.el5 >>>>>> libcmpiutil-devel-0.5-1.el5 >>>>>> libcmpiutil-debuginfo-0.5-1.el5 >>>>>> >>>>>> [root at dhcp-66-70-64 ~]# rpm -qa | grep pega >>>>>> tog-pegasus-devel-2.9.1-1.el5 >>>>>> tog-pegasus-devel-2.9.1-1.el5 >>>>>> tog-pegasus-2.9.1-1.el5 >>>>>> >>>>>> 3> install sblim-wbemcli >>>>>> # yum install sblim-wbemcli -y >>>>>> >>>>>> 4> config CIM server (tog-pegasus) >>>>>> # cimconfig -p -s enableHttpConnection=true >>>>>> # cimconfig -p -s repositoryIsDefaultInstanceProvider=true >>>>>> >>>>>> 5> restart CIM server >>>>>> # service tog-pegasus restart >>>>>> >>>>>> 6> get the providers list (verify) >>>>>> [root at dhcp-66-70-64 ~]# wbemcli ecn >>>>>> http://root:redhat at localhost:5988 | grep -i xen >>>>>> localhost:5988/root/cimv2:Xen_RegisteredProfile >>>>>> localhost:5988/root/cimv2:Xen_HostedAccessPoint >>>>>> localhost:5988/root/cimv2:Xen_HostedResourcePool >>>>>> localhost:5988/root/cimv2:Xen_HostedService >>>>>> localhost:5988/root/cimv2:Xen_HostedDependency >>>>>> localhost:5988/root/cimv2:Xen_ComputerSystem >>>>>> localhost:5988/root/cimv2:Xen_ElementConformsToProfile >>>>>> localhost:5988/root/cimv2:Xen_ElementCapabilities >>>>>> >>>>>> 7> download cimtest snapshot and extract it >>>>>> # wget -c ftp://libvirt.org/libvirt-cim/cimtest-snapshot.tar.gz >>>>>> # tar xvzf cimtest-snapshot.tar.gz >>>>>> 8> execute the case >>>>>> # CIM_NS=root/virt CIM_USER=root CIM_PASS=redhat ./runtests >>>>>> libvirt-cim -i localhost >>>>>> >>>>>> >>>>>> >>>>>> Thanks and Regards >>>>>> osier >>>>>> _______________________________________________ >>>>>> Libvirt-cim mailing list >>>>>> Libvirt-cim at redhat.com >>>>>> https://www.redhat.com/mailman/listinfo/libvirt-cim >>>>>> >>>>>> ------------------------------------------------------------------------ >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Libvirt-cim mailing list >>>>>> Libvirt-cim at redhat.com >>>>>> https://www.redhat.com/mailman/listinfo/libvirt-cim >>>>> ------------------------------------------------------------------------ >>>>> >>>>> >>>>> ================================================= >>>>> Test Run Summary (Jan 05 2010): Xen on Red Hat Enterprise Linux >>>>> Server release 5.4 (Tikanga) with Pegasus >>>>> ================================================= >>>>> Distro: Red Hat Enterprise Linux Server release 5.4 (Tikanga) >>>>> Kernel: 2.6.18-183.el5xen >>>>> libvirt: 0.6.3 >>>>> Hypervisor: Xen 3.1.0 >>>>> CIMOM: Pegasus 2.9.1 >>>>> Libvirt-cim revision: 1018 >>>>> Libvirt-cim changeset: 2ba30fae43e7 >>>>> Cimtest revision: Cimtest changeset: Total test execution: Unknown >>>>> ================================================= >>>>> FAIL : 120 >>>>> XFAIL : 0 >>>>> SKIP : 5 >>>>> PASS : 54 >>>>> ----------------- >>>>> Total : 179 >>>>> ================================================= >>>>> FAIL Test Summary: >>>>> ComputerSystem - 03_defineVS.py: FAIL >>>>> ComputerSystem - 04_defineStartVS.py: FAIL >>>>> ComputerSystem - 05_activate_defined_start.py: FAIL >>>>> ComputerSystem - 06_paused_active_suspend.py: FAIL >>>>> ComputerSystem - 22_define_suspend.py: FAIL >>>>> ComputerSystem - 23_pause_pause.py: FAIL >>>>> ComputerSystem - 32_start_reboot.py: FAIL >>>>> ComputerSystem - 33_suspend_reboot.py: FAIL >>>>> ComputerSystem - 34_start_disable.py: FAIL >>>>> ComputerSystem - 35_start_reset.py: FAIL >>>>> ComputerSystem - 40_RSC_start.py: FAIL >>>>> ComputerSystem - 41_cs_to_settingdefinestate.py: FAIL >>>>> ComputerSystem - 42_cs_gi_errs.py: FAIL >>>>> ComputerSystemIndication - 01_created_indication.py: FAIL >>>>> ComputerSystemMigrationJobIndication - >>>>> 01_csmig_ind_for_offline_mig.py: FAIL >>>>> ElementAllocatedFromPool - 01_forward.py: FAIL >>>>> ElementAllocatedFromPool - 02_reverse.py: FAIL >>>>> ElementAllocatedFromPool - 03_reverse_errs.py: FAIL >>>>> ElementAllocatedFromPool - 04_forward_errs.py: FAIL >>>>> ElementCapabilities - 01_forward.py: FAIL >>>>> ElementCapabilities - 02_reverse.py: FAIL >>>>> ElementConforms - 01_forward.py: FAIL >>>>> ElementConforms - 02_reverse.py: FAIL >>>>> ElementConforms - 04_ectp_rev_errs.py: FAIL >>>>> ElementSettingData - 01_forward.py: FAIL >>>>> ElementSettingData - 03_esd_assoc_with_rasd_errs.py: FAIL >>>>> EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: FAIL >>>>> HostedAccessPoint - 01_forward.py: FAIL >>>>> HostedAccessPoint - 02_reverse.py: FAIL >>>>> HostedDependency - 01_forward.py: FAIL >>>>> HostedDependency - 02_reverse.py: FAIL >>>>> HostedDependency - 03_enabledstate.py: FAIL >>>>> HostedDependency - 04_reverse_errs.py: FAIL >>>>> HostSystem - 02_hostsystem_to_rasd.py: FAIL >>>>> HostSystem - 03_hs_to_settdefcap.py: FAIL >>>>> HostSystem - 04_hs_to_EAPF.py: FAIL >>>>> KVMRedirectionSAP - 01_enum_KVMredSAP.py: FAIL >>>>> KVMRedirectionSAP - 02_ipv6_support.py: FAIL >>>>> LogicalDisk - 01_disk.py: FAIL >>>>> LogicalDisk - 03_ld_gi_errs.py: FAIL >>>>> Memory - 01_memory.py: FAIL >>>>> Memory - 02_defgetmem.py: FAIL >>>>> Memory - 03_mem_gi_errs.py: FAIL >>>>> NetworkPort - 01_netport.py: FAIL >>>>> NetworkPort - 02_np_gi_errors.py: FAIL >>>>> Processor - 01_processor.py: FAIL >>>>> Processor - 02_definesys_get_procs.py: FAIL >>>>> Processor - 03_proc_gi_errs.py: FAIL >>>>> Profile - 02_profile_to_elec.py: FAIL >>>>> RASD - 01_verify_rasd_fields.py: FAIL >>>>> RASD - 02_enum.py: FAIL >>>>> RASD - 03_rasd_errs.py: FAIL >>>>> RASD - 04_disk_rasd_size.py: FAIL >>>>> RASD - 05_disk_rasd_emu_type.py: FAIL >>>>> RASD - 06_parent_net_pool.py: FAIL >>>>> RASD - 07_parent_disk_pool.py: FAIL >>>>> RASDIndications - 01_guest_states_rasd_ind.py: FAIL >>>>> RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: FAIL >>>>> RedirectionService - 03_RedirectionSAP_errs.py: FAIL >>>>> ResourceAllocationFromPool - 01_forward.py: FAIL >>>>> ResourceAllocationFromPool - 02_reverse.py: FAIL >>>>> ResourceAllocationFromPool - 04_reverse_errs.py: FAIL >>>>> ResourceAllocationFromPool - 05_RAPF_err.py: FAIL >>>>> ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: FAIL >>>>> ResourcePoolConfigurationService - 07_DeleteResourcePool.py: FAIL >>>>> ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: FAIL >>>>> ResourcePoolConfigurationService - 09_DeleteDiskPool.py: FAIL >>>>> ResourcePoolConfigurationService - 10_create_storagevolume.py: FAIL >>>>> ResourcePoolConfigurationService - >>>>> 11_create_dir_storagevolume_errs.py: FAIL >>>>> ResourcePoolConfigurationService - >>>>> 12_create_netfs_storagevolume_errs.py: FAIL >>>>> ResourcePoolConfigurationService - 13_delete_storagevolume.py: FAIL >>>>> ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: >>>>> FAIL >>>>> ServiceAccessBySAP - 01_forward.py: FAIL >>>>> ServiceAccessBySAP - 02_reverse.py: FAIL >>>>> ServiceAffectsElement - 01_forward.py: FAIL >>>>> ServiceAffectsElement - 02_reverse.py: FAIL >>>>> SettingsDefine - 01_forward.py: FAIL >>>>> SettingsDefine - 02_reverse.py: FAIL >>>>> SettingsDefine - 03_sds_fwd_errs.py: FAIL >>>>> SettingsDefine - 04_sds_rev_errs.py: FAIL >>>>> SettingsDefineCapabilities - 01_forward.py: FAIL >>>>> SystemDevice - 01_forward.py: FAIL >>>>> SystemDevice - 02_reverse.py: FAIL >>>>> SystemDevice - 03_fwderrs.py: FAIL >>>>> VirtualSystemManagementService - 01_definesystem_name.py: FAIL >>>>> VirtualSystemManagementService - 02_destroysystem.py: FAIL >>>>> VirtualSystemManagementService - 06_addresource.py: FAIL >>>>> VirtualSystemManagementService - 08_modifyresource.py: FAIL >>>>> VirtualSystemManagementService - 09_procrasd_persist.py: FAIL >>>>> VirtualSystemManagementService - 11_define_memrasdunits.py: FAIL >>>>> VirtualSystemManagementService - 12_referenced_config.py: FAIL >>>>> VirtualSystemManagementService - 13_refconfig_additional_devs.py: FAIL >>>>> VirtualSystemManagementService - 14_define_sys_disk.py: FAIL >>>>> VirtualSystemManagementService - 15_mod_system_settings.py: FAIL >>>>> VirtualSystemManagementService - 16_removeresource.py: FAIL >>>>> VirtualSystemManagementService - 17_removeresource_neg.py: FAIL >>>>> VirtualSystemManagementService - 18_define_sys_bridge.py: FAIL >>>>> VirtualSystemManagementService - 19_definenetwork_ers.py: FAIL >>>>> VirtualSystemManagementService - 20_verify_vnc_password.py: FAIL >>>>> VirtualSystemManagementService - 21_createVS_verifyMAC.py: FAIL >>>>> VirtualSystemManagementService - 22_addmulti_brg_interface.py: FAIL >>>>> VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: FAIL >>>>> VirtualSystemManagementService - 24_verify_modifyres_output.py: FAIL >>>>> VirtualSystemMigrationService - 01_migratable_host.py: FAIL >>>>> VirtualSystemMigrationService - 02_host_migrate_type.py: FAIL >>>>> VirtualSystemMigrationService - 05_migratable_host_errs.py: FAIL >>>>> VirtualSystemMigrationService - 06_remote_live_migration.py: FAIL >>>>> VirtualSystemMigrationService - 07_remote_offline_migration.py: FAIL >>>>> VirtualSystemMigrationService - >>>>> 08_remote_restart_resume_migration.py: FAIL >>>>> VirtualSystemSettingDataComponent - 01_forward.py: FAIL >>>>> VirtualSystemSettingDataComponent - 02_reverse.py: FAIL >>>>> VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: FAIL >>>>> VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: FAIL >>>>> VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL >>>>> VSSD - 01_enum.py: FAIL >>>>> VSSD - 02_bootldr.py: FAIL >>>>> VSSD - 03_vssd_gi_errs.py: FAIL >>>>> VSSD - 04_vssd_to_rasd.py: FAIL >>>>> VSSD - 05_set_uuid.py: FAIL >>>>> VSSD - 06_duplicate_uuid.py: FAIL >>>>> >>>>> ================================================= >>>>> SKIP Test Summary: >>>>> ComputerSystem - 02_nosystems.py: SKIP >>>>> LogicalDisk - 02_nodevs.py: SKIP >>>>> NetworkPort - 03_user_netport.py: SKIP >>>>> Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP >>>>> VirtualSystemManagementService - 24_define_sys_features.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 - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define a domain with the name domU1 from virsh >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> ComputerSystem - 04_defineStartVS.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Unable to define domguest >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> ComputerSystem - 05_activate_defined_start.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - ERROR: VS 'DomST1' was not defined >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> ComputerSystem - 06_paused_active_suspend.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Exception variable: VS 'DomST1' was not defined >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> ComputerSystem - 22_define_suspend.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Error: Unable to define domgst >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> ComputerSystem - 23_pause_pause.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Exception: 'Failed to define the guest: cs_test_domain' >>>>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>>>> `cs_test_domain' does not exist: Domain not found: >>>>> xenUnifiedDomainLookupByName with return code 6 >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>>>> `cs_test_domain' does not exist: Domain not found: >>>>> xenUnifiedDomainLookupByName >>>>> -------------------------------------------------------------------- >>>>> ComputerSystem - 27_define_pause_errs.py: PASS >>>>> -------------------------------------------------------------------- >>>>> ComputerSystem - 32_start_reboot.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Exception: Failed to define the guest: cs_test_domain >>>>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>>>> `cs_test_domain' does not exist: Domain not found: >>>>> xenUnifiedDomainLookupByName with return code 6 >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>>>> `cs_test_domain' does not exist: Domain not found: >>>>> xenUnifiedDomainLookupByName >>>>> -------------------------------------------------------------------- >>>>> ComputerSystem - 33_suspend_reboot.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Exception: Failed to define the guest: test_domain >>>>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>>>> `test_domain' does not exist: Domain not found: >>>>> xenUnifiedDomainLookupByName with return code 6 >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>>>> `test_domain' does not exist: Domain not found: >>>>> xenUnifiedDomainLookupByName >>>>> -------------------------------------------------------------------- >>>>> ComputerSystem - 34_start_disable.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Exception: Failed to define the guest: cs_test_domain >>>>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>>>> `cs_test_domain' does not exist: Domain not found: >>>>> xenUnifiedDomainLookupByName with return code 6 >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>>>> `cs_test_domain' does not exist: Domain not found: >>>>> xenUnifiedDomainLookupByName >>>>> -------------------------------------------------------------------- >>>>> ComputerSystem - 35_start_reset.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Exception: Failed to define the guest: cs_test_domain >>>>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>>>> `cs_test_domain' does not exist: Domain not found: >>>>> xenUnifiedDomainLookupByName with return code 6 >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>>>> `cs_test_domain' does not exist: Domain not found: >>>>> xenUnifiedDomainLookupByName >>>>> -------------------------------------------------------------------- >>>>> ComputerSystem - 40_RSC_start.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Exception: Failed to define the guest: cs_test_domain >>>>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>>>> `cs_test_domain' does not exist: Domain not found: >>>>> xenUnifiedDomainLookupByName with return code 6 >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>>>> `cs_test_domain' does not exist: Domain not found: >>>>> xenUnifiedDomainLookupByName >>>>> -------------------------------------------------------------------- >>>>> ComputerSystem - 41_cs_to_settingdefinestate.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: CrossClass_GuestDom >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> ComputerSystem - 42_cs_gi_errs.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Unable to define guest ETdomain >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> ComputerSystemIndication - 01_created_indication.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Exception: Unable to generate indication >>>>> ERROR - Failed to start domain: domU >>>>> ERROR - Exception: Unable to generate indication >>>>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain `domU' >>>>> does not exist: Domain not found: xenUnifiedDomainLookupByName with >>>>> return code 6 >>>>> ERROR - Unable to destroy domU >>>>> ERROR - Exception: Unable to generate indication >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> CIM_ERR_NOT_FOUND: Referenced domain `domU' does not exist: Domain >>>>> not found: xenUnifiedDomainLookupByName >>>>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>>>> `domU' does not exist: Domain not found: xenUnifiedDomainLookupByName >>>>> -------------------------------------------------------------------- >>>>> ComputerSystemMigrationJobIndication - >>>>> 01_csmig_ind_for_offline_mig.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Error define domain VM_frm_dhcp-66-70-64.nay.redhat.com >>>>> ERROR - Error setting up the guest >>>>> ERROR - Exception: Unable to generate indication >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> ElementAllocatedFromPool - 01_forward.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: 'hd_domain' >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> ElementAllocatedFromPool - 02_reverse.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: 'eafp_domain' >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> ElementAllocatedFromPool - 03_reverse_errs.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: hd_domain >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> ElementAllocatedFromPool - 04_forward_errs.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: hd_domain >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> ElementCapabilities - 01_forward.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: dom_elecap >>>>> CIM_ERR_INVALID_CLASS: Linux_ComputerSystem >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> ElementCapabilities - 02_reverse.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: dom_elecap >>>>> CIM_ERR_INVALID_CLASS: Linux_ComputerSystem >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> ElementCapabilities - 03_forward_errs.py: PASS >>>>> -------------------------------------------------------------------- >>>>> ElementCapabilities - 04_reverse_errs.py: PASS >>>>> -------------------------------------------------------------------- >>>>> ElementCapabilities - 05_hostsystem_cap.py: PASS >>>>> -------------------------------------------------------------------- >>>>> ElementConforms - 01_forward.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Unable to define domain domU >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> ElementConforms - 02_reverse.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - ERROR: Failed to Define the dom: domgst >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> ElementConforms - 03_ectp_fwd_errs.py: PASS >>>>> -------------------------------------------------------------------- >>>>> ElementConforms - 04_ectp_rev_errs.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Unable to define domain domU >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> ElementSettingData - 01_forward.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: esd_dom >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> ElementSettingData - 03_esd_assoc_with_rasd_errs.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: hd_domain1 >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> EnabledLogicalElementCapabilities - 01_enum.py: PASS >>>>> -------------------------------------------------------------------- >>>>> EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to Define the dom: qemu >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> HostedAccessPoint - 01_forward.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: domu1 >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> HostedAccessPoint - 02_reverse.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: domu1 >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> HostedDependency - 01_forward.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: hd_domain >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> HostedDependency - 02_reverse.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: hd_domain >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> HostedDependency - 03_enabledstate.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: hd_domain1 >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> HostedDependency - 04_reverse_errs.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: hd_domain1 >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> 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 >>>>> -------------------------------------------------------------------- >>>>> HostSystem - 01_enum.py: PASS >>>>> -------------------------------------------------------------------- >>>>> HostSystem - 02_hostsystem_to_rasd.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: CrossClass_GuestDom >>>>> CIM_ERR_INVALID_CLASS: Linux_ComputerSystem >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> HostSystem - 03_hs_to_settdefcap.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: domgst_test >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> HostSystem - 04_hs_to_EAPF.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: 'CrossClass_GuestDom' >>>>> CIM_ERR_INVALID_CLASS: Linux_ComputerSystem >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> HostSystem - 05_hs_gi_errs.py: PASS >>>>> -------------------------------------------------------------------- >>>>> HostSystem - 06_hs_to_vsms.py: PASS >>>>> -------------------------------------------------------------------- >>>>> KVMRedirectionSAP - 01_enum_KVMredSAP.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Exception: Failed to define the dom: test_kvmredsap_dom >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> KVMRedirectionSAP - 02_ipv6_support.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Exception: Failed to define the dom: test_ipv6_dom >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> LogicalDisk - 01_disk.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - AttributeError : 'NoneType' object has no attribute 'Name' >>>>> Traceback (most recent call last): >>>>> File "./lib/XenKvmLib/const.py", line 140, in do_try >>>>> File "01_disk.py", line 60, in main >>>>> if dev.Name != test_dev: >>>>> AttributeError: 'NoneType' object has no attribute 'Name' >>>>> ERROR - None >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> CIM_ERR_NOT_FOUND: No such instance (no domain for test_domain/xvda): >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> -------------------------------------------------------------------- >>>>> LogicalDisk - 02_nodevs.py: SKIP >>>>> ERROR - System has defined domains; unable to run >>>>> -------------------------------------------------------------------- >>>>> LogicalDisk - 03_ld_gi_errs.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to Define the dom: hd_domain >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> Memory - 01_memory.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - AttributeError : 'NoneType' object has no attribute >>>>> 'ConsumableBlocks' >>>>> Traceback (most recent call last): >>>>> File "./lib/XenKvmLib/const.py", line 140, in do_try >>>>> File "01_memory.py", line 59, in main >>>>> if dev.ConsumableBlocks > dev.NumberOfBlocks: >>>>> AttributeError: 'NoneType' object has no attribute 'ConsumableBlocks' >>>>> ERROR - None >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> CIM_ERR_NOT_FOUND: No such instance (no domain for test_domain/mem): >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> -------------------------------------------------------------------- >>>>> Memory - 02_defgetmem.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Exception: Failed to define the guest: domu >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> Memory - 03_mem_gi_errs.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to Create the dom: domU >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> NetworkPort - 01_netport.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - AttributeError : 'NoneType' object has no attribute 'DeviceID' >>>>> Traceback (most recent call last): >>>>> File "./lib/XenKvmLib/const.py", line 140, in do_try >>>>> File "01_netport.py", line 86, in main >>>>> if dev.DeviceID == None: >>>>> AttributeError: 'NoneType' object has no attribute 'DeviceID' >>>>> ERROR - None >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> CIM_ERR_NOT_FOUND: No such instance (no domain for >>>>> test_domain/00:11:22:33:44:55): Domain not found: >>>>> xenUnifiedDomainLookupByName >>>>> -------------------------------------------------------------------- >>>>> NetworkPort - 02_np_gi_errors.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Define domain failed! >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> NetworkPort - 03_user_netport.py: SKIP >>>>> -------------------------------------------------------------------- >>>>> Processor - 01_processor.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Domain not started, we're not able to check vcpu >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> Processor - 02_definesys_get_procs.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Exception: Failed to define the guest: test_domain >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> Processor - 03_proc_gi_errs.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the guest: proc_domain >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> Profile - 01_enum.py: PASS >>>>> -------------------------------------------------------------------- >>>>> Profile - 02_profile_to_elec.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Unable define domain domguest using DefineSystem() >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> Profile - 03_rprofile_gi_errs.py: PASS >>>>> -------------------------------------------------------------------- >>>>> Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP >>>>> ERROR - SLP tool does not exist on the machine >>>>> -------------------------------------------------------------------- >>>>> RASD - 01_verify_rasd_fields.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Unable to define the domain VSSDC_dom >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> RASD - 02_enum.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to Define the domain: VSSDC_dom >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> RASD - 03_rasd_errs.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to Define the domain: VSSDC_dom >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> RASD - 04_disk_rasd_size.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to test RASD: Failed to define the dom: diskrasd_test >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> RASD - 05_disk_rasd_emu_type.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to call DefineSystem() >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> RASD - 06_parent_net_pool.py: FAIL >>>>> ERROR - Exception details: Got 0 recs instead of 5 >>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>> NetPoolResourceAllocationSettingData >>>>> -------------------------------------------------------------------- >>>>> RASD - 07_parent_disk_pool.py: FAIL >>>>> ERROR - Exception details: Got 0 recs instead of 7 >>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>> DiskPoolResourceAllocationSettingData >>>>> -------------------------------------------------------------------- >>>>> RASDIndications - 01_guest_states_rasd_ind.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Exception details: Failed to define domain >>>>> VM_dhcp-66-70-64.nay.redhat.com >>>>> ERROR - Exception details :Error setting up the guest >>>>> 'VM_dhcp-66-70-64.nay.redhat.com' >>>>> ERROR - Exception: Unable to generate indication >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Exception details: Failed to define domain >>>>> VM_dhcp-66-70-64.nay.redhat.com >>>>> ERROR - Error setting up the guest 'VM_dhcp-66-70-64.nay.redhat.com' >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> RedirectionService - 01_enum_crs.py: PASS >>>>> -------------------------------------------------------------------- >>>>> RedirectionService - 02_enum_crscap.py: PASS >>>>> -------------------------------------------------------------------- >>>>> RedirectionService - 03_RedirectionSAP_errs.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - ERROR: VS 'demo' is not defined >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> ReferencedProfile - 01_verify_refprof.py: PASS >>>>> -------------------------------------------------------------------- >>>>> ReferencedProfile - 02_refprofile_errs.py: PASS >>>>> -------------------------------------------------------------------- >>>>> ResourceAllocationFromPool - 01_forward.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to Define the domain: RAFP_dom >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> ResourceAllocationFromPool - 02_reverse.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to Define the domain: RAFP_dom >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> ResourceAllocationFromPool - 03_forward_errs.py: PASS >>>>> -------------------------------------------------------------------- >>>>> ResourceAllocationFromPool - 04_reverse_errs.py: FAIL >>>>> ERROR - Unexpected rc code 4 and description >>>>> CIM_ERR_INVALID_PARAMETER: >>>>> Xen_ProcResourceAllocationSettingData.InstanceID="wrong" >>>>> >>>>> -------------------------------------------------------------------- >>>>> ResourceAllocationFromPool - 05_RAPF_err.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom 'RAPF_domain' for 'network' type >>>>> interface >>>>> ERROR - Failed to setup the domain >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> 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: FAIL >>>>> ERROR - Failed to get 'NetworkPoolRASD' >>>>> ERROR - Error in networkpool creation >>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>> NetPoolResourceAllocationSettingData >>>>> -------------------------------------------------------------------- >>>>> ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: >>>>> PASS >>>>> -------------------------------------------------------------------- >>>>> ResourcePoolConfigurationService - >>>>> 06_RemoveResourcesFromResourcePool.py: PASS >>>>> -------------------------------------------------------------------- >>>>> ResourcePoolConfigurationService - 07_DeleteResourcePool.py: FAIL >>>>> ERROR - Failed to get 'NetworkPoolRASD' >>>>> ERROR - Error in networkpool creation >>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>> NetPoolResourceAllocationSettingData >>>>> -------------------------------------------------------------------- >>>>> ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: FAIL >>>>> ERROR - Failed to get 'DiskPoolRASD' >>>>> ERROR - Exception details: Failed to create 'DISK_POOL_NETFS' type >>>>> diskpool 'DISK_POOL_NETFS' >>>>> ERROR - Failed to get 'DiskPoolRASD' >>>>> ERROR - Exception details: Failed to create 'DISK_POOL_DIR' type >>>>> diskpool 'DISK_POOL_DIR' >>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>> DiskPoolResourceAllocationSettingData >>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>> DiskPoolResourceAllocationSettingData >>>>> -------------------------------------------------------------------- >>>>> ResourcePoolConfigurationService - 09_DeleteDiskPool.py: FAIL >>>>> ERROR - Failed to get 'DiskPoolRASD' >>>>> ERROR - Failed to create diskpool 'dp_pool' >>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>> DiskPoolResourceAllocationSettingData >>>>> -------------------------------------------------------------------- >>>>> ResourcePoolConfigurationService - 10_create_storagevolume.py: FAIL >>>>> ERROR - Exception details: local variable 'dpool_rasd' referenced >>>>> before assignment >>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>> StorageVolumeResourceAllocationSettingData >>>>> -------------------------------------------------------------------- >>>>> ResourcePoolConfigurationService - >>>>> 11_create_dir_storagevolume_errs.py: FAIL >>>>> ERROR - Exception: Failed to get default StorageVolRASD , Expected >>>>> atleast 4, Got '0' >>>>> ERROR - Failed to get the StorageVol RASD's >>>>> ERROR - In get_inputs() Exception details: Failed to get the defualt >>>>> StorageVolRASD info >>>>> ERROR - In main() Exception details: Failed to verify the Invlaid >>>>> 'DUP_VOL_PATH' >>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>> StorageVolumeResourceAllocationSettingData >>>>> -------------------------------------------------------------------- >>>>> ResourcePoolConfigurationService - >>>>> 12_create_netfs_storagevolume_errs.py: FAIL >>>>> ERROR - Failed to get 'DiskPoolRASD' >>>>> ERROR - Failed to create pool 'NETFS_POOL' >>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>> DiskPoolResourceAllocationSettingData >>>>> -------------------------------------------------------------------- >>>>> ResourcePoolConfigurationService - 13_delete_storagevolume.py: FAIL >>>>> ERROR - Exception: Failed to get default StorageVolRASD , Expected >>>>> atleast 4, Got '0' >>>>> ERROR - Failed to get the StorageVol RASD's >>>>> ERROR - Exception details: Failed to get the defualt StorageVolRASD >>>>> info >>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>> StorageVolumeResourceAllocationSettingData >>>>> -------------------------------------------------------------------- >>>>> ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: >>>>> FAIL >>>>> ERROR - Exception: Failed to get default StorageVolRASD , Expected >>>>> atleast 4, Got '0' >>>>> ERROR - Failed to get the StorageVol RASD's >>>>> ERROR - Exception details: Failed to get the defualt StorageVolRASD >>>>> info >>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>> StorageVolumeResourceAllocationSettingData >>>>> -------------------------------------------------------------------- >>>>> ServiceAccessBySAP - 01_forward.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: domu1 >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> ServiceAccessBySAP - 02_reverse.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: domu1 >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> ServiceAffectsElement - 01_forward.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: SAE_dom >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> ServiceAffectsElement - 02_reverse.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: SAE_dom >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> SettingsDefine - 01_forward.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to Create the dom: domu1 >>>>> ERROR - NameError : global name 'cmxl' is not defined >>>>> Traceback (most recent call last): >>>>> File "./lib/XenKvmLib/const.py", line 140, in do_try >>>>> File "01_forward.py", line 144, in main >>>>> status, cxml = setup_env(options.ip, options.virt) >>>>> File "01_forward.py", line 58, in setup_env >>>>> return FAIL, cmxl >>>>> NameError: global name 'cmxl' is not defined >>>>> ERROR - None >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> SettingsDefine - 02_reverse.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to Create the dom: virtgst >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> SettingsDefine - 03_sds_fwd_errs.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: domu1 >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> SettingsDefine - 04_sds_rev_errs.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: domu1 >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> SettingsDefineCapabilities - 01_forward.py: FAIL >>>>> ERROR - Xen_SettingsDefineCapabilities returned 0 ResourcePool >>>>> objects instead of 68 >>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>> StorageVolumeResourceAllocationSettingData >>>>> -------------------------------------------------------------------- >>>>> SettingsDefineCapabilities - 03_forward_errs.py: PASS >>>>> -------------------------------------------------------------------- >>>>> SettingsDefineCapabilities - 04_forward_vsmsdata.py: PASS >>>>> -------------------------------------------------------------------- >>>>> SettingsDefineCapabilities - 05_reverse_vsmcap.py: PASS >>>>> -------------------------------------------------------------------- >>>>> SystemDevice - 01_forward.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Unable to define domain test_domain >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> SystemDevice - 02_reverse.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Unable to define domain test_domain >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> SystemDevice - 03_fwderrs.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the domain 'virt1' >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemManagementCapabilities - 01_enum.py: PASS >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemManagementService - 01_definesystem_name.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Unable to define test_domain >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemManagementService - 02_destroysystem.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the domain 'test_domain' >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemManagementService - 03_definesystem_ess.py: PASS >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemManagementService - 04_definesystem_ers.py: PASS >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemManagementService - 05_destroysystem_neg.py: PASS >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemManagementService - 06_addresource.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: rstest_domain >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemManagementService - 07_addresource_neg.py: PASS >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemManagementService - 08_modifyresource.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: rstest_domain >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemManagementService - 09_procrasd_persist.py: FAIL >>>>> ERROR - Unable to set template ProcRASD >>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>> MemResourceAllocationSettingData >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemManagementService - 10_hv_version.py: PASS >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemManagementService - 11_define_memrasdunits.py: FAIL >>>>> ERROR - KeyError : 'Xen_MemResourceAllocationSettingData' >>>>> Traceback (most recent call last): >>>>> File "./lib/XenKvmLib/const.py", line 140, in do_try >>>>> File "11_define_memrasdunits.py", line 120, in main >>>>> status = try_define(options, units, value, cxml) >>>>> File "11_define_memrasdunits.py", line 61, in try_define >>>>> if rasd_list[mrasd_cn] is None: >>>>> KeyError: 'Xen_MemResourceAllocationSettingData' >>>>> ERROR - None >>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>> MemResourceAllocationSettingData >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemManagementService - 12_referenced_config.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Unable to define rstest_domain using DefineSystem() >>>>> ERROR - Unable to start rstest_domain >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemManagementService - 13_refconfig_additional_devs.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Unable define domain rstest_domain >>>>> ERROR - Unable to define domain rstest_domain >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemManagementService - 14_define_sys_disk.py: FAIL >>>>> ERROR - Unable to get template RASDs for rstest_disk_domain >>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>> MemResourceAllocationSettingData >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemManagementService - 15_mod_system_settings.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: rstest_domain >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemManagementService - 16_removeresource.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: domain >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemManagementService - 17_removeresource_neg.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: domain >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemManagementService - 18_define_sys_bridge.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: brgtest_domain >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemManagementService - 19_definenetwork_ers.py: FAIL >>>>> ERROR - DEBUG nettype is network, field is None, tc is none >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Desc Mismatch, Got desc: 'CIM_ERR_FAILED: Unable to parse >>>>> embedded object', exp 'Valid param ' >>>>> ERROR - Defing domain with invalid network name None gave unexpected >>>>> rc code 1 and description: >>>>> CIM_ERR_FAILED: Unable to parse embedded object >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemManagementService - 20_verify_vnc_password.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: vncpasswd_domain >>>>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>>>> `vncpasswd_domain' does not exist: Domain not found: >>>>> xenUnifiedDomainLookupByName with return code 6 >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>>>> `vncpasswd_domain' does not exist: Domain not found: >>>>> xenUnifiedDomainLookupByName >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemManagementService - 21_createVS_verifyMAC.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Exception details: Unable to define dom_mac_notspecified >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemManagementService - 22_addmulti_brg_interface.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - global name 'default_dom' is not defined >>>>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>>>> `my_domain1' does not exist: Domain not found: >>>>> xenUnifiedDomainLookupByName with return code 6 >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>>>> `my_domain1' does not exist: Domain not found: >>>>> xenUnifiedDomainLookupByName >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Desc Mismatch, Got desc: 'CIM_ERR_FAILED: Unable to parse >>>>> embedded object', exp 'Conflicting MAC Addresses' >>>>> ERROR - Got unexpected rc code 1 and description CIM_ERR_FAILED: >>>>> Unable to parse embedded object >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemManagementService - 24_define_sys_features.py: SKIP >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemManagementService - 24_verify_modifyres_output.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: rstest_domain >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemMigrationCapabilities - 01_enum.py: PASS >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: PASS >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemMigrationService - 01_migratable_host.py: FAIL >>>>> ERROR - Error invoke 'CheckVirtualSystemIsMigratableToHost'. >>>>> ERROR - (1, u'CIM_ERR_FAILED: Failed to connect to remote host >>>>> (xen+ssh://localhost/system)') >>>>> Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="dom_migrate" >>>>> >>>>> >>>>> InvokeMethod(CheckVirtualSystemIsMigratableToHost): CIM_ERR_FAILED: >>>>> Failed to connect to remote host (xen+ssh://localhost/system) >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemMigrationService - 02_host_migrate_type.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - CS instance not returned for dom_migrate. >>>>> ERROR - Error start domain dom_migrate >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>> Domain not found: xenUnifiedDomainLookupByName >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemMigrationService - 05_migratable_host_errs.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Error define domain dom_migration >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemMigrationService - 06_remote_live_migration.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Error define domain VM_frm_dhcp-66-70-64.nay.redhat.com >>>>> ERROR - Error setting up the guest >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemMigrationService - 07_remote_offline_migration.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Error define domain VM_frm_dhcp-66-70-64.nay.redhat.com >>>>> ERROR - Error setting up the guest >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemMigrationService - >>>>> 08_remote_restart_resume_migration.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Error define domain VM_frm_dhcp-66-70-64.nay.redhat.com >>>>> ERROR - Error setting up the guest >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemMigrationSettingData - 01_enum.py: PASS >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemSettingDataComponent - 01_forward.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: VSSDC_dom >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemSettingDataComponent - 02_reverse.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: VSSDC_dom >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Unable to define domain domu1 >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Unable to define domain domu1 >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemSnapshotService - 01_enum.py: PASS >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: PASS >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Exception: ('Unable to define %s', 'snapshot_vm') >>>>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>>>> `snapshot_vm' does not exist: Domain not found: >>>>> xenUnifiedDomainLookupByName with return code 6 >>>>> ERROR - Failed to remove snapshot file for snapshot_vm >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>>>> `snapshot_vm' does not exist: Domain not found: >>>>> xenUnifiedDomainLookupByName >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS >>>>> -------------------------------------------------------------------- >>>>> VirtualSystemSnapshotServiceCapabilities - >>>>> 02_vs_sservicecap_gi_errs.py: PASS >>>>> -------------------------------------------------------------------- >>>>> VSSD - 01_enum.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - error while create of VS >>>>> ERROR - Missing VSSD instance for the system VSSD_dom >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> VSSD - 02_bootldr.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - error while 'define' of VS >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> VSSD - 03_vssd_gi_errs.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - error while define of VS >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> VSSD - 04_vssd_to_rasd.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to Define the domain: VSSDC_dom >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> VSSD - 05_set_uuid.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: uuid_domain >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> VSSD - 06_duplicate_uuid.py: FAIL >>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded object >>>>> with return code 1 >>>>> ERROR - Failed to define the dom: uuid_domain >>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>> object >>>>> -------------------------------------------------------------------- >>>>> >>>>> ------------------------------------------------------------------------ >>>>> >>>>> >>>>> _______________________________________________ >>>>> Libvirt-cim mailing list >>>>> Libvirt-cim at redhat.com >>>>> https://www.redhat.com/mailman/listinfo/libvirt-cim >>>> >>> >>> _______________________________________________ >>> Libvirt-cim mailing list >>> Libvirt-cim at redhat.com >>> https://www.redhat.com/mailman/listinfo/libvirt-cim >> >> > > _______________________________________________ > Libvirt-cim mailing list > Libvirt-cim at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-cim -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From jyang at redhat.com Wed Jan 13 03:44:49 2010 From: jyang at redhat.com (Osier Yang) Date: Wed, 13 Jan 2010 11:44:49 +0800 Subject: [Libvirt-cim] question about libvirt-cim testing. In-Reply-To: <4B4D04EA.5040607@linux.vnet.ibm.com> References: <4B41EFDA.6040703@redhat.com> <4B42A751.2090902@redhat.com> <4B431EE0.6020107@linux.vnet.ibm.com> <4B433E42.5090606@redhat.com> <4B44D300.9040506@linux.vnet.ibm.com> <4B4AE6E3.60005@redhat.com> <4B4D04EA.5040607@linux.vnet.ibm.com> Message-ID: <4B4D41B1.30403@redhat.com> Hi kaitlin unfortunately, I lost the libcmpiutil-snapshot.tar.gz. the problem is really strange. sometimes, it seems caused by libcmpiutil. sometimes, it seems caused by libvirt-cim. I have tried kinds of ways to testing, confused, :( Regards osier Kaitlin Rupert wrote: > Osier Yang wrote: >> Hi, all >> thanks for your kind help, and It seems caused by libvirt-cim, I >> have already added the comments in >> https://bugzilla.redhat.com/show_bug.cgi?id=540843 > > Hi Osier, > > I think this issue is caused by an older version of libcmpiutil. I > tested with the tarball at > ftp://libvirt.org/libvirt-cim/libcmpiutil-snapshot.tar.gz and used the > rawhide version of libvirt-cim (libvirt-cim-0.5.8-2.fc13.x86_64). > With this snapshot, I did not hit the parsing error. > > Do you still have a copy of your snapshot tarball? You can compare it > against the tarball I used. > > # ls -la libcmpiutil-snapshot.tar.gz > -rw-r--r--. 1 root root 384304 Jan 12 15:11 libcmpiutil-snapshot.tar.gz > # md5sum libcmpiutil-snapshot.tar.gz > b37d75713d849dc8c92e914483010405 libcmpiutil-snapshot.tar.gz > > I tested on a rawhide system with the rawhide version of tog-pegasus. > >> >> Thanks and Regards >> osier >> >> Richard Maciel wrote: >>> On 01/05/2010 11:27 AM, Osier Yang wrote: >>>> Then I get the newest libcmpiutil from >>>> ftp://libvirt.org/libvirt-cim/libcmpiutil-snapshot.tar.gz, build and >>>> install it. >>>> but it doesn't work, the testing result is same as previous >>>> attachment. >>> >>> Did you configure libcmpiutil with EO Parser support >>> (--enable-eoparser when using the ./configure script)? >>> >>>> >>>> BTW: there should be some problem of the Makefile of >>>> ftp://libvirt.org/libvirt-cim/libcmpiutil-snapshot.tar.gz : >>>> [root at dhcp-66-70-64 libcmpiutil]# make clean && make >>>> Making clean in tools >>>> make[1]: Entering directory `/root/libcmpiutil/tools' >>>> rm -rf .libs _libs >>>> rm -f *.lo >>>> make[1]: Leaving directory `/root/libcmpiutil/tools' >>>> Making clean in . >>>> make[1]: Entering directory `/root/libcmpiutil' >>>> test -z "libcueoparser.la libcmpiutil.la " || rm -f libcueoparser.la >>>> libcmpiutil.la >>>> rm -f "./so_locations" >>>> rm -f "./so_locations" >>>> rm -rf .libs _libs >>>> rm -f eo_util_lexer.c eo_util_parser.c eo_util_parser.h *~ >>>> rm -f *.o >>>> rm -f *.lo >>>> make[1]: Leaving directory `/root/libcmpiutil' >>>> : -Peo_parse_ eo_util_lexer.l >>>> sed '/^#/ s|lex.eo_parse_\.c|eo_util_lexer.c|' lex.eo_parse_.c >>>> >eo_util_lexer.c >>>> sed: can't read lex.eo_parse_.c: No such file or directory >>>> make: *** [eo_util_lexer.c] Error 2 >>>> >>>> But with type another "make" in the command line after above "make >>>> clean >>>> && make", no error happens. >>> >>> Just to make sure, you have bison and flex installed, right? What is >>> their version? >>> >>> >>> To me looks like the problem is in your virsh, (since it cannot >>> create a guest using virsh), not libvirt-cim or libcmpiutil. >>> >>> Check if you are able to create a guest on virsh, please. >>> >>>> >>>> Thanks and Regards >>>> osier >>>> >>>> >>>> >>>> >>>> Deepti B Kalakeri wrote: >>>>> Hi Osier, >>>>> >>>>> Thanks for using cimtest. Most of the failures are because of the >>>>> "Unable to parse embedded object" error. >>>>> This does not seem to be test case issue. I have seen this error with >>>>> the old libcmpiutil, but this error seems to go with latest >>>>> libcmpiutil. >>>>> I have not used RHEL5.5 for testing so not sure if the packages being >>>>> used are all up to date. >>>>> Will you be able to build and install the libcmpiutil [from hg clone >>>>> http://libvirt.org/hg/libcmpiutil ] or better you can use the latest >>>>> one available @ >>>>> ftp://libvirt.org/libvirt-cim/libcmpiutil-snapshot.tar.gz to build >>>>> and >>>>> install it. >>>>> The build and setup instructions are given @ >>>>> http://wiki.libvirt.org/page/Libvirt-cim_setup [ Check the Install >>>>> from Source topic] >>>>> >>>>> Also, can you see if you can execute the following command without >>>>> any >>>>> error: >>>>> wbemcli ei >>>>> 'http://root:password at localhost:5988/root/virt:Xen_VirtualSystemSettingData' >>>>> >>>>> -nl >>>>> >>>>> Thanks and Regards, >>>>> Deepti. >>>>> >>>>> >>>>> Osier Yang wrote: >>>>>> Hi Sharad >>>>>> sorry for missing the attachment, here it is now, see the >>>>>> attachment. >>>>>> >>>>>> Thanks and Regards >>>>>> osier >>>>>> >>>>>> Sharad Mishra wrote: >>>>>>> >>>>>>> Hi Osier, >>>>>>> >>>>>>> I don't see any test result attachment with your email. Can you >>>>>>> send >>>>>>> your test results? >>>>>>> >>>>>>> Regards >>>>>>> Sharad Mishra >>>>>>> System x Enablement >>>>>>> Linux Technology Center >>>>>>> IBM >>>>>>> >>>>>>> Inactive hide details for Osier Yang ---01/04/2010 05:48:36 AM---Hi >>>>>>> allOsier Yang ---01/04/2010 05:48:36 AM---Hi all >>>>>>> >>>>>>> *Osier Yang * >>>>>>> Sent by: libvirt-cim-bounces at redhat.com >>>>>>> >>>>>>> 01/04/2010 05:40 AM >>>>>>> Please respond to >>>>>>> List for discussion and development of libvirt >>>>>>> CIM >>>>>>> >>>>>>> To >>>>>>> libvirt-cim at redhat.com, Guan Nan Ren >>>>>>> >>>>>>> cc >>>>>>> Subject >>>>>>> [Libvirt-cim] question about libvirt-cim testing. >>>>>>> >>>>>>> >>>>>>> Hi all >>>>>>> I got a testing result (see the attachment) that seems not >>>>>>> reasonable with cimtest --- with just 50 about cases passed. And >>>>>>> I just >>>>>>> want to known if it's caused by my testing enviroment or the >>>>>>> problem of >>>>>>> libvirt-cim self. Tried find out myself, but because not very >>>>>>> farmiliar >>>>>>> with CIM, so didn't helps. Any suggestion will be appreciatec. >>>>>>> The steps of setting up testing enviroment is as follows: >>>>>>> >>>>>>> 1> install an RHEL5.5-Server, (x86_64) >>>>>>> >>>>>>> 2> updated the related packages to the newest version: >>>>>>> [root at dhcp-66-70-64 ~]# rpm -qa | grep xen >>>>>>> kernel-xen-2.6.18-183.el5 >>>>>>> xen-devel-3.0.3-102.el5 >>>>>>> xen-libs-3.0.3-102.el5 >>>>>>> >>>>>>> [root at dhcp-66-70-64 ~]# rpm -qa | grep libvirt >>>>>>> libvirt-devel-0.6.3-28.el5 >>>>>>> libvirt-debuginfo-0.6.3-28.el5 >>>>>>> libvirt-cim-0.5.8-2.el5 >>>>>>> libvirt-python-0.6.3-28.el5 >>>>>>> libvirt-0.6.3-28.el5 >>>>>>> libvirt-0.6.3-28.el5 >>>>>>> libvirt-cim-debuginfo-0.5.8-2.el5 >>>>>>> >>>>>>> [root at dhcp-66-70-64 ~]# rpm -qa | grep cmpi >>>>>>> libcmpiutil-0.5-1.el5 >>>>>>> libcmpiutil-0.5-1.el5 >>>>>>> libcmpiutil-devel-0.5-1.el5 >>>>>>> libcmpiutil-debuginfo-0.5-1.el5 >>>>>>> >>>>>>> [root at dhcp-66-70-64 ~]# rpm -qa | grep pega >>>>>>> tog-pegasus-devel-2.9.1-1.el5 >>>>>>> tog-pegasus-devel-2.9.1-1.el5 >>>>>>> tog-pegasus-2.9.1-1.el5 >>>>>>> >>>>>>> 3> install sblim-wbemcli >>>>>>> # yum install sblim-wbemcli -y >>>>>>> >>>>>>> 4> config CIM server (tog-pegasus) >>>>>>> # cimconfig -p -s enableHttpConnection=true >>>>>>> # cimconfig -p -s repositoryIsDefaultInstanceProvider=true >>>>>>> >>>>>>> 5> restart CIM server >>>>>>> # service tog-pegasus restart >>>>>>> >>>>>>> 6> get the providers list (verify) >>>>>>> [root at dhcp-66-70-64 ~]# wbemcli ecn >>>>>>> http://root:redhat at localhost:5988 | grep -i xen >>>>>>> localhost:5988/root/cimv2:Xen_RegisteredProfile >>>>>>> localhost:5988/root/cimv2:Xen_HostedAccessPoint >>>>>>> localhost:5988/root/cimv2:Xen_HostedResourcePool >>>>>>> localhost:5988/root/cimv2:Xen_HostedService >>>>>>> localhost:5988/root/cimv2:Xen_HostedDependency >>>>>>> localhost:5988/root/cimv2:Xen_ComputerSystem >>>>>>> localhost:5988/root/cimv2:Xen_ElementConformsToProfile >>>>>>> localhost:5988/root/cimv2:Xen_ElementCapabilities >>>>>>> >>>>>>> 7> download cimtest snapshot and extract it >>>>>>> # wget -c ftp://libvirt.org/libvirt-cim/cimtest-snapshot.tar.gz >>>>>>> # tar xvzf cimtest-snapshot.tar.gz >>>>>>> 8> execute the case >>>>>>> # CIM_NS=root/virt CIM_USER=root CIM_PASS=redhat ./runtests >>>>>>> libvirt-cim -i localhost >>>>>>> >>>>>>> >>>>>>> >>>>>>> Thanks and Regards >>>>>>> osier >>>>>>> _______________________________________________ >>>>>>> Libvirt-cim mailing list >>>>>>> Libvirt-cim at redhat.com >>>>>>> https://www.redhat.com/mailman/listinfo/libvirt-cim >>>>>>> >>>>>>> ------------------------------------------------------------------------ >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Libvirt-cim mailing list >>>>>>> Libvirt-cim at redhat.com >>>>>>> https://www.redhat.com/mailman/listinfo/libvirt-cim >>>>>> ------------------------------------------------------------------------ >>>>>> >>>>>> >>>>>> ================================================= >>>>>> Test Run Summary (Jan 05 2010): Xen on Red Hat Enterprise Linux >>>>>> Server release 5.4 (Tikanga) with Pegasus >>>>>> ================================================= >>>>>> Distro: Red Hat Enterprise Linux Server release 5.4 (Tikanga) >>>>>> Kernel: 2.6.18-183.el5xen >>>>>> libvirt: 0.6.3 >>>>>> Hypervisor: Xen 3.1.0 >>>>>> CIMOM: Pegasus 2.9.1 >>>>>> Libvirt-cim revision: 1018 >>>>>> Libvirt-cim changeset: 2ba30fae43e7 >>>>>> Cimtest revision: Cimtest changeset: Total test execution: Unknown >>>>>> ================================================= >>>>>> FAIL : 120 >>>>>> XFAIL : 0 >>>>>> SKIP : 5 >>>>>> PASS : 54 >>>>>> ----------------- >>>>>> Total : 179 >>>>>> ================================================= >>>>>> FAIL Test Summary: >>>>>> ComputerSystem - 03_defineVS.py: FAIL >>>>>> ComputerSystem - 04_defineStartVS.py: FAIL >>>>>> ComputerSystem - 05_activate_defined_start.py: FAIL >>>>>> ComputerSystem - 06_paused_active_suspend.py: FAIL >>>>>> ComputerSystem - 22_define_suspend.py: FAIL >>>>>> ComputerSystem - 23_pause_pause.py: FAIL >>>>>> ComputerSystem - 32_start_reboot.py: FAIL >>>>>> ComputerSystem - 33_suspend_reboot.py: FAIL >>>>>> ComputerSystem - 34_start_disable.py: FAIL >>>>>> ComputerSystem - 35_start_reset.py: FAIL >>>>>> ComputerSystem - 40_RSC_start.py: FAIL >>>>>> ComputerSystem - 41_cs_to_settingdefinestate.py: FAIL >>>>>> ComputerSystem - 42_cs_gi_errs.py: FAIL >>>>>> ComputerSystemIndication - 01_created_indication.py: FAIL >>>>>> ComputerSystemMigrationJobIndication - >>>>>> 01_csmig_ind_for_offline_mig.py: FAIL >>>>>> ElementAllocatedFromPool - 01_forward.py: FAIL >>>>>> ElementAllocatedFromPool - 02_reverse.py: FAIL >>>>>> ElementAllocatedFromPool - 03_reverse_errs.py: FAIL >>>>>> ElementAllocatedFromPool - 04_forward_errs.py: FAIL >>>>>> ElementCapabilities - 01_forward.py: FAIL >>>>>> ElementCapabilities - 02_reverse.py: FAIL >>>>>> ElementConforms - 01_forward.py: FAIL >>>>>> ElementConforms - 02_reverse.py: FAIL >>>>>> ElementConforms - 04_ectp_rev_errs.py: FAIL >>>>>> ElementSettingData - 01_forward.py: FAIL >>>>>> ElementSettingData - 03_esd_assoc_with_rasd_errs.py: FAIL >>>>>> EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: FAIL >>>>>> HostedAccessPoint - 01_forward.py: FAIL >>>>>> HostedAccessPoint - 02_reverse.py: FAIL >>>>>> HostedDependency - 01_forward.py: FAIL >>>>>> HostedDependency - 02_reverse.py: FAIL >>>>>> HostedDependency - 03_enabledstate.py: FAIL >>>>>> HostedDependency - 04_reverse_errs.py: FAIL >>>>>> HostSystem - 02_hostsystem_to_rasd.py: FAIL >>>>>> HostSystem - 03_hs_to_settdefcap.py: FAIL >>>>>> HostSystem - 04_hs_to_EAPF.py: FAIL >>>>>> KVMRedirectionSAP - 01_enum_KVMredSAP.py: FAIL >>>>>> KVMRedirectionSAP - 02_ipv6_support.py: FAIL >>>>>> LogicalDisk - 01_disk.py: FAIL >>>>>> LogicalDisk - 03_ld_gi_errs.py: FAIL >>>>>> Memory - 01_memory.py: FAIL >>>>>> Memory - 02_defgetmem.py: FAIL >>>>>> Memory - 03_mem_gi_errs.py: FAIL >>>>>> NetworkPort - 01_netport.py: FAIL >>>>>> NetworkPort - 02_np_gi_errors.py: FAIL >>>>>> Processor - 01_processor.py: FAIL >>>>>> Processor - 02_definesys_get_procs.py: FAIL >>>>>> Processor - 03_proc_gi_errs.py: FAIL >>>>>> Profile - 02_profile_to_elec.py: FAIL >>>>>> RASD - 01_verify_rasd_fields.py: FAIL >>>>>> RASD - 02_enum.py: FAIL >>>>>> RASD - 03_rasd_errs.py: FAIL >>>>>> RASD - 04_disk_rasd_size.py: FAIL >>>>>> RASD - 05_disk_rasd_emu_type.py: FAIL >>>>>> RASD - 06_parent_net_pool.py: FAIL >>>>>> RASD - 07_parent_disk_pool.py: FAIL >>>>>> RASDIndications - 01_guest_states_rasd_ind.py: FAIL >>>>>> RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: FAIL >>>>>> RedirectionService - 03_RedirectionSAP_errs.py: FAIL >>>>>> ResourceAllocationFromPool - 01_forward.py: FAIL >>>>>> ResourceAllocationFromPool - 02_reverse.py: FAIL >>>>>> ResourceAllocationFromPool - 04_reverse_errs.py: FAIL >>>>>> ResourceAllocationFromPool - 05_RAPF_err.py: FAIL >>>>>> ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: >>>>>> FAIL >>>>>> ResourcePoolConfigurationService - 07_DeleteResourcePool.py: FAIL >>>>>> ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: >>>>>> FAIL >>>>>> ResourcePoolConfigurationService - 09_DeleteDiskPool.py: FAIL >>>>>> ResourcePoolConfigurationService - 10_create_storagevolume.py: FAIL >>>>>> ResourcePoolConfigurationService - >>>>>> 11_create_dir_storagevolume_errs.py: FAIL >>>>>> ResourcePoolConfigurationService - >>>>>> 12_create_netfs_storagevolume_errs.py: FAIL >>>>>> ResourcePoolConfigurationService - 13_delete_storagevolume.py: FAIL >>>>>> ResourcePoolConfigurationService - >>>>>> 14_delete_storagevolume_errs.py: FAIL >>>>>> ServiceAccessBySAP - 01_forward.py: FAIL >>>>>> ServiceAccessBySAP - 02_reverse.py: FAIL >>>>>> ServiceAffectsElement - 01_forward.py: FAIL >>>>>> ServiceAffectsElement - 02_reverse.py: FAIL >>>>>> SettingsDefine - 01_forward.py: FAIL >>>>>> SettingsDefine - 02_reverse.py: FAIL >>>>>> SettingsDefine - 03_sds_fwd_errs.py: FAIL >>>>>> SettingsDefine - 04_sds_rev_errs.py: FAIL >>>>>> SettingsDefineCapabilities - 01_forward.py: FAIL >>>>>> SystemDevice - 01_forward.py: FAIL >>>>>> SystemDevice - 02_reverse.py: FAIL >>>>>> SystemDevice - 03_fwderrs.py: FAIL >>>>>> VirtualSystemManagementService - 01_definesystem_name.py: FAIL >>>>>> VirtualSystemManagementService - 02_destroysystem.py: FAIL >>>>>> VirtualSystemManagementService - 06_addresource.py: FAIL >>>>>> VirtualSystemManagementService - 08_modifyresource.py: FAIL >>>>>> VirtualSystemManagementService - 09_procrasd_persist.py: FAIL >>>>>> VirtualSystemManagementService - 11_define_memrasdunits.py: FAIL >>>>>> VirtualSystemManagementService - 12_referenced_config.py: FAIL >>>>>> VirtualSystemManagementService - 13_refconfig_additional_devs.py: >>>>>> FAIL >>>>>> VirtualSystemManagementService - 14_define_sys_disk.py: FAIL >>>>>> VirtualSystemManagementService - 15_mod_system_settings.py: FAIL >>>>>> VirtualSystemManagementService - 16_removeresource.py: FAIL >>>>>> VirtualSystemManagementService - 17_removeresource_neg.py: FAIL >>>>>> VirtualSystemManagementService - 18_define_sys_bridge.py: FAIL >>>>>> VirtualSystemManagementService - 19_definenetwork_ers.py: FAIL >>>>>> VirtualSystemManagementService - 20_verify_vnc_password.py: FAIL >>>>>> VirtualSystemManagementService - 21_createVS_verifyMAC.py: FAIL >>>>>> VirtualSystemManagementService - 22_addmulti_brg_interface.py: FAIL >>>>>> VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: >>>>>> FAIL >>>>>> VirtualSystemManagementService - 24_verify_modifyres_output.py: FAIL >>>>>> VirtualSystemMigrationService - 01_migratable_host.py: FAIL >>>>>> VirtualSystemMigrationService - 02_host_migrate_type.py: FAIL >>>>>> VirtualSystemMigrationService - 05_migratable_host_errs.py: FAIL >>>>>> VirtualSystemMigrationService - 06_remote_live_migration.py: FAIL >>>>>> VirtualSystemMigrationService - 07_remote_offline_migration.py: FAIL >>>>>> VirtualSystemMigrationService - >>>>>> 08_remote_restart_resume_migration.py: FAIL >>>>>> VirtualSystemSettingDataComponent - 01_forward.py: FAIL >>>>>> VirtualSystemSettingDataComponent - 02_reverse.py: FAIL >>>>>> VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: FAIL >>>>>> VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: FAIL >>>>>> VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL >>>>>> VSSD - 01_enum.py: FAIL >>>>>> VSSD - 02_bootldr.py: FAIL >>>>>> VSSD - 03_vssd_gi_errs.py: FAIL >>>>>> VSSD - 04_vssd_to_rasd.py: FAIL >>>>>> VSSD - 05_set_uuid.py: FAIL >>>>>> VSSD - 06_duplicate_uuid.py: FAIL >>>>>> >>>>>> ================================================= >>>>>> SKIP Test Summary: >>>>>> ComputerSystem - 02_nosystems.py: SKIP >>>>>> LogicalDisk - 02_nodevs.py: SKIP >>>>>> NetworkPort - 03_user_netport.py: SKIP >>>>>> Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP >>>>>> VirtualSystemManagementService - 24_define_sys_features.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 - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define a domain with the name domU1 from virsh >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> ComputerSystem - 04_defineStartVS.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Unable to define domguest >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> ComputerSystem - 05_activate_defined_start.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - ERROR: VS 'DomST1' was not defined >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> ComputerSystem - 06_paused_active_suspend.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Exception variable: VS 'DomST1' was not defined >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> ComputerSystem - 22_define_suspend.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Error: Unable to define domgst >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> ComputerSystem - 23_pause_pause.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Exception: 'Failed to define the guest: cs_test_domain' >>>>>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>>>>> `cs_test_domain' does not exist: Domain not found: >>>>>> xenUnifiedDomainLookupByName with return code 6 >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>>>>> `cs_test_domain' does not exist: Domain not found: >>>>>> xenUnifiedDomainLookupByName >>>>>> -------------------------------------------------------------------- >>>>>> ComputerSystem - 27_define_pause_errs.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> ComputerSystem - 32_start_reboot.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Exception: Failed to define the guest: cs_test_domain >>>>>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>>>>> `cs_test_domain' does not exist: Domain not found: >>>>>> xenUnifiedDomainLookupByName with return code 6 >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>>>>> `cs_test_domain' does not exist: Domain not found: >>>>>> xenUnifiedDomainLookupByName >>>>>> -------------------------------------------------------------------- >>>>>> ComputerSystem - 33_suspend_reboot.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Exception: Failed to define the guest: test_domain >>>>>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>>>>> `test_domain' does not exist: Domain not found: >>>>>> xenUnifiedDomainLookupByName with return code 6 >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>>>>> `test_domain' does not exist: Domain not found: >>>>>> xenUnifiedDomainLookupByName >>>>>> -------------------------------------------------------------------- >>>>>> ComputerSystem - 34_start_disable.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Exception: Failed to define the guest: cs_test_domain >>>>>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>>>>> `cs_test_domain' does not exist: Domain not found: >>>>>> xenUnifiedDomainLookupByName with return code 6 >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>>>>> `cs_test_domain' does not exist: Domain not found: >>>>>> xenUnifiedDomainLookupByName >>>>>> -------------------------------------------------------------------- >>>>>> ComputerSystem - 35_start_reset.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Exception: Failed to define the guest: cs_test_domain >>>>>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>>>>> `cs_test_domain' does not exist: Domain not found: >>>>>> xenUnifiedDomainLookupByName with return code 6 >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>>>>> `cs_test_domain' does not exist: Domain not found: >>>>>> xenUnifiedDomainLookupByName >>>>>> -------------------------------------------------------------------- >>>>>> ComputerSystem - 40_RSC_start.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Exception: Failed to define the guest: cs_test_domain >>>>>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>>>>> `cs_test_domain' does not exist: Domain not found: >>>>>> xenUnifiedDomainLookupByName with return code 6 >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>>>>> `cs_test_domain' does not exist: Domain not found: >>>>>> xenUnifiedDomainLookupByName >>>>>> -------------------------------------------------------------------- >>>>>> ComputerSystem - 41_cs_to_settingdefinestate.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: CrossClass_GuestDom >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> ComputerSystem - 42_cs_gi_errs.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Unable to define guest ETdomain >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> ComputerSystemIndication - 01_created_indication.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Exception: Unable to generate indication >>>>>> ERROR - Failed to start domain: domU >>>>>> ERROR - Exception: Unable to generate indication >>>>>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain `domU' >>>>>> does not exist: Domain not found: xenUnifiedDomainLookupByName with >>>>>> return code 6 >>>>>> ERROR - Unable to destroy domU >>>>>> ERROR - Exception: Unable to generate indication >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> CIM_ERR_NOT_FOUND: Referenced domain `domU' does not exist: Domain >>>>>> not found: xenUnifiedDomainLookupByName >>>>>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>>>>> `domU' does not exist: Domain not found: >>>>>> xenUnifiedDomainLookupByName >>>>>> -------------------------------------------------------------------- >>>>>> ComputerSystemMigrationJobIndication - >>>>>> 01_csmig_ind_for_offline_mig.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Error define domain VM_frm_dhcp-66-70-64.nay.redhat.com >>>>>> ERROR - Error setting up the guest >>>>>> ERROR - Exception: Unable to generate indication >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> ElementAllocatedFromPool - 01_forward.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: 'hd_domain' >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> ElementAllocatedFromPool - 02_reverse.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: 'eafp_domain' >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> ElementAllocatedFromPool - 03_reverse_errs.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: hd_domain >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> ElementAllocatedFromPool - 04_forward_errs.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: hd_domain >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> ElementCapabilities - 01_forward.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: dom_elecap >>>>>> CIM_ERR_INVALID_CLASS: Linux_ComputerSystem >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> ElementCapabilities - 02_reverse.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: dom_elecap >>>>>> CIM_ERR_INVALID_CLASS: Linux_ComputerSystem >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> ElementCapabilities - 03_forward_errs.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> ElementCapabilities - 04_reverse_errs.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> ElementCapabilities - 05_hostsystem_cap.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> ElementConforms - 01_forward.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Unable to define domain domU >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> ElementConforms - 02_reverse.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - ERROR: Failed to Define the dom: domgst >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> ElementConforms - 03_ectp_fwd_errs.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> ElementConforms - 04_ectp_rev_errs.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Unable to define domain domU >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> ElementSettingData - 01_forward.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: esd_dom >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> ElementSettingData - 03_esd_assoc_with_rasd_errs.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: hd_domain1 >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> EnabledLogicalElementCapabilities - 01_enum.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to Define the dom: qemu >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> HostedAccessPoint - 01_forward.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: domu1 >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> HostedAccessPoint - 02_reverse.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: domu1 >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> HostedDependency - 01_forward.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: hd_domain >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> HostedDependency - 02_reverse.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: hd_domain >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> HostedDependency - 03_enabledstate.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: hd_domain1 >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> HostedDependency - 04_reverse_errs.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: hd_domain1 >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> 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 >>>>>> -------------------------------------------------------------------- >>>>>> HostSystem - 01_enum.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> HostSystem - 02_hostsystem_to_rasd.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: CrossClass_GuestDom >>>>>> CIM_ERR_INVALID_CLASS: Linux_ComputerSystem >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> HostSystem - 03_hs_to_settdefcap.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: domgst_test >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> HostSystem - 04_hs_to_EAPF.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: 'CrossClass_GuestDom' >>>>>> CIM_ERR_INVALID_CLASS: Linux_ComputerSystem >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> HostSystem - 05_hs_gi_errs.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> HostSystem - 06_hs_to_vsms.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> KVMRedirectionSAP - 01_enum_KVMredSAP.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Exception: Failed to define the dom: test_kvmredsap_dom >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> KVMRedirectionSAP - 02_ipv6_support.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Exception: Failed to define the dom: test_ipv6_dom >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> LogicalDisk - 01_disk.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - AttributeError : 'NoneType' object has no attribute 'Name' >>>>>> Traceback (most recent call last): >>>>>> File "./lib/XenKvmLib/const.py", line 140, in do_try >>>>>> File "01_disk.py", line 60, in main >>>>>> if dev.Name != test_dev: >>>>>> AttributeError: 'NoneType' object has no attribute 'Name' >>>>>> ERROR - None >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> CIM_ERR_NOT_FOUND: No such instance (no domain for >>>>>> test_domain/xvda): >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> -------------------------------------------------------------------- >>>>>> LogicalDisk - 02_nodevs.py: SKIP >>>>>> ERROR - System has defined domains; unable to run >>>>>> -------------------------------------------------------------------- >>>>>> LogicalDisk - 03_ld_gi_errs.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to Define the dom: hd_domain >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> Memory - 01_memory.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - AttributeError : 'NoneType' object has no attribute >>>>>> 'ConsumableBlocks' >>>>>> Traceback (most recent call last): >>>>>> File "./lib/XenKvmLib/const.py", line 140, in do_try >>>>>> File "01_memory.py", line 59, in main >>>>>> if dev.ConsumableBlocks > dev.NumberOfBlocks: >>>>>> AttributeError: 'NoneType' object has no attribute >>>>>> 'ConsumableBlocks' >>>>>> ERROR - None >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> CIM_ERR_NOT_FOUND: No such instance (no domain for test_domain/mem): >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> -------------------------------------------------------------------- >>>>>> Memory - 02_defgetmem.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Exception: Failed to define the guest: domu >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> Memory - 03_mem_gi_errs.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to Create the dom: domU >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> NetworkPort - 01_netport.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - AttributeError : 'NoneType' object has no attribute >>>>>> 'DeviceID' >>>>>> Traceback (most recent call last): >>>>>> File "./lib/XenKvmLib/const.py", line 140, in do_try >>>>>> File "01_netport.py", line 86, in main >>>>>> if dev.DeviceID == None: >>>>>> AttributeError: 'NoneType' object has no attribute 'DeviceID' >>>>>> ERROR - None >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> CIM_ERR_NOT_FOUND: No such instance (no domain for >>>>>> test_domain/00:11:22:33:44:55): Domain not found: >>>>>> xenUnifiedDomainLookupByName >>>>>> -------------------------------------------------------------------- >>>>>> NetworkPort - 02_np_gi_errors.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Define domain failed! >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> NetworkPort - 03_user_netport.py: SKIP >>>>>> -------------------------------------------------------------------- >>>>>> Processor - 01_processor.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Domain not started, we're not able to check vcpu >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> Processor - 02_definesys_get_procs.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Exception: Failed to define the guest: test_domain >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> Processor - 03_proc_gi_errs.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the guest: proc_domain >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> Profile - 01_enum.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> Profile - 02_profile_to_elec.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Unable define domain domguest using DefineSystem() >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> Profile - 03_rprofile_gi_errs.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP >>>>>> ERROR - SLP tool does not exist on the machine >>>>>> -------------------------------------------------------------------- >>>>>> RASD - 01_verify_rasd_fields.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Unable to define the domain VSSDC_dom >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> RASD - 02_enum.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to Define the domain: VSSDC_dom >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> RASD - 03_rasd_errs.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to Define the domain: VSSDC_dom >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> RASD - 04_disk_rasd_size.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to test RASD: Failed to define the dom: diskrasd_test >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> RASD - 05_disk_rasd_emu_type.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to call DefineSystem() >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> RASD - 06_parent_net_pool.py: FAIL >>>>>> ERROR - Exception details: Got 0 recs instead of 5 >>>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>>> NetPoolResourceAllocationSettingData >>>>>> -------------------------------------------------------------------- >>>>>> RASD - 07_parent_disk_pool.py: FAIL >>>>>> ERROR - Exception details: Got 0 recs instead of 7 >>>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>>> DiskPoolResourceAllocationSettingData >>>>>> -------------------------------------------------------------------- >>>>>> RASDIndications - 01_guest_states_rasd_ind.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Exception details: Failed to define domain >>>>>> VM_dhcp-66-70-64.nay.redhat.com >>>>>> ERROR - Exception details :Error setting up the guest >>>>>> 'VM_dhcp-66-70-64.nay.redhat.com' >>>>>> ERROR - Exception: Unable to generate indication >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Exception details: Failed to define domain >>>>>> VM_dhcp-66-70-64.nay.redhat.com >>>>>> ERROR - Error setting up the guest 'VM_dhcp-66-70-64.nay.redhat.com' >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> RedirectionService - 01_enum_crs.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> RedirectionService - 02_enum_crscap.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> RedirectionService - 03_RedirectionSAP_errs.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - ERROR: VS 'demo' is not defined >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> ReferencedProfile - 01_verify_refprof.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> ReferencedProfile - 02_refprofile_errs.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> ResourceAllocationFromPool - 01_forward.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to Define the domain: RAFP_dom >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> ResourceAllocationFromPool - 02_reverse.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to Define the domain: RAFP_dom >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> ResourceAllocationFromPool - 03_forward_errs.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> ResourceAllocationFromPool - 04_reverse_errs.py: FAIL >>>>>> ERROR - Unexpected rc code 4 and description >>>>>> CIM_ERR_INVALID_PARAMETER: >>>>>> Xen_ProcResourceAllocationSettingData.InstanceID="wrong" >>>>>> >>>>>> -------------------------------------------------------------------- >>>>>> ResourceAllocationFromPool - 05_RAPF_err.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom 'RAPF_domain' for 'network' type >>>>>> interface >>>>>> ERROR - Failed to setup the domain >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> 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: >>>>>> FAIL >>>>>> ERROR - Failed to get 'NetworkPoolRASD' >>>>>> ERROR - Error in networkpool creation >>>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>>> NetPoolResourceAllocationSettingData >>>>>> -------------------------------------------------------------------- >>>>>> ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: >>>>>> PASS >>>>>> -------------------------------------------------------------------- >>>>>> ResourcePoolConfigurationService - >>>>>> 06_RemoveResourcesFromResourcePool.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> ResourcePoolConfigurationService - 07_DeleteResourcePool.py: FAIL >>>>>> ERROR - Failed to get 'NetworkPoolRASD' >>>>>> ERROR - Error in networkpool creation >>>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>>> NetPoolResourceAllocationSettingData >>>>>> -------------------------------------------------------------------- >>>>>> ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: >>>>>> FAIL >>>>>> ERROR - Failed to get 'DiskPoolRASD' >>>>>> ERROR - Exception details: Failed to create 'DISK_POOL_NETFS' type >>>>>> diskpool 'DISK_POOL_NETFS' >>>>>> ERROR - Failed to get 'DiskPoolRASD' >>>>>> ERROR - Exception details: Failed to create 'DISK_POOL_DIR' type >>>>>> diskpool 'DISK_POOL_DIR' >>>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>>> DiskPoolResourceAllocationSettingData >>>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>>> DiskPoolResourceAllocationSettingData >>>>>> -------------------------------------------------------------------- >>>>>> ResourcePoolConfigurationService - 09_DeleteDiskPool.py: FAIL >>>>>> ERROR - Failed to get 'DiskPoolRASD' >>>>>> ERROR - Failed to create diskpool 'dp_pool' >>>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>>> DiskPoolResourceAllocationSettingData >>>>>> -------------------------------------------------------------------- >>>>>> ResourcePoolConfigurationService - 10_create_storagevolume.py: FAIL >>>>>> ERROR - Exception details: local variable 'dpool_rasd' referenced >>>>>> before assignment >>>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>>> StorageVolumeResourceAllocationSettingData >>>>>> -------------------------------------------------------------------- >>>>>> ResourcePoolConfigurationService - >>>>>> 11_create_dir_storagevolume_errs.py: FAIL >>>>>> ERROR - Exception: Failed to get default StorageVolRASD , Expected >>>>>> atleast 4, Got '0' >>>>>> ERROR - Failed to get the StorageVol RASD's >>>>>> ERROR - In get_inputs() Exception details: Failed to get the defualt >>>>>> StorageVolRASD info >>>>>> ERROR - In main() Exception details: Failed to verify the Invlaid >>>>>> 'DUP_VOL_PATH' >>>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>>> StorageVolumeResourceAllocationSettingData >>>>>> -------------------------------------------------------------------- >>>>>> ResourcePoolConfigurationService - >>>>>> 12_create_netfs_storagevolume_errs.py: FAIL >>>>>> ERROR - Failed to get 'DiskPoolRASD' >>>>>> ERROR - Failed to create pool 'NETFS_POOL' >>>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>>> DiskPoolResourceAllocationSettingData >>>>>> -------------------------------------------------------------------- >>>>>> ResourcePoolConfigurationService - 13_delete_storagevolume.py: FAIL >>>>>> ERROR - Exception: Failed to get default StorageVolRASD , Expected >>>>>> atleast 4, Got '0' >>>>>> ERROR - Failed to get the StorageVol RASD's >>>>>> ERROR - Exception details: Failed to get the defualt >>>>>> StorageVolRASD info >>>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>>> StorageVolumeResourceAllocationSettingData >>>>>> -------------------------------------------------------------------- >>>>>> ResourcePoolConfigurationService - >>>>>> 14_delete_storagevolume_errs.py: FAIL >>>>>> ERROR - Exception: Failed to get default StorageVolRASD , Expected >>>>>> atleast 4, Got '0' >>>>>> ERROR - Failed to get the StorageVol RASD's >>>>>> ERROR - Exception details: Failed to get the defualt >>>>>> StorageVolRASD info >>>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>>> StorageVolumeResourceAllocationSettingData >>>>>> -------------------------------------------------------------------- >>>>>> ServiceAccessBySAP - 01_forward.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: domu1 >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> ServiceAccessBySAP - 02_reverse.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: domu1 >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> ServiceAffectsElement - 01_forward.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: SAE_dom >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> ServiceAffectsElement - 02_reverse.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: SAE_dom >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> SettingsDefine - 01_forward.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to Create the dom: domu1 >>>>>> ERROR - NameError : global name 'cmxl' is not defined >>>>>> Traceback (most recent call last): >>>>>> File "./lib/XenKvmLib/const.py", line 140, in do_try >>>>>> File "01_forward.py", line 144, in main >>>>>> status, cxml = setup_env(options.ip, options.virt) >>>>>> File "01_forward.py", line 58, in setup_env >>>>>> return FAIL, cmxl >>>>>> NameError: global name 'cmxl' is not defined >>>>>> ERROR - None >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> SettingsDefine - 02_reverse.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to Create the dom: virtgst >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> SettingsDefine - 03_sds_fwd_errs.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: domu1 >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> SettingsDefine - 04_sds_rev_errs.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: domu1 >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> SettingsDefineCapabilities - 01_forward.py: FAIL >>>>>> ERROR - Xen_SettingsDefineCapabilities returned 0 ResourcePool >>>>>> objects instead of 68 >>>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>>> StorageVolumeResourceAllocationSettingData >>>>>> -------------------------------------------------------------------- >>>>>> SettingsDefineCapabilities - 03_forward_errs.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> SettingsDefineCapabilities - 04_forward_vsmsdata.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> SettingsDefineCapabilities - 05_reverse_vsmcap.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> SystemDevice - 01_forward.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Unable to define domain test_domain >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> SystemDevice - 02_reverse.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Unable to define domain test_domain >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> SystemDevice - 03_fwderrs.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the domain 'virt1' >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemManagementCapabilities - 01_enum.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemManagementService - 01_definesystem_name.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Unable to define test_domain >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemManagementService - 02_destroysystem.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the domain 'test_domain' >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemManagementService - 03_definesystem_ess.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemManagementService - 04_definesystem_ers.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemManagementService - 05_destroysystem_neg.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemManagementService - 06_addresource.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: rstest_domain >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemManagementService - 07_addresource_neg.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemManagementService - 08_modifyresource.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: rstest_domain >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemManagementService - 09_procrasd_persist.py: FAIL >>>>>> ERROR - Unable to set template ProcRASD >>>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>>> MemResourceAllocationSettingData >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemManagementService - 10_hv_version.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemManagementService - 11_define_memrasdunits.py: FAIL >>>>>> ERROR - KeyError : 'Xen_MemResourceAllocationSettingData' >>>>>> Traceback (most recent call last): >>>>>> File "./lib/XenKvmLib/const.py", line 140, in do_try >>>>>> File "11_define_memrasdunits.py", line 120, in main >>>>>> status = try_define(options, units, value, cxml) >>>>>> File "11_define_memrasdunits.py", line 61, in try_define >>>>>> if rasd_list[mrasd_cn] is None: >>>>>> KeyError: 'Xen_MemResourceAllocationSettingData' >>>>>> ERROR - None >>>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>>> MemResourceAllocationSettingData >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemManagementService - 12_referenced_config.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Unable to define rstest_domain using DefineSystem() >>>>>> ERROR - Unable to start rstest_domain >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemManagementService - 13_refconfig_additional_devs.py: >>>>>> FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Unable define domain rstest_domain >>>>>> ERROR - Unable to define domain rstest_domain >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemManagementService - 14_define_sys_disk.py: FAIL >>>>>> ERROR - Unable to get template RASDs for rstest_disk_domain >>>>>> CIM_ERR_FAILED: Unable to create instance of type >>>>>> MemResourceAllocationSettingData >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemManagementService - 15_mod_system_settings.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: rstest_domain >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemManagementService - 16_removeresource.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: domain >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemManagementService - 17_removeresource_neg.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: domain >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemManagementService - 18_define_sys_bridge.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: brgtest_domain >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemManagementService - 19_definenetwork_ers.py: FAIL >>>>>> ERROR - DEBUG nettype is network, field is None, tc is none >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Desc Mismatch, Got desc: 'CIM_ERR_FAILED: Unable to parse >>>>>> embedded object', exp 'Valid param ' >>>>>> ERROR - Defing domain with invalid network name None gave unexpected >>>>>> rc code 1 and description: >>>>>> CIM_ERR_FAILED: Unable to parse embedded object >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemManagementService - 20_verify_vnc_password.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: vncpasswd_domain >>>>>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>>>>> `vncpasswd_domain' does not exist: Domain not found: >>>>>> xenUnifiedDomainLookupByName with return code 6 >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>>>>> `vncpasswd_domain' does not exist: Domain not found: >>>>>> xenUnifiedDomainLookupByName >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemManagementService - 21_createVS_verifyMAC.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Exception details: Unable to define dom_mac_notspecified >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemManagementService - 22_addmulti_brg_interface.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - global name 'default_dom' is not defined >>>>>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>>>>> `my_domain1' does not exist: Domain not found: >>>>>> xenUnifiedDomainLookupByName with return code 6 >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>>>>> `my_domain1' does not exist: Domain not found: >>>>>> xenUnifiedDomainLookupByName >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: >>>>>> FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Desc Mismatch, Got desc: 'CIM_ERR_FAILED: Unable to parse >>>>>> embedded object', exp 'Conflicting MAC Addresses' >>>>>> ERROR - Got unexpected rc code 1 and description CIM_ERR_FAILED: >>>>>> Unable to parse embedded object >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemManagementService - 24_define_sys_features.py: SKIP >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemManagementService - 24_verify_modifyres_output.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: rstest_domain >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemMigrationCapabilities - 01_enum.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemMigrationService - 01_migratable_host.py: FAIL >>>>>> ERROR - Error invoke 'CheckVirtualSystemIsMigratableToHost'. >>>>>> ERROR - (1, u'CIM_ERR_FAILED: Failed to connect to remote host >>>>>> (xen+ssh://localhost/system)') >>>>>> Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="dom_migrate" >>>>>> >>>>>> >>>>>> InvokeMethod(CheckVirtualSystemIsMigratableToHost): CIM_ERR_FAILED: >>>>>> Failed to connect to remote host (xen+ssh://localhost/system) >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemMigrationService - 02_host_migrate_type.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - CS instance not returned for dom_migrate. >>>>>> ERROR - Error start domain dom_migrate >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> CIM_ERR_NOT_FOUND: Referenced domain `dom_migrate' does not exist: >>>>>> Domain not found: xenUnifiedDomainLookupByName >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemMigrationService - 05_migratable_host_errs.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Error define domain dom_migration >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemMigrationService - 06_remote_live_migration.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Error define domain VM_frm_dhcp-66-70-64.nay.redhat.com >>>>>> ERROR - Error setting up the guest >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemMigrationService - 07_remote_offline_migration.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Error define domain VM_frm_dhcp-66-70-64.nay.redhat.com >>>>>> ERROR - Error setting up the guest >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemMigrationService - >>>>>> 08_remote_restart_resume_migration.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Error define domain VM_frm_dhcp-66-70-64.nay.redhat.com >>>>>> ERROR - Error setting up the guest >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemMigrationSettingData - 01_enum.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemSettingDataComponent - 01_forward.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: VSSDC_dom >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemSettingDataComponent - 02_reverse.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: VSSDC_dom >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Unable to define domain domu1 >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Unable to define domain domu1 >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemSnapshotService - 01_enum.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemSnapshotService - 03_create_snapshot.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Exception: ('Unable to define %s', 'snapshot_vm') >>>>>> ERROR - Got CIM error CIM_ERR_NOT_FOUND: Referenced domain >>>>>> `snapshot_vm' does not exist: Domain not found: >>>>>> xenUnifiedDomainLookupByName with return code 6 >>>>>> ERROR - Failed to remove snapshot file for snapshot_vm >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> InvokeMethod(DestroySystem): CIM_ERR_NOT_FOUND: Referenced domain >>>>>> `snapshot_vm' does not exist: Domain not found: >>>>>> xenUnifiedDomainLookupByName >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> VirtualSystemSnapshotServiceCapabilities - >>>>>> 02_vs_sservicecap_gi_errs.py: PASS >>>>>> -------------------------------------------------------------------- >>>>>> VSSD - 01_enum.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - error while create of VS >>>>>> ERROR - Missing VSSD instance for the system VSSD_dom >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> VSSD - 02_bootldr.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - error while 'define' of VS >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> VSSD - 03_vssd_gi_errs.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - error while define of VS >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> VSSD - 04_vssd_to_rasd.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to Define the domain: VSSDC_dom >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> VSSD - 05_set_uuid.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: uuid_domain >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> VSSD - 06_duplicate_uuid.py: FAIL >>>>>> ERROR - Got CIM error CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> with return code 1 >>>>>> ERROR - Failed to define the dom: uuid_domain >>>>>> InvokeMethod(DefineSystem): CIM_ERR_FAILED: Unable to parse embedded >>>>>> object >>>>>> -------------------------------------------------------------------- >>>>>> >>>>>> ------------------------------------------------------------------------ >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Libvirt-cim mailing list >>>>>> Libvirt-cim at redhat.com >>>>>> https://www.redhat.com/mailman/listinfo/libvirt-cim >>>>> >>>> >>>> _______________________________________________ >>>> Libvirt-cim mailing list >>>> Libvirt-cim at redhat.com >>>> https://www.redhat.com/mailman/listinfo/libvirt-cim >>> >>> >> >> _______________________________________________ >> Libvirt-cim mailing list >> Libvirt-cim at redhat.com >> https://www.redhat.com/mailman/listinfo/libvirt-cim > > From kaitlin at linux.vnet.ibm.com Wed Jan 13 21:34:17 2010 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Wed, 13 Jan 2010 13:34:17 -0800 Subject: [Libvirt-cim] [PATCH] Fix storage volume generation so that bytes are supported Message-ID: # HG changeset patch # User Kaitlin Rupert # Date 1263415515 28800 # Node ID b57ba34c0932d77e11f65282dec5c2094d6ba818 # Parent 2e80fd8fdbc575decc0b8a1623f8b9ad9122dccf Fix storage volume generation so that bytes are supported If the units portion of the tag isn't specified, then libvirt will create the storage volume using bytes as the unit type. libvirt-cim wasn't supporting this behavior properl. Instead of assuming gigabytes as the default, libvirt will assume bytes when no unit is specified. If a unit is specified, it needs to be one of the following supported types: 'k', 'K', 'm', 'M', 'g', 'G', 't', 'T', 'p', 'P', 'y', or 'Y'. Signed-off-by: Kaitlin Rupert diff -r 2e80fd8fdbc5 -r b57ba34c0932 libxkutil/xmlgen.c --- a/libxkutil/xmlgen.c Fri Dec 11 18:04:28 2009 -0800 +++ b/libxkutil/xmlgen.c Wed Jan 13 12:45:15 2010 -0800 @@ -1129,8 +1129,12 @@ free(string); - if (xmlNewProp(cap, BAD_CAST "unit", BAD_CAST vol->cap_units) == NULL) - goto out; + if (vol->cap_units != NULL) { + xmlAttrPtr tmp = NULL; + tmp = xmlNewProp(cap, BAD_CAST "unit", BAD_CAST vol->cap_units); + if (tmp == NULL) + goto out; + } target = xmlNewChild(v, NULL, BAD_CAST "target", NULL); if (target == NULL) diff -r 2e80fd8fdbc5 -r b57ba34c0932 src/Virt_ResourcePoolConfigurationService.c --- a/src/Virt_ResourcePoolConfigurationService.c Fri Dec 11 18:04:28 2009 -0800 +++ b/src/Virt_ResourcePoolConfigurationService.c Wed Jan 13 12:45:15 2010 -0800 @@ -727,10 +727,10 @@ res->res.storage_vol.cap = int_val; free(res->res.storage_vol.cap_units); - if (cu_get_str_prop(inst, "AllocationUnits", &val) != CMPI_RC_OK) - res->res.storage_vol.cap_units = strdup("G"); + if (cu_get_str_prop(inst, "AllocationUnits", &val) == CMPI_RC_OK) + res->res.storage_vol.cap_units = strdup(val); else - res->res.storage_vol.cap_units = strdup(val); + res->res.storage_vol.cap_units = NULL; out: diff -r 2e80fd8fdbc5 -r b57ba34c0932 src/Virt_SettingsDefineCapabilities.c --- a/src/Virt_SettingsDefineCapabilities.c Fri Dec 11 18:04:28 2009 -0800 +++ b/src/Virt_SettingsDefineCapabilities.c Wed Jan 13 12:45:15 2010 -0800 @@ -1044,10 +1044,11 @@ } #if VIR_USE_LIBVIRT_STORAGE -static CMPIStatus new_volume_template(const CMPIObjectPath *ref, - int template_type, - virStoragePoolPtr poolptr, - struct inst_list *list) +static CMPIStatus _new_volume_template(const CMPIObjectPath *ref, + int template_type, + virStoragePoolPtr poolptr, + const char *units, + struct inst_list *list) { const char *id; CMPIStatus s = {CMPI_RC_OK, NULL}; @@ -1059,7 +1060,6 @@ const char *path; uint16_t alloc = 0; uint16_t cap = 0; - const char *units; switch(template_type) { case SDC_RASD_MIN: @@ -1116,8 +1116,9 @@ cap = 0; CMSetProperty(inst, "Capacity", (CMPIValue *)&cap, CMPI_uint16); - units = "G"; - CMSetProperty(inst, "AllocationUnits", (CMPIValue *)units, CMPI_chars); + if (units != NULL) + CMSetProperty(inst, "AllocationUnits", + (CMPIValue *)units, CMPI_chars); inst_list_add(list, inst); @@ -1127,6 +1128,25 @@ return s; } +static CMPIStatus new_volume_template(const CMPIObjectPath *ref, + int template_type, + virStoragePoolPtr poolptr, + struct inst_list *list) +{ + CMPIStatus s = {CMPI_RC_OK, NULL}; + const char *units = NULL; + + s = _new_volume_template(ref, template_type, poolptr, units, list); + if (s.rc != CMPI_RC_OK) + goto out; + + units = "G"; + s = _new_volume_template(ref, template_type, poolptr, units, list); + + out: + return s; +} + static CMPIStatus avail_volume_template(const CMPIObjectPath *ref, int template_type, virStorageVolPtr volume_ptr, From jyang at redhat.com Thu Jan 14 09:17:23 2010 From: jyang at redhat.com (Osier Yang) Date: Thu, 14 Jan 2010 17:17:23 +0800 Subject: [Libvirt-cim] [PATCH] for cimtest Message-ID: <4B4EE123.8050208@redhat.com> Hi all the patch is trying to solve the problem: when there is .vmlinuz-*.hmac under /boot, cimtest/suites/libvirt-cim/images/xmt-makefv.sh won't work. [root at dhcp-66-70-159 ~]# ls -a /boot/ | grep vmlinuz vmlinuz-2.6.18-183.el5 .vmlinuz-2.6.18-183.el5.hmac vmlinuz-2.6.18-183.el5xen .vmlinuz-2.6.18-183.el5xen.hmac [root at dhcp-66-70-159 images]# make mkdir -p xm-test (cd xm-test && wget http://xm-test.xensource.com/ramdisks/initrd-1.1-i386.img) --2010-01-14 08:33:15-- http://xm-test.xensource.com/ramdisks/initrd-1.1-i386.img Resolving xm-test.xensource.com... 70.42.241.107 Connecting to xm-test.xensource.com|70.42.241.107|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3645440 (3.5M) [text/plain] Saving to: `initrd-1.1-i386.img' 100%[=====================================>] 3,645,440 7.76K/s in 7m 22s 2010-01-14 08:40:39 (8.05 KB/s) - `initrd-1.1-i386.img' saved [3645440/3645440] chmod +x xmt-convert.sh (cd xm-test && sh ../xmt-convert.sh `basename xm-test/initrd-1.1-i386.img`) 1856 blocks if uname -r | grep -q xen; then \ cp /boot/vmlinuz-`uname -r` /var/lib/libvirt/images/default-xen-kernel; \ fi chmod +x xmt-makefv.sh ./xmt-makefv.sh xm-test/xm-test.gz xm-test/xmt_disk.img FAILED: make: *** [xm-test/xmt_disk.img] Error 1 hope it helps. :-) Thanks and Regards osier -------------- next part -------------- A non-text attachment was scrubbed... Name: 0.patch Type: text/x-patch Size: 492 bytes Desc: not available URL: From rmaciel at linux.vnet.ibm.com Thu Jan 14 23:32:17 2010 From: rmaciel at linux.vnet.ibm.com (Richard Maciel) Date: Thu, 14 Jan 2010 21:32:17 -0200 Subject: [Libvirt-cim] [PATCH] Fix storage volume generation so that bytes are supported In-Reply-To: References: Message-ID: <4B4FA981.9080104@linux.vnet.ibm.com> +1 (my last patch review ;-( ) On 01/13/2010 07:34 PM, Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1263415515 28800 > # Node ID b57ba34c0932d77e11f65282dec5c2094d6ba818 > # Parent 2e80fd8fdbc575decc0b8a1623f8b9ad9122dccf > Fix storage volume generation so that bytes are supported > > If the units portion of the tag isn't specified, then libvirt > will create the storage volume using bytes as the unit type. libvirt-cim > wasn't supporting this behavior properl. Instead of assuming gigabytes as the > default, libvirt will assume bytes when no unit is specified. > > If a unit is specified, it needs to be one of the following supported types: > 'k', 'K', 'm', 'M', 'g', 'G', 't', 'T', 'p', 'P', 'y', or 'Y'. > > Signed-off-by: Kaitlin Rupert > > diff -r 2e80fd8fdbc5 -r b57ba34c0932 libxkutil/xmlgen.c > --- a/libxkutil/xmlgen.c Fri Dec 11 18:04:28 2009 -0800 > +++ b/libxkutil/xmlgen.c Wed Jan 13 12:45:15 2010 -0800 > @@ -1129,8 +1129,12 @@ > > free(string); > > - if (xmlNewProp(cap, BAD_CAST "unit", BAD_CAST vol->cap_units) == NULL) > - goto out; > + if (vol->cap_units != NULL) { > + xmlAttrPtr tmp = NULL; > + tmp = xmlNewProp(cap, BAD_CAST "unit", BAD_CAST vol->cap_units); > + if (tmp == NULL) > + goto out; > + } > > target = xmlNewChild(v, NULL, BAD_CAST "target", NULL); > if (target == NULL) > diff -r 2e80fd8fdbc5 -r b57ba34c0932 src/Virt_ResourcePoolConfigurationService.c > --- a/src/Virt_ResourcePoolConfigurationService.c Fri Dec 11 18:04:28 2009 -0800 > +++ b/src/Virt_ResourcePoolConfigurationService.c Wed Jan 13 12:45:15 2010 -0800 > @@ -727,10 +727,10 @@ > res->res.storage_vol.cap = int_val; > > free(res->res.storage_vol.cap_units); > - if (cu_get_str_prop(inst, "AllocationUnits",&val) != CMPI_RC_OK) > - res->res.storage_vol.cap_units = strdup("G"); > + if (cu_get_str_prop(inst, "AllocationUnits",&val) == CMPI_RC_OK) > + res->res.storage_vol.cap_units = strdup(val); > else > - res->res.storage_vol.cap_units = strdup(val); > + res->res.storage_vol.cap_units = NULL; > > out: > > diff -r 2e80fd8fdbc5 -r b57ba34c0932 src/Virt_SettingsDefineCapabilities.c > --- a/src/Virt_SettingsDefineCapabilities.c Fri Dec 11 18:04:28 2009 -0800 > +++ b/src/Virt_SettingsDefineCapabilities.c Wed Jan 13 12:45:15 2010 -0800 > @@ -1044,10 +1044,11 @@ > } > > #if VIR_USE_LIBVIRT_STORAGE > -static CMPIStatus new_volume_template(const CMPIObjectPath *ref, > - int template_type, > - virStoragePoolPtr poolptr, > - struct inst_list *list) > +static CMPIStatus _new_volume_template(const CMPIObjectPath *ref, > + int template_type, > + virStoragePoolPtr poolptr, > + const char *units, > + struct inst_list *list) > { > const char *id; > CMPIStatus s = {CMPI_RC_OK, NULL}; > @@ -1059,7 +1060,6 @@ > const char *path; > uint16_t alloc = 0; > uint16_t cap = 0; > - const char *units; > > switch(template_type) { > case SDC_RASD_MIN: > @@ -1116,8 +1116,9 @@ > cap = 0; > CMSetProperty(inst, "Capacity", (CMPIValue *)&cap, CMPI_uint16); > > - units = "G"; > - CMSetProperty(inst, "AllocationUnits", (CMPIValue *)units, CMPI_chars); > + if (units != NULL) > + CMSetProperty(inst, "AllocationUnits", > + (CMPIValue *)units, CMPI_chars); > > inst_list_add(list, inst); > > @@ -1127,6 +1128,25 @@ > return s; > } > > +static CMPIStatus new_volume_template(const CMPIObjectPath *ref, > + int template_type, > + virStoragePoolPtr poolptr, > + struct inst_list *list) > +{ > + CMPIStatus s = {CMPI_RC_OK, NULL}; > + const char *units = NULL; > + > + s = _new_volume_template(ref, template_type, poolptr, units, list); > + if (s.rc != CMPI_RC_OK) > + goto out; > + > + units = "G"; > + s = _new_volume_template(ref, template_type, poolptr, units, list); > + > + out: > + return s; > +} > + > static CMPIStatus avail_volume_template(const CMPIObjectPath *ref, > int template_type, > virStorageVolPtr volume_ptr, > > _______________________________________________ > Libvirt-cim mailing list > Libvirt-cim at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-cim -- Richard Maciel, MSc IBM Linux Technology Center rmaciel at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Fri Jan 15 00:40:33 2010 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 14 Jan 2010 16:40:33 -0800 Subject: [Libvirt-cim] [PATCH] for cimtest In-Reply-To: <4B4EE123.8050208@redhat.com> References: <4B4EE123.8050208@redhat.com> Message-ID: <4B4FB981.1020105@linux.vnet.ibm.com> Hi Osier, On my system, I have the following kernels: # ls -la /boot/ | grep vmlinuz -rw-r--r-- 1 root root 1931580 Jul 13 2009 vmlinuz-2.6.18-158.el5 -rw-r--r-- 1 root root 158 Jul 13 2009 .vmlinuz-2.6.18-158.el5.hmac -rw-r--r-- 1 root root 2029233 Jul 13 2009 vmlinuz-2.6.18-158.el5xen -rw-r--r-- 1 root root 161 Jul 13 2009 .vmlinuz-2.6.18-158.el5xen.hmac When I run find "/boot | grep vmlinuz | egrep -v 'xen' | tail -n1", I get: # find /boot | grep vmlinuz | egrep -v 'xen' | tail -n1 /boot/vmlinuz-2.6.18-158.el5 Do you see different results? Even though I can't reproduce the issue, I'm fine with this change. But can you resubmit the patch following the guidelines in cimtest/doc/SubmittingPatches? Each patch needs to have a DCO. Thanks! Osier Yang wrote: > Hi all > > the patch is trying to solve the problem: > when there is .vmlinuz-*.hmac under /boot, > cimtest/suites/libvirt-cim/images/xmt-makefv.sh won't work. > > [root at dhcp-66-70-159 ~]# ls -a /boot/ | grep vmlinuz > vmlinuz-2.6.18-183.el5 > .vmlinuz-2.6.18-183.el5.hmac > vmlinuz-2.6.18-183.el5xen > .vmlinuz-2.6.18-183.el5xen.hmac > > [root at dhcp-66-70-159 images]# make > mkdir -p xm-test > (cd xm-test && wget > http://xm-test.xensource.com/ramdisks/initrd-1.1-i386.img) > --2010-01-14 08:33:15-- > http://xm-test.xensource.com/ramdisks/initrd-1.1-i386.img > Resolving xm-test.xensource.com... 70.42.241.107 > Connecting to xm-test.xensource.com|70.42.241.107|:80... connected. > HTTP request sent, awaiting response... 200 OK > Length: 3645440 (3.5M) [text/plain] > Saving to: `initrd-1.1-i386.img' > > 100%[=====================================>] 3,645,440 7.76K/s in 7m > 22s > 2010-01-14 08:40:39 (8.05 KB/s) - `initrd-1.1-i386.img' saved > [3645440/3645440] > > chmod +x xmt-convert.sh > (cd xm-test && sh ../xmt-convert.sh `basename xm-test/initrd-1.1-i386.img`) > 1856 blocks > if uname -r | grep -q xen; then \ > cp /boot/vmlinuz-`uname -r` > /var/lib/libvirt/images/default-xen-kernel; \ > fi > chmod +x xmt-makefv.sh > ./xmt-makefv.sh xm-test/xm-test.gz xm-test/xmt_disk.img > FAILED: > make: *** [xm-test/xmt_disk.img] Error 1 > > hope it helps. :-) > > Thanks and Regards > osier > > > ------------------------------------------------------------------------ > > _______________________________________________ > Libvirt-cim mailing list > Libvirt-cim at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-cim -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From jyang at redhat.com Fri Jan 15 02:47:46 2010 From: jyang at redhat.com (Osier Yang) Date: Fri, 15 Jan 2010 10:47:46 +0800 Subject: [Libvirt-cim] [PATCH] for cimtest In-Reply-To: <4B4FB981.1020105@linux.vnet.ibm.com> References: <4B4EE123.8050208@redhat.com> <4B4FB981.1020105@linux.vnet.ibm.com> Message-ID: <4B4FD752.4000902@redhat.com> Hi kaitlin Actually I have diffrent result indeed on my machine. [root at dhcp-66-70-159 ~]# ls -la /boot/ | grep vmlinuz -rw-r--r-- 1 root root 1953468 Dec 21 18:43 vmlinuz-2.6.18-183.el5 -rw-r--r-- 1 root root 158 Dec 21 18:43 .vmlinuz-2.6.18-183.el5.hmac -rw-r--r-- 1 root root 2045656 Dec 21 18:51 vmlinuz-2.6.18-183.el5xen -rw-r--r-- 1 root root 161 Dec 21 18:51 .vmlinuz-2.6.18-183.el5xen.hmac [root at dhcp-66-70-159 ~]# find /boot/ | grep vmlinuz | egrep -v 'xen' | tail -n1 /boot/.vmlinuz-2.6.18-183.el5.hmac [root at dhcp-66-70-159 ~]# would like find out why we have diffrent result, and then submit the patch following cimtest/doc/SubmittingPatches. Thanks and Regards osier Kaitlin Rupert wrote: > Hi Osier, > > On my system, I have the following kernels: > > # ls -la /boot/ | grep vmlinuz > -rw-r--r-- 1 root root 1931580 Jul 13 2009 vmlinuz-2.6.18-158.el5 > -rw-r--r-- 1 root root 158 Jul 13 2009 .vmlinuz-2.6.18-158.el5.hmac > -rw-r--r-- 1 root root 2029233 Jul 13 2009 vmlinuz-2.6.18-158.el5xen > -rw-r--r-- 1 root root 161 Jul 13 2009 > .vmlinuz-2.6.18-158.el5xen.hmac > > When I run find "/boot | grep vmlinuz | egrep -v 'xen' | tail -n1", I > get: > > # find /boot | grep vmlinuz | egrep -v 'xen' | tail -n1 > /boot/vmlinuz-2.6.18-158.el5 > > Do you see different results? Even though I can't reproduce the > issue, I'm fine with this change. But can you resubmit the patch > following the guidelines in cimtest/doc/SubmittingPatches? Each patch > needs to have a DCO. > > Thanks! > > Osier Yang wrote: >> Hi all >> >> the patch is trying to solve the problem: >> when there is .vmlinuz-*.hmac under /boot, >> cimtest/suites/libvirt-cim/images/xmt-makefv.sh won't work. >> >> [root at dhcp-66-70-159 ~]# ls -a /boot/ | grep vmlinuz >> vmlinuz-2.6.18-183.el5 >> .vmlinuz-2.6.18-183.el5.hmac >> vmlinuz-2.6.18-183.el5xen >> .vmlinuz-2.6.18-183.el5xen.hmac >> >> [root at dhcp-66-70-159 images]# make >> mkdir -p xm-test >> (cd xm-test && wget >> http://xm-test.xensource.com/ramdisks/initrd-1.1-i386.img) >> --2010-01-14 08:33:15-- >> http://xm-test.xensource.com/ramdisks/initrd-1.1-i386.img >> Resolving xm-test.xensource.com... 70.42.241.107 >> Connecting to xm-test.xensource.com|70.42.241.107|:80... connected. >> HTTP request sent, awaiting response... 200 OK >> Length: 3645440 (3.5M) [text/plain] >> Saving to: `initrd-1.1-i386.img' >> >> 100%[=====================================>] 3,645,440 7.76K/s in >> 7m 22s >> 2010-01-14 08:40:39 (8.05 KB/s) - `initrd-1.1-i386.img' saved >> [3645440/3645440] >> >> chmod +x xmt-convert.sh >> (cd xm-test && sh ../xmt-convert.sh `basename >> xm-test/initrd-1.1-i386.img`) >> 1856 blocks >> if uname -r | grep -q xen; then \ >> cp /boot/vmlinuz-`uname -r` >> /var/lib/libvirt/images/default-xen-kernel; \ >> fi >> chmod +x xmt-makefv.sh >> ./xmt-makefv.sh xm-test/xm-test.gz xm-test/xmt_disk.img >> FAILED: >> make: *** [xm-test/xmt_disk.img] Error 1 >> >> hope it helps. :-) >> >> Thanks and Regards >> osier >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Libvirt-cim mailing list >> Libvirt-cim at redhat.com >> https://www.redhat.com/mailman/listinfo/libvirt-cim > > From jyang at redhat.com Fri Jan 15 03:37:24 2010 From: jyang at redhat.com (Osier Yang) Date: Fri, 15 Jan 2010 11:37:24 +0800 Subject: [Libvirt-cim] [PATCH] for cimtest In-Reply-To: <4B4FB981.1020105@linux.vnet.ibm.com> References: <4B4EE123.8050208@redhat.com> <4B4FB981.1020105@linux.vnet.ibm.com> Message-ID: <4B4FE2F4.2050708@redhat.com> Hi kaitlin. I tested on three machines. ===Machine A=== [root at dhcp-66-70-159 ~]# ls -laut /boot/ | grep vmlinuz -rw-r--r-- 1 root root 2045656 Jan 14 08:40 vmlinuz-2.6.18-183.el5xen -rw-r--r-- 1 root root 158 Jan 14 06:15 .vmlinuz-2.6.18-183.el5.hmac -rw-r--r-- 1 root root 1953468 Jan 8 14:28 vmlinuz-2.6.18-183.el5 -rw-r--r-- 1 root root 161 Dec 21 18:51 .vmlinuz-2.6.18-183.el5xen.hmac [root at dhcp-66-70-159 ~]# find /boot/ | grep vmlinuz | egrep -v 'xen' | tail -n1 /boot/.vmlinuz-2.6.18-183.el5.hmac ==Machine B==== [root at dhcp-66-70-128 tmp]# ls -laut /boot/ | grep vmlinuz lrwxrwxrwx 1 root root 22 Jan 15 10:52 vmlinuz -> vmlinuz-2.6.18-160.el5 -rw-r--r-- 1 root root 1931964 Dec 23 13:44 vmlinuz-2.6.18-160.el5 -rw-r--r-- 1 root root 1931580 Aug 1 05:02 vmlinuz-2.6.18-158.el5 -rw-r--r-- 1 root root 2029233 Aug 1 05:02 vmlinuz-2.6.18-158.el5xen -rw-r--r-- 1 root root 158 Jul 28 05:41 .vmlinuz-2.6.18-160.el5.hmac -rw-r--r-- 1 root root 161 Jul 14 2009 .vmlinuz-2.6.18-158.el5xen.hmac -rw-r--r-- 1 root root 158 Jul 14 2009 .vmlinuz-2.6.18-158.el5.hmac [root at dhcp-66-70-128 tmp]# find /boot/ | grep vmlinuz | egrep -v 'xen' | tail -n1 /boot/.vmlinuz-2.6.18-160.el5.hmac ======Machine C=============== [root at amd-4450b-4-1 ~]# ls -laut /boot/ | grep vmlinuz -rw-r--r-- 1 root root 1953468 Jan 12 21:29 vmlinuz-2.6.18-183.el5 -rw-r--r-- 1 root root 2045656 Jan 12 21:29 vmlinuz-2.6.18-183.el5xen -rw-r--r-- 1 root root 161 Dec 22 07:51 .vmlinuz-2.6.18-183.el5xen.hmac -rw-r--r-- 1 root root 158 Dec 22 07:43 .vmlinuz-2.6.18-183.el5.hmac [root at amd-4450b-4-1 ~]# find /boot/ | grep vmlinuz | grep -v 'xen' | tail -n1 /boot/vmlinuz-2.6.18-183.el5 so, the result depends on the access time of ".vmlinuz-*.hmac". that means the patch is not useless. :) Thanks and Regards osier Kaitlin Rupert wrote: > Hi Osier, > > On my system, I have the following kernels: > > # ls -la /boot/ | grep vmlinuz > -rw-r--r-- 1 root root 1931580 Jul 13 2009 vmlinuz-2.6.18-158.el5 > -rw-r--r-- 1 root root 158 Jul 13 2009 .vmlinuz-2.6.18-158.el5.hmac > -rw-r--r-- 1 root root 2029233 Jul 13 2009 vmlinuz-2.6.18-158.el5xen > -rw-r--r-- 1 root root 161 Jul 13 2009 > .vmlinuz-2.6.18-158.el5xen.hmac > > When I run find "/boot | grep vmlinuz | egrep -v 'xen' | tail -n1", I > get: > > # find /boot | grep vmlinuz | egrep -v 'xen' | tail -n1 > /boot/vmlinuz-2.6.18-158.el5 > > Do you see different results? Even though I can't reproduce the > issue, I'm fine with this change. But can you resubmit the patch > following the guidelines in cimtest/doc/SubmittingPatches? Each patch > needs to have a DCO. > > Thanks! > > Osier Yang wrote: >> Hi all >> >> the patch is trying to solve the problem: >> when there is .vmlinuz-*.hmac under /boot, >> cimtest/suites/libvirt-cim/images/xmt-makefv.sh won't work. >> >> [root at dhcp-66-70-159 ~]# ls -a /boot/ | grep vmlinuz >> vmlinuz-2.6.18-183.el5 >> .vmlinuz-2.6.18-183.el5.hmac >> vmlinuz-2.6.18-183.el5xen >> .vmlinuz-2.6.18-183.el5xen.hmac >> >> [root at dhcp-66-70-159 images]# make >> mkdir -p xm-test >> (cd xm-test && wget >> http://xm-test.xensource.com/ramdisks/initrd-1.1-i386.img) >> --2010-01-14 08:33:15-- >> http://xm-test.xensource.com/ramdisks/initrd-1.1-i386.img >> Resolving xm-test.xensource.com... 70.42.241.107 >> Connecting to xm-test.xensource.com|70.42.241.107|:80... connected. >> HTTP request sent, awaiting response... 200 OK >> Length: 3645440 (3.5M) [text/plain] >> Saving to: `initrd-1.1-i386.img' >> >> 100%[=====================================>] 3,645,440 7.76K/s in >> 7m 22s >> 2010-01-14 08:40:39 (8.05 KB/s) - `initrd-1.1-i386.img' saved >> [3645440/3645440] >> >> chmod +x xmt-convert.sh >> (cd xm-test && sh ../xmt-convert.sh `basename >> xm-test/initrd-1.1-i386.img`) >> 1856 blocks >> if uname -r | grep -q xen; then \ >> cp /boot/vmlinuz-`uname -r` >> /var/lib/libvirt/images/default-xen-kernel; \ >> fi >> chmod +x xmt-makefv.sh >> ./xmt-makefv.sh xm-test/xm-test.gz xm-test/xmt_disk.img >> FAILED: >> make: *** [xm-test/xmt_disk.img] Error 1 >> >> hope it helps. :-) >> >> Thanks and Regards >> osier >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Libvirt-cim mailing list >> Libvirt-cim at redhat.com >> https://www.redhat.com/mailman/listinfo/libvirt-cim > > From jyang at redhat.com Fri Jan 15 06:32:23 2010 From: jyang at redhat.com (Osier Yang) Date: Fri, 15 Jan 2010 06:32:23 -0000 Subject: [Libvirt-cim] [PATCH] [TEST] Fix test domain creation when ".vmlinuz-*.hmac" exist under /boot Message-ID: <2de7eb653b5fdf35f37f.1263537143@dhcp-66-70-131.nay.redhat.com> When files with name like ".vmlinuz-*.hmac" exist under /boot, function "kernel_path" in "xmt-makefv.sh" will return unreasonable value. And it makes the test domain creation failed. Updates: - modified function "kernel_path" in "xmt-makefv.sh" Signed-off-by: Osier Yang -------------- next part -------------- A non-text attachment was scrubbed... Name: cimtest.patch Type: text/x-patch Size: 1062 bytes Desc: not available URL: From jyang at redhat.com Fri Jan 15 06:34:23 2010 From: jyang at redhat.com (Osier Yang) Date: Fri, 15 Jan 2010 06:34:23 -0000 Subject: [Libvirt-cim] [PATCH] [TEST] Fix test domain creation when ".vmlinuz-*.hmac" exist under /boot Message-ID: <2de7eb653b5fdf35f37f.1263537263@dhcp-66-70-131.nay.redhat.com> When files with name like ".vmlinuz-*.hmac" exist under /boot, function "kernel_path" in "xmt-makefv.sh" will return unreasonable value. And it makes the test domain creation failed. Updates: - modified function "kernel_path" in "xmt-makefv.sh" Signed-off-by: Osier Yang -------------- next part -------------- A non-text attachment was scrubbed... Name: cimtest.patch Type: text/x-patch Size: 1062 bytes Desc: not available URL: From kaitlin at linux.vnet.ibm.com Sat Jan 16 17:00:35 2010 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Sat, 16 Jan 2010 09:00:35 -0800 Subject: [Libvirt-cim] [PATCH] for cimtest In-Reply-To: <4B4FE2F4.2050708@redhat.com> References: <4B4EE123.8050208@redhat.com> <4B4FB981.1020105@linux.vnet.ibm.com> <4B4FE2F4.2050708@redhat.com> Message-ID: <4B51F0B3.4050400@linux.vnet.ibm.com> Osier Yang wrote: > Hi kaitlin. > I tested on three machines. > > ===Machine A=== > [root at dhcp-66-70-159 ~]# ls -laut /boot/ | grep vmlinuz > -rw-r--r-- 1 root root 2045656 Jan 14 08:40 vmlinuz-2.6.18-183.el5xen > -rw-r--r-- 1 root root 158 Jan 14 06:15 .vmlinuz-2.6.18-183.el5.hmac > -rw-r--r-- 1 root root 1953468 Jan 8 14:28 vmlinuz-2.6.18-183.el5 > -rw-r--r-- 1 root root 161 Dec 21 18:51 > .vmlinuz-2.6.18-183.el5xen.hmac > > [root at dhcp-66-70-159 ~]# find /boot/ | grep vmlinuz | egrep -v 'xen' | > tail -n1 > /boot/.vmlinuz-2.6.18-183.el5.hmac > > ==Machine B==== > [root at dhcp-66-70-128 tmp]# ls -laut /boot/ | grep vmlinuz > lrwxrwxrwx 1 root root 22 Jan 15 10:52 vmlinuz -> > vmlinuz-2.6.18-160.el5 > -rw-r--r-- 1 root root 1931964 Dec 23 13:44 vmlinuz-2.6.18-160.el5 > -rw-r--r-- 1 root root 1931580 Aug 1 05:02 vmlinuz-2.6.18-158.el5 > -rw-r--r-- 1 root root 2029233 Aug 1 05:02 vmlinuz-2.6.18-158.el5xen > -rw-r--r-- 1 root root 158 Jul 28 05:41 .vmlinuz-2.6.18-160.el5.hmac > -rw-r--r-- 1 root root 161 Jul 14 2009 > .vmlinuz-2.6.18-158.el5xen.hmac > -rw-r--r-- 1 root root 158 Jul 14 2009 .vmlinuz-2.6.18-158.el5.hmac > > [root at dhcp-66-70-128 tmp]# find /boot/ | grep vmlinuz | egrep -v 'xen' | > tail -n1 > /boot/.vmlinuz-2.6.18-160.el5.hmac > > ======Machine C=============== > [root at amd-4450b-4-1 ~]# ls -laut /boot/ | grep vmlinuz > -rw-r--r-- 1 root root 1953468 Jan 12 21:29 vmlinuz-2.6.18-183.el5 > -rw-r--r-- 1 root root 2045656 Jan 12 21:29 vmlinuz-2.6.18-183.el5xen > -rw-r--r-- 1 root root 161 Dec 22 07:51 > .vmlinuz-2.6.18-183.el5xen.hmac > -rw-r--r-- 1 root root 158 Dec 22 07:43 .vmlinuz-2.6.18-183.el5.hmac > > [root at amd-4450b-4-1 ~]# find /boot/ | grep vmlinuz | grep -v 'xen' | > tail -n1 > /boot/vmlinuz-2.6.18-183.el5 > > so, the result depends on the access time of ".vmlinuz-*.hmac". Ah, good call! Thanks for tracking this down. > > that means the patch is not useless. :) Yep, agreed. I've applied your patch. Thanks! > > Thanks and Regards > osier -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From jyang at redhat.com Mon Jan 18 03:04:14 2010 From: jyang at redhat.com (Osier Yang) Date: Mon, 18 Jan 2010 11:04:14 +0800 Subject: [Libvirt-cim] [PATCH] for cimtest In-Reply-To: <4B51F0B3.4050400@linux.vnet.ibm.com> References: <4B4EE123.8050208@redhat.com> <4B4FB981.1020105@linux.vnet.ibm.com> <4B4FE2F4.2050708@redhat.com> <4B51F0B3.4050400@linux.vnet.ibm.com> Message-ID: <4B53CFAE.2050108@redhat.com> Kaitlin Rupert wrote: > Osier Yang wrote: >> Hi kaitlin. >> I tested on three machines. >> >> ===Machine A=== >> [root at dhcp-66-70-159 ~]# ls -laut /boot/ | grep vmlinuz >> -rw-r--r-- 1 root root 2045656 Jan 14 08:40 vmlinuz-2.6.18-183.el5xen >> -rw-r--r-- 1 root root 158 Jan 14 06:15 >> .vmlinuz-2.6.18-183.el5.hmac >> -rw-r--r-- 1 root root 1953468 Jan 8 14:28 vmlinuz-2.6.18-183.el5 >> -rw-r--r-- 1 root root 161 Dec 21 18:51 >> .vmlinuz-2.6.18-183.el5xen.hmac >> >> [root at dhcp-66-70-159 ~]# find /boot/ | grep vmlinuz | egrep -v 'xen' >> | tail -n1 >> /boot/.vmlinuz-2.6.18-183.el5.hmac >> >> ==Machine B==== >> [root at dhcp-66-70-128 tmp]# ls -laut /boot/ | grep vmlinuz >> lrwxrwxrwx 1 root root 22 Jan 15 10:52 vmlinuz -> >> vmlinuz-2.6.18-160.el5 >> -rw-r--r-- 1 root root 1931964 Dec 23 13:44 vmlinuz-2.6.18-160.el5 >> -rw-r--r-- 1 root root 1931580 Aug 1 05:02 vmlinuz-2.6.18-158.el5 >> -rw-r--r-- 1 root root 2029233 Aug 1 05:02 vmlinuz-2.6.18-158.el5xen >> -rw-r--r-- 1 root root 158 Jul 28 05:41 >> .vmlinuz-2.6.18-160.el5.hmac >> -rw-r--r-- 1 root root 161 Jul 14 2009 >> .vmlinuz-2.6.18-158.el5xen.hmac >> -rw-r--r-- 1 root root 158 Jul 14 2009 >> .vmlinuz-2.6.18-158.el5.hmac >> >> [root at dhcp-66-70-128 tmp]# find /boot/ | grep vmlinuz | egrep -v >> 'xen' | tail -n1 >> /boot/.vmlinuz-2.6.18-160.el5.hmac >> >> ======Machine C=============== >> [root at amd-4450b-4-1 ~]# ls -laut /boot/ | grep vmlinuz >> -rw-r--r-- 1 root root 1953468 Jan 12 21:29 vmlinuz-2.6.18-183.el5 >> -rw-r--r-- 1 root root 2045656 Jan 12 21:29 vmlinuz-2.6.18-183.el5xen >> -rw-r--r-- 1 root root 161 Dec 22 07:51 >> .vmlinuz-2.6.18-183.el5xen.hmac >> -rw-r--r-- 1 root root 158 Dec 22 07:43 >> .vmlinuz-2.6.18-183.el5.hmac >> >> [root at amd-4450b-4-1 ~]# find /boot/ | grep vmlinuz | grep -v 'xen' | >> tail -n1 >> /boot/vmlinuz-2.6.18-183.el5 >> >> so, the result depends on the access time of ".vmlinuz-*.hmac". > > Ah, good call! Thanks for tracking this down. > >> >> that means the patch is not useless. :) > > Yep, agreed. I've applied your patch. > > Thanks! > Thanks. :) >> >> Thanks and Regards >> osier > > From deeptik at linux.vnet.ibm.com Mon Jan 25 09:28:48 2010 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Mon, 25 Jan 2010 14:58:48 +0530 Subject: [Libvirt-cim] Test Run Summary (Jan 25 2010): KVM on Fedora release 13 (Rawhide) with Pegasus Message-ID: <4B5D6450.9070701@linux.vnet.ibm.com> ================================================= Test Run Summary (Jan 25 2010): KVM on Fedora release 13 (Rawhide) with Pegasus ================================================= Distro: Fedora release 13 (Rawhide) Kernel: 2.6.31.6-166.fc12.x86_64 libvirt: 0.7.4 Hypervisor: QEMU 0.12.1 CIMOM: Pegasus 2.9.0 Libvirt-cim revision: 1025 Libvirt-cim changeset: b57ba34c0932 Cimtest revision: 833 Cimtest changeset: 2de7eb653b5f Total test execution: Unknown ================================================= FAIL : 2 XFAIL : 4 SKIP : 12 PASS : 161 ----------------- Total : 179 ================================================= FAIL Test Summary: HostSystem - 03_hs_to_settdefcap.py: FAIL SettingsDefineCapabilities - 01_forward.py: FAIL ================================================= XFAIL Test Summary: ComputerSystem - 32_start_reboot.py: XFAIL ComputerSystem - 33_suspend_reboot.py: XFAIL VirtualSystemManagementService - 16_removeresource.py: XFAIL VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL ================================================= SKIP Test Summary: ComputerSystem - 02_nosystems.py: SKIP ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP LogicalDisk - 02_nodevs.py: SKIP Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: SKIP VirtualSystemMigrationService - 01_migratable_host.py: SKIP VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP VirtualSystemMigrationService - 08_remote_restart_resume_migration.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 ERROR - System has defined domains; unable to run -------------------------------------------------------------------- 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_pause_pause.py: PASS -------------------------------------------------------------------- ComputerSystem - 27_define_pause_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 32_start_reboot.py: XFAIL ERROR - Got CIM error CIM_ERR_FAILED: Unable to reboot domain: this function is not supported by the hypervisor: virDomainReboot with return code 1 ERROR - Exception: Unable reboot dom 'cs_test_domain' InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to reboot domain: this function is not supported by the hypervisor: virDomainReboot Bug:<00005> -------------------------------------------------------------------- ComputerSystem - 33_suspend_reboot.py: XFAIL ERROR - Got CIM error CIM_ERR_NOT_SUPPORTED: State not supported with return code 7 ERROR - Exception: Unable Suspend dom 'test_domain' InvokeMethod(RequestStateChange): CIM_ERR_NOT_SUPPORTED: State not supported Bug:<00012> -------------------------------------------------------------------- ComputerSystem - 34_start_disable.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 -------------------------------------------------------------------- ComputerSystemMigrationJobIndication - 01_csmig_ind_for_offline_mig.py: SKIP -------------------------------------------------------------------- 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 -------------------------------------------------------------------- HostedAccessPoint - 01_forward.py: PASS -------------------------------------------------------------------- HostedAccessPoint - 02_reverse.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 -------------------------------------------------------------------- HostSystem - 01_enum.py: PASS -------------------------------------------------------------------- HostSystem - 02_hostsystem_to_rasd.py: PASS -------------------------------------------------------------------- HostSystem - 03_hs_to_settdefcap.py: FAIL ERROR - KVM_SettingsDefineCapabilities returned 40 RASD objects instead of 32 for DiskPool/cimtest-diskpool CIM_ERR_INVALID_CLASS: Linux_ComputerSystem -------------------------------------------------------------------- HostSystem - 04_hs_to_EAPF.py: PASS -------------------------------------------------------------------- HostSystem - 05_hs_gi_errs.py: PASS -------------------------------------------------------------------- HostSystem - 06_hs_to_vsms.py: PASS -------------------------------------------------------------------- KVMRedirectionSAP - 01_enum_KVMredSAP.py: PASS -------------------------------------------------------------------- KVMRedirectionSAP - 02_ipv6_support.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: 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 -------------------------------------------------------------------- Profile - 04_verify_libvirt_cim_slp_profiles.py: SKIP 04_verify_libvirt_cim_slp_profiles.py:30: DeprecationWarning: the sets module is deprecated from sets import Set ERROR - SLP tool does not exist on the machine -------------------------------------------------------------------- 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 -------------------------------------------------------------------- RASD - 05_disk_rasd_emu_type.py: PASS -------------------------------------------------------------------- RASD - 06_parent_net_pool.py: PASS -------------------------------------------------------------------- RASD - 07_parent_disk_pool.py: PASS -------------------------------------------------------------------- RASDIndications - 01_guest_states_rasd_ind.py: PASS -------------------------------------------------------------------- RASDIndications - 02_guest_add_mod_rem_rasd_ind.py: PASS -------------------------------------------------------------------- RedirectionService - 01_enum_crs.py: PASS -------------------------------------------------------------------- RedirectionService - 02_enum_crscap.py: PASS -------------------------------------------------------------------- RedirectionService - 03_RedirectionSAP_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: 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 -------------------------------------------------------------------- ResourcePoolConfigurationService - 08_CreateDiskResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 09_DeleteDiskPool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 10_create_storagevolume.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 11_create_dir_storagevolume_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 12_create_netfs_storagevolume_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 13_delete_storagevolume.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 14_delete_storagevolume_errs.py: PASS -------------------------------------------------------------------- ServiceAccessBySAP - 01_forward.py: PASS -------------------------------------------------------------------- ServiceAccessBySAP - 02_reverse.py: PASS -------------------------------------------------------------------- ServiceAffectsElement - 01_forward.py: PASS -------------------------------------------------------------------- ServiceAffectsElement - 02_reverse.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: FAIL ERROR - KVM_SettingsDefineCapabilities returned 40 ResourcePool objects instead of 32 -------------------------------------------------------------------- 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 -------------------------------------------------------------------- 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: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 15_mod_system_settings.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 16_removeresource.py: XFAIL ERROR - 0 RASD insts for domain/mouse:ps2 CIM_ERR_NOT_FOUND: No such instance (no device domain/mouse:ps2) Bug:<00014> -------------------------------------------------------------------- VirtualSystemManagementService - 17_removeresource_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 18_define_sys_bridge.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 19_definenetwork_ers.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 20_verify_vnc_password.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 21_createVS_verifyMAC.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL ERROR - (1, u"CIM_ERR_FAILED: Unable to change (0) device: operation failed: parsing pci_add reply failed: PCI bus doesn't support hotplug\r\nfailed to add macaddr=99:aa:bb:cc:ee:ff,vlan=1,name=nic.1\r\n") ERROR - Error invoking AddRS: add_net_res ERROR - AddResourceSettings call failed ERROR - Failed to destroy Virtual Network 'my_network1' InvokeMethod(AddResourceSettings): CIM_ERR_FAILED: Unable to change (0) device: operation failed: parsing pci_add reply failed: PCI bus doesn't support hotplug failed to add macaddr=99:aa:bb:cc:ee:ff,vlan=1,name=nic.1 Bug:<00015> -------------------------------------------------------------------- VirtualSystemManagementService - 23_verify_duplicate_mac_err.py: SKIP ERROR - Need to give different bridge name since it already exists -------------------------------------------------------------------- VirtualSystemManagementService - 24_define_sys_features.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 24_verify_modifyres_output.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 -------------------------------------------------------------------- VirtualSystemMigrationService - 06_remote_live_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 07_remote_offline_migration.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 08_remote_restart_resume_migration.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 -------------------------------------------------------------------- VirtualSystemSnapshotService - 03_create_snapshot.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.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 -------------------------------------------------------------------- VSSD - 05_set_uuid.py: PASS -------------------------------------------------------------------- VSSD - 06_duplicate_uuid.py: PASS -------------------------------------------------------------------- -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From deeptik at linux.vnet.ibm.com Mon Jan 25 09:30:24 2010 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Mon, 25 Jan 2010 15:00:24 +0530 Subject: [Libvirt-cim] Test Run Summary (Jan 25 2010): KVM on Fedora release 13 (Rawhide) with Pegasus In-Reply-To: <4B5D6450.9070701@linux.vnet.ibm.com> References: <4B5D6450.9070701@linux.vnet.ibm.com> Message-ID: <4B5D64B0.2030603@linux.vnet.ibm.com> Deepti B Kalakeri wrote: > ================================================= > Test Run Summary (Jan 25 2010): KVM on Fedora release 13 (Rawhide) > with Pegasus > ================================================= > Distro: Fedora release 13 (Rawhide) > Kernel: 2.6.31.6-166.fc12.x86_64 > libvirt: 0.7.4 > Hypervisor: QEMU 0.12.1 > CIMOM: Pegasus 2.9.0 > Libvirt-cim revision: 1025 > Libvirt-cim changeset: b57ba34c0932 > Cimtest revision: 833 > Cimtest changeset: 2de7eb653b5f > Total test execution: Unknown > ================================================= > FAIL : 2 > XFAIL : 4 > SKIP : 12 > PASS : 161 > ----------------- > Total : 179 > ================================================= > FAIL Test Summary: > HostSystem - 03_hs_to_settdefcap.py: FAIL > SettingsDefineCapabilities - 01_forward.py: FAIL > The tests needs to be updated to accommodate latest floppy related changes. -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Wed Jan 27 23:04:53 2010 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Wed, 27 Jan 2010 15:04:53 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Verify creation of a guest with a floppy device Message-ID: # HG changeset patch # User Kaitlin Rupert # Date 1264633475 28800 # Node ID f89fab2298c8f47552437b6d75b5ac57b6ba1cf1 # Parent b863f339b41bab9569c8306b804377a99bd3b199 [TEST] Verify creation of a guest with a floppy device Signed-off-by: Kaitlin Rupert diff -r b863f339b41b -r f89fab2298c8 suites/libvirt-cim/cimtest/VirtualSystemManagementService/25_definesystem_floppy.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/25_definesystem_floppy.py Wed Jan 27 15:04:35 2010 -0800 @@ -0,0 +1,153 @@ +#!/usr/bin/python +# +# Copyright 2010 IBM Corp. +# +# Authors: +# Kaitlin Rupert +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Purpose: +# Verify providers support floppy devices +# +# Steps: +# 1) Create a with a regular disk device and a floppy device +# 2) Build RASD parameters, making sure to specify floppy device +# 3) Verify guest is defined properly +# + +import sys +from CimTest.Globals import logger +from CimTest.ReturnCodes import FAIL, PASS, SKIP +from XenKvmLib.classes import get_typed_class, inst_to_mof +from XenKvmLib.rasd import get_rasd_templates +from XenKvmLib.const import do_main, get_provider_version, \ + KVM_secondary_disk_path, default_pool_name +from XenKvmLib.vxml import get_class +from XenKvmLib.vsms import VIRT_DISK_TYPE_FLOPPY +from XenKvmLib.common_util import parse_instance_id +from XenKvmLib.enumclass import EnumInstances + +sup_types = ['Xen', 'XenFV', 'KVM'] +test_dom = 'rstest_floppy' + +floppy_rev = 1023 + +def get_rasd_list(ip, virt, addr): + drasd_cn = get_typed_class(virt, "DiskResourceAllocationSettingData") + pool_id = "DiskPool/%s" % default_pool_name + + rasds = get_rasd_templates(ip, virt, pool_id) + if len(rasds) < 1: + logger.info("No RASD templates returned for %s", pool_id) + return [] + + rasd_list = {} + + for rasd in rasds: + if rasd.classname != drasd_cn: + continue + + if rasd['EmulatedType'] == VIRT_DISK_TYPE_FLOPPY and \ + rasd['InstanceID'].find("Default") >= 0: + + rasd['Address'] = addr + rasd_list[rasd.classname] = inst_to_mof(rasd) + + return rasd_list + +def verify_floppy_disk(ip, virt, addr, guest_name): + inst = None + + try: + drasd_cn = get_typed_class(virt, 'DiskResourceAllocationSettingData') + enum_list = EnumInstances(ip, drasd_cn) + + if enum_list < 1: + raise Exception("No %s instances returned" % drasd_cn) + + for rasd in enum_list: + guest, dev, status = parse_instance_id(rasd.InstanceID) + if status != PASS: + raise Exception("Unable to parse InstanceID: %s" % \ + rasd.InstanceID) + + if guest == guest_name: + inst = rasd + break + + if inst is None: + raise Exception("%s instance for %s not found" % (drasd_cn, + guest_name)) + + if inst.Address != addr: + raise Exception("%s instance for %s not found" % (drasd_cn, + guest_name)) + + if inst.EmulatedType != VIRT_DISK_TYPE_FLOPPY: + raise Exception("Expected device to be of %d type" % \ + (VIRT_DISK_TYPE_FLOPPY)) + + except Exception, details: + logger.error(details) + return FAIL + + return PASS + + at do_main(sup_types) +def main(): + options = main.options + + status = FAIL + + curr_cim_rev, changeset = get_provider_version(options.virt, options.ip) + if curr_cim_rev < floppy_rev: + logger.error("Floppy support is available in rev >= %s", floppy_rev) + return SKIP + + cxml = get_class(options.virt)(test_dom) + + addr = KVM_secondary_disk_path + + guest_defined = False + + try: + rasd_list = get_rasd_list(options.ip, options.virt, addr) + if len(rasd_list) < 1: + raise Exception("Unable to get template RASDs for %s" % test_dom) + + cxml.set_res_settings(rasd_list) + ret = cxml.cim_define(options.ip) + if not ret: + raise Exception("Unable to define %s" % test_dom) + + guest_defined = True + + status = verify_floppy_disk(options.ip, options.virt, addr, test_dom) + if status != PASS: + raise Exception("Failed to verify disk path for %s" % test_dom) + + except Exception, details: + logger.error(details) + status = FAIL + + if guest_defined == True: + cxml.undefine(options.ip) + + return status + +if __name__ == "__main__": + sys.exit(main()) + diff -r b863f339b41b -r f89fab2298c8 suites/libvirt-cim/lib/XenKvmLib/vsms.py --- a/suites/libvirt-cim/lib/XenKvmLib/vsms.py Fri Dec 11 16:12:01 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/vsms.py Wed Jan 27 15:04:35 2010 -0800 @@ -37,6 +37,10 @@ RASD_TYPE_INPUT = 13 RASD_TYPE_STOREVOL = 32768 +VIRT_DISK_TYPE_DISK = 0 +VIRT_DISK_TYPE_CDROM = 1 +VIRT_DISK_TYPE_FLOPPY = 2 + VSSD_RECOVERY_NONE = 2 VSSD_RECOVERY_RESTART = 3 VSSD_RECOVERY_PRESERVE = 123 From deeptik at linux.vnet.ibm.com Thu Jan 28 06:53:43 2010 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Thu, 28 Jan 2010 12:23:43 +0530 Subject: [Libvirt-cim] [PATCH] [TEST] #2 For Xen enabled systems, a storage volume template is generated for In-Reply-To: <4c5704672c1f5a196a65.1261171351@elm3b41.beaverton.ibm.com> References: <4c5704672c1f5a196a65.1261171351@elm3b41.beaverton.ibm.com> Message-ID: <4B613477.7090409@linux.vnet.ibm.com> +1 -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From deeptik at linux.vnet.ibm.com Thu Jan 28 07:43:34 2010 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Thu, 28 Jan 2010 13:13:34 +0530 Subject: [Libvirt-cim] [PATCH] [TEST] Verify creation of a guest with a floppy device In-Reply-To: References: Message-ID: <4B614026.40606@linux.vnet.ibm.com> Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1264633475 28800 > # Node ID f89fab2298c8f47552437b6d75b5ac57b6ba1cf1 > # Parent b863f339b41bab9569c8306b804377a99bd3b199 > [TEST] Verify creation of a guest with a floppy device > > Signed-off-by: Kaitlin Rupert > > diff -r b863f339b41b -r f89fab2298c8 suites/libvirt-cim/cimtest/VirtualSystemManagementService/25_definesystem_floppy.py > --- /dev/null Thu Jan 01 00:00:00 1970 +0000 > +++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/25_definesystem_floppy.py Wed Jan 27 15:04:35 2010 -0800 > @@ -0,0 +1,153 @@ > +#!/usr/bin/python > +# > +# Copyright 2010 IBM Corp. > +# > +# Authors: > +# Kaitlin Rupert > +# > +# This library is free software; you can redistribute it and/or > +# modify it under the terms of the GNU General Public > +# License as published by the Free Software Foundation; either > +# version 2.1 of the License, or (at your option) any later version. > +# > +# This library is distributed in the hope that it will be useful, > +# but WITHOUT ANY WARRANTY; without even the implied warranty of > +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > +# General Public License for more details. > +# > +# You should have received a copy of the GNU General Public > +# License along with this library; if not, write to the Free Software > +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > +# > +# Purpose: > +# Verify providers support floppy devices > +# > +# Steps: > +# 1) Create a with a regular disk device and a floppy device > Very small typo .. guest is missing.. :-) > +# 2) Build RASD parameters, making sure to specify floppy device > +# 3) Verify guest is defined properly > +# > + > +import sys > +from CimTest.Globals import logger > +from CimTest.ReturnCodes import FAIL, PASS, SKIP > +from XenKvmLib.classes import get_typed_class, inst_to_mof > +from XenKvmLib.rasd import get_rasd_templates > +from XenKvmLib.const import do_main, get_provider_version, \ > + KVM_secondary_disk_path, default_pool_name > +from XenKvmLib.vxml import get_class > +from XenKvmLib.vsms import VIRT_DISK_TYPE_FLOPPY > +from XenKvmLib.common_util import parse_instance_id > +from XenKvmLib.enumclass import EnumInstances > + > +sup_types = ['Xen', 'XenFV', 'KVM'] > +test_dom = 'rstest_floppy' > + > +floppy_rev = 1023 > + > +def get_rasd_list(ip, virt, addr): > + drasd_cn = get_typed_class(virt, "DiskResourceAllocationSettingData") > + pool_id = "DiskPool/%s" % default_pool_name > + > + rasds = get_rasd_templates(ip, virt, pool_id) > + if len(rasds) < 1: > + logger.info("No RASD templates returned for %s", pool_id) > + return [] > + > + rasd_list = {} > + > + for rasd in rasds: > + if rasd.classname != drasd_cn: > + continue > + > + if rasd['EmulatedType'] == VIRT_DISK_TYPE_FLOPPY and \ > + rasd['InstanceID'].find("Default") >= 0: > You could use "Default" in rasd['InstanceID']. That looks much simpler to understand. > + > + rasd['Address'] = addr > + rasd_list[rasd.classname] = inst_to_mof(rasd) > + > + return rasd_list > + > +def verify_floppy_disk(ip, virt, addr, guest_name): > + inst = None > + > + try: > + drasd_cn = get_typed_class(virt, 'DiskResourceAllocationSettingData') > + enum_list = EnumInstances(ip, drasd_cn) > + > + if enum_list < 1: > + raise Exception("No %s instances returned" % drasd_cn) > + > + for rasd in enum_list: > + guest, dev, status = parse_instance_id(rasd.InstanceID) > + if status != PASS: > + raise Exception("Unable to parse InstanceID: %s" % \ > + rasd.InstanceID) > + > + if guest == guest_name: > + inst = rasd > + break > + > + if inst is None: > + raise Exception("%s instance for %s not found" % (drasd_cn, > + guest_name)) > + > + if inst.Address != addr: > + raise Exception("%s instance for %s not found" % (drasd_cn, > + guest_name)) > You can combine both the if statements into one as the log message remains same. Or if you want you can make the log messages specific to the error type. > + > + if inst.EmulatedType != VIRT_DISK_TYPE_FLOPPY: > + raise Exception("Expected device to be of %d type" % \ > + (VIRT_DISK_TYPE_FLOPPY)) > + > + except Exception, details: > + logger.error(details) > + return FAIL > + > + return PASS > + > + at do_main(sup_types) > +def main(): > + options = main.options > + > + status = FAIL > + > + curr_cim_rev, changeset = get_provider_version(options.virt, options.ip) > + if curr_cim_rev < floppy_rev: > + logger.error("Floppy support is available in rev >= %s", floppy_rev) > + return SKIP > + > + cxml = get_class(options.virt)(test_dom) > + > + addr = KVM_secondary_disk_path > + > + guest_defined = False > + > + try: > + rasd_list = get_rasd_list(options.ip, options.virt, addr) > + if len(rasd_list) < 1: > + raise Exception("Unable to get template RASDs for %s" % test_dom) > + > + cxml.set_res_settings(rasd_list) > + ret = cxml.cim_define(options.ip) > + if not ret: > + raise Exception("Unable to define %s" % test_dom) > + > + guest_defined = True > + > + status = verify_floppy_disk(options.ip, options.virt, addr, test_dom) > + if status != PASS: > + raise Exception("Failed to verify disk path for %s" % test_dom) > + > + except Exception, details: > + logger.error(details) > + status = FAIL > + > + if guest_defined == True: > + cxml.undefine(options.ip) > + > + return status > + > +if __name__ == "__main__": > + sys.exit(main()) > + > diff -r b863f339b41b -r f89fab2298c8 suites/libvirt-cim/lib/XenKvmLib/vsms.py > --- a/suites/libvirt-cim/lib/XenKvmLib/vsms.py Fri Dec 11 16:12:01 2009 -0800 > +++ b/suites/libvirt-cim/lib/XenKvmLib/vsms.py Wed Jan 27 15:04:35 2010 -0800 > @@ -37,6 +37,10 @@ > RASD_TYPE_INPUT = 13 > RASD_TYPE_STOREVOL = 32768 > > +VIRT_DISK_TYPE_DISK = 0 > +VIRT_DISK_TYPE_CDROM = 1 > +VIRT_DISK_TYPE_FLOPPY = 2 > + > VSSD_RECOVERY_NONE = 2 > VSSD_RECOVERY_RESTART = 3 > VSSD_RECOVERY_PRESERVE = 123 > > _______________________________________________ > Libvirt-cim mailing list > Libvirt-cim at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-cim > -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Thu Jan 28 21:53:50 2010 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 28 Jan 2010 13:53:50 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Verify creation of a guest with a floppy device In-Reply-To: <4B614026.40606@linux.vnet.ibm.com> References: <4B614026.40606@linux.vnet.ibm.com> Message-ID: <4B62076E.4000302@linux.vnet.ibm.com> >> + >> + if rasd['EmulatedType'] == VIRT_DISK_TYPE_FLOPPY and \ >> + rasd['InstanceID'].find("Default") >= 0: >> > You could use "Default" in rasd['InstanceID']. That looks much simpler > to understand. Agreed - this is a much cleaner approach. >> + >> + rasd['Address'] = addr >> + rasd_list[rasd.classname] = inst_to_mof(rasd) >> + >> + return rasd_list + >> +def verify_floppy_disk(ip, virt, addr, guest_name): >> + inst = None >> + >> + try: >> + drasd_cn = get_typed_class(virt, >> 'DiskResourceAllocationSettingData') >> + enum_list = EnumInstances(ip, drasd_cn) >> + >> + if enum_list < 1: >> + raise Exception("No %s instances returned" % drasd_cn) >> + >> + for rasd in enum_list: >> + guest, dev, status = parse_instance_id(rasd.InstanceID) >> + if status != PASS: >> + raise Exception("Unable to parse InstanceID: %s" % \ >> + rasd.InstanceID) >> + >> + if guest == guest_name: >> + inst = rasd + break >> + >> + if inst is None: >> + raise Exception("%s instance for %s not found" % >> (drasd_cn, + guest_name)) >> + >> + if inst.Address != addr: >> + raise Exception("%s instance for %s not found" % >> (drasd_cn, + guest_name)) >> > You can combine both the if statements into one as the log message > remains same. > Or if you want you can make the log messages specific to the error type. Good call. Thanks for catching these errors! Sending a new version soon. -- Kaitlin Rupert IBM Linux Technology Center kaitlin at linux.vnet.ibm.com From kaitlin at linux.vnet.ibm.com Thu Jan 28 22:13:45 2010 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 28 Jan 2010 14:13:45 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] #2 Verify creation of a guest with a floppy device Message-ID: <4bd00149b4a04b6c02ef.1264716825@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1264716059 28800 # Node ID 4bd00149b4a04b6c02efda72e3de45a86c806feb # Parent b863f339b41bab9569c8306b804377a99bd3b199 [TEST] #2 Verify creation of a guest with a floppy device Updates: -Fix typo in header comment -Change rasd.['InstanceID'].find("Default") to "Default" is in rasd.['InstanceID'] -Consolidate error conditions into one if statement since the debug message printed is the same Signed-off-by: Kaitlin Rupert diff -r b863f339b41b -r 4bd00149b4a0 suites/libvirt-cim/cimtest/VirtualSystemManagementService/25_definesystem_floppy.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/25_definesystem_floppy.py Thu Jan 28 14:00:59 2010 -0800 @@ -0,0 +1,149 @@ +#!/usr/bin/python +# +# Copyright 2010 IBM Corp. +# +# Authors: +# Kaitlin Rupert +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Purpose: +# Verify providers support floppy devices +# +# Steps: +# 1) Create a guest with a regular disk device and a floppy device +# 2) Build RASD parameters, making sure to specify floppy device +# 3) Verify guest is defined properly +# + +import sys +from CimTest.Globals import logger +from CimTest.ReturnCodes import FAIL, PASS, SKIP +from XenKvmLib.classes import get_typed_class, inst_to_mof +from XenKvmLib.rasd import get_rasd_templates +from XenKvmLib.const import do_main, get_provider_version, \ + KVM_secondary_disk_path, default_pool_name +from XenKvmLib.vxml import get_class +from XenKvmLib.vsms import VIRT_DISK_TYPE_FLOPPY +from XenKvmLib.common_util import parse_instance_id +from XenKvmLib.enumclass import EnumInstances + +sup_types = ['Xen', 'XenFV', 'KVM'] +test_dom = 'rstest_floppy' + +floppy_rev = 1023 + +def get_rasd_list(ip, virt, addr): + drasd_cn = get_typed_class(virt, "DiskResourceAllocationSettingData") + pool_id = "DiskPool/%s" % default_pool_name + + rasds = get_rasd_templates(ip, virt, pool_id) + if len(rasds) < 1: + logger.info("No RASD templates returned for %s", pool_id) + return [] + + rasd_list = {} + + for rasd in rasds: + if rasd.classname != drasd_cn: + continue + + if rasd['EmulatedType'] == VIRT_DISK_TYPE_FLOPPY and \ + "Default" in rasd['InstanceID']: + + rasd['Address'] = addr + rasd_list[rasd.classname] = inst_to_mof(rasd) + + return rasd_list + +def verify_floppy_disk(ip, virt, addr, guest_name): + inst = None + + try: + drasd_cn = get_typed_class(virt, 'DiskResourceAllocationSettingData') + enum_list = EnumInstances(ip, drasd_cn) + + if enum_list < 1: + raise Exception("No %s instances returned" % drasd_cn) + + for rasd in enum_list: + guest, dev, status = parse_instance_id(rasd.InstanceID) + if status != PASS: + raise Exception("Unable to parse InstanceID: %s" % \ + rasd.InstanceID) + + if guest == guest_name: + inst = rasd + break + + if inst is None or inst.Address != addr: + raise Exception("%s instance for %s not found" % (drasd_cn, + guest_name)) + + if inst.EmulatedType != VIRT_DISK_TYPE_FLOPPY: + raise Exception("Expected device to be of %d type" % \ + (VIRT_DISK_TYPE_FLOPPY)) + + except Exception, details: + logger.error(details) + return FAIL + + return PASS + + at do_main(sup_types) +def main(): + options = main.options + + status = FAIL + + curr_cim_rev, changeset = get_provider_version(options.virt, options.ip) + if curr_cim_rev < floppy_rev: + logger.error("Floppy support is available in rev >= %s", floppy_rev) + return SKIP + + cxml = get_class(options.virt)(test_dom) + + addr = KVM_secondary_disk_path + + guest_defined = False + + try: + rasd_list = get_rasd_list(options.ip, options.virt, addr) + if len(rasd_list) < 1: + raise Exception("Unable to get template RASDs for %s" % test_dom) + + cxml.set_res_settings(rasd_list) + ret = cxml.cim_define(options.ip) + if not ret: + raise Exception("Unable to define %s" % test_dom) + + guest_defined = True + + status = verify_floppy_disk(options.ip, options.virt, addr, test_dom) + if status != PASS: + raise Exception("Failed to verify disk path for %s" % test_dom) + + except Exception, details: + logger.error(details) + status = FAIL + + if guest_defined == True: + cxml.undefine(options.ip) + + return status + +if __name__ == "__main__": + sys.exit(main()) + diff -r b863f339b41b -r 4bd00149b4a0 suites/libvirt-cim/lib/XenKvmLib/vsms.py --- a/suites/libvirt-cim/lib/XenKvmLib/vsms.py Fri Dec 11 16:12:01 2009 -0800 +++ b/suites/libvirt-cim/lib/XenKvmLib/vsms.py Thu Jan 28 14:00:59 2010 -0800 @@ -37,6 +37,10 @@ RASD_TYPE_INPUT = 13 RASD_TYPE_STOREVOL = 32768 +VIRT_DISK_TYPE_DISK = 0 +VIRT_DISK_TYPE_CDROM = 1 +VIRT_DISK_TYPE_FLOPPY = 2 + VSSD_RECOVERY_NONE = 2 VSSD_RECOVERY_RESTART = 3 VSSD_RECOVERY_PRESERVE = 123 From kaitlin at linux.vnet.ibm.com Thu Jan 28 23:58:59 2010 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 28 Jan 2010 15:58:59 -0800 Subject: [Libvirt-cim] [PATCH 2 of 3] Add new attribute to hold the name of the net target device In-Reply-To: References: Message-ID: <0273f86ebd7b6e54ec60.1264723139@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1264722331 28800 # Node ID 0273f86ebd7b6e54ec606d0a2a9aa54ce40246f1 # Parent 9532502f5d5e76efa998c4b6c9339cf47f91b914 Add new attribute to hold the name of the net target device VirtualDevice is used, as this is the same attribute used to hold the target device of a disk device. This patch also adds support for representing the target device in the device's RASD. Signed-off-by: Kaitlin Rupert diff -r 9532502f5d5e -r 0273f86ebd7b schema/ResourceAllocationSettingData.mof --- a/schema/ResourceAllocationSettingData.mof Thu Jan 28 15:45:31 2010 -0800 +++ b/schema/ResourceAllocationSettingData.mof Thu Jan 28 15:45:31 2010 -0800 @@ -60,6 +60,8 @@ [Description ("Bridge name")] string NetworkName; + [Description ("Target device as seen by the guest")] + string VirtualDevice; }; [Description ("KVM virtual network configuration"), @@ -74,6 +76,8 @@ [Description ("Bridge name")] string NetworkName; + [Description ("Target device as seen by the guest")] + string VirtualDevice; }; [Description ("LXC virtual network configuration"), @@ -81,6 +85,8 @@ ] class LXC_NetResourceAllocationSettingData : LXC_ResourceAllocationSettingData { + [Description ("Target device as seen by the guest")] + string VirtualDevice; }; [Description ("Xen virtual processor"), diff -r 9532502f5d5e -r 0273f86ebd7b src/Virt_RASD.c --- a/src/Virt_RASD.c Thu Jan 28 15:45:31 2010 -0800 +++ b/src/Virt_RASD.c Thu Jan 28 15:45:31 2010 -0800 @@ -278,6 +278,45 @@ return s; } +static CMPIStatus set_net_rasd_params(const CMPIBroker *broker, + const CMPIObjectPath *ref, + const struct virt_device *dev, + CMPIInstance *inst) +{ + CMPIStatus s = {CMPI_RC_OK, NULL}; + + CMSetProperty(inst, + "NetworkType", + (CMPIValue *)dev->dev.net.type, + CMPI_chars); + + CMSetProperty(inst, + "Address", + (CMPIValue *)dev->dev.net.mac, + CMPI_chars); + + if ((dev->dev.net.source != NULL) && + (STREQ(dev->dev.net.type, "bridge"))) + CMSetProperty(inst, + "NetworkName", + (CMPIValue *)dev->dev.net.source, + CMPI_chars); + + if (dev->dev.net.device != NULL) + CMSetProperty(inst, + "VirtualDevice", + (CMPIValue *)dev->dev.net.device, + CMPI_chars); + + if (dev->dev.net.model != NULL) + CMSetProperty(inst, + "ResourceSubType", + (CMPIValue *)dev->dev.net.model, + CMPI_chars); + + return s; +} + static CMPIStatus set_graphics_rasd_params(const struct virt_device *dev, CMPIInstance *inst, const char *name, @@ -429,27 +468,7 @@ if (dev->type == CIM_RES_TYPE_DISK) { s = set_disk_rasd_params(broker, ref, dev, inst); } else if (dev->type == CIM_RES_TYPE_NET) { - CMSetProperty(inst, - "NetworkType", - (CMPIValue *)dev->dev.net.type, - CMPI_chars); - CMSetProperty(inst, - "Address", - (CMPIValue *)dev->dev.net.mac, - CMPI_chars); - - if ((dev->dev.net.source != NULL) - && (STREQ(dev->dev.net.type, "bridge"))) - CMSetProperty(inst, - "NetworkName", - (CMPIValue *)dev->dev.net.source, - CMPI_chars); - - if (dev->dev.net.model != NULL) - CMSetProperty(inst, - "ResourceSubType", - (CMPIValue *)dev->dev.net.model, - CMPI_chars); + s = set_net_rasd_params(broker, ref, dev, inst); } else if (dev->type == CIM_RES_TYPE_MEM) { const char *units = "KiloBytes"; From kaitlin at linux.vnet.ibm.com Thu Jan 28 23:58:57 2010 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 28 Jan 2010 15:58:57 -0800 Subject: [Libvirt-cim] [PATCH 0 of 3] Add support for setting nic target device Message-ID: Per the libvirt documentation, users can specify a network interface's target device. If one isn't provided, libvirt will set one automatically. So this is optional setting. Also per the documentation, a target device name cannot start with 'vnet' or 'vif'. These values are reserved. A corresponding test case is also being submitted. From kaitlin at linux.vnet.ibm.com Thu Jan 28 23:59:00 2010 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 28 Jan 2010 15:59:00 -0800 Subject: [Libvirt-cim] [PATCH 3 of 3] Add support for defining a net device with the target device set In-Reply-To: References: Message-ID: <5b37fac8372729a7da98.1264723140@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1264722331 28800 # Node ID 5b37fac8372729a7da9817a8fc0661159fc710b8 # Parent 0273f86ebd7b6e54ec606d0a2a9aa54ce40246f1 Add support for defining a net device with the target device set Also provide template RASDs with the VirtualDevice attribute exposed. Signed-off-by: Kaitlin Rupert diff -r 0273f86ebd7b -r 5b37fac83727 src/Virt_SettingsDefineCapabilities.c --- a/src/Virt_SettingsDefineCapabilities.c Thu Jan 28 15:45:31 2010 -0800 +++ b/src/Virt_SettingsDefineCapabilities.c Thu Jan 28 15:45:31 2010 -0800 @@ -546,6 +546,7 @@ const char *net_type, const char *net_name, uint64_t num_nics, + const char *device, const char *model, struct inst_list *list) { @@ -565,6 +566,10 @@ (CMPIValue *)&num_nics, CMPI_uint64); if (model != NULL) + CMSetProperty(inst, "VirtualDevice", + (CMPIValue *)device, CMPI_chars); + + if (model != NULL) CMSetProperty(inst, "ResourceSubType", (CMPIValue *)model, CMPI_chars); @@ -584,6 +589,7 @@ CMPIStatus s = {CMPI_RC_OK, NULL}; int i,j; const char *type[] = {"network", "bridge", "user"}; + const char *device[] = {"vtap1", NULL}; const char *model[] = {"e1000", NULL}; const char *name[] = {NULL, "br0", NULL}; @@ -622,6 +628,7 @@ type[i], name[i], num_nics, + device[j], model[j], list); if (s.rc != CMPI_RC_OK) diff -r 0273f86ebd7b -r 5b37fac83727 src/Virt_VirtualSystemManagementService.c --- a/src/Virt_VirtualSystemManagementService.c Thu Jan 28 15:45:31 2010 -0800 +++ b/src/Virt_VirtualSystemManagementService.c Thu Jan 28 15:45:31 2010 -0800 @@ -752,6 +752,13 @@ dev->dev.net.type = strdup(USER_TYPE); } else return "Invalid Network Type specified"; + + free(dev->dev.net.device); + if (cu_get_str_prop(inst, "VirtualDevice", &val) != CMPI_RC_OK) + dev->dev.net.device = NULL; + else + dev->dev.net.device = strdup(val); + free(dev->dev.net.model); if (cu_get_str_prop(inst, "ResourceSubType", &val) != CMPI_RC_OK) From kaitlin at linux.vnet.ibm.com Thu Jan 28 23:58:58 2010 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 28 Jan 2010 15:58:58 -0800 Subject: [Libvirt-cim] [PATCH 1 of 3] Add new device field to net device struct In-Reply-To: References: Message-ID: <9532502f5d5e76efa998.1264723138@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1264722331 28800 # Node ID 9532502f5d5e76efa998c4b6c9339cf47f91b914 # Parent b57ba34c0932d77e11f65282dec5c2094d6ba818 Add new device field to net device struct This field will be used to hold the target device of the network interface device. This patch also includes support for parsing a guest XML to get an already defined target device, as well as code for generating XML with a target device specified. Signed-off-by: Kaitlin Rupert diff -r b57ba34c0932 -r 9532502f5d5e libxkutil/device_parsing.c --- a/libxkutil/device_parsing.c Wed Jan 13 12:45:15 2010 -0800 +++ b/libxkutil/device_parsing.c Thu Jan 28 15:45:31 2010 -0800 @@ -64,6 +64,7 @@ free(dev->mac); free(dev->source); free(dev->model); + free(dev->device); } static void cleanup_emu_device(struct emu_device *dev) @@ -311,6 +312,10 @@ if (ndev->source != NULL) continue; goto err; + } else if (XSTREQ(child->name, "target")) { + ndev->device = get_attr_value(child, "dev"); + if (ndev->device == NULL) + goto err; } else if (XSTREQ(child->name, "model")) { ndev->model = get_attr_value(child, "type"); if (ndev->model == NULL) @@ -660,6 +665,7 @@ DUP_FIELD(dev, _dev, dev.net.type); DUP_FIELD(dev, _dev, dev.net.source); DUP_FIELD(dev, _dev, dev.net.model); + DUP_FIELD(dev, _dev, dev.net.device); } else if (dev->type == CIM_RES_TYPE_DISK) { DUP_FIELD(dev, _dev, dev.disk.type); DUP_FIELD(dev, _dev, dev.disk.device); diff -r b57ba34c0932 -r 9532502f5d5e libxkutil/device_parsing.h --- a/libxkutil/device_parsing.h Wed Jan 13 12:45:15 2010 -0800 +++ b/libxkutil/device_parsing.h Thu Jan 28 15:45:31 2010 -0800 @@ -50,6 +50,7 @@ char *mac; char *source; char *model; + char *device; }; struct mem_device { diff -r b57ba34c0932 -r 9532502f5d5e libxkutil/xmlgen.c --- a/libxkutil/xmlgen.c Wed Jan 13 12:45:15 2010 -0800 +++ b/libxkutil/xmlgen.c Thu Jan 28 15:45:31 2010 -0800 @@ -217,6 +217,14 @@ return XML_ERROR; xmlNewProp(tmp, BAD_CAST "address", BAD_CAST net->mac); + if (net->device != NULL) { + tmp = xmlNewChild(nic, NULL, BAD_CAST "target", NULL); + if (tmp == NULL) + return XML_ERROR; + xmlNewProp(tmp, BAD_CAST "dev", BAD_CAST net->device); + } + + if (net->model != NULL) { tmp = xmlNewChild(nic, NULL, BAD_CAST "model", NULL); if (tmp == NULL) From kaitlin at linux.vnet.ibm.com Fri Jan 29 00:03:58 2010 From: kaitlin at linux.vnet.ibm.com (Kaitlin Rupert) Date: Thu, 28 Jan 2010 16:03:58 -0800 Subject: [Libvirt-cim] [PATCH] [TEST] Verify that user can specify target dev for network interfaces Message-ID: <9affcdf0161c46cabf18.1264723438@elm3b41.beaverton.ibm.com> # HG changeset patch # User Kaitlin Rupert # Date 1264722478 28800 # Node ID 9affcdf0161c46cabf18da29f5c9f209d68d9f7b # Parent 4bd00149b4a04b6c02efda72e3de45a86c806feb [TEST] Verify that user can specify target dev for network interfaces Signed-off-by: Kaitlin Rupert diff -r 4bd00149b4a0 -r 9affcdf0161c suites/libvirt-cim/cimtest/VirtualSystemManagementService/26_definesystem_nic_dev.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/26_definesystem_nic_dev.py Thu Jan 28 15:47:58 2010 -0800 @@ -0,0 +1,141 @@ +#!/usr/bin/python +# +# Copyright 2010 IBM Corp. +# +# Authors: +# Kaitlin Rupert +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Purpose: +# Verify provider's support for specifying the target device for vNICs +# +# Steps: +# 1) Build RASD parameters, making sure to specify target device for network +# interface +# 2) Create guest +# 3) Verify guest is defined properly +# + +import sys +from CimTest.Globals import logger +from CimTest.ReturnCodes import FAIL, PASS, SKIP +from XenKvmLib.classes import get_typed_class, inst_to_mof +from XenKvmLib.rasd import get_default_rasds +from XenKvmLib.const import do_main, get_provider_version +from XenKvmLib.vxml import get_class +from XenKvmLib.common_util import parse_instance_id +from XenKvmLib.enumclass import EnumInstances + +sup_types = ['Xen', 'XenFV', 'KVM'] +test_dom = 'rstest_nic' + +target_dev_rev = 1026 + +def get_rasd_list(ip, virt, target_dev): + nrasd_cn = get_typed_class(virt, "NetResourceAllocationSettingData") + + rasds = get_default_rasds(ip, virt) + + rasd_list = {} + + for rasd in rasds: + if rasd.classname == nrasd_cn and "Default" in rasd['InstanceID']: + + rasd['VirtualDevice'] = target_dev + + rasd_list[rasd.classname] = inst_to_mof(rasd) + + return rasd_list + +def verify_net_rasd(ip, virt, target_dev, guest_name): + inst = None + + try: + nrasd_cn = get_typed_class(virt, 'NetResourceAllocationSettingData') + enum_list = EnumInstances(ip, nrasd_cn) + + if enum_list < 1: + raise Exception("No %s instances returned" % nrasd_cn) + + for rasd in enum_list: + guest, dev, status = parse_instance_id(rasd.InstanceID) + if status != PASS: + raise Exception("Unable to parse InstanceID: %s" % \ + rasd.InstanceID) + + if guest == guest_name: + inst = rasd + break + + if inst is None: + raise Exception("%s instance for %s not found" % (nrasd_cn, + guest_name)) + + if inst.VirtualDevice != target_dev: + raise Exception("Expected VirtualDevice to be %s" % target_dev) + + except Exception, details: + logger.error(details) + return FAIL + + return PASS + + at do_main(sup_types) +def main(): + options = main.options + + status = FAIL + + curr_cim_rev, changeset = get_provider_version(options.virt, options.ip) + if curr_cim_rev < target_dev_rev: + logger.error("Network interface target device support is available" \ + " in rev >= %s", target_dev_rev) + return SKIP + + cxml = get_class(options.virt)(test_dom) + + target_dev = "vtap7" + + guest_defined = False + + try: + rasd_list = get_rasd_list(options.ip, options.virt, target_dev) + if len(rasd_list) < 1: + raise Exception("Unable to get template RASDs for %s" % test_dom) + + cxml.set_res_settings(rasd_list) + ret = cxml.cim_define(options.ip) + if not ret: + raise Exception("Unable to define %s" % test_dom) + + guest_defined = True + + status = verify_net_rasd(options.ip, options.virt, target_dev, test_dom) + if status != PASS: + raise Exception("Failed to net interface for %s" % test_dom) + + except Exception, details: + logger.error(details) + status = FAIL + + if guest_defined == True: + cxml.undefine(options.ip) + + return status + +if __name__ == "__main__": + sys.exit(main()) + From deeptik at linux.vnet.ibm.com Fri Jan 29 08:36:03 2010 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Fri, 29 Jan 2010 14:06:03 +0530 Subject: [Libvirt-cim] [PATCH] [TEST] #2 Verify creation of a guest with a floppy device In-Reply-To: <4bd00149b4a04b6c02ef.1264716825@elm3b41.beaverton.ibm.com> References: <4bd00149b4a04b6c02ef.1264716825@elm3b41.beaverton.ibm.com> Message-ID: <4B629DF3.2080806@linux.vnet.ibm.com> +1 -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From deeptik at linux.vnet.ibm.com Fri Jan 29 09:28:59 2010 From: deeptik at linux.vnet.ibm.com (Deepti B Kalakeri) Date: Fri, 29 Jan 2010 14:58:59 +0530 Subject: [Libvirt-cim] [PATCH] [TEST] Verify that user can specify target dev for network interfaces In-Reply-To: <9affcdf0161c46cabf18.1264723438@elm3b41.beaverton.ibm.com> References: <9affcdf0161c46cabf18.1264723438@elm3b41.beaverton.ibm.com> Message-ID: <4B62AA5B.509@linux.vnet.ibm.com> Kaitlin Rupert wrote: > # HG changeset patch > # User Kaitlin Rupert > # Date 1264722478 28800 > # Node ID 9affcdf0161c46cabf18da29f5c9f209d68d9f7b > # Parent 4bd00149b4a04b6c02efda72e3de45a86c806feb > [TEST] Verify that user can specify target dev for network interfaces > > Signed-off-by: Kaitlin Rupert > > diff -r 4bd00149b4a0 -r 9affcdf0161c suites/libvirt-cim/cimtest/VirtualSystemManagementService/26_definesystem_nic_dev.py > --- /dev/null Thu Jan 01 00:00:00 1970 +0000 > +++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/26_definesystem_nic_dev.py Thu Jan 28 15:47:58 2010 -0800 > @@ -0,0 +1,141 @@ > +#!/usr/bin/python > +# > +# Copyright 2010 IBM Corp. > +# > +# Authors: > +# Kaitlin Rupert > +# > +# This library is free software; you can redistribute it and/or > +# modify it under the terms of the GNU General Public > +# License as published by the Free Software Foundation; either > +# version 2.1 of the License, or (at your option) any later version. > +# > +# This library is distributed in the hope that it will be useful, > +# but WITHOUT ANY WARRANTY; without even the implied warranty of > +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > +# General Public License for more details. > +# > +# You should have received a copy of the GNU General Public > +# License along with this library; if not, write to the Free Software > +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > +# > +# Purpose: > +# Verify provider's support for specifying the target device for vNICs > +# > +# Steps: > +# 1) Build RASD parameters, making sure to specify target device for network > +# interface > +# 2) Create guest > +# 3) Verify guest is defined properly > +# > + > +import sys > +from CimTest.Globals import logger > +from CimTest.ReturnCodes import FAIL, PASS, SKIP > +from XenKvmLib.classes import get_typed_class, inst_to_mof > +from XenKvmLib.rasd import get_default_rasds > +from XenKvmLib.const import do_main, get_provider_version > +from XenKvmLib.vxml import get_class > +from XenKvmLib.common_util import parse_instance_id > +from XenKvmLib.enumclass import EnumInstances > + > +sup_types = ['Xen', 'XenFV', 'KVM'] > +test_dom = 'rstest_nic' > + > +target_dev_rev = 1026 > + > +def get_rasd_list(ip, virt, target_dev): > + nrasd_cn = get_typed_class(virt, "NetResourceAllocationSettingData") > + > + rasds = get_default_rasds(ip, virt) > + > + rasd_list = {} > + > + for rasd in rasds: > + if rasd.classname == nrasd_cn and "Default" in rasd['InstanceID']: > + > + rasd['VirtualDevice'] = target_dev > + > + rasd_list[rasd.classname] = inst_to_mof(rasd) > + > + return rasd_list > + > +def verify_net_rasd(ip, virt, target_dev, guest_name): > + inst = None > + > + try: > + nrasd_cn = get_typed_class(virt, 'NetResourceAllocationSettingData') > + enum_list = EnumInstances(ip, nrasd_cn) > + > + if enum_list < 1: > + raise Exception("No %s instances returned" % nrasd_cn) > + > + for rasd in enum_list: > + guest, dev, status = parse_instance_id(rasd.InstanceID) > + if status != PASS: > + raise Exception("Unable to parse InstanceID: %s" % \ > + rasd.InstanceID) > + > + if guest == guest_name: > + inst = rasd > + break > + > + if inst is None: > + raise Exception("%s instance for %s not found" % (nrasd_cn, > + guest_name)) > + > + if inst.VirtualDevice != target_dev: > + raise Exception("Expected VirtualDevice to be %s" % target_dev) > + > + except Exception, details: > + logger.error(details) > + return FAIL > + > + return PASS > + > + at do_main(sup_types) > +def main(): > + options = main.options > + > + status = FAIL > + > + curr_cim_rev, changeset = get_provider_version(options.virt, options.ip) > + if curr_cim_rev < target_dev_rev: > + logger.error("Network interface target device support is available" \ > + " in rev >= %s", target_dev_rev) > + return SKIP > + > + cxml = get_class(options.virt)(test_dom) > + > + target_dev = "vtap7" > We can use a random number in the name here. We cannot create 2 guests which use the same target device name. The test would have failed had we tried to start the guest with an error similar to the one below: libvir: QEMU error : Failed to add tap interface 'vtap7' to bridge 'testbridge3': Device or resource busy Can we also start the guest in the test case instead of just defining the guest ? > + > + guest_defined = False > + > + try: > + rasd_list = get_rasd_list(options.ip, options.virt, target_dev) > + if len(rasd_list) < 1: > + raise Exception("Unable to get template RASDs for %s" % test_dom) > + > + cxml.set_res_settings(rasd_list) > + ret = cxml.cim_define(options.ip) > + if not ret: > + raise Exception("Unable to define %s" % test_dom) > + > + guest_defined = True > + > + status = verify_net_rasd(options.ip, options.virt, target_dev, test_dom) > + if status != PASS: > + raise Exception("Failed to net interface for %s" % test_dom) > small typo, "Failed to net" should have been "Failed to add net" > + > + except Exception, details: > + logger.error(details) > + status = FAIL > + > + if guest_defined == True: > + cxml.undefine(options.ip) > + > + return status > + > +if __name__ == "__main__": > + sys.exit(main()) > + > > _______________________________________________ > Libvirt-cim mailing list > Libvirt-cim at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-cim > -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik at linux.vnet.ibm.com From snmishra at us.ibm.com Sun Jan 31 20:18:34 2010 From: snmishra at us.ibm.com (Sharad Mishra) Date: Sun, 31 Jan 2010 12:18:34 -0800 Subject: [Libvirt-cim] [PATCH 1 of 3] Add new device field to net device struct In-Reply-To: <9532502f5d5e76efa998.1264723138@elm3b41.beaverton.ibm.com> References: <9532502f5d5e76efa998.1264723138@elm3b41.beaverton.ibm.com> Message-ID: +1 Sharad Mishra System x Enablement Linux Technology Center IBM Kaitlin Rupert To Sent by: libvirt-cim at redhat.com libvirt-cim-bounc cc es at redhat.com Subject [Libvirt-cim] [PATCH 1 of 3] Add 01/28/2010 03:58 new device field to net device PM struct Please respond to List for discussion and development of libvirt CIM # HG changeset patch # User Kaitlin Rupert # Date 1264722331 28800 # Node ID 9532502f5d5e76efa998c4b6c9339cf47f91b914 # Parent b57ba34c0932d77e11f65282dec5c2094d6ba818 Add new device field to net device struct This field will be used to hold the target device of the network interface device. This patch also includes support for parsing a guest XML to get an already defined target device, as well as code for generating XML with a target device specified. Signed-off-by: Kaitlin Rupert diff -r b57ba34c0932 -r 9532502f5d5e libxkutil/device_parsing.c --- a/libxkutil/device_parsing.c Wed Jan 13 12:45:15 2010 -0800 +++ b/libxkutil/device_parsing.c Thu Jan 28 15:45:31 2010 -0800 @@ -64,6 +64,7 @@ free(dev->mac); free(dev->source); free(dev->model); + free(dev->device); } static void cleanup_emu_device(struct emu_device *dev) @@ -311,6 +312,10 @@ if (ndev->source != NULL) continue; goto err; + } else if (XSTREQ(child->name, "target")) { + ndev->device = get_attr_value(child, "dev"); + if (ndev->device == NULL) + goto err; } else if (XSTREQ(child->name, "model")) { ndev->model = get_attr_value(child, "type"); if (ndev->model == NULL) @@ -660,6 +665,7 @@ DUP_FIELD(dev, _dev, dev.net.type); DUP_FIELD(dev, _dev, dev.net.source); DUP_FIELD(dev, _dev, dev.net.model); + DUP_FIELD(dev, _dev, dev.net.device); } else if (dev->type == CIM_RES_TYPE_DISK) { DUP_FIELD(dev, _dev, dev.disk.type); DUP_FIELD(dev, _dev, dev.disk.device); diff -r b57ba34c0932 -r 9532502f5d5e libxkutil/device_parsing.h --- a/libxkutil/device_parsing.h Wed Jan 13 12:45:15 2010 -0800 +++ b/libxkutil/device_parsing.h Thu Jan 28 15:45:31 2010 -0800 @@ -50,6 +50,7 @@ char *mac; char *source; char *model; + char *device; }; struct mem_device { diff -r b57ba34c0932 -r 9532502f5d5e libxkutil/xmlgen.c --- a/libxkutil/xmlgen.c Wed Jan 13 12:45:15 2010 -0800 +++ b/libxkutil/xmlgen.c Thu Jan 28 15:45:31 2010 -0800 @@ -217,6 +217,14 @@ return XML_ERROR; xmlNewProp(tmp, BAD_CAST "address", BAD_CAST net->mac); + if (net->device != NULL) { + tmp = xmlNewChild(nic, NULL, BAD_CAST "target", NULL); + if (tmp == NULL) + return XML_ERROR; + xmlNewProp(tmp, BAD_CAST "dev", BAD_CAST net-> device); + } + + if (net->model != NULL) { tmp = xmlNewChild(nic, NULL, BAD_CAST "model", NULL); if (tmp == NULL) _______________________________________________ Libvirt-cim mailing list Libvirt-cim at redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: graycol.gif Type: image/gif Size: 105 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pic30725.gif Type: image/gif Size: 1255 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ecblank.gif Type: image/gif Size: 45 bytes Desc: not available URL: From snmishra at us.ibm.com Sun Jan 31 20:19:10 2010 From: snmishra at us.ibm.com (Sharad Mishra) Date: Sun, 31 Jan 2010 12:19:10 -0800 Subject: [Libvirt-cim] [PATCH 2 of 3] Add new attribute to hold the name of the net target device In-Reply-To: <0273f86ebd7b6e54ec60.1264723139@elm3b41.beaverton.ibm.com> References: <0273f86ebd7b6e54ec60.1264723139@elm3b41.beaverton.ibm.com> Message-ID: +1 Sharad Mishra System x Enablement Linux Technology Center IBM Kaitlin Rupert To Sent by: libvirt-cim at redhat.com libvirt-cim-bounc cc es at redhat.com Subject [Libvirt-cim] [PATCH 2 of 3] Add 01/28/2010 03:58 new attribute to hold the name of PM the net target device Please respond to List for discussion and development of libvirt CIM # HG changeset patch # User Kaitlin Rupert # Date 1264722331 28800 # Node ID 0273f86ebd7b6e54ec606d0a2a9aa54ce40246f1 # Parent 9532502f5d5e76efa998c4b6c9339cf47f91b914 Add new attribute to hold the name of the net target device VirtualDevice is used, as this is the same attribute used to hold the target device of a disk device. This patch also adds support for representing the target device in the device's RASD. Signed-off-by: Kaitlin Rupert diff -r 9532502f5d5e -r 0273f86ebd7b schema/ResourceAllocationSettingData.mof --- a/schema/ResourceAllocationSettingData.mof Thu Jan 28 15:45:31 2010 -0800 +++ b/schema/ResourceAllocationSettingData.mof Thu Jan 28 15:45:31 2010 -0800 @@ -60,6 +60,8 @@ [Description ("Bridge name")] string NetworkName; + [Description ("Target device as seen by the guest")] + string VirtualDevice; }; [Description ("KVM virtual network configuration"), @@ -74,6 +76,8 @@ [Description ("Bridge name")] string NetworkName; + [Description ("Target device as seen by the guest")] + string VirtualDevice; }; [Description ("LXC virtual network configuration"), @@ -81,6 +85,8 @@ ] class LXC_NetResourceAllocationSettingData : LXC_ResourceAllocationSettingData { + [Description ("Target device as seen by the guest")] + string VirtualDevice; }; [Description ("Xen virtual processor"), diff -r 9532502f5d5e -r 0273f86ebd7b src/Virt_RASD.c --- a/src/Virt_RASD.c Thu Jan 28 15:45:31 2010 -0800 +++ b/src/Virt_RASD.c Thu Jan 28 15:45:31 2010 -0800 @@ -278,6 +278,45 @@ return s; } +static CMPIStatus set_net_rasd_params(const CMPIBroker *broker, + const CMPIObjectPath *ref, + const struct virt_device *dev, + CMPIInstance *inst) +{ + CMPIStatus s = {CMPI_RC_OK, NULL}; + + CMSetProperty(inst, + "NetworkType", + (CMPIValue *)dev->dev.net.type, + CMPI_chars); + + CMSetProperty(inst, + "Address", + (CMPIValue *)dev->dev.net.mac, + CMPI_chars); + + if ((dev->dev.net.source != NULL) && + (STREQ(dev->dev.net.type, "bridge"))) + CMSetProperty(inst, + "NetworkName", + (CMPIValue *)dev->dev.net.source, + CMPI_chars); + + if (dev->dev.net.device != NULL) + CMSetProperty(inst, + "VirtualDevice", + (CMPIValue *)dev->dev.net.device, + CMPI_chars); + + if (dev->dev.net.model != NULL) + CMSetProperty(inst, + "ResourceSubType", + (CMPIValue *)dev->dev.net.model, + CMPI_chars); + + return s; +} + static CMPIStatus set_graphics_rasd_params(const struct virt_device *dev, CMPIInstance *inst, const char *name, @@ -429,27 +468,7 @@ if (dev->type == CIM_RES_TYPE_DISK) { s = set_disk_rasd_params(broker, ref, dev, inst); } else if (dev->type == CIM_RES_TYPE_NET) { - CMSetProperty(inst, - "NetworkType", - (CMPIValue *)dev->dev.net.type, - CMPI_chars); - CMSetProperty(inst, - "Address", - (CMPIValue *)dev->dev.net.mac, - CMPI_chars); - - if ((dev->dev.net.source != NULL) - && (STREQ(dev->dev.net.type, "bridge"))) - CMSetProperty(inst, - "NetworkName", - (CMPIValue *)dev->dev.net.source, - CMPI_chars); - - if (dev->dev.net.model != NULL) - CMSetProperty(inst, - "ResourceSubType", - (CMPIValue *)dev->dev.net.model, - CMPI_chars); + s = set_net_rasd_params(broker, ref, dev, inst); } else if (dev->type == CIM_RES_TYPE_MEM) { const char *units = "KiloBytes"; _______________________________________________ Libvirt-cim mailing list Libvirt-cim at redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: graycol.gif Type: image/gif Size: 105 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pic14249.gif Type: image/gif Size: 1255 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ecblank.gif Type: image/gif Size: 45 bytes Desc: not available URL: From snmishra at us.ibm.com Sun Jan 31 20:19:35 2010 From: snmishra at us.ibm.com (Sharad Mishra) Date: Sun, 31 Jan 2010 12:19:35 -0800 Subject: [Libvirt-cim] [PATCH 3 of 3] Add support for defining a net device with the target device set In-Reply-To: <5b37fac8372729a7da98.1264723140@elm3b41.beaverton.ibm.com> References: <5b37fac8372729a7da98.1264723140@elm3b41.beaverton.ibm.com> Message-ID: +1 Sharad Mishra System x Enablement Linux Technology Center IBM Kaitlin Rupert , To Sent by: libvirt-cim at redhat.com libvirt-cim-bounc cc es at redhat.com Subject [Libvirt-cim] [PATCH 3 of 3] Add 01/28/2010 03:59 support for defining a net device PM with the target device set Please respond to List for discussion and development of libvirt CIM # HG changeset patch # User Kaitlin Rupert # Date 1264722331 28800 # Node ID 5b37fac8372729a7da9817a8fc0661159fc710b8 # Parent 0273f86ebd7b6e54ec606d0a2a9aa54ce40246f1 Add support for defining a net device with the target device set Also provide template RASDs with the VirtualDevice attribute exposed. Signed-off-by: Kaitlin Rupert diff -r 0273f86ebd7b -r 5b37fac83727 src/Virt_SettingsDefineCapabilities.c --- a/src/Virt_SettingsDefineCapabilities.c Thu Jan 28 15:45:31 2010 -0800 +++ b/src/Virt_SettingsDefineCapabilities.c Thu Jan 28 15:45:31 2010 -0800 @@ -546,6 +546,7 @@ const char *net_type, const char *net_name, uint64_t num_nics, + const char *device, const char *model, struct inst_list *list) { @@ -565,6 +566,10 @@ (CMPIValue *)&num_nics, CMPI_uint64); if (model != NULL) + CMSetProperty(inst, "VirtualDevice", + (CMPIValue *)device, CMPI_chars); + + if (model != NULL) CMSetProperty(inst, "ResourceSubType", (CMPIValue *)model, CMPI_chars); @@ -584,6 +589,7 @@ CMPIStatus s = {CMPI_RC_OK, NULL}; int i,j; const char *type[] = {"network", "bridge", "user"}; + const char *device[] = {"vtap1", NULL}; const char *model[] = {"e1000", NULL}; const char *name[] = {NULL, "br0", NULL}; @@ -622,6 +628,7 @@ type[i], name[i], num_nics, + device[j], model[j], list); if (s.rc != CMPI_RC_OK) diff -r 0273f86ebd7b -r 5b37fac83727 src/Virt_VirtualSystemManagementService.c --- a/src/Virt_VirtualSystemManagementService.c Thu Jan 28 15:45:31 2010 -0800 +++ b/src/Virt_VirtualSystemManagementService.c Thu Jan 28 15:45:31 2010 -0800 @@ -752,6 +752,13 @@ dev->dev.net.type = strdup(USER_TYPE); } else return "Invalid Network Type specified"; + + free(dev->dev.net.device); + if (cu_get_str_prop(inst, "VirtualDevice", &val) != CMPI_RC_OK) + dev->dev.net.device = NULL; + else + dev->dev.net.device = strdup(val); + free(dev->dev.net.model); if (cu_get_str_prop(inst, "ResourceSubType", &val) != CMPI_RC_OK) _______________________________________________ Libvirt-cim mailing list Libvirt-cim at redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: graycol.gif Type: image/gif Size: 105 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pic28337.gif Type: image/gif Size: 1255 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ecblank.gif Type: image/gif Size: 45 bytes Desc: not available URL: