@@ -1111,7 +1111,7 @@ def rerunFailedTests(stageName, llmSrc, testCmdLine) {
11111111 // Generate rerun test lists
11121112 def failSignaturesList = trtllm_utils. getFailSignaturesList(). join(" ," )
11131113 sh """
1114- python3 ${ llmSrc} /tests/integration/defs /test_rerun.py \
1114+ python3 ${ llmSrc} /jenkins /test_rerun.py \
11151115 generate_rerun_tests_list \
11161116 --output-dir=${ WORKSPACE} /${ stageName} / \
11171117 --input-file=${ WORKSPACE} /${ stageName} /results.xml \
@@ -1184,20 +1184,23 @@ def rerunFailedTests(stageName, llmSrc, testCmdLine) {
11841184 }
11851185 }
11861186
1187- // generate rerun report
1187+ // Specify the stage name correctly
1188+ sh " cd ${ WORKSPACE} /${ stageName} && sed -i 's/testsuite name=\" pytest\" /testsuite name=\" ${ stageName} \" /g' *.xml || true"
1189+
1190+ // Generate rerun report
11881191 inputFiles = [" ${ WORKSPACE} /${ stageName} /results.xml" ,
11891192 " ${ WORKSPACE} /${ stageName} /rerun_results_1.xml" ,
11901193 " ${ WORKSPACE} /${ stageName} /rerun_results_2.xml" ]
11911194 sh """
1192- python3 ${ llmSrc} /tests/integration/defs /test_rerun.py \
1195+ python3 ${ llmSrc} /jenkins /test_rerun.py \
11931196 generate_rerun_report \
11941197 --output-file=${ WORKSPACE} /${ stageName} /rerun_results.xml \
11951198 --input-files=${ inputFiles.join(",")}
11961199 """
11971200
11981201 // Update original results xml file with rerun results xml files for junit
11991202 sh """
1200- python3 ${ llmSrc} /tests/integration/defs /test_rerun.py \
1203+ python3 ${ llmSrc} /jenkins /test_rerun.py \
12011204 merge_junit_xmls \
12021205 --output-file=${ WORKSPACE} /${ stageName} /results.xml \
12031206 --input-files=${ inputFiles.join(",")} \
0 commit comments