From Fedora Project Wiki

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{Infobox_group
{{Infobox_group
| name = Fedora Test Days
| name = Fedora Test Days
| image = [[File:Echo-testing-48px.png|link=QA/Fedora_18_test_days]]
| image = [[File:Echo-testing-48px.png|link=QA/Fedora_16_test_days]]
| caption = Virtualization Test Day
| caption = Virtualization Test Day
| date = 2012-11-01
| date = 2012-11-01
| time = all day
| time = all day
| website = [[Virtualization]]
| website = [[Virtualization]]
| irc = [irc://irc.freenode.net/#fedora-test-day #fedora-test-day] ([http://webchat.freenode.net/?channels=fedora-test-day webirc] [http://meetbot.fedoraproject.org/fedora-test-day/2012-11-01/fedora-test-day.2012-11-01-12.25.log.txt IRC logs])
| irc = [irc://irc.freenode.net/#fedora-test-day #fedora-test-day] ([http://webchat.freenode.net/?channels=fedora-test-day webirc])
| fedora_mailing_list = virt}}
| fedora_mailing_list = virt}}


Line 20: Line 20:
The following cast of characters will be available testing, workarounds, bug fixes, and general discussion ...
The following cast of characters will be available testing, workarounds, bug fixes, and general discussion ...
<!--
<!--
Use this format:
Use one of these formats:
* [[User:<yourfedoracct>|<your name>]] (<your irc nick>)
* Developer - [[User:<yourfedoracct>|<your name>]] (irc: <your nick>)
* Tester - [[User:<yourfedoracct>|<your name>]] (irc: <your nick>)
-->
-->
* [[User:berrange|Daniel Berrange]] (danpb)
* Developer - [[User:berrange|Daniel Berrange]] (irc: danpb)
* [[User:rjones|Richard W.M. Jones]] (rwmjones)
* Developer - [[User:rjones|Richard W.M. Jones]] (irc: rwmjones)
* [[User:crobinso|Cole Robinson]] (crobinso)
* Developer - [[User:crobinso|Cole Robinson]] (irc: crobinso)
* [[User:stefanha|Stefan Hajnoczi]] (stefanha)
* Developer - [[User:stefanha|Stefan Hajnoczi]] (irc: stefanha)
* [[User:mrezanin|Miroslav Rezanina]] (mrezanin)
* Developer - [[User:mrezanin|Miroslav Rezanina]] (irc: mrezanin)
* [[User:ericb|Eric Blake]] (eblake)
* Developer - [[User:ericb|Eric Blake]] (irc: eblake)
* [[User:laine|Laine Stump]] (laine)
* Developer - [[User:laine|Laine Stump]] (irc: laine)


== Known issues ==
== Known issues ==
Line 48: Line 49:
* Hardware virtualization support (e.g. Intel VT or AMD-V) (see [[How_to_debug_Virtualization_problems#Is_My_Guest_Using_KVM.3F|Is My Guest Using KVM?]]).  If unavailable, you can still help with testing QEMU support.
* Hardware virtualization support (e.g. Intel VT or AMD-V) (see [[How_to_debug_Virtualization_problems#Is_My_Guest_Using_KVM.3F|Is My Guest Using KVM?]]).  If unavailable, you can still help with testing QEMU support.
* Up to 10-20Gb free disk space. Guest images take up a lot of space.
* Up to 10-20Gb free disk space. Guest images take up a lot of space.
* Get the packages with <br><pre>yum groupinstall virtualization</pre>


As for getting the latest virt packages, you have a few options:
As for getting the latest virt packages, you have a few options:
Line 73: Line 73:


Do you have a new machine with a ton of ram and storage space, running Fedora 17? Nested virt might be an option!
Do you have a new machine with a ton of ram and storage space, running Fedora 17? Nested virt might be an option!
This allows you to create KVM guests _inside_ a Fedora 18 VM.
This allows you to create KVM guests _inside_ a Fedora 18 VM. You'll want to install the latest virt packages from
 
virt-preview (linked above). Install a Fedora 18 guest (there are test cases below that walk you through it).
# Install the latest virt packages from virt-preview using the instructions above.
Then use virt-manager to 'copy host CPU' for your VM. Boot the VM, yum groupinstall @virtualization, and
# Install a Fedora 18 guest using one of the test cases below.
verify that nested virt is working (sudo virt-host-validate).
# Use virt-manager to 'copy host CPU' for your VM. Boot the VM, install virtualization packages, and verify that nested virt is working by running the following command as root: <br><pre>virt-host-validate</pre>
 
Some notes on nested virt with AMD and Intel:
 
* http://kashyapc.wordpress.com/2012/01/18/nested-virtualization-with-kvm-and-amd/
* http://kashyapc.wordpress.com/2012/01/14/nested-virtualization-with-kvm-intel/
* http://kashyapc.wordpress.com/2012/07/28/nested-virtualization-with-intel-take-2-with-fedora-17/


== Areas to test ==
== Areas to test ==


=== '''VM Install''' ===
=== Do these first! ===
 
Record your results for these test cases in the '''[[#Test Results |Test Results]]''' section.


If you don't already have a VM available, run through one of these test cases. A fully functioning VM is required for every other test case!
If you don't already have a VM available, run through one of these test cases. A fully functioning VM is required for every other test case!


* [[QA:Testcase Virtualization CDROM Guest Install| Guest install via CDROM]]
* [[QA:Testcase Virtualization URL Guest Install]]
* [[QA:Testcase Virtualization URL Guest Install| Guest install via URL]]
* [[QA:Testcase Virtualization CDROM Guest Install]]
 
Next give this a run through, which should ensure things aren't broken in some obvious manner:
 
* [[QA:Testcase Virtualization Virt Manager Lifecycle|VM Lifecycle (start, stop, save, delete, ...)]]
 
=== '''New tests and features''' ===


Record your results for these test cases in the '''[[#Test Results|Test Results]]''' section.
Next give this a run through, which should ensure things aren't broken in some obvious manner


* [[QA:Testcase Virtualization Live Backup|Live VM disk backup]]
* [[QA:Testcase Virtualization Virt Manager Lifecycle]]
* [[QA:Testcase Virtualization Guest Suspend Hibernate|VM suspend/hibernate]]
* [[QA:Testcase Virtualization Seccomp Sandboxing|VM sandboxing w/ syscall filters]]
* [[QA:Testcase Virtualization IO Throttling|VM IO throttling]]
* [[QA:Testcase Virtualization PV EOI|VM PV EOI performance optimization]]
* [[QA:Testcase Virtualization USB3 Device Passthrough|USB3 device assignment]]
* [[QA:Testcase Virtualization USB Redirection|USB Redirection]]


=== libguestfs and tools ===
=== News tests and features ===


You will need Fedora 18 (host) and at least one guest (but the more the merrier).
* [[QA:Testcase Virtualization Live Backup]]
 
* [[QA:Testcase Virtualization Guest Suspend Hibernate]]
Install libguestfs:
* [[QA:Testcase Virtualization Seccomp Sandboxing]]
 
* [[QA:Testcase Virtualization IO Throttling]]
# yum install '*guestf*'
* [[QA:Testcase Virtualization PV EOI]]
 
* [[QA:Testcase Virtualization USB3 Device Passthrough]]
and run through the tests here: http://libguestfs.org/guestfs-testing.1.html
* [[QA:Testcase Virtualization USB Redirection]]
 
In Fedora 18, we are using [http://libvirt.org libvirt] to launch the appliance, and [http://selinuxproject.org/page/SVirt sVirt] + SELinux to make everything [http://libguestfs.org/guestfs.3.html#security much more secure].  Therefore it's better (though not required) if you can run these tests with SELinux set to enforcing.


=== Previous test cases ===
=== Previous test cases ===
Line 128: Line 105:
Some test cases used in previous test days. Still useful to test for regressions!
Some test cases used in previous test days. Still useful to test for regressions!


Migration:
==== Migration ====


* [[QA:Testcase Live Migration using libvirt/virsh|Live migration with virsh]]
* [[QA:Testcase Live Migration using libvirt/virsh]]
* [[QA:Testcase Offline (paused) Migration using libvirt/virsh|Offline migration with virsh]]
* [[QA:Testcase Offline (paused) Migration using libvirt/virsh]]


Hotplug:
==== Spice ====


* [[QA:Testcase Virtualization NIC Hotplug virsh attach detach|NIC hotplug with virsh]]
* [[QA:Testcase Virtualization Check SPICE password support]]
* [[QA:Testcase Virtualization Attach/Detach a SCSI device to guest|SCSI hotplug with virsh]]
* [[QA:Testcase Virtualization Manually set spice listening port with TLS port set]]
* [[QA:Testcase Virtualization Hotplug USB device to guest|USB hotplug with virsh]]
* [[QA:Testcase Virtualization Setting up a VM with Spice]]
* [[QA:Testcase Virtualization Spice listen on all public network interfaces]]


virtio-scsi:
==== libvirt ====


* [[QA:Testcase Virtualization Virtio SCSI Install|Virtio SCSI install]]
* [[QA:Testcase Virtualization libvirt create a logical pool]]
* [[QA:Testcase Virtualization Virtio SCSI Hotplug|Virtio SCSI hotplug]]
* [[QA:Testcase Virtualization libvirt save and restore with svirt]]
* [[QA:Testcase Virtualization libvirt set guest memory]]


==== Hotplug ====


== Test Results ==
* [[QA:Testcase Virtualization Attach/Detach a SCSI device to guest]]
* [[QA:Testcase Virtualization Hotplug USB device to guest]]
* [[QA:Testcase Virtualization NIC Hotplug virsh attach detach]]


Each tester should add a row for their results.
==== virtio-scsi ====


If you have problems with any of the tests, report a bug to [https://bugzilla.redhat.com Bugzilla]. If you have any questions about what component to file against,
* [[QA:Testcase Virtualization Virtio SCSI Install]]
just shout in the IRC channel and we can help you out. Same goes for any selinux alerts you might see!
* [[QA:Testcase Virtualization Virtio SCSI Hotplug]]


<!-- Don't touch this part! -->
==== libguestfs and tools ====
{|
! User
! VM Install
! [[QA:Testcase Virtualization Virt Manager Lifecycle|VM Lifecycle]]
! [[QA:Testcase Virtualization Live Backup|Live Backup]]
! [[QA:Testcase Virtualization Guest Suspend Hibernate|Suspend]]
! [[QA:Testcase Virtualization Seccomp Sandboxing|Seccomp]]
! [[QA:Testcase Virtualization IO Throttling|IO Throttling]]
! [[QA:Testcase Virtualization PV EOI|PV EOI]]
! [[QA:Testcase Virtualization USB3 Device Passthrough|USB3]]
! [[QA:Testcase Virtualization USB Redirection|USB Redir]]
! References
|-


You will need Fedora 18 (host) and at least one guest (but the more the merrier).


<!-- Copy the block below as a template
Install libguestfs:


| [[User:SampleUser|SampleUser]]
# yum install '*guestf*'
| {{result|inprogress}}
| {{result|inprogress}}
| {{result|none}}
| {{result|none}}
| {{result|none}}
| {{result|none}}
| {{result|none}}
| {{result|none}}
| {{result|none}}
| <references/>
|-


-->
and run through the tests here: http://libguestfs.org/guestfs-testing.1.html


| [[User:crobinso|crobinso]]
In Fedora 18, we are using [http://libvirt.org libvirt] to launch the appliance, and [http://selinuxproject.org/page/SVirt sVirt] + SELinux to make everything [http://libguestfs.org/guestfs.3.html#security much more secure]. Therefore it's better (though not required) if you can run these tests with SELinux set to enforcing.
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|fail}} <ref>Guest fails to start {{bz|855162}}</ref>
| {{result|pass}}
| {{result|pass}}
| {{result|warn}} <ref>USB Device didn't appear in lsusb -t in guest</ref>
| {{result|done}}
| <references/>
|-
 
| [[User:kashyapc|Kashyap Chamarthy]]
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|none}}
| {{result|none}}
| {{result|none}}
| {{result|none}}
| {{result|none}}
| {{result|none}}
| <references/>
|-
 
 
| [[User:mkrizek|mkrizek]]
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|none}}
| {{result|pass}}
| {{result|pass}} <ref>Reduced only from approx. 15.000 to 12.000</ref>
| {{result|none}}
| {{result|pass}}
| <references/>
|-
 
| [[User:mrezanin|mrezanin]]
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|none}}
| {{result|pass}}
| {{result|none}}
| {{result|none}}
| {{result|pass}}
| <references/>
|-
| [[User:pschindl|pschindl]]
| {{result|warn||872162}}
| {{result|fail||869607}}
|
| {{result|pass}} <ref>I tested only guest functionality, when I try agent I got 'Error starting domain: Unable to read from monitor: Connection reset by peer'</ref>
|
|
|
|
|
| <references/>
|-
| [[User:stefanha|Stefan Hajnoczi]]
| {{result|pass}}
| {{result|none}}
| {{result|none}}
| {{result|none}}
| {{result|none}}
| {{result|pass}} <ref group="long">Throttling works but virsh blkdeviotune reports incorrect results. I have sent patches here: https://www.redhat.com/archives/libvir-list/2012-November/msg00095.html {{bz|872582}}</ref>
| {{result|none}}
| {{result|none}}
| {{result|none}}
| <references/>
 
|-
| [[User:ericb|Eric Blake]]
| {{result|inprogress}}
| {{result|inprogress}}
| {{result|inprogress}} <ref>{{bz|872292}} found by inspection based on an IRC question, latent bug which affects snapshots, among other operations</ref>
| {{result|inprogress}}
| {{result|inprogress}}
| {{result|inprogress}}
| {{result|inprogress}}
| {{result|inprogress}}
| {{result|inprogress}}
| <references/>
 
|-
| [[User:Sagarun|Arun S A G]]
| {{result|pass}}
| {{result|pass}}
| {{result|none}}
| {{result|pass}}<ref>{{bz|872343}} Cannot resume RHEL6 vm running at runlevel 3 </ref>
| {{result|none}}
| {{result|none}}
| {{result|none}}
| {{result|none}}
| {{result|none}}
| <references/>
|-
 
| [[User:kparal|kparal]]
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|fail||872573}}
| {{result|none}}
| {{result|fail||872582}}
| {{result|none}}
| {{result|none}}
| {{result|none}}
| <references/>
|
|-
| [[User:knoel|Karen Noel]]
| {{result|pass}} <ref>Installed RHEL6.3 and F18 guests</ref>
| {{result|inprogress}}
| {{result|none}}
| {{result|none}}
| {{result|none}}
| {{result|none}}
| {{result|none}}
| {{result|none}}
| {{result|none}}
| <references/>
|-


|}
==== GuestOS compatibility ====


== Long comments ==
* [[Test_Day:2012-04-12_Virtualization_Test_Day-GuestOS | GuestOS compatibility]] <br>&mdash; test installation of as many different guest operating system as as possible. (You will need a KVM bare metal host & lots of disk space)
<references group="long" />


  [[Category:Fedora 18 Test Days]]
[[Category:Fedora 18 Test Days]]
[[Category:Virtualization]]
[[Category:Virtualization]]
Please note that all contributions to Fedora Project Wiki are considered to be released under the Attribution-Share Alike 4.0 International (see Fedora Project Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please solve the following task below and enter the answer in the box (more info):

Cancel Editing help (opens in new window)