Commit Graph

89 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 b07b1c2a52 unlock-sqlite-db.zsh: Add script for fixing locked database files
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2023-07-19 15:09:37 -04:00
Anna Schumaker 03255bc333 pull-request.sh: Various Updates
* We are on Linux v6.* now
* Add a subject line template
* Fix the $new tag variable

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2023-07-19 14:56:04 -04:00
Anna Schumaker b2432c671e submit-patches.zsh: Various updates
* Add an option to send to Linus
* Remove extra TO= lines

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2023-07-19 14:54:17 -04:00
Anna Schumaker 8cc4c23e71 read_plus.zsh: Various Updates
* Clean up colors/read_plus.py to match flake8 style guidelines
* Add --dmesg, --srvdmesg, and --no-server-vmtouch options
* Use $COLORS from common.zsh
* Accept a specific filename to test as a command line argument
* Add tests for 3, 5, 6, and 7 page segments

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2023-07-19 14:44:10 -04:00
Anna Schumaker 3e0f52b4e4 install-scripts.zsh: Various Updates
* Use $BIN from common.zsh
* Fixes for colorful output
* Install scripts to .local/bin on the remote machine
* Point setup.zsh at .local/bin instead of .bin
* Run setup/testdirs.zsh with the -e flag

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2023-07-19 13:50:02 -04:00
Anna Schumaker c7aad8e77c syncmusic.sh: Fix source path for the new synology device
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2023-07-19 13:25:23 -04:00
Anna Schumaker 0b9af1b0ff backup.sh: Fix backup path for the new synology device
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2023-07-19 13:24:45 -04:00
Anna Schumaker 078d6e126e vm.zsh: Various Updates
* Improve the exit trap to make sure child processes are stopped
* wait $(jobs -pr) is the same thing as wait with no options

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2023-07-19 13:17:40 -04:00
Anna Schumaker fef564a570 rping.zsh: Various Updates
* Use $COLORS from common.zsh
* Fix colorful output when run from a different script

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2023-07-19 12:02:47 -04:00
Anna Schumaker e4434babcb rdma.zsh: Various Updates
* Use $COLORS from common.zsh
* Fix colored output when run from another script

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2023-07-19 12:01:58 -04:00
Anna Schumaker c843549aa5 deploykernel.zsh: Various Updates
* Add options for cross compiling
* Put the resulting package in a subdirectory to keep the toplevel clean
* Fix color output
* Use $COLORS from common.zsh

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2023-07-19 11:53:10 -04:00
Anna Schumaker 2e9699a52e deploypkg.zsh: Various Updates
* Clean up colors/pacman.py for colorful output
* Fixes for the .local/bin move
* Use the $COLORS and $BIN variables from common.zsh

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2023-07-19 11:45:58 -04:00
Anna Schumaker 70dfceccef makekconfig.py: Various Updates
* Python flake8 style fixes
* Update for the .local/bin change

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2023-07-19 11:42:34 -04:00
Anna Schumaker 941308e246 makelinux.zsh: Various Updates
* Fixes to color output
* Added an option to cross compile for i686
* Use the new $COLORS variable for the location of the colors script

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2023-07-18 16:18:32 -04:00
Anna Schumaker 2373f06ea7 cthon.zsh: Various Updates
* Point $BIN to $HOME/.local/bin
* Create $COLORS pointing to $BIN/colors
* Use the zsh built-in _libvirt function for completion
* Add a --no-server-access option for testing against somebody else's
  server
* Add a generic --options option, replacing --nconnect and --rwsize but
  allowing for any NFS mount option to be passed instead
* Run RDMA tests after TCP instead of in parallel

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2023-07-18 16:04:37 -04:00
Anna Schumaker d29b73180f reporter: updates for xfstests xunit generation changes
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2023-04-17 13:12:51 -04:00
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