KVM-Autotest/TODO: Difference between revisions

From KVM
No edit summary
No edit summary
Line 3: Line 3:
== Framework ==
== Framework ==


* Redirect guest monitor to serial and capture guest error messages written to console. Log the errors and also scan for specific problems (e.g. oops)
* Support an "expected to fail" param (at least in our html report)
* Support an "expected to fail" param (at least in our html report)
* Log a gdb-backtrace for tests (executables) which generate a core dump file. DONE, Lucas
* Enable "guest-load" for a VMs before/while tests are running (e.g. migration of a VM, while a movie is playing on it) [Michael]
* Enable "guest-load" for a VMs before/while tests are running (e.g. migration of a VM, while a movie is playing on it) [Michael]
* Fail upon indentation/white-space problems in the configuration file
* Fail upon indentation/white-space problems in the configuration file
* Add a way to shutdown the VMs when the whole job completes (compared to doing nothing or shutting-down after every test) [Michael]
* Add a way to shutdown the VMs when the whole job completes (compared to doing nothing or shutting-down after every test) [Michael]
* get the serial console information (BeiJing QE)
* Random generated macaddress and ifname (BeiJing QE)
* Random generated macaddress and ifname (BeiJing QE)
* Postcommand for qemu-img check (BeiJing QE)
== Web Interface ==
* Integrate Dror Russo's patches [Lucas]
* Expand the size for the tests name on autotest db [Lucas]


== Tests ==
== Tests ==
Line 24: Line 15:
* Find out how to use Autotest's netperf test with guests [Yolkfull]
* Find out how to use Autotest's netperf test with guests [Yolkfull]
* If needed, write a netperf/iperf test [jasowang] [NEEDS MORE WORK]
* If needed, write a netperf/iperf test [jasowang] [NEEDS MORE WORK]
* cpu hotplug [Lucas, DONE]
* pxe boot * net types [BeiJing QE]
* pxe boot * net types [BeiJing QE]
* qcow1, qcow2, vmdk, vhd
* qcow1, qcow2, vmdk, vhd
Line 36: Line 26:
* Stable tsc test - http://people.redhat.com/mingo/time-warp-test/MINI-HOWTO [jasowang]
* Stable tsc test - http://people.redhat.com/mingo/time-warp-test/MINI-HOWTO [jasowang]
* Guest installation with pv-block device/driver (for both windows and Linux)
* Guest installation with pv-block device/driver (for both windows and Linux)
* savevm test [jasowang]
* Guests with large page support [jzupka, ldoktor]
* Verify SMBIOS/DMI data (UUID, for example) [Yolkfull]
* Verify SMBIOS/DMI data (UUID, for example) [Yolkfull]
* Disk serial number (for IDE, SCSI, VirtIO drives) [Yolkfull]
* Disk serial number (for IDE, SCSI, VirtIO drives) [Yolkfull]
Line 43: Line 31:
* Extend pci_assignable to support other PCI devices (USB, video cards, TV card etc)
* Extend pci_assignable to support other PCI devices (USB, video cards, TV card etc)
* Different CPU flags support [BeiJing QE]
* Different CPU flags support [BeiJing QE]
* Integrate the kvm unit test into kvm-autoteset [BeiJing QE]
* further vlan [BeiJing QE]
* further vlan [BeiJing QE]
* ethtool test [BeiJing QE]
* ethtool test [BeiJing QE]

Revision as of 19:56, 29 July 2010

KVM-Autotest To-Do list

Framework

  • Support an "expected to fail" param (at least in our html report)
  • Enable "guest-load" for a VMs before/while tests are running (e.g. migration of a VM, while a movie is playing on it) [Michael]
  • Fail upon indentation/white-space problems in the configuration file
  • Add a way to shutdown the VMs when the whole job completes (compared to doing nothing or shutting-down after every test) [Michael]
  • Random generated macaddress and ifname (BeiJing QE)

Tests

Client Side Test

  • Find out how to use Autotest's netperf test with guests [Yolkfull]
  • If needed, write a netperf/iperf test [jasowang] [NEEDS MORE WORK]
  • pxe boot * net types [BeiJing QE]
  • qcow1, qcow2, vmdk, vhd
  • qcow2 internal snapshots
  • Further migration [BeiJing QE]
  • Multiple nics [BeiJing QE]
  • multiple disks [BeiJing QE]
  • ksm [jasowang, jzupka, ldoktor]
  • -vga stg, nographics
  • kvm unit-tests
  • Stable tsc test - http://people.redhat.com/mingo/time-warp-test/MINI-HOWTO [jasowang]
  • Guest installation with pv-block device/driver (for both windows and Linux)
  • Verify SMBIOS/DMI data (UUID, for example) [Yolkfull]
  • Disk serial number (for IDE, SCSI, VirtIO drives) [Yolkfull]
  • Test block device cancellation path using device mapper to generate errors ( after we had a crash in de_write_dma_cb)
  • Extend pci_assignable to support other PCI devices (USB, video cards, TV card etc)
  • Different CPU flags support [BeiJing QE]
  • further vlan [BeiJing QE]
  • ethtool test [BeiJing QE]
  • Jumbo Frame test [BeiJing QE]
  • Promisc Mode Nic test [BeiJing QE]
  • Guest nic bonding test [BeiJing QE]
  • Nic driver load/unload test [BeiJing QE]
  • Ping test [BeiJing QE]
  • Multicast test [BeiJing QE]
  • Use private bridge and dnsmasq to do the unattended installation [BeiJing QE]
  • Passthrough the perf keys of run_autotest to autotest server [BeiJing QE]

Server Side Tests

  • Run netperf test between two guests [Yolkfull]
  • Migration with/without workload(dbench,lmbench etc) [Yolkfull] [Patch Sent,need review]
  • Register the virtual machine into autotest server and run benchmark through autotest server [BeiJing QE]

Misc

  • Add docstrings to all functions that still lack them, including the ones in stepmaker.py, stepeditor.py and kvm_tests.py [Michael]
  • Document the setupssh.iso and setuptelnet.iso creation procedures in the wiki
  • Rename all Windows ISOs currently used to their official MSDN names
  • Fill the sections "Working with step files" and "Step file creation tips" in the wiki [Michael]

Bugs