Skip to content
Lucas Meneghel Rodrigues edited this page Sep 22, 2011 · 2 revisions

Autotest 0.11.0

Autotest 0.11.0 is a new major release of autotest! This reflects the stabilization of our development branch and contains features and improvements over the 0.10.X series:

Test API changes worth mentioning

API wise, 0.11.0 is compatible with the previous releases 0.10.X, so tests developed for previous versions will work pretty much unmodified. However, with the changes under the hood with the new logging system, we recommend test writers to change all print statements on previous test classes to logging equivalents.

New test APIs

  • New utility function for running a test that requires multiple partitions, utils.run_test_on_partitions()

What's new

Here's a selection of what changed from 0.10.X to 0.11.0. This list does not intend to be exhaustive, just a summary of the changes.

  • New tests added to the framework: 6 new test modules made into the project, namely:
  • cerberus: A test hardware stress system made by the extinct VA linux. It's a good stress test for kernel, filesystems and hardware.
  • dma_memtest: A test designed to test the kernel memory subsystem with an additional exercise of DMA operations.
  • ebizzy: A load test that tries to emulate the workload present on many recent web applications.
  • kvm: The KVM virtualization stack set of functional tests, that was being developed in a parallel project named kvm-autotest was merged back to upstream.
  • qemu_iotests: A suite that tests the IO layer of qemu.
  • systemtap: Runs the systemtap test suite.
  • Redesigned logging system: Now autotest uses the logging module in a pervasive form troughout the framework. New code should be written having in mind the concepts explained here. The new default logging level is INFO, so to print debug messages during autotest execution you need to pass the new --verbose flag to autotest or autoserv.
  • Paramiko class implementation was severely cleaned up and improved since 0.10.0
  • As the result of the packaging work going on for autotest, several cleanups and fixes were made:
    • All hardcoded references to python2.4 were gone;
    • All executable files were marked as such;
    • Massive prune on the source tree was made, removing incorrect identation levels, and trailing whitespaces and lines only with spaces were cleaned up
  • New TKO supports multiple embedable graphs in the results page
  • New TKO export CSV support for spreadsheet view
  • The web interface now supports recurring job executions, jobs that are executed repeatedly on a given time basis.
  • Web interface: Support for test attributes
  • Web interface: Support for locking hosts from the AFE View Host tab.
  • Job state file is removed transparently when the --continue flag is not passed to autotest
Clone this wiki locally