You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This suite supports various filesystem types including fuse and virtiofs, and supports a wide range of tests to validate a number of conditions. We think it would be beneficial for this crate to integrate it as part of the testing regime, as another step to try and avoid regressions and bugs that could make it into releases.
For example, we have run this set of tests in a containerised environment making use of nydus 2.2.0 (which is using fuse-backend-rs version 1.10.0) provisioned with Kata 3.0.2. In total 18 out of 589 tests failed:
On a side note, we have noticed with more recent versions of nydus that there have been some problems with stateful workloads, for example, MySQL and Minio have issues starting which look to be filesystem related. We are hoping that these tests will pick up any potential edges cases as understandably filesystems are very complex.
The text was updated successfully, but these errors were encountered:
We recently came across the xfstest suite used by the Linux kernel to test and verify filesystem patches.
https://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git/tree/
This suite supports various filesystem types including fuse and virtiofs, and supports a wide range of tests to validate a number of conditions. We think it would be beneficial for this crate to integrate it as part of the testing regime, as another step to try and avoid regressions and bugs that could make it into releases.
For example, we have run this set of tests in a containerised environment making use of nydus 2.2.0 (which is using fuse-backend-rs version 1.10.0) provisioned with Kata 3.0.2. In total 18 out of 589 tests failed:
Nydus 2.1.0 (fuse-backend-rs 0.9) fails 21 out of 589 tests:
Provisioning this is fairly straightforward and can be repeated with the following steps:
mount -t virtiofs sharedFS /mnt
TEST_DIR=/mnt TEST_DEV=sharedFS ./check -virtiofs
./tests/**
./results/**
For context we found that the golang fuse library has run these tests in order to verify its functionality:
https://github.com/hanwen/go-fuse/issues?q=is%3Aissue+xfstest
On a side note, we have noticed with more recent versions of nydus that there have been some problems with stateful workloads, for example, MySQL and Minio have issues starting which look to be filesystem related. We are hoping that these tests will pick up any potential edges cases as understandably filesystems are very complex.
The text was updated successfully, but these errors were encountered: