[code-reflection] RFR: [hat] Script for remote testing on GPU servers
Juan Fumero
jfumero at openjdk.org
Tue Sep 23 10:47:33 UTC 2025
This path adds a new script for remote testing.
### How to use it?
1. Generate a config file:
bash ./scripts/remoteTesting.sh --generate-config-file
2. Fill the template
Template is located in `<babylon>/hat/remoteTesting.conf`.
Example:
# HAT Remote Testing Settings
SERVERS=server1 server2 server3
REMOTE_USERS=user1 user2 user3
#List of Backends to test
BACKENDS=ffi-cuda ffi-opencl
## Remote path. It assumes all servers use the same path
REMOTE_PATH=repos/babylon/hat
## Branch to test
BRANCH=hat/dialect/ops
3. Generate ssh-keys for all servers and run ssh-copy-id
4. Run the script without parameters
bash ./scripts/remoteTesting.sh
#### Print help
bash scripts/remoteTesting.sh --help
## Notes
- The testing script assumes all servers have installed Babylon + HAT before (so the Babylon JDK has been built)
- The path to access all servers is the same
- The testing script setups the environment using `source setup.sh`
-------------
Commit messages:
- [hat] Script for remote testing
Changes: https://git.openjdk.org/babylon/pull/580/files
Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=580&range=00
Stats: 187 lines in 2 files changed: 187 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/babylon/pull/580.diff
Fetch: git fetch https://git.openjdk.org/babylon.git pull/580/head:pull/580
PR: https://git.openjdk.org/babylon/pull/580
More information about the babylon-dev
mailing list