Skip to content

Commit

Permalink
contrib/aws: Add Windows Test
Browse files Browse the repository at this point in the history
Signed-off-by: Seth Zegelstein <[email protected]>
  • Loading branch information
a-szegel committed Apr 5, 2024
1 parent 186d5b1 commit 996431a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 4 additions & 3 deletions contrib/aws/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ pipeline {
stages["1_g4dn_centos7_shm"] = common.get_test_stage("1_g4dn_centos7_shm", env.BUILD_TAG, "centos7", "g4dn.8xlarge", 1, "us-east-1", "libfabric_pr_test.yaml", addl_args_pr + "--test-libfabric-provider shm")
stages["1_g4dn_ubuntu2004_shm_disable-cma"] = common.get_test_stage("1_g4dn_ubuntu2004_shm_disable-cma", env.BUILD_TAG, "ubuntu2004", "g4dn.8xlarge", 1, "us-east-1", "libfabric_pr_test.yaml", addl_args_pr + "--test-libfabric-provider shm --enable-cma false")

// TODO: Get Single Node Windows test working
// stages["EFA_Windows_Test"] = common.get_single_node_windows_test_stage("EFA_Windows_Test")
// Single Node Windows Test
stages["EFA_Windows_Test"] = common.get_single_node_windows_test_stage("EFA_Windows_Test")

// Multi Node Tests - EFA
stages["2_hpc6a_alinux2_efa"] = common.get_test_stage("2_hpc6a_alinux2_efa", env.BUILD_TAG, "alinux2", "hpc6a.48xlarge", 2, "eu-north-1", "libfabric_pr_test.yaml", addl_args_pr)
Expand Down Expand Up @@ -114,7 +114,8 @@ pipeline {
}
failure {
sh '''
echo FAILURE
. venv/bin/activate
./PortaFiducia/scripts/delete_manual_cluster.py --cluster-name WindowsLibfabricCi_${env.CHANGE_ID}_*
'''
}
aborted {
Expand Down
7 changes: 6 additions & 1 deletion contrib/aws/common.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,12 @@ def get_single_node_windows_test_stage(stage_name) {
return {
stage("${stage_name}") {
def ret = sh (
script: ". venv/bin/activate; cd PortaFiducia/scripts; env AWS_DEFAULT_REGION=us-west-2 ./test_orchestrator_windows.py public",
script: """
. venv/bin/activate;
cd PortaFiducia/scripts;
export PULL_REQUEST_ID=${env.CHANGE_ID};
env AWS_DEFAULT_REGION=us-west-2 ./test_orchestrator_windows.py --ci public --s3-bucket-name libfabric-ci-windows-prod-test-output --pull-request-id ${env.CHANGE_ID};
""",
returnStatus: true
)
if (ret == 65)
Expand Down

0 comments on commit 996431a

Please sign in to comment.