From Fedora Project Wiki

(Created page with '{|border="1" |-style="color: white; background-color: #3074c2; font-weight: bold" | DATE || TIME || WHERE |- | Thursday Sep 17, 2009 || Al...')
 
Line 34: Line 34:
=== Test Cases ===
=== Test Cases ===


Things to test, roughly in dependency order:
Things to test:


{|
! Test !! Method
|-
| Installation
|| Install F12 (you can install it inside a virtual machine if you want, but it'll run a bit slower).  Then:
yum install libguestfs guestfish perl-libguestfs \
  virt-cat virt-df virt-inspector
|-
| Start up
|| Does libguestfs start up?  Firstly run this:
guestfish alloc /tmp/test.img 10M : run || echo failed
This should take a few seconds (perhaps up to a minute or two on a slow machine).  It shouldn't print any error messages.  You don't need to be root.


If that fails, please run:
libguestfs-test-tool
If it doesn't print "TEST FINISHED OK" at the end, copy the complete, unedited output into a bug report, along with details of your test machine.  You can also ask about problems in the IRC channel.
|-
| Inspector
|| If you have any existing virtual machine disk images around, then try running [http://libguestfs.org/virt-inspector.1.html virt-inspector] on them:
virt-inspector /path/to/disk.img
(Note you don't need to be root, but if the disk image isn't at least readable as non-root them you may need to chmod the image or become root).
Does the output look sensible?  Does it match the operating system you think is in the disk image?  Are there any error messages?
|-
| virt-df
|| If you have any existing virtual machine disk images around, or the machine has libvirt guests, try running [http://libguestfs.org/virt-df.1.html virt-df] on them:
virt-df /path/to/disk.img
virt-df
Does the output agree with the free/used space for that guest?  Do you see any error messages?
|-
| virt-cat
|| If you have any existing virtual machine disk images around, or the machine has libvirt guests, try running [http://libguestfs.org/virt-cat.1.html virt-cat] on them:
virt-cat guestname /etc/fstab
virt-cat guestname /var/log/messages
virt-cat guestname /var/run/utmp > /tmp/utmp
who /tmp/utmp
virt-cat mydomain /var/log/wtmp > /tmp/wtmp
last -f /tmp/wtmp
Does the output agree with what is in the corresponding files in that guest?  Do you see any error messages?
|}


=== Issues that were identified ===
=== Issues that were identified ===

Revision as of 14:20, 14 September 2009

DATE TIME WHERE
Thursday Sep 17, 2009 All day #fedora-test-day (webchat)

What to test?

This part of today's Fedora Test Day will focus on testing the new libguestfs / guestfish feature in Fedora 12.

If you come to this page after the test day is completed, your testing is still valuable, and you can use the information on this page to test libguestfs and provide feedback.

Who's available

Richard Jones is your host for today.

The following people have also agreed to be available for testing, workarounds, bug fixes, and general discussion:

  • add your name here

What's needed to test

  • A fully updated Fedora 12 Rawhide machine. See instructions on the main test day page. Note you can use a virtual machine for testing!
  • (Optional) Existing virtual machine disk images.

How to test

Look at the Test Cases section below and run through them.

Add your comments below this in the Issues that were identified section, and/or file bugs in Bugzilla by following this link.

Test Cases

Things to test:

Test Method
Installation Install F12 (you can install it inside a virtual machine if you want, but it'll run a bit slower). Then:
yum install libguestfs guestfish perl-libguestfs \
  virt-cat virt-df virt-inspector
Start up Does libguestfs start up? Firstly run this:
guestfish alloc /tmp/test.img 10M : run || echo failed

This should take a few seconds (perhaps up to a minute or two on a slow machine). It shouldn't print any error messages. You don't need to be root.

If that fails, please run:

libguestfs-test-tool

If it doesn't print "TEST FINISHED OK" at the end, copy the complete, unedited output into a bug report, along with details of your test machine. You can also ask about problems in the IRC channel.

Inspector If you have any existing virtual machine disk images around, then try running virt-inspector on them:
virt-inspector /path/to/disk.img

(Note you don't need to be root, but if the disk image isn't at least readable as non-root them you may need to chmod the image or become root). Does the output look sensible? Does it match the operating system you think is in the disk image? Are there any error messages?

virt-df If you have any existing virtual machine disk images around, or the machine has libvirt guests, try running virt-df on them:
virt-df /path/to/disk.img
virt-df

Does the output agree with the free/used space for that guest? Do you see any error messages?

virt-cat If you have any existing virtual machine disk images around, or the machine has libvirt guests, try running virt-cat on them:
virt-cat guestname /etc/fstab
virt-cat guestname /var/log/messages
virt-cat guestname /var/run/utmp > /tmp/utmp
who /tmp/utmp
virt-cat mydomain /var/log/wtmp > /tmp/wtmp
last -f /tmp/wtmp

Does the output agree with what is in the corresponding files in that guest? Do you see any error messages?

Issues that were identified

Tester Description Bug references Status
#XXXXX ASSIGNED