kernelci / kernelci-core

Core KernelCI tools
https://kernelci.org
GNU Lesser General Public License v2.1
105 stars 97 forks source link

fstests #215

Open Lakshmipathi opened 5 years ago

Lakshmipathi commented 5 years ago

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

Related topics

Notes

We may start by running quick tests with following command:

./check -g quick

The tests will be executed based on the block device configured as TESTDEV.

For QEMU, initial tests may be run on x86 only.

dzickusrh commented 4 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.

dzickusrh commented 4 years ago

Sorry that was an old link. New link here: https://gitlab.com/cki-project/kernel-tests/-/tree/master/filesystems/xfs/xfstests

gctucker commented 4 years ago

Closing #230 as this needs to be re-done now using kci_rootfs and the associated rootfs-configs.yaml configruation.

gctucker commented 3 years ago

See also the performance tests: #821

gctucker commented 2 years ago

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