Fix rerun step (#5319)

Signed-off-by: Yiqing Yan <yiqingy@nvidia.com>
This commit is contained in:
Yiqing Yan 2025-06-18 16:38:45 +08:00 committed by GitHub
parent f599ee63c1
commit a3a48410f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -990,6 +990,7 @@ def rerunFailedTests(stageName, llmSrc, testCmdLine) {
)
echo "Test rerun report: https://urm.nvidia.com/artifactory/${UPLOAD_PATH}/rerun_reports/${stageName}_rerun_results.html"
echo "isRerunFailed: ${isRerunFailed}"
return isRerunFailed
}
@ -1230,8 +1231,7 @@ def runLLMTestlistOnPlatformImpl(pipeline, platform, testList, config=VANILLA_CO
} catch (Exception e) {
isRerunFailed = rerunFailedTests(stageName, llmSrc, testCmdLine)
if (isRerunFailed) {
echo "The tests still failed after rerun attempt."
throw e
error "The tests still failed after rerun attempt."
}
}
}