@@ -1839,13 +1839,15 @@ def rerunFailedTests(stageName, llmSrc, testCmdLine, resultFileName="results.xml
18391839
18401840 // Generate rerun test lists
18411841 def failSignaturesList = trtllm_utils. getFailSignaturesList(). join(" ," )
1842- sh """
1842+ sh(script : """
1843+ set +x # Disable debug mode
18431844 python3 ${ llmSrc} /jenkins/scripts/test_rerun.py \
18441845 generate_rerun_tests_list \
18451846 --output-dir=${ rerunDir} / \
18461847 --input-file=${ WORKSPACE} /${ stageName} /${ resultFileName} \
18471848 --fail-signatures="${ failSignaturesList} "
1848- """
1849+ set -x # Enable debug mode
1850+ """ )
18491851
18501852 // If there are some failed tests that cannot be rerun (e.g. test duration > 10 min and no known failure signatures),
18511853 // fail the stage immediately without attempting any reruns
@@ -3196,7 +3198,7 @@ def launchTestJobs(pipeline, testFilter)
31963198 try {
31973199 trtllm_utils. llmStageWithRetry(pipeline, stageName, {
31983200 GlobalState . stageAttemptTimes[stageName] = GlobalState . stageAttemptTimes. getOrDefault(stageName, 0 ) + 1
3199- echo " GlobalState.stageAttemptTimes[ ${ stageName} ] : ${ GlobalState.stageAttemptTimes[stageName]} "
3201+ echo " ${ stageName} attempt times : ${ GlobalState.stageAttemptTimes[stageName]} "
32003202 trtllm_utils. launchKubernetesPod(pipeline, values[0 ], " trt-llm" , {
32013203 values[1 ]()
32023204 })
@@ -3235,7 +3237,7 @@ def publishJunitTestResults(pipeline, stageName, stageIsInterrupted) {
32353237 } catch (Exception e) {
32363238 // wget returns exit code 8 for server errors (404, 500, etc.)
32373239 if (e. message. contains(" exit code 8" ) || e. message. contains(" 404" )) {
3238- echo " Test result not found (HTTP error) , skip to upload test result."
3240+ echo " Test result not found, skip to upload test result."
32393241 return
32403242 }
32413243 throw e
0 commit comments