Commit Graph

32 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 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 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 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 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 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 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 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 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 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
Anna Schumaker 942693a659 Create an install-scripts.zsh script
To copy over the things we need on remote machines. I also update
cthon.zsh to copy over a setup script.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-12-07 13:58:13 -05:00
Anna Schumaker cc6f0a4eea vm.zsh: Various changes
- Change timeouts to 5 seconds
- Add a "restart" command
- Kill any background jobs on exit

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-12-07 11:32:07 -05:00
Anna Schumaker 2adddd9e9c Create a cthon.zsh script
And a script to color the output. Additionally, I add a patch that goes
on top of the cthon04 git tree so we can test with nconnect

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-12-06 11:46:22 -05:00
Anna Schumaker 6cc073bd87 Create an rdma.zsh command
For controlling remote RDMA devices

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-12-06 11:05:42 -05:00
Anna Schumaker ab780cd3a8 Remove ssh.zsh and replace with a preexec.zsh script
This script is configured to intercept the `ssh` command and boot the
associated VM

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-12-02 15:49:42 -05:00
Anna Schumaker 5634d522f9 deploykernel.zsh: Take a list of machines to install on
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-12-02 15:05:43 -05:00
Anna Schumaker 54d5c4784c deploypkg.zsh: Take a list of machines to install on
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-12-02 15:01:40 -05:00
Anna Schumaker 0ca7ac8d86 vm.zsh: Add support for operating on multiple machines in parallel
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-12-02 15:01:40 -05:00
Anna Schumaker 04927311ef Create a deploykernel.zsh script
For building the current kernel and deploying it onto a VM

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-11-30 13:58:24 -05:00
Anna Schumaker e615a2d36b Create a grub-list.zsh command
For listing the available kernels on the current machine

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-11-30 13:58:24 -05:00
Anna Schumaker 8a73ed3a61 Create a deploypkg.zsh command
For installing a package created through makepkg onto a remote machine

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-11-30 13:58:24 -05:00
Anna Schumaker f4a1f40eff Create a wrapper around ssh
To check if we're trying to ssh to a VM so the VM can be booted if it is
off

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-11-30 13:58:24 -05:00
Anna Schumaker b1fa0acd1f Create a vm.zsh command
With subcommands to boot, reboot, or shutdown machines. Also, output in
color.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-11-30 13:58:24 -05:00
Anna Schumaker 27245b3c70 Add a script for doing my kconfig walk builds
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-11-29 12:07:47 -05:00
Anna Schumaker f3f1ed1709 Improve colorizing the makelinux.zsh command and add completions
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-11-29 12:07:16 -05:00