Open Lakshmipathi opened 5 years ago
Red Hat runs xfstests through CKI. We have noticed various flakes with some of the tests and have filtered them out. See https://github.com/CKI-project/tests-beaker/tree/master/filesystems/xfs/xfstests for how we are currently running it.
Sorry that was an old link. New link here: https://gitlab.com/cki-project/kernel-tests/-/tree/master/filesystems/xfs/xfstests
Closing #230 as this needs to be re-done now using kci_rootfs
and the associated rootfs-configs.yaml
configruation.
See also the performance tests: #821
Sorry that was an old link. New link here: https://gitlab.com/cki-project/kernel-tests/-/tree/master/filesystems/xfs/xfstests
New new link: https://gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/tree/main/filesystems/xfs/xfstests
Summary
(x)fstests is a test suite for major file systems supported by the Linux kernel such as
ext4
,xfs
,btrfs
,cifs
,nfs
,f2fs
...Currently, file system kernel fixes aren't being back-ported to LTS due to a lack of automated testing to verify they don't introduce regressions. Kernel bugs need to be well identified in the first place before fixes can be made for them and then back-ported. Running fstests in KernelCI would help solve these issues.
Requirements
Some tests will require a minimum amount of physical disk storage (4 disks of 20G?)
Ideally, a variety of hardware storage medium should be used to ensure all the file system features are exercised. Some storage medium such as eMMC is not suitable for write-heavy operations but read-only file systems tests may be run on them. Running in virtual environments such as in Kubernetes or with QEMU should also be considered.
Steps
bullseye-fstests
including the fstests built from source (rewrite of PR #230)Related topics
Notes
We may start by running quick tests with following command:
The tests will be executed based on the block device configured as
TESTDEV
.For QEMU, initial tests may be run on x86 only.