From Fedora Project Wiki

No edit summary
(Updated information about KVM-Autotest with Avocado and Avocado-VT)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Virtualization]]
[[Category:Virtualization]]
[http://www.linux-kvm.org/page/KVM-Autotest kvm-autotest] is an effort by KVM developers to create a suite of regression tests for KVM.


Fedora virtualization testers can help improve KVM by running kvm-autotest on their own hardware. The kvm-autotest wiki contains some [http://www.linux-kvm.org/page/KVM-Autotest/Client_Install instructions] on doing this, but to get started quickly try the following:
Fedora virtualization testers can help improve KVM by running Avocado-VT tests on their own machines.  


<pre>
= Avocado and Avocado-VT =
$> yum install qemu-system-x86 qemu-img


$> mkdir -p ~/autotest/iso && cd ~/autotest
These are the current community projects that have come from a long heritage, including virt-test and KVM-Autotest.


$> wget http://download.fedoraproject.org/pub/fedora/linux/releases/8/Fedora/i386/iso/Fedora-8-i386-DVD.iso iso/
Avocado is a generic testing framework, while Avocado-VT adds support for Virtualization testing (a continuation of virt-test).
$> git clone git://git.kernel.org/pub/scm/virt/kvm/kvm-autotest.git


$> mkdir -p /tmp/kvm_autotest_root/{iso/linux,images}
To get started with Avocado-VT please visit:
$> ln -s ~/autotest/iso/Fedora-8-i386-DVD.iso /tmp/kvm_autotest_root/iso/linux/
$> ln -s /usr/bin/qemu-kvm /tmp/kvm_autotest_root/qemu
$> ln -s /usr/bin/qemu-img /tmp/kvm_autotest_root/qemu-img


$> cd kvm-autotest/client/tests/kvm_runtest_2
http://avocado-vt.readthedocs.io
$> cp kvm_tests.cfg.sample kvm_tests.cfg


# FIXME: this is lame, just disables kvm_install
https://github.com/avocado-framework/avocado-vt
$> sed -e 's/^\(job.run_test\)/#\1/' < control > control.fedora
</pre>


and then as root:


<pre>
To learn more about Avocado please visit:
$> ../../bin/autotest ./control.fedora
</pre>


Any errors encountered should be reported via bugzilla.
http://avocado-framework.readthedocs.io


Note: this requires Fedora rawhide and at least qemu-0.10-5.fc11.
https://github.com/avocado-framework/avocado

Latest revision as of 20:14, 27 June 2016


Fedora virtualization testers can help improve KVM by running Avocado-VT tests on their own machines.

Avocado and Avocado-VT

These are the current community projects that have come from a long heritage, including virt-test and KVM-Autotest.

Avocado is a generic testing framework, while Avocado-VT adds support for Virtualization testing (a continuation of virt-test).

To get started with Avocado-VT please visit:

http://avocado-vt.readthedocs.io

https://github.com/avocado-framework/avocado-vt


To learn more about Avocado please visit:

http://avocado-framework.readthedocs.io

https://github.com/avocado-framework/avocado