@@ -25,7 +25,7 @@ LLM_ROOT = "llm"
25
25
ARTIFACT_PATH = env. artifactPath ? env. artifactPath : " sw-tensorrt-generic/llm-artifacts/${ JOB_NAME} /${ BUILD_NUMBER} "
26
26
UPLOAD_PATH = env. uploadPath ? env. uploadPath : " sw-tensorrt-generic/llm-artifacts/${ JOB_NAME} /${ BUILD_NUMBER} "
27
27
28
- REUSE_ARITIFACT_PATH = env. reuseArtifactPath
28
+ REUSE_ARTIFACT_PATH = env. reuseArtifactPath
29
29
30
30
X86_64_TRIPLE = " x86_64-linux-gnu"
31
31
AARCH64_TRIPLE = " aarch64-linux-gnu"
@@ -352,8 +352,8 @@ def runLLMTestlistOnSlurm_MultiNodes(pipeline, platform, testList, config=VANILL
352
352
def makoOptsJson = transformMakoArgsToJson([" Mako options:" ] + makoArgs)
353
353
def testListPath = renderTestDB(testList, llmSrcLocal, stageName, makoOptsJson)
354
354
// Reuse passed tests
355
- if (REUSE_ARITIFACT_PATH ) {
356
- reusePassedTests(REUSE_ARITIFACT_PATH , stageName, testListPath)
355
+ if (REUSE_ARTIFACT_PATH ) {
356
+ reusePassedTests(pipeline, llmSrcLocal, REUSE_ARTIFACT_PATH , stageName, testListPath)
357
357
}
358
358
Utils . exec(pipeline, script : " sshpass -p '${ remote.passwd} ' scp -r -p -oStrictHostKeyChecking=no ${ testListPath} ${ remote.user} @${ remote.host} :${ testListPathNode} " ,)
359
359
@@ -1069,13 +1069,14 @@ def renderTestDB(testContext, llmSrc, stageName, preDefinedMakoOpts=null) {
1069
1069
return testList
1070
1070
}
1071
1071
1072
- def reusePassedTests (reusedArtifactPath , stageName , testListFile ) {
1072
+ def reusePassedTests (pipeline , llmSrc , reusedArtifactPath , stageName , testListFile ) {
1073
1073
def reusedPath = " ${ WORKSPACE} /reused"
1074
1074
sh " mkdir -p ${ reusedPath} "
1075
1075
def resultsFileName = " results-${ stageName} "
1076
1076
def passedTestsFile = " ${ reusedPath} /${ stageName} /passed_tests.txt"
1077
1077
try {
1078
- trtllm_utils. llmExecStepWithRetry(pipeline, script : " cd ${ reusedPath} && wget -nv ${ reusedArtifactPath} /test-results/${ resultsFileName} .tar.gz" )
1078
+ def resultsUrl = " https://urm.nvidia.com/artifactory/${ reusedArtifactPath} /test-results/${ resultsFileName} .tar.gz"
1079
+ trtllm_utils. llmExecStepWithRetry(pipeline, script : " cd ${ reusedPath} && wget -nv ${ resultsUrl} " )
1079
1080
sh " cd ${ reusedPath} && tar -zxf ${ resultsFileName} .tar.gz"
1080
1081
// Get passed tests
1081
1082
sh """
@@ -1450,8 +1451,8 @@ def runLLMTestlistOnPlatformImpl(pipeline, platform, testList, config=VANILLA_CO
1450
1451
1451
1452
def testDBList = renderTestDB(testList, llmSrc, stageName)
1452
1453
// Reuse passed tests
1453
- if (REUSE_ARITIFACT_PATH ) {
1454
- reusePassedTests(REUSE_ARITIFACT_PATH , stageName, testDBList)
1454
+ if (REUSE_ARTIFACT_PATH ) {
1455
+ reusePassedTests(pipeline, llmSrc, REUSE_ARTIFACT_PATH , stageName, testDBList)
1455
1456
}
1456
1457
1457
1458
testList = " ${ testList} _${ splitId} "
0 commit comments