[edit]
To -Do List
[edit]
Items to Fix / Add
- Be able to call cxml.cim_start(), etc
- Remove any FIXMEs
- Have main.py use root/virt has default namespace if one isn't supplied
- Verify we support hardware accelerated KVM in cimtest.
- Add flag that takes CIMOM type. Also add logic to test either types of EOs depending on the CIMOM type (SFCB with patch will send XML style EOs)
- Remove def poll_for_enabledstate_value() from tests and replace with generic function
- Add cimtest revision and add revision support to test reporting
- Update SystemDevice 01_forward.py to use cim_start and also update it to verify Network information for LXC.
- Add a way of checking to see if the classname(s) of a test case are registered before running the test. If the classnames aren't registered, the test is skipped and an error message is printed indicating the classname is not registered. This can be done using pywbem's GetClass() call.
[edit]
New Test Case Ideas
- SettingsDefineState between CS <-> VSSD
- Create a guest with multiple network devices - verify NetworkPort / NetworkPool / etc
- AddResource test that attempts to add a CD/DVD device to a KVM guest.
- AddResource negative test case that attempts to add proc and mem resources to a running guest.
- Create a guest that had a network interface that doesn't belong to a pool (ethernet for Xen/XenFV, user for KVM?) - verify that the interface doesn't show up in pool lists, RAFP, etc.
- More involved VirtualSystemSnapshotService tests?
- ReferencedConfiguration tests: 1) testing invalid ref 2) create a guest (have it running), then define a guest based off the running guest, then attempt to start guest 3) define a guest, define a new guest based off of defined guest, start second guest
- Processor scheduling - reboot guest, reset guest, suspend / resume guest - verify scheduling persistence.
- More test case to verify the VS State Transitions.
- Define a guest using create_using_definesystem(), then use RequestStateChange() to undefine it i.e, moving it to the same state in which it already exist.This should produce an error "Cannot go to disabled/shutdown state"
- Define a guest using create_using_definesystem(), start the domain , shut the domain.The domain should be destroyed , verification of this can be done, by ensuring enumerate/getInstance does not have the domain which was shutdown, listed.
- Define a guest using create_using_definesystem(), start the domain , suspend the domain, shut the domain.The domain should be destroyed , verification of this can be done, by ensuring enumerate/getInstance does not have the domain which was shutdown, listed.
- Verifying the changes to ECTP provider.
- This requires changes to the following test cases along with modification to the profile_init_list() function of common_util.py library.
- Profile/01_enum.py
- Profile/03_rprofile_gi_errs.py
- ReferencedProfile/02_refprofile_errs.py
- ElementConforms/03_ectp_fwd_errs.py
- This requires changes to the following test cases along with modification to the profile_init_list() function of common_util.py library.
- Add test case to verify the ConcreteComponent with NetworkPool support association. This requires sblim-cmpi-network and sblim-cmpi-base to be installed on the machine.
- Add test case to verify the ConcreteComponent with ProcessorPool support association. This requires sblim-cmpi-base to be installed on the machine.
- Verify DeleteResources()
- Verify SDC returns no instances and no error in the RASD to AC case.
- Create a guest with a device that is not allocated from a pool (disk or network device). Verify that EAFP does not return an error or an instance when the reference for this device is specified.
- Attempt to define a system with a RASD with the VirtualDevice value not specified (should attempt for proc, mem, disk, net) - verify an error is returned.
- Verify Limit/Reservation values of VSSD
- RedirectionService - enum, etc [Next work item, DBK]
- Verify AddResources does not expect the RASDs passed in to have the InstanceID set.
- Verify ModifySystemSetting() changes.
- For Valid tc
- Define a guest
- GeInstance() of VSSD
- modify properties like kernel and ramdisk info, etc for Xen , modify properties like BootDevice for KVM and XenFV
- For Invalid tc verify the exception when invalid values are passed to various properties
- Define a guest
- GetInstance() of VSSD
- pass invalid values to the VirtualSystemType, VirtualSystemIdentifier which is anything other the guest name etc.
- For Valid tc
- Verify that the AutomaticShutdownAction property of VSSD does not accept values other than 2,3
- Update the XML for LXC to include type tag for Containers guests.This should be set to 'exe'.
- Update the following test cases to either verify the FQDN or hostname.These updates will verify the modifiation to the "Add a bit more logic to check for FQDN." provider changes.
- ElementConforms - 01_forward.py
- HostSystem - 01_enum.py
- HostSystem - 03_hs_to_settdefcap.py
- New test case to the association between [Next work item, DBK]
- RedirectionService to HostSystem using HostedService.
- HostSystem to RedirectionService using HostedService.(This will not work with sblim-base-provider installed, hence the tc should be updated with XFAIL for sblim-base-provider case)
- Update SettingsDefineCapabilities/01_forward.py to accomodate the changes by the patch "Add condensed template functions, update sdc_rasds_for_type() & sdc_rasd_inst()"
- ServiceAffectsElement new test case to the association between
- ConsoleRedirectionService to ComputerSystem using SAE
- ComputerSystem to ConsoleRedirection using SAE.
- KVMRedirectionSAP -- enumeration, invalid scenario etc
- ConsoleRedirectionServiceCapabilities -- enumeration, invalid scenario etc
- Verify the resultant Pool class with the ECTP association when queried with GDRP and values,
- For ex:wbemcli ain -arc KVM_NetworkPool 'http://localhost/root/interop:KVM_RegisteredProfile.InstanceID="CIM:DSP1059-GenericDeviceResourceVirtualization-1.0.0_n"'
- Update the XML for LXC to include console tag for Containers guests.This should be set to type='pty'.
- Tc to verify DefineSystem() returns an error "Missing `VirtualQuantity'" when the ProcRASD/ MemRASD does not contain the VirtualQuantity information.
- Update SDC/01_forward.py to verify the following properties :
- For ProcRASD: Verify Limit and Weight
- For MemRASD: Verify Limit - use same values set for VirtualQuantity
- For DiskRASD: Verify VirtualDevice [For LXC dev=/lxc_mnt/tmp, For Xen, the default is xvda, for full virt the value should be hda], Address[For LXC addr=/tmp, otherwise addr=/dev/null], and Mountpoint properties[[For LXC /lxc_mnt/tmp].
- Create a guest with a network device but no PoolID defined - this will verify a default pool is found properly.
- Update 09_procrasd_persist.py of VSMS to support LXC.The tc should accept Weight value supplied and should be reflected when ProcRASD is queried.
- Create LXC guest with ProcRASD with Weight, VirtualQuantity, Limit values. Defining a LXC guest with ProcRASD with VirtualQuantity or Limit is specified, should throw the following error respectively:
- "ProcRASD field VirtualQuantity not valid for LXC"
- "ProcRASD field Limit not valid for LXC"
- Verify that the GetIsntance of KVMRedirectionSAP for invalid Name field or SystemName field return appropriate error values. This crashes the cimserver as of now.
- Verify Setting the RedirectionService.RequestStateChange() value is reflected in the EnabledState property of KVMRedirectionServiceSAP. Ex: supplying value of 3(inactive) to the RequestedState field of RedirectionService.RequestStateChange() should change the value of EnabledState property to 3 on successful completion of the function.)
- Update the ElementCapabilities/02_reverse.py tc to verify the EC association the ein of AC values as well.
- DisplayController device - enumeration, invalid scenario etc
- PointingDevice device - enumeration, invalid scenario etc
- Verify that specifying input type='mouse' bus='xen' in the xml should return DeviceID = 'test_dom/mouse:xen'
- Verify that specifying input type=other than tablet or mouse should return "Unknown device type" in the as part of the caption.
- Verify that specifying input bus=other than usb/ps2 should return "Unknown bus" in the as part of the caption.
