(Drop direct Test Days category membership) |
|||
(12 intermediate revisions by 4 users not shown) | |||
Line 6: | Line 6: | ||
| 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] | | 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/2013-05-28/fedora-test-day.2013-05-28-11.10.log.txt IRC logs]) | |||
| fedora_mailing_list = virt}} | | fedora_mailing_list = virt}} | ||
{{admon/note | Can't make the date? | If you come to this page before or after the test day is completed, your testing is still valuable, and you can use the information on this page to test, file any bugs you find at [http://bugzilla.redhat.com Bugzilla], and add your results to the results section. If this page is more than a month old when you arrive here, please check the [[QA/Test_Days|current schedule]] and see if a similar but more recent Test Day is planned or has already happened.}} | <!-- {{admon/warning | Under construction | The Test Day page is under construction. It will be ready in time for the Test Day (and this message will be removed).}} -->{{admon/note | Can't make the date? | If you come to this page before or after the test day is completed, your testing is still valuable, and you can use the information on this page to test, file any bugs you find at [http://bugzilla.redhat.com Bugzilla], and add your results to the results section. If this page is more than a month old when you arrive here, please check the [[QA/Test_Days|current schedule]] and see if a similar but more recent Test Day is planned or has already happened.}} | ||
== What to test? == | == What to test? == | ||
Line 26: | Line 26: | ||
* [[User:kashyapc|Kashyap Chamarthy]] (kashyap) | * [[User:kashyapc|Kashyap Chamarthy]] (kashyap) | ||
* [[User:rjones|Richard W.M. Jones]] (rwmjones) | * [[User:rjones|Richard W.M. Jones]] (rwmjones) | ||
* [[User:laine|Laine Stump]] (laine) | |||
== Known issues == | == Known issues == | ||
Line 38: | Line 39: | ||
* VM's can hang when trying to destroy: [https://bugzilla.redhat.com/show_bug.cgi?id=961665 bug 961665] | * VM's can hang when trying to destroy: [https://bugzilla.redhat.com/show_bug.cgi?id=961665 bug 961665] | ||
* QXL + VNC has graphical corruption: [https://bugzilla.redhat.com/show_bug.cgi?id=948717 bug 948717] | * QXL + VNC has graphical corruption: [https://bugzilla.redhat.com/show_bug.cgi?id=948717 bug 948717] | ||
* On initial install, wrong /dev/kvm permissions cause weird libvirt error reporting: hda-duplex not supported by this binary. Reboot should fix it: [https://bugzilla.redhat.com/show_bug.cgi?id=967836 bug 967836] | |||
* Bad guest performance using virt-install --location install: [https://bugzilla.redhat.com/show_bug.cgi?id=967780 bug 967780] | |||
== What's needed to test == | == What's needed to test == | ||
Line 104: | Line 107: | ||
* [[QA:Testcase Live Migration using libvirt/virsh|Live migration (steps included for doing this with a single physical host)]] | * [[QA:Testcase Live Migration using libvirt/virsh|Live migration (steps included for doing this with a single physical host)]] | ||
* [[QA:Testcase_Virtualization_KVM_PCI_Device_Assignment|Host PCI device assignment]] | * [[QA:Testcase_Virtualization_KVM_PCI_Device_Assignment|Host PCI device assignment]] | ||
* [[QA:Testcase_Virt_Change_CDROM_Media|Change CDROM media for running VM]] | |||
=== '''New features''' === | === '''New features''' === | ||
Line 153: | Line 157: | ||
Results from this web application will be automatically transferred to the Wiki on 2013-06-11 and the reporting system will be shutdown. Feel free to continue testing and filling the wiki even after this date. | Results from this web application will be automatically transferred to the Wiki on 2013-06-11 and the reporting system will be shutdown. Feel free to continue testing and filling the wiki even after this date. | ||
Should you encounter any problem while using the web application, please contact jskladan on #fedora-qa channel at freenode, or send an email to jskladan@fedoraproject.org | |||
[[ | === Basic === | ||
{| | |||
! User | |||
! Hardware | |||
! [[Test_Day:2012-11-01_Virtualization#VM_Install|VM-Install]] | |||
! [[QA:Testcase_Virt_Serial_Console|Serial login]] | |||
! [[QA:Testcase_Virtualization_Virt_Manager_Lifecycle|VM Lifecycle]] | |||
! [[QA:Testcase_Virtualization_Hotplug_USB_device_to_guest|Host USB]] | |||
! [[QA:Testcase_KVM_nested_virt|Nested virt]] | |||
! [[QA:Testcase_Live_Migration_using_libvirt/virsh|Live migration]] | |||
! [[QA:Testcase_Virtualization_KVM_PCI_Device_Assignment|PCI passthrough]] | |||
! [[QA:Testcase_Virt_Change_CDROM_Media|Change CDROM]] | |||
! References | |||
|- | |||
| [[User:knoel|knoel]] | |||
| IBM x3550 M4 | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| <references/> | |||
|- | |||
| [[User:knoel|knoel]] | |||
| Lenovo T500 | |||
| {{result|fail||968062}}<ref>Installed F19 Beta from DVD. Couldn't create a bridge. No libvirtd.log file. </ref> | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| <references/> | |||
|- | |||
| [[User:mrezanin|mrezanin]] | |||
| HP Z400 | |||
| {{result|pass}} <ref>Tested with RHEL6/RHEL7 guest</ref> | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| | |||
| | |||
| | |||
| | |||
| <references/> | |||
|- | |||
| [[User:lersek|lersek]] | |||
| HP Z400 | |||
| {{result|pass}} <ref group="long">Probably should file a bunch of bugs but no time for it now. This was the | |||
whole process: | |||
Host: | |||
physical F19 installation (XFCE spin) on my workstation, first installed as | |||
Alpha TC5, but upgraded right before testing. Package versions: | |||
- kernel-3.9.4-300.fc19.x86_64 | |||
- qemu-kvm-1.4.2-2.fc19.x86_64 | |||
- seabios-bin-1.7.2-1.fc19.noarch | |||
- libvirt-1.0.5.1-1.fc19.x86_64 | |||
- virt-viewer-0.5.6-1.fc19.x86_64 | |||
- virt-manager-0.10.0-0.4.gitb68faac8.fc19.noarch | |||
Guest: followed instructions in | |||
<https://fedoraproject.org/wiki/QA:Testcase_Virtualization_URL_Guest_Install>, | |||
version "16:32, 28 May 2013". The non-default parameters I used were: | |||
- the VCPU count, I set it to 4; | |||
- I pre-created the 8GB image file with qemu-img, format qcow2; | |||
- RAM set to 4096 MB. | |||
Auto-recognition in virt manager reports Fedora 18 for | |||
<http://download.fedoraproject.org/pub/fedora/linux/development/19/x86_64/os/>. | |||
Problem #1: pixel garbage visible even with Cirrus + VNC, | |||
<https://bugzilla.redhat.com/show_bug.cgi?id=948717>. Maybe important: the | |||
virt-manager / virt-viewer windows are X11-forwarded to my RHEL-6 laptop | |||
over ssh. | |||
Problem #2: when trying to make a screenshot about the pixel garbage, using | |||
virt-manager's function, the file selection dialog comes up, but no file is | |||
written. | |||
Problem #3: when trying to make the same with virt-viewer, the results are | |||
worse: we don't even reach the file selection dialog, and virt-viewer seems | |||
to hang (doesn't refresh shadowed and redisplayed areas of the window). | |||
Took a screenshot finally using "gnome-screenshot" on my RHEL-6 laptop. | |||
Problem #4: when entering the root password, I specified "redhat". The | |||
warning message says that the password is weak (OK so far), and that it | |||
contains the user name in some form (which is incorrect). | |||
Pixel garbage resurfaces in installed guest. | |||
After reboot: | |||
Problem #5: Clicking the Shut Down button in the virt-manager guest window | |||
seems to suspend the guest only (the virt-manager main window says | |||
Suspended), but it cannot be woken / restarted from either window. Powering | |||
down the VM from the inside (using the GNOME 3 button) hangs virt-manager | |||
with keyboard grabbed. (Restarting virt-manager works OK, and the guest is | |||
actually shut off.) | |||
</ref> | |||
| {{result|warn}} <ref group="long">Problem #6: the virt-manager Text Console login test works, but after that, | |||
even when switching back to the Graphical Console VNC, the virsh console | |||
test fails with | |||
error: operation failed: Active console session exists for this domain | |||
</ref> | |||
| | |||
| {{result|pass}} <ref>works fine</ref> | |||
| | |||
| | |||
| | |||
| {{result|fail}} <ref group="long">Connecting the first ISO worked alright (showed up in guest, both on the GNOME 3 GUI and under /run/media/user), but it could not be disconnected. First, I encountered BZ#967914. After that, the first ISO was not unmounted in the guest, even though virt-manager implied so at the second attempt; listing the /run/media/user/CD_ROM_NAME directory corresponding to the ISO image produced IO errors, the CD_ROM_NAME directory was not removed. The "virsh change-media" reported success on the host side, but again its effect was not visible in the guest (same IO errors and the first ISO's name, as above).</ref> | |||
| <references/> | |||
|- | |||
| [[User:tassadar|tassadar]] | |||
| Lenovo T420s (Intel i5-2540M) | |||
| {{result|pass}} <ref>Everything else in the cast case works as expected.</ref>{{result|warn||965101|967800|967740}}<ref>Tested on Fedora 19 x86_64 host.</ref> | |||
| {{result|warn}} <ref>virsh console fails: Active console session exists for this domain</ref> | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} <ref>I tested only booting LIVE.iso in the nested VM</ref> | |||
| | |||
| {{result|fail}} <ref group="long">Does not work with my network card - it throws exception "Unable to read from monitor on start", but the card is removed from host for a short while. | |||
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)</ref> | |||
| | |||
| <references/> | |||
|- | |||
| [[User:ignatenkobrain|ignatenkobrain]] | |||
| i7-3520m (Lenovo ThinkPad X230) | |||
| {{result|pass||967780}}<ref>bad performance in virt-install (network boot) </ref> | |||
| {{result|pass}} <ref>need press enter to load form login</ref>{{result|fail}} <ref>Failed. Try again? [y,n,f,?]: | |||
error: XML error: unknown target type 'model' specified for character device | |||
</ref> | |||
| {{result|fail}} <ref>it isn't switched off when clicking button</ref>{{result|pass||883556}}<ref>one crash. not reproducible. abrt couldn't send bug</ref> | |||
| {{result|pass}} <ref>works fine</ref> | |||
| {{result|fail}} <ref>Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz</ref> | |||
| | |||
| | |||
| | |||
| <references/> | |||
|- | |||
| [[User:hhuang|hhuang]] | |||
| Lenovo T500 | |||
| {{result|pass}} <ref>F19 guest from DVD</ref> | |||
| {{result|fail}} <ref group="long">The very first reboot after the guest install, | |||
there are boot messages on the console. Then | |||
the console activities stopped. No login | |||
prompt interactions on the console. | |||
However, the console is working correctly after subsequent reqboots. Encountered the above with | |||
Fedora 19 Alpha and Beta. | |||
</ref> | |||
| {{result|pass}} <ref>Basic guest VM lifecycle operations worked as | |||
expected.</ref>{{result|pass}} | |||
| {{result|pass}} <ref>USB drive works correctly in the guest. | |||
Add and remove USB drive via the virt-manager work correctly as expected.</ref> | |||
| | |||
| | |||
| | |||
| {{result|fail||967914}}<ref group="long">CDROM in the guest mostly worked. | |||
The only problem is already reported by BZ 967914: the first "Disconnect" operation from virt-manager would fail with an error "These changes will take effect after the next guest sutdown". In the Details section, there is the | |||
message "internal error unable to execute QEMU command 'eject': Device drive-ide0-0-1 is locked". | |||
Issuing another "Disconnect" operation from the virt-manager will successfully disconnect the CDROM.</ref> | |||
| <references/> | |||
|- | |||
| [[User:JustinClift|JustinClift]] | |||
| Dell Inspiron 7720-4578 | |||
| {{result|pass}} <ref group="long">Installed guest (F19 Beta RC4 64-bit DVD). | |||
Installation went fine. The only weirdness was artifacts in the display of the banner like "I'm sorry Dave, I can't do that". May be related to the Nvidia GT 650M graphics card + nouveau drivers on host, with the VNC code in Virtual Machine Manager.</ref> | |||
| | |||
| {{result|warn}} <ref group="long">Only got part way through testing this before I had to leave (for airport). | |||
Pausing a running guest (F19 Beta RC4 x64 with 4GB ram) worked using VMM, but had problems. The "Run" option in VMM never became enabled in either the high level VMM overview window (in buttons toolbar), nor in the VNC console (buttons, menu structure). | |||
Was able to work around this using virsh, where "resume 2" started the guest back up again fine. VMM was able to use the guest fine then. | |||
At this point I had to leave for airport.</ref> | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| <references/> | |||
|- | |||
| [[User:jakob_lundberg|jakob_lundberg]] | |||
| Dell Optiflex 960 | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| | |||
| | |||
| | |||
| <references/> | |||
|- | |||
| [[User:sagarun|sagarun]] | |||
| HP Desktop - Intel Core2duo | |||
| {{result|pass}} <ref>FreeBSD 7 works fine!</ref>{{result|warn}} <ref>Works fine with a RHEL 6 guest - First time i had to restart libvirtd to make it working!</ref>{{result|warn}} <ref group="long">Works fine except, On a freshly installed Fedora 19 - Beta TC4 the libvirtd needs to be restarted once. | |||
[saga@airplanering-dl freevm]$ sudo service libvirtd status | |||
Redirecting to /bin/systemctl status libvirtd.service | |||
libvirtd.service - Virtualization daemon | |||
Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled) | |||
Active: active (running) since Tue 2013-05-28 09:51:09 IST; 2h 2min ago | |||
Main PID: 1071 (libvirtd) | |||
CGroup: name=systemd:/system/libvirtd.service | |||
└─1071 /usr/sbin/libvirtd | |||
May 28 09:51:09 airplanering-dl.eglbp.corp.yahoo.com systemd[1]: Started Virtualization daemon. | |||
May 28 09:51:16 airplanering-dl.eglbp.corp.yahoo.com libvirtd[1071]: libvirt version: 1.0.5.1, package: 1.fc19 (Fedora Project, 2013-05-19-22:57:15, buildvm-11.phx2.fedoraproject.org) | |||
May 28 09:51:16 airplanering-dl.eglbp.corp.yahoo.com libvirtd[1071]: Module /usr/lib64/libvirt/connection-driver/libvirt_driver_xen.so not accessible | |||
May 28 09:51:16 airplanering-dl.eglbp.corp.yahoo.com libvirtd[1071]: Module /usr/lib64/libvirt/connection-driver/libvirt_driver_libxl.so not accessible | |||
May 28 09:51:16 airplanering-dl.eglbp.corp.yahoo.com libvirtd[1071]: Module /usr/lib64/libvirt/connection-driver/libvirt_driver_lxc.so not accessible | |||
May 28 09:51:16 airplanering-dl.eglbp.corp.yahoo.com libvirtd[1071]: Module /usr/lib64/libvirt/connection-driver/libvirt_driver_uml.so not accessible | |||
May 28 09:51:17 airplanering-dl.eglbp.corp.yahoo.com libvirtd[1071]: open("/var/run/libvirt/network/nwfilter.ltmp"): No such file or directory | |||
libguestfs-1.22.0-1.fc19.x86_64 | |||
qemu-system-x86-1.4.2-2.fc19.x86_64 | |||
virt-install-0.10.0-0.4.gitb68faac8.fc19.noarch | |||
libguestfs-1.22.0-1.fc19.x86_64</ref> | |||
| | |||
| {{result|pass}} <ref>libguestfs works fine. Opened up a raw disk image and modified the guest's files!</ref>{{result|pass}} <ref>Start, Stop, Delete works both on RHEL 6 and freebsd7</ref> | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| <references/> | |||
|- | |||
| [[User:jasonbrooks|jasonbrooks]] | |||
| Lenovo X220 | |||
| {{result|warn}} <ref group="long">virt-install argument "--os-distro" specified in the directions turned up the error "virt-install: error: no such option: --os-distro" | |||
I used --os-variant instead. | |||
Needed to preface virt-install w/ sudo to create the storage. | |||
After that, VM created as expected.</ref> | |||
| {{result|fail||967961}}<ref>hit this previously reported bug</ref> | |||
| {{result|pass}} | |||
| {{result|pass}} <ref>Used a usb optical mouse</ref> | |||
| {{result|pass}} <ref>I <3 nested kvm!</ref> | |||
| | |||
| | |||
| | |||
| <references/> | |||
|- | |||
| [[User:kashyapc|kashyapc]] | |||
| Intel(R) Xeon(R) CPU E5520 | |||
| {{result|pass}} <ref>I used an unattended script like this -- https://github.com/kashyapc/virt-scripts/blob/master/create-guest-qcow2.bash</ref> | |||
| {{result|pass}} <ref>$ virsh dumpxml nguest-03 | egrep pty -A 4 | |||
$ virsh console nguest-03 | |||
</ref> | |||
| | |||
| | |||
| {{result|pass}} <ref>Initial tests - https://github.com/kashyapc/nvmx-haswell/tree/master/tests | |||
There are always more to be done.</ref> | |||
| | |||
| | |||
| | |||
| <references/> | |||
|- | |||
| [[User:SlowJet|SlowJet]] | |||
| Intel G865BGF(3G-PreviewRepo) | |||
| {{result|warn}} <ref group="long">Created new VM from Hurd/Debain img in Downloads. | |||
A message said it would take care of the access issues, after running a bit, I did a clone vm (not pased). | |||
The clone booted and ran. | |||
But the shutdown -h now did not work in hurd , neither did any menu shutdown or poweroff, so I had to force power off. | |||
I thoht the img had been copied to /var but no, so the selinux tags were worg for Downloads. | |||
Also Ctrl-Alt-L to frre mouse is also the host screen saver keys, not good.</ref> | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| <references/> | |||
|- | |||
| [[User:fskola|fskola]] | |||
| Lenovo T410 | |||
| {{result|pass}} <ref>Installed from remote URL using virt-install.</ref> | |||
| {{result|fail||967961}} | |||
| {{result|fail||967968}} | |||
| {{result|pass}} <ref>Yubikey appeared in the guest (lsusb) but didn't work. Mass storage works perfectly.</ref> | |||
| | |||
| | |||
| {{result|fail}} <ref group="long">Tried with: | |||
* 0d:00.0 SD Host controller: Ricoh Co Ltd MMC/SD Host Controller (rev 01) | |||
* 00:19.0 Ethernet controller: Intel Corporation 82577LM Gigabit Network Connection (rev 06) | |||
but guest didn't start with "Error starting domain: Unable to read from monitor: Connection reset by peer".</ref> | |||
| | |||
| <references/> | |||
|- | |||
| [[User:pschindl|pschindl]] | |||
| Lenovo T520 Intel i7-2620M | |||
| {{result|pass}} | |||
| {{result|pass}} <ref>virsh console can connect only when no other console session exists for the domain</ref> | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| <references/> | |||
|} | |||
! References | |||
|- | |||
=== New Features === | |||
* virtio-rng; https://fedoraproject.org/wiki/QA:Testcase_Virtualization_VirtioRNG | |||
* Storage migration; https://fedoraproject.org/wiki/QA:Testcase_Live_Migration_using_libvirt/virsh#Migration_without_shared_storage | |||
* VFIO; https://fedoraproject.org/wiki/QA:Testcase_Virtualization_KVM_PCI_Device_Assignment#Device_assignment_with_VFIO | |||
{| | |||
! User | |||
! Hardware | |||
! [[QA:Testcase_Virtualization_VirtioRNG|virtio-rng]] | |||
! [[QA:Testcase_Live_Migration_using_libvirt/virsh#Migration_without_shared_storage|Storage migration]] | |||
! [[QA:Testcase_Virtualization_KVM_PCI_Device_Assignment#Device_assignment_with_VFIO|VFIO]] | |||
! References | |||
|- | |||
| [[User:knoel|knoel]] | |||
| IBM x3550 M4 | |||
| {{result|pass}} <ref group="long">Messy debug output: | |||
3 clients want entropy | |||
1 clients want entropy | |||
do_command HASH(0x1faa480): 0x%02x | |||
2total_bytes_sucked: 5587 | |||
0 clients want entropy | |||
do_command HASH(0x1faa480): 0x%02x | |||
2total_bytes_sucked: 5651 | |||
</ref> | |||
| | |||
| | |||
| <references/> | |||
|- | |||
| [[User:mrezanin|mrezanin]] | |||
| HP Z400 | |||
| {{result|pass}} <ref>Device visible, reqeust recorded by egd</ref> | |||
| | |||
| | |||
| <references/> | |||
|- | |||
| [[User:lersek|lersek]] | |||
| HP Z400 | |||
| {{result|pass}} <ref>works fine (tested with EGD too)</ref> | |||
| | |||
| | |||
| <references/> | |||
|- | |||
| [[User:tassadar|tassadar]] | |||
| Lenovo T420s (Intel i5-2540M) | |||
| {{result|pass}} <ref>Tested with egd</ref> | |||
| | |||
| | |||
| <references/> | |||
|- | |||
| [[User:JustinClift|JustinClift]] | |||
| Dell Inspiron 7720-4578 | |||
| {{result|pass}} <ref group="long">Tested both /dev/random and egd.pl in guest after configuring virtio rng. Worked perfectly. egd.pl debug showed client requesting entropy, etc.</ref> | |||
| | |||
| | |||
| <references/> | |||
|- | |||
| [[User:fskola|fskola]] | |||
| Lenovo T410 | |||
| | |||
| | |||
| {{result|fail}} <ref group="long">Not sure if this is a bug; dmesg | grep -e DMAR -e IOMMU shows 3 entries, but there's no vfio in /dev and issuing VM start outputs "Error starting domain: internal error Invalid device 0000:00:19.0 iommu_group file /sys/bus/pci/devices/0000:00:19.0/iommu_group is not a symlink".</ref> | |||
| <references/> | |||
|} | |||
[[Category:Fedora 19 Test Days]] [[Category:Virtualization]] | |||
== Debugging == | == Debugging == | ||
== Long comments == | |||
<references group="long" /> | |||
* https://fedoraproject.org/wiki/How_to_debug_Libvirt_problems | * https://fedoraproject.org/wiki/How_to_debug_Libvirt_problems |
Latest revision as of 21:15, 26 June 2015
Fedora Test Days | |
---|---|
Virtualization Test Day | |
Date | 2013-05-28 |
Time | all day |
Website | Virtualization |
IRC | #fedora-test-day |
Mailing list | virt |
What to test?[edit]
Today's installment of Fedora Test Day will focus on Virtualization in Fedora 19. Test cases will basic virtualization workflow, some cool functionality, as well as new features introduced in Fedora 19.
Who's available[edit]
The following cast of characters will be available testing, workarounds, bug fixes, and general discussion ...
- Cole Robinson (crobinso)
- Kashyap Chamarthy (kashyap)
- Richard W.M. Jones (rwmjones)
- Laine Stump (laine)
Known issues[edit]
Before you begin testing, there are a few known bugs that should be taken into account:
- running libvirtd inside a guest can break that guests networking. you can work around this by using 'sudo virsh net-edit default' inside the VM, and change all instances of 192.168.122 to 192.168.123 and restarting the VM: bug 811967
- saving (migrate to file) a guest using spice is crashy bug 962954
- /dev/vfio/vfio has wrong default permissions. bug 967230
- Storage migration can fail at the end of the process bug 967242
- Fedora 19 isn't listed as an OS option in virt-manager bug 950230
- VM's can hang when trying to destroy: bug 961665
- QXL + VNC has graphical corruption: bug 948717
- On initial install, wrong /dev/kvm permissions cause weird libvirt error reporting: hda-duplex not supported by this binary. Reboot should fix it: bug 967836
- Bad guest performance using virt-install --location install: bug 967780
What's needed to test[edit]
For starters, your physical machine should have:
- Hardware virtualization support (e.g. Intel VT or AMD-V) (see 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.
- Get the packages with:
yum groupinstall virtualization
As for getting the latest virt packages, you have a few options:
Virt Test Day Live CD[edit]
There's a Fedora 19 live CD image that already has all the required virtualization packages installed (though you should still yum update
after booting). You will probably want a good amount of RAM if using this option (greater than 4G) since you'll be using RAM for both a VM and running the live OS.
- Get the image:
wget -c http://fedorapeople.org/groups/qa/testday-20130528-x86_64.iso
- For Live CD or USB setup instructions, see: FedoraLiveCD#Download_and_Create_Live_image_or_Live_USB
- If you have a really beefy machine, you can probably run the Live CD in a VM using nested virtualization! (see instructions below)
Fedora 19 on a physical machine[edit]
The preferred testing platform is a fully updated Fedora 19 machine. You have a few options for getting the Fedora 19 bits:
Install with CD/DVD[edit]
You can download the Fedora 19 Beta in various formats here. Note: the Beta will be officially released on 2013-05-28, the day of the Test Day; if you wish to download it ahead of time, the images can be found here.
Upgrade from Fedora 18[edit]
- The supported way is using 'fedup': FedUp#How_Can_I_Upgrade_My_System_with_FedUp.3F You may also find the instructions in the fedup test case useful for using fedup to upgrade to a pre-release.
- Upgrade using 'yum': This method is not officially supported, but is very commonly used by developers. If you're a power user this is a possible option!
Run Fedora 19 in a VM with nested virtualization[edit]
Do you have a new machine with a ton of ram and storage space, running Fedora 18? Nested virt might be an option! This allows you to create KVM guests inside a Fedora 19 VM.
Use the virt-preview instructions below, install a guest using one of the install test cases, and follow the [[nested virt test case to finish the setup and verify things are working correctly.
Fedora 19 virt packages on Fedora 18[edit]
If you aren't ready to make the jump to Fedora 19, this is the next best thing! Run latest virt packages on Fedora 18 from the virt-preview repo:
http://fedoraproject.org/wiki/Virtualization_Preview_Repository
At present, some of the packages in virt-preview are actually newer than what's in Fedora 19 (qemu 1.4 vs. qemu 1.5), but testing is still useful.
Areas to test[edit]
All these tests have an entry in the Test Results table, please record them there.
VM Install[edit]
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!
Standard features[edit]
These are recurring tests of standard virt features, they ensure nothing obvious is broken.
- VM Lifecycle (start, stop, save, clone, delete, ...)
- VM serial console login
- Host USB device hotplug
- Enabling nested virtualization for a VM
- Live migration (steps included for doing this with a single physical host)
- Host PCI device assignment
- Change CDROM media for running VM
New features[edit]
New or improved features in Fedora 19:
- Virtio RNG (Random Number Generator)
- Live migration without shared storage (steps included for doing this with a single physical host)
- Host PCI device assignment using VFIO
Extra tests[edit]
These tests aren't listed in the 'test results' table, but consider giving them a spin and reporting any issues on IRC or bugzilla.
libguestfs and tools[edit]
You will need Fedora 19 (host) and at least one guest (but the more the merrier).
Install libguestfs: # yum install '*guestf*'
and run through the tests here: http://libguestfs.org/guestfs-testing.1.html
Previous test cases[edit]
Some test cases used in previous test days. Still useful to test for regressions!
Fedora 18 features:
- Live VM disk backup
- VM suspend/hibernate
- VM sandboxing w/ syscall filters
- VM IO throttling
- VM PV EOI performance optimization
- USB3 device assignment
- USB Redirection
Misc tests:
All tests:
Test Results[edit]
We are tracking test results in a web application over here
Results from this web application will be automatically transferred to the Wiki on 2013-06-11 and the reporting system will be shutdown. Feel free to continue testing and filling the wiki even after this date.
Should you encounter any problem while using the web application, please contact jskladan on #fedora-qa channel at freenode, or send an email to jskladan@fedoraproject.org
Basic[edit]
User | Hardware | VM-Install | Serial login | VM Lifecycle | Host USB | Nested virt | Live migration | PCI passthrough | Change CDROM | References |
---|---|---|---|---|---|---|---|---|---|---|
knoel | IBM x3550 M4 | |||||||||
knoel | Lenovo T500 | [2] | ||||||||
mrezanin | HP Z400 |
| ||||||||
lersek | HP Z400 |
| ||||||||
tassadar | Lenovo T420s (Intel i5-2540M) | |||||||||
ignatenkobrain | i7-3520m (Lenovo ThinkPad X230) | [2] |
| |||||||
hhuang | Lenovo T500 | [long 6] | ||||||||
JustinClift | Dell Inspiron 7720-4578 | |||||||||
jakob_lundberg | Dell Optiflex 960 | |||||||||
sagarun | HP Desktop - Intel Core2duo | |||||||||
jasonbrooks | Lenovo X220 | [2] | ||||||||
kashyapc | Intel(R) Xeon(R) CPU E5520 |
| ||||||||
SlowJet | Intel G865BGF(3G-PreviewRepo) | |||||||||
fskola | Lenovo T410 | |||||||||
pschindl | Lenovo T520 Intel i7-2620M |
|
! References |-
New Features[edit]
- virtio-rng; https://fedoraproject.org/wiki/QA:Testcase_Virtualization_VirtioRNG
- Storage migration; https://fedoraproject.org/wiki/QA:Testcase_Live_Migration_using_libvirt/virsh#Migration_without_shared_storage
- VFIO; https://fedoraproject.org/wiki/QA:Testcase_Virtualization_KVM_PCI_Device_Assignment#Device_assignment_with_VFIO
User | Hardware | virtio-rng | Storage migration | VFIO | References |
---|---|---|---|---|---|
knoel | IBM x3550 M4 | ||||
mrezanin | HP Z400 |
| |||
lersek | HP Z400 |
| |||
tassadar | Lenovo T420s (Intel i5-2540M) |
| |||
JustinClift | Dell Inspiron 7720-4578 | ||||
fskola | Lenovo T410 |
Debugging[edit]
Long comments[edit]
- ↑ Probably should file a bunch of bugs but no time for it now. This was the whole process: Host: physical F19 installation (XFCE spin) on my workstation, first installed as Alpha TC5, but upgraded right before testing. Package versions: - kernel-3.9.4-300.fc19.x86_64 - qemu-kvm-1.4.2-2.fc19.x86_64 - seabios-bin-1.7.2-1.fc19.noarch - libvirt-1.0.5.1-1.fc19.x86_64 - virt-viewer-0.5.6-1.fc19.x86_64 - virt-manager-0.10.0-0.4.gitb68faac8.fc19.noarch Guest: followed instructions in <https://fedoraproject.org/wiki/QA:Testcase_Virtualization_URL_Guest_Install>, version "16:32, 28 May 2013". The non-default parameters I used were: - the VCPU count, I set it to 4; - I pre-created the 8GB image file with qemu-img, format qcow2; - RAM set to 4096 MB. Auto-recognition in virt manager reports Fedora 18 for <http://download.fedoraproject.org/pub/fedora/linux/development/19/x86_64/os/>. Problem #1: pixel garbage visible even with Cirrus + VNC, <https://bugzilla.redhat.com/show_bug.cgi?id=948717>. Maybe important: the virt-manager / virt-viewer windows are X11-forwarded to my RHEL-6 laptop over ssh. Problem #2: when trying to make a screenshot about the pixel garbage, using virt-manager's function, the file selection dialog comes up, but no file is written. Problem #3: when trying to make the same with virt-viewer, the results are worse: we don't even reach the file selection dialog, and virt-viewer seems to hang (doesn't refresh shadowed and redisplayed areas of the window). Took a screenshot finally using "gnome-screenshot" on my RHEL-6 laptop. Problem #4: when entering the root password, I specified "redhat". The warning message says that the password is weak (OK so far), and that it contains the user name in some form (which is incorrect). Pixel garbage resurfaces in installed guest. After reboot: Problem #5: Clicking the Shut Down button in the virt-manager guest window seems to suspend the guest only (the virt-manager main window says Suspended), but it cannot be woken / restarted from either window. Powering down the VM from the inside (using the GNOME 3 button) hangs virt-manager with keyboard grabbed. (Restarting virt-manager works OK, and the guest is actually shut off.)
- ↑ Problem #6: the virt-manager Text Console login test works, but after that, even when switching back to the Graphical Console VNC, the virsh console test fails with error: operation failed: Active console session exists for this domain
- ↑ Connecting the first ISO worked alright (showed up in guest, both on the GNOME 3 GUI and under /run/media/user), but it could not be disconnected. First, I encountered BZ#967914. After that, the first ISO was not unmounted in the guest, even though virt-manager implied so at the second attempt; listing the /run/media/user/CD_ROM_NAME directory corresponding to the ISO image produced IO errors, the CD_ROM_NAME directory was not removed. The "virsh change-media" reported success on the host side, but again its effect was not visible in the guest (same IO errors and the first ISO's name, as above).
- ↑ Does not work with my network card - it throws exception "Unable to read from monitor on start", but the card is removed from host for a short while. 00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
- ↑ The very first reboot after the guest install, there are boot messages on the console. Then the console activities stopped. No login prompt interactions on the console. However, the console is working correctly after subsequent reqboots. Encountered the above with Fedora 19 Alpha and Beta.
- ↑ CDROM in the guest mostly worked. The only problem is already reported by BZ 967914: the first "Disconnect" operation from virt-manager would fail with an error "These changes will take effect after the next guest sutdown". In the Details section, there is the message "internal error unable to execute QEMU command 'eject': Device drive-ide0-0-1 is locked". Issuing another "Disconnect" operation from the virt-manager will successfully disconnect the CDROM.
- ↑ Installed guest (F19 Beta RC4 64-bit DVD). Installation went fine. The only weirdness was artifacts in the display of the banner like "I'm sorry Dave, I can't do that". May be related to the Nvidia GT 650M graphics card + nouveau drivers on host, with the VNC code in Virtual Machine Manager.
- ↑ Only got part way through testing this before I had to leave (for airport). Pausing a running guest (F19 Beta RC4 x64 with 4GB ram) worked using VMM, but had problems. The "Run" option in VMM never became enabled in either the high level VMM overview window (in buttons toolbar), nor in the VNC console (buttons, menu structure). Was able to work around this using virsh, where "resume 2" started the guest back up again fine. VMM was able to use the guest fine then. At this point I had to leave for airport.
- ↑ Works fine except, On a freshly installed Fedora 19 - Beta TC4 the libvirtd needs to be restarted once. [saga@airplanering-dl freevm]$ sudo service libvirtd status Redirecting to /bin/systemctl status libvirtd.service libvirtd.service - Virtualization daemon Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled) Active: active (running) since Tue 2013-05-28 09:51:09 IST; 2h 2min ago Main PID: 1071 (libvirtd) CGroup: name=systemd:/system/libvirtd.service └─1071 /usr/sbin/libvirtd May 28 09:51:09 airplanering-dl.eglbp.corp.yahoo.com systemd[1]: Started Virtualization daemon. May 28 09:51:16 airplanering-dl.eglbp.corp.yahoo.com libvirtd[1071]: libvirt version: 1.0.5.1, package: 1.fc19 (Fedora Project, 2013-05-19-22:57:15, buildvm-11.phx2.fedoraproject.org) May 28 09:51:16 airplanering-dl.eglbp.corp.yahoo.com libvirtd[1071]: Module /usr/lib64/libvirt/connection-driver/libvirt_driver_xen.so not accessible May 28 09:51:16 airplanering-dl.eglbp.corp.yahoo.com libvirtd[1071]: Module /usr/lib64/libvirt/connection-driver/libvirt_driver_libxl.so not accessible May 28 09:51:16 airplanering-dl.eglbp.corp.yahoo.com libvirtd[1071]: Module /usr/lib64/libvirt/connection-driver/libvirt_driver_lxc.so not accessible May 28 09:51:16 airplanering-dl.eglbp.corp.yahoo.com libvirtd[1071]: Module /usr/lib64/libvirt/connection-driver/libvirt_driver_uml.so not accessible May 28 09:51:17 airplanering-dl.eglbp.corp.yahoo.com libvirtd[1071]: open("/var/run/libvirt/network/nwfilter.ltmp"): No such file or directory libguestfs-1.22.0-1.fc19.x86_64 qemu-system-x86-1.4.2-2.fc19.x86_64 virt-install-0.10.0-0.4.gitb68faac8.fc19.noarch libguestfs-1.22.0-1.fc19.x86_64
- ↑ virt-install argument "--os-distro" specified in the directions turned up the error "virt-install: error: no such option: --os-distro" I used --os-variant instead. Needed to preface virt-install w/ sudo to create the storage. After that, VM created as expected.
- ↑ Created new VM from Hurd/Debain img in Downloads. A message said it would take care of the access issues, after running a bit, I did a clone vm (not pased). The clone booted and ran. But the shutdown -h now did not work in hurd , neither did any menu shutdown or poweroff, so I had to force power off. I thoht the img had been copied to /var but no, so the selinux tags were worg for Downloads. Also Ctrl-Alt-L to frre mouse is also the host screen saver keys, not good.
- ↑ Tried with: * 0d:00.0 SD Host controller: Ricoh Co Ltd MMC/SD Host Controller (rev 01) * 00:19.0 Ethernet controller: Intel Corporation 82577LM Gigabit Network Connection (rev 06) but guest didn't start with "Error starting domain: Unable to read from monitor: Connection reset by peer".
- ↑ Messy debug output: 3 clients want entropy 1 clients want entropy do_command HASH(0x1faa480): 0x%02x 2total_bytes_sucked: 5587 0 clients want entropy do_command HASH(0x1faa480): 0x%02x 2total_bytes_sucked: 5651
- ↑ Tested both /dev/random and egd.pl in guest after configuring virtio rng. Worked perfectly. egd.pl debug showed client requesting entropy, etc.
- ↑ Not sure if this is a bug; dmesg | grep -e DMAR -e IOMMU shows 3 entries, but there's no vfio in /dev and issuing VM start outputs "Error starting domain: internal error Invalid device 0000:00:19.0 iommu_group file /sys/bus/pci/devices/0000:00:19.0/iommu_group is not a symlink".