Commit Graph

14 Commits

Author SHA1 Message Date
Anna Schumaker 2022b22180 xfstests.zsh: Various Updates
* Use $COLORS from common.zsh
* Add a --options option to pass generic NFS mount options
* Add the --no-scratch option to run tests without a scratch mount
* Add the --no-server-access option for testing against somebody else's
  server
* Remove the --nconnect and --rwsize options
* Run tcp and rdma tests sequentially instead of in parallel
* Add xfstestsdb support
* Clean up colors/xfstests.py to fix flake8 style errors
* Colorize xfstestsdb xunit output

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2023-07-20 14:04:50 -04:00
Anna Schumaker 87d2a308c3 xfstests.zsh: Make -g GROUP an option to the script
So we can add tab completion and set a default group when one isn't
passed in.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-05-25 15:07:04 -04:00
Anna Schumaker 061d076ee9 xfstests.zsh: Add a --rwsize option
For setting the rsize and wsize used by the tests

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-05-24 13:14:13 -04:00
Anna Schumaker 600fd846dc common.zsh: Add automatic version verification
And expand "-v 4" to run all NFS v4 minorversions

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-04-26 10:56:09 -04:00
Anna Schumaker 3428879918 Move setup-* and run-* scripts into subdirectories
The common prefixes in these scripts indicate that they should really be
in directories and not the toplevel. I also provide a helper script in
$BIN to assist in calling them on the target VMs

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-04-26 10:33:01 -04:00
Anna Schumaker a2453af9cc common.zsh: Move some common test functions into common.zsh
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-04-25 15:27:36 -04:00
Anna Schumaker f757dec0ab common.zsh: Pull out common test config into a shared file
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-04-25 15:27:15 -04:00
Anna Schumaker 9bb097aae4 xfstests.zsh: Compress results to save disk space
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-02-16 13:56:23 -05:00
Anna Schumaker c0883fd99e xfstests.zsh: Add an --nconnect= option
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-02-10 09:45:59 -05:00
Anna Schumaker 51f50a54b4 xfstests: Check if the current commit is a git tag
And create a link to the test results in a specific spot if it is so we
can eventually browse results by tag.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-01-31 15:02:30 -05:00
Anna Schumaker 58b9083908 xfstests.zsh: Don't create results directory until we have results
Otherwise the empty directory will show up in the results tool as an
option, which could leade to gtk errors when trying to populate the
results table.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-01-28 16:26:27 -05:00
Anna Schumaker 75635c2de8 xfstests: Create a test results viewer
And store the xunit report from all tests run from now on

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-01-27 09:57:56 -05:00
Anna Schumaker 50fcd690ba xfstests.zsh: Lots of updates for parallel xfstests
Also download the xunit reports generated during testing and store them
for later

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-01-20 17:02:20 -05:00
Anna Schumaker 76846ae7d4 Implement xfstests using zsh
This includes our main xfstests.zsh file, and some support scripts for
setting up and running tests on the client

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-12-10 17:27:53 -05:00