[code-reflection] RFR: [hat] Script for remote testing on GPU servers [v3]
Juan Fumero
jfumero at openjdk.org
Wed Sep 24 06:39:39 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
> FORK=myBAbylonFork
>
> #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. [Optional] If needed, build Babylon+ HAT on the remote servers automatically
>
>
> bash ./scripts/remoteTesting.sh --build-babylon
>
>
> 4. Generate ssh-keys for all servers and run ssh-copy-id
>
> 5. 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`
Juan Fumero has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
- Merge branch 'code-reflection' into hat/remote/testing
- [hat] Remote testing script with remote builds
- [hat] Script for remote testing
-------------
Changes:
- all: https://git.openjdk.org/babylon/pull/580/files
- new: https://git.openjdk.org/babylon/pull/580/files/ccd88535..7ad59f7d
Webrevs:
- full: https://webrevs.openjdk.org/?repo=babylon&pr=580&range=02
- incr: https://webrevs.openjdk.org/?repo=babylon&pr=580&range=01-02
Stats: 668 lines in 42 files changed: 213 ins; 104 del; 351 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