Public | Automated Build

Last pushed: 5 months ago
Short Description
kvm-xfstests runtime environment
Full Description

XFStests using virtualization

To set up the necessary scratch disks used by the kvm-xfstests, run
the "./setup" script. You will need approximately 60 gigs of disk
space to run all of the ext4 tests.

The current working directory must be kvm-xfstests directory. This
restriction can be relaxed if you edit the "DIR=" line in the
kvm-xfstests script. In addition, you will probably need to customize
the paths in the "config" file so that your compiled kernel can be
found, and where to find qemu/kvm binary.

The kvm-xfstests script is used as follows:

*) kvm-xfstests [-c <cfg>] [-g <group>]|[<tests>] ...

By default <cfg> defaults to all, which will run the following
configurations: "4k", "1k", "ext3", "nojournal", "ext3conv",
"dioread_nolock, "data_journal", "inline", "bigalloc", and
"bigalloc_1k".  You may specify a single configuration or a
comma separated list if you want to run a subset of all
possible file system configurations.

Tests can be specified using an xfstests group
via "-g <group>", or can be an xfstests (e.g., "generic/068")

*) kvm-xfstests smoke

This is the equivalent of specifying "-c 4k -g quick"

*) kvm-xfstests shell

Will allow you to examine the tests environment or to run
tests manually.  Any changes to the root partition will be
reverted when you exit the VM.

To run tests manually source the /root/test-env file, and then
set the FSTESTCFG and FSTESTSET environment variables before
running /root/runtests.sh.

*) kvm-xfstests maint

Will drop you into a root shell and allows you to modify the
root file system.  KVM uses and modifies the root_fs.img file,
which is a compressed qcow2 image.  After doing a lot of
maintenance, the root_fs.img can get quite large.  If so, the
compress-rootfs shell script can be helpful.

To extract the interesting results from the log file, run the command
"get-results":

% ./get-results log.201312220828
[ 0.000000] Linux version 3.13.0-rc2-00010-ge128f1f (tytso@lambda) (gcc version 4.8.2 (Debian 4.8.2-1) ) #1564 SMP Sat Dec 21 23:43:09 EST 2013
FSTESTCFG is "all"
FSTESTSET is "-g auto"
BEGIN TEST: Ext4 4k block Sun Dec 22 08:28:47 EST 2013
MKFS_OPTIONS -- -q /dev/vdc
MOUNT_OPTIONS -- -o acl,user_xattr -o block_validity /dev/vdc /vdc
Ran: ext4/271 ext4/305 generic/001 generic/002 generic/005 generic/006 generic/007 generic/011 generic/013 generic/014 generic/015 generic/020 generic/053 generic/062 generic/069 generic/070 generic/074 generic/075 generic/076 generic/079 generic/083 generic/088 generic/089 generic/091 generic/100 generic/105 generic/112 generic/113 generic/117 generic/120 generic/123 generic/124 generic/125 generic/126 generic/127 generic/128 generic/129 generic/130 generic/131 generic/132 generic/133 generic/135 generic/141 generic/169 generic/184 generic/192 generic/193 generic/198 generic/204 generic/207 generic/208 generic/209 generic/210 generic/211 generic/212 generic/213 generic/214 generic/215 generic/219 generic/221 generic/223 generic/224 generic/225 generic/226 generic/228 generic/230 generic/231 generic/232 generic/233 generic/234 generic/235 generic/236 generic/237 generic/239 generic/240 generic/245 generic/246 generic/247 generic/248 generic/249 generic/255 generic/257 generic/258 generic/263 generic/269 generic/270 generic/277 generic/280 generic/285 generic/286 generic/294 generic/299 generic/300 generic/306 generic/307 generic/308 generic/309 generic/310 generic/313 generic/314 generic/315 generic/316 generic/317 generic/318 generic/319 shared/218 shared/243 shared/272 shared/289 shared/298
Failures: generic/223 generic/318 shared/218
END TEST: Ext4 4k block Sun Dec 22 09:02:47 EST 2013
BEGIN TEST: Ext4 4k block w/nodelalloc, no flex_bg, and no extents Sun Dec 22 09:02:49 EST 2013
MKFS_OPTIONS -- -q -O ^extents,^flex_bg,^uninit_bg /dev/vdc
MOUNT_OPTIONS -- -o acl,user_xattr -o block_validity,nodelalloc /dev/vdc /vdc
Ran: ext4/271 ext4/305 generic/001 generic/002 generic/005 generic/006 generic/007 generic/011 generic/013 generic/014 generic/015 generic/020 generic/053 generic/062 generic/069 generic/070 generic/074 generic/075 generic/076 generic/079 generic/083 generic/088 generic/089 generic/091 generic/100 generic/105 generic/112 generic/113 generic/117 generic/120 generic/123 generic/124 generic/125 generic/126 generic/127 generic/128 generic/129 generic/130 generic/131 generic/132 generic/133 generic/135 generic/141 generic/169 generic/184 generic/192 generic/193 generic/198 generic/204 generic/207 generic/208 generic/209 generic/210 generic/211 generic/212 generic/215 generic/219 generic/221 generic/224 generic/225 generic/226 generic/230 generic/231 generic/232 generic/233 generic/234 generic/235 generic/236 generic/237 generic/239 generic/240 generic/245 generic/246 generic/247 generic/248 generic/249 generic/257 generic/258 generic/263 generic/269 generic/270 generic/277 generic/280 generic/285 generic/286 generic/294 generic/299 generic/300 generic/306 generic/307 generic/308 generic/309 generic/310 generic/313 generic/314 generic/315 generic/316 generic/317 generic/318 generic/319 shared/218 shared/272 shared/289 shared/298
Failures: generic/300 generic/318 shared/218
END TEST: Ext4 4k block w/nodelalloc, no flex_bg, and no extents Sun Dec 22 09:36:38 EST 2013
BEGIN TEST: Ext4 4k block w/ no journal Sun Dec 22 09:36:39 EST 2013
MKFS_OPTIONS -- -q -O ^has_journal /dev/vdc
MOUNT_OPTIONS -- -o acl,user_xattr -o block_validity,noload /dev/vdc /vdc
Ran: ext4/271 ext4/305 generic/001 generic/002 generic/005 generic/006 generic/007 generic/011 generic/013 generic/014 generic/015 generic/020 generic/053 generic/062 generic/069 generic/070 generic/074 generic/075 generic/076 generic/079 generic/083 generic/088 generic/089 generic/091 generic/100 generic/105 generic/112 generic/113 generic/117 generic/120 generic/123 generic/124 generic/125 generic/126 generic/127 generic/128 generic/129 generic/130 generic/131 generic/132 generic/133 generic/135 generic/141 generic/169 generic/184 generic/192 generic/193 generic/198 generic/204 generic/207 generic/208 generic/209 generic/210 generic/211 generic/212 generic/213 generic/214 generic/215 generic/219 generic/221 generic/223 generic/224 generic/225 generic/226 generic/228 generic/230 generic/231 generic/232 generic/233 generic/234 generic/235 generic/236 generic/237 generic/239 generic/240 generic/245 generic/246 generic/247 generic/248 generic/249 generic/255 generic/257 generic/258 generic/263 generic/269 generic/270 generic/277 generic/285 generic/286 generic/294 generic/299 generic/300 generic/306 generic/307 generic/308 generic/309 generic/310 generic/313 generic/314 generic/315 generic/316 generic/317 generic/318 generic/319 shared/218 shared/243 shared/272 shared/289 shared/298
Failures: generic/318
END TEST: Ext4 4k block w/ no journal Sun Dec 22 10:01:56 EST 2013
....

(If there is a missing "END TEST", it's likely because there was a
kernel bug which caused the kernel to crash before the test run was
able to complete.)

Docker Pull Command
Owner
dmonakhov
Source Repository

Comments (0)