I have run cimtest with these 12 patches and they solved most of bugs before.
However, I found some new FAIL cases.
1.
--------------------------------------------------------------------
HostSystem - 01_enum.py: FAIL
ERROR - Exp KVM_HostSystem, got KVM_HostSystem
ERROR - Exp localhost, got RH64wenchao
CIM_ERR_INVALID_CLASS: Linux_ComputerSystem
--------------------------------------------------------------------
HostSystem - 03_hs_to_settdefcap.py: FAIL
ERROR - Hostname mismatch
--------------------------------------------------------------------
Hostname mismatch because cimtest match localhost with RH64wenchao...
Could you find out what cause it and fix it?
2.
--------------------------------------------------------------------
SwitchService - 01_enum.py: XFAIL
Please check if this is the expected result ---
*** VSI NOT supported ***
--------------------------------------------------------------------
Why XFAIL but not SKIP here? My computer does not support it.
3.
--------------------------------------------------------------------
VirtualSystemManagementService - 22_addmulti_brg_interface.py: XFAIL
ERROR - (1, u"CIM_ERR_FAILED: Unable to change (0) device: internal
error unable to execute QEMU command 'device_add': Bus 'pci.0' does not
support hotplugging")
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: internal error unable to execute QEMU command 'device_add': Bus
'pci.0' does not support hotplugging
Bug:<00015>
--------------------------------------------------------------------
VirtualSystemManagementService - 30_dynamic_disk_mod.py: XFAIL
ERROR - (1, u"CIM_ERR_FAILED: Unable to change (0) device: internal
error unable to execute QEMU command 'device_add': Bus 'pci.0' does not
support hotplugging")
ERROR - Error invoking AddRS: add_disk_res
ERROR - AddResourceSettings call failed
InvokeMethod(AddResourceSettings): CIM_ERR_FAILED: Unable to change (0)
device: internal error unable to execute QEMU command 'device_add': Bus
'pci.0' does not support hotplugging
--------------------------------------------------------------------
I am sorry I don't clear what caused it.
4.
--------------------------------------------------------------------
VirtualSystemManagementService - 27_definesystem_macvtap_dev.py: FAIL
ERROR - Got CIM error CIM_ERR_FAILED: Unable to start domain: Unable
to get index for interface eth1: No such device with return code 1
ERROR - Unable to start rstest_nic
InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to start domain:
Unable to get index for interface eth1: No such device
--------------------------------------------------------------------
VirtualSystemManagementService - 28_definesystem_with_vsi_profile.py: XFAIL
ERROR - Got CIM error CIM_ERR_FAILED: Unable to start domain: Unable
to get index for interface eth1: No such device with return code 1
ERROR - Unable to start VM *** Is VSI support available on this host? ***
InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to start domain:
Unable to get index for interface eth1: No such device
--------------------------------------------------------------------
This FAIL happens because there is no eth1 interface on my computer. The name
of my network interface is "eth3". So I think it had better list all network
interfaces and pick available one for testing. For multicard machine there are
some rule to choice one or...configure it manually?
> From: jferlan@redhat.com
> To: libvirt-cim@redhat.com
> Date: Wed, 24 Apr 2013 10:09:02 -0400
> Subject: [Libvirt-cim] [PATCH v2 00/12] cimtest updates
>
> This is primarily a repost of the previous series:
>
> https://www.redhat.com/archives/libvirt-cim/2013-March/msg00051.html
>
> and
>
> https://www.redhat.com/archives/libvirt-cim/2013-April/msg00014.html
>
> The primary difference in this patch vs. the previous sets is to fix the
> version string checking for nfs server checking in common_util.py and to
> add patch 12/12 which handles a problem in 'enum_volumes()' in pool.py.
>
> I assume patches 1-4 and 6-9 were reviewed without issue. So focus on 5/12
> and 10-12/12.
>
>
> John Ferlan (12):
> Need to check "slp=true", not just "slp" since "slp=false" is possible
> Change the MAC from "99:" to "88:"
> Create a temporary directory for disk pool tests
> Use symbols as named in libvirt-cim for easier reference
> Fix nfs-server lookup code
> Fix os_status passing to reporter functions
> Resolve issues found in test.
> On Fedora systems default to using 'em1' instead of 'eth1'
> 19 - resolve issues found in test
> vxml: Add which volume could not be found to error message
> Add and utilize virsh_version_cmp
> pool: Need to handle when there are no volumes in the default pool
>
> .../Profile/04_verify_libvirt_cim_slp_profiles.py | 2 +-
> .../08_CreateDiskResourcePool.py | 30 +++++--
> .../09_DeleteDiskPool.py | 19 +++--
> .../10_create_storagevolume.py | 6 +-
> .../11_create_dir_storagevolume_errs.py | 5 +-
> .../12_create_netfs_storagevolume_errs.py | 5 +-
> .../13_delete_storagevolume.py | 5 +-
> .../14_delete_storagevolume_errs.py | 5 +-
> .../15_DiskPoolAutostart.py | 15 +++-
> .../SettingsDefineCapabilities/01_forward.py | 1 -
> .../libvirt-cim/cimtest/VSSD/06_duplicate_uuid.py | 2 +-
> .../06_addresource.py | 2 +-
> .../08_modifyresource.py | 4 +-
> .../13_refconfig_additional_devs.py | 4 +-
> .../15_mod_system_settings.py | 11 ++-
> .../18_define_sys_bridge.py | 2 +-
> .../19_definenetwork_ers.py | 23 +++---
> .../22_addmulti_brg_interface.py | 2 +-
> .../27_definesystem_macvtap_dev.py | 19 ++++-
> .../28_definesystem_with_vsi_profile.py | 15 ++++
> suites/libvirt-cim/lib/XenKvmLib/common_util.py | 93 +++++++++++++++++-----
> suites/libvirt-cim/lib/XenKvmLib/const.py | 6 +-
> suites/libvirt-cim/lib/XenKvmLib/pool.py | 10 +--
> suites/libvirt-cim/lib/XenKvmLib/rasd.py | 10 ++-
> suites/libvirt-cim/lib/XenKvmLib/test_xml.py | 2 +-
> suites/libvirt-cim/lib/XenKvmLib/vxml.py | 4 +-
> suites/libvirt-cim/lib/XenKvmLib/xm_virt_util.py | 6 ++
> suites/libvirt-cim/main.py | 15 ++++
> 28 files changed, 237 insertions(+), 86 deletions(-)
>
> --
> 1.8.1.4
>
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim@redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim