Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions jenkins/L0_Test.groovy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@Library(['bloom-jenkins-shared-lib@main', 'trtllm-jenkins-shared-lib@main']) _
@Library(['bloom-jenkins-shared-lib@dev-yuanjingx-add_custom_ssh_option', 'trtllm-jenkins-shared-lib@main']) _

import java.lang.InterruptedException
import groovy.transform.Field
Expand Down Expand Up @@ -846,7 +846,7 @@ def runLLMTestlistWithSbatch(pipeline, platform, testList, config=VANILLA_CONFIG
sh "cd ${llmPath} && tar -zxf ${BUILD_CONFIGS[config][TARNAME]}"

// Upload slurm_run_sh to Frontend node
def scriptRunLocalPath = "${llmSrcLocal}/jenkins/scripts/slurm_run.sh"
def scriptRunLocalPath = "${llmSrcLocal}/jenkins/scripts/slurm_run_test.sh"

Utils.exec(pipeline, script: "echo \"Script to trigger slurm job: \" && cat ${scriptRunLocalPath}")
Utils.copyFileToRemoteHost(
Expand Down Expand Up @@ -997,10 +997,11 @@ def runLLMTestlistWithSbatch(pipeline, platform, testList, config=VANILLA_CONFIG
stage("[${stageName}] Run Pytest") {
Utils.exec(
pipeline,
timeout: false,
timeout: 200,
script: Utils.sshUserCmd(
remote,
scriptExecPathNode
scriptExecPathNode,
"-o ConnectTimeout=600"
)
)
}
Expand Down
4 changes: 4 additions & 0 deletions jenkins/scripts/slurm_run_test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
nvidia-smi
sleep 1000
echo "Done"
Loading