Anna Schumaker
d080c04a5d
makelinux.zsh: Add compiler selection options
...
I add an easy way to select between gcc and clang. Additionally, I add
an option to cross-compile for arm64 architectures.
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2023-04-04 11:14: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
4025aaa0bd
colors/xfstests.py: Fix splitting kernel PREEMPT line
...
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-05-25 15:05:55 -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
d770421063
cthon.zsh: Add an --rwsize option
...
For setting rsize and wsize for the mount to test
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-05-24 13:13:41 -04:00
Anna Schumaker
1c3372e3a5
cthon.zsh: Don't return 0 if one of the tests fails
...
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-05-23 12:29:51 -04:00
Anna Schumaker
0fed27b109
submit-patches.zsh: Greatly improve the script
...
Take a command line option for who to send to, rather than relying on
having the proper variable set or commented out. Also, add some tab
completion.
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-05-16 17:02:29 -04:00
Anna Schumaker
5e1664d88a
cthon.zsh: Rewrite test
...
The runcthon script isn't the most straightforward for passing arbitrary
options or running with a specific NFS version. Deal with this by
writing our own version that does what we need it to do.
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-05-16 16:53:21 -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
59d2891198
Add test script for nfstest read plus
...
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-04-22 12:30:44 -04:00
Anna Schumaker
dd97c7079b
read_plus: Add script for testing the READ_PLUS operation
...
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-04-18 11:27:52 -04:00
Anna Schumaker
a6d46ff0e1
cthon: Add arguments for printing client and server dmesg log
...
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-04-18 11:24:50 -04:00
Anna Schumaker
cbcc5ba269
cthon: Have colors script exit with the proper exit code
...
Otherwise, the script will always return success and pipelines using
cthon.zsh won't work properly
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-04-18 11:23:48 -04:00
Anna Schumaker
b02e2ee03d
kernel-tag.zsh: Add script to determine if a commit is tagged
...
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-02-16 14:00:46 -05:00
Anna Schumaker
9b07caada6
setup-testdirs.zsh: Empty directories before running tests
...
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-02-16 14:00:00 -05:00
Anna Schumaker
1e0ce00c8e
report-xfstests.py: Normalize device and mount paths
...
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-02-16 13:59:15 -05:00
Anna Schumaker
39f8c14668
report-xfstests.py: Do a case-insensitive sort on not-run reasons
...
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-02-16 13:58:40 -05:00
Anna Schumaker
f61184fccb
run-xfstest.zsh: Remove xml file of previous run before starting
...
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-02-16 13:57:59 -05:00
Anna Schumaker
ee6e9c3cf8
report-xfstests.py: Read compressed results
...
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-02-16 13:57:35 -05: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
088f2eead1
report-xfstests: Select a row in the [notrun] page to search
...
This is useful for figuring out exactly which tests weren't run for a
given reason.
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-02-09 12:22:18 -05:00
Anna Schumaker
2ef3eea690
report-xfstests: Preserve the current property page when switching runs
...
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-02-09 11:58:06 -05:00
Anna Schumaker
e5a8e46cd9
report-xfstests.py: Count the number of passing tests
...
Rather than relying on the `tests` field, which may be inaccurate for
some reason.
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-02-08 13:41:07 -05:00
Anna Schumaker
31166081bf
report-xfstests.py: Show why tests were skipped
...
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-02-08 13:33:27 -05:00
Anna Schumaker
4d36a33840
report-xfstests.py: Improvements to the failed test output viewer
...
- Resize the window to double the width (and cut down on scrolling)
- Rename tabs
- Set default tab to the system-err field
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-02-07 15:24:47 -05:00
Anna Schumaker
55f3239edc
report-xfstests.py: Move the test viewer into a new file
...
Also:
- Add some custom CSS to the widgets
- Add tooltips to each test result cell
- Add a popover with failing test output
- Improve filtering in place of the view switches
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-02-07 15:24:24 -05:00
Anna Schumaker
6f3c37e568
report-xfstests.py: Convert test properties into a Gtk.Stack
...
And use a Gtk.ColumnView to display the results instead of packing
everything into a Gtk.Grid
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-02-02 11:13:42 -05:00
Anna Schumaker
b47955fe5a
report-xfstests.py: Create an object that reads xfstests results
...
Splitting this out of the UI code should help clean things up.
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-02-01 15:59:50 -05:00
Anna Schumaker
f1b6f42009
report-xfstests: Split out the test chooser into a new file
...
And add support for tests against tagged kernels
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-02-01 15:21:55 -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
e2c8b731d7
report-xfstests.py: Show test properties
...
I put these in a notebook with tabs based on how the server is mounted
(tcp-3, rdma-4.2, ...) so we can see extra test options that xfstests is
running with
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-01-28 16:29:21 -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
b6f523e622
report-xfstests.py: Add filtering support for tests
...
- Flip a switch to hide tests that were completely skipped
- Flip a switch to hide tests that were completely passed
- Type to do a regex search of test names
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-01-27 16:39:07 -05:00
Anna Schumaker
1aa5f29ae9
Add PKGBUILD file for building development kernels as an Arch package
...
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-01-27 10:49:42 -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
1fd4a0cf7c
patches: Add xfstests patches for NFS
...
- Disable slow-running generic/531
- Fix parallel instances
- Add an "nfsquick" group for virtual bake-a-thon testing
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-01-27 09:56:45 -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
3a2a30af33
Add a fix-eml.py script
...
For trying to fix up patches mangled by Outlook
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-01-20 17:01:22 -05:00
Anna Schumaker
864963a903
vsim_setup.sh: Initialize NTP during cluster setup
...
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-01-20 17:00:50 -05:00
Anna Schumaker
1e4ac2972d
makekconfig.py: Exit with an error if there was a compile error
...
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2022-01-20 17:00:02 -05:00
Anna Schumaker
4a498d92c5
Add a patch to remove unnecessary port 20049 from runcthon
...
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-12-15 13:48:28 -05:00
Anna Schumaker
38d323c5ab
Create an rping.zsh script
...
For testing RDMA connections between two machines. I also convert the
cthon.zsh script to use it before testing.
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-12-15 13:47:58 -05:00
Anna Schumaker
f1ea1327f4
rdma.zsh: Handle machines with multiple NICs
...
Iterate over each network card and add RDMA to it.
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-12-15 12:04:00 -05:00
Anna Schumaker
48a2b87ecd
makekconfig.zsh: Don't crash when options don't have dependencies
...
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-12-15 10:40:16 -05:00
Anna Schumaker
9f54c866ed
setup-testdirs.zsh: Combine with parts of setup-{cthon,xfstests}.zsh
...
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-12-10 17:28:51 -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