@@ -25,7 +25,7 @@ LLM_ROOT = "llm"
2525ARTIFACT_PATH = env. artifactPath ? env. artifactPath : " sw-tensorrt-generic/llm-artifacts/${ JOB_NAME} /${ BUILD_NUMBER} "
2626UPLOAD_PATH = env. uploadPath ? env. uploadPath : " sw-tensorrt-generic/llm-artifacts/${ JOB_NAME} /${ BUILD_NUMBER} "
2727
28- REUSE_ARITIFACT_PATH = env. reuseArtifactPath
28+ REUSE_ARTIFACT_PATH = env. reuseArtifactPath
2929
3030X86_64_TRIPLE = " x86_64-linux-gnu"
3131AARCH64_TRIPLE = " aarch64-linux-gnu"
@@ -352,8 +352,8 @@ def runLLMTestlistOnSlurm_MultiNodes(pipeline, platform, testList, config=VANILL
352352 def makoOptsJson = transformMakoArgsToJson([" Mako options:" ] + makoArgs)
353353 def testListPath = renderTestDB(testList, llmSrcLocal, stageName, makoOptsJson)
354354 // 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)
357357 }
358358 Utils . exec(pipeline, script : " sshpass -p '${ remote.passwd} ' scp -r -p -oStrictHostKeyChecking=no ${ testListPath} ${ remote.user} @${ remote.host} :${ testListPathNode} " ,)
359359
@@ -1069,13 +1069,14 @@ def renderTestDB(testContext, llmSrc, stageName, preDefinedMakoOpts=null) {
10691069 return testList
10701070}
10711071
1072- def reusePassedTests (reusedArtifactPath , stageName , testListFile ) {
1072+ def reusePassedTests (pipeline , llmSrc , reusedArtifactPath , stageName , testListFile ) {
10731073 def reusedPath = " ${ WORKSPACE} /reused"
10741074 sh " mkdir -p ${ reusedPath} "
10751075 def resultsFileName = " results-${ stageName} "
10761076 def passedTestsFile = " ${ reusedPath} /${ stageName} /passed_tests.txt"
10771077 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} " )
10791080 sh " cd ${ reusedPath} && tar -zxf ${ resultsFileName} .tar.gz"
10801081 // Get passed tests
10811082 sh """
@@ -1450,8 +1451,8 @@ def runLLMTestlistOnPlatformImpl(pipeline, platform, testList, config=VANILLA_CO
14501451
14511452 def testDBList = renderTestDB(testList, llmSrc, stageName)
14521453 // 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)
14551456 }
14561457
14571458 testList = " ${ testList} _${ splitId} "
0 commit comments