Details
-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
3
-
10274
Description
In http://review.whamcloud.com/1708 xfstests was used to test the ldiskfs large xattr support.
There is a fair amount of useful testing that could be gotten from xfstests by running it against ldiskfs and also against Lustre. This will ensure that a number of standard Linux-specific APIs are being tested, in addition to normal and abnormal IO tests.
As a first pass, it would be possible to run xfstests as a single standalone test script with a Lustre test-framework.sh wrapper to output test results to Maloo, as well as allow Lustre formatting and remote setup.
A more advanced deployment might hook into xfstests to allow per-subtest results from xfstests to be output to Maloo instead of having a single global pass/fail result. This could possibly be done by hooking test-framework.sh directly into the xfstests harness (hopefully with very minimal code changes to xfstests), or alternately if that is too complex as a post-processing step to convert the xfstests output into a format suitable for Maloo.
We don't want to modify xfstests in any significant way, so that it is possible to update it regularly from the upstream version. It would also be beneficial to submit upstream patches to indicate which tests can run on a mounted Lustre filesystem so that we don't have to maintain this continually.