KVM-Autotest/TODO

From KVM
Revision as of 03:01, 7 December 2009 by Yzhou (talk | contribs)

KVM-Autotest To-Do list

Framework

  • kickstart installation support [Lucas] [Nearly DONE]
  • kvm-autotest auto resolve qemu-kvm backtraces
  • 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)
  • Log a gdb-backtrace for tests (executables) which generate a core dump file.
  • 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]
  • Add support for kvm-trace.
  • 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]

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]
  • cpu hotplug [Glauber]
  • pxe boot * net types [jasowang]
  • qcow1, qcow2, vmdk, vhd
  • qcow2 internal snapshots
  • Further migration [jasowang]
  • Multiple nics [jasowang]
  • multiple disks [Feng Yang]
  • ksm [jasowang, jzupka, ldoktor]
  • -vga stg, nographics
  • kvm unit-tests
  • Add unattended guest installations (using kickstart or answer-files) [jasowang]
  • kvm_install -- keep src and build directories under <kvm_autotest_root> instead of under kvm_runtest_2.
  • 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)
  • savevm test [jasowang]
  • Guests with large page support [jzupka, ldoktor]
  • 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)
  • Pass through NICs / VFs to guest [Yolkfull]
  • Different CPU flags support

Server Side Tests

  • Run netperf test between two guests [Yolkfull]
  • Migration with/without workload(dbench,lmbench etc) [Yolkfull] [Patch Sent,need review]

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
  • Share all the stepmaker data somehow so other people can debug stepfiles
  • Fill the sections "Working with step files" and "Step file creation tips" in the wiki [Michael]

Bugs