Repository navigation
[None][fix] Localize build arguments and sanity pod configurations - #22102
Conversation
Signed-off-by: Yanchao Lu <[email protected]>
Signed-off-by: Yanchao Lu <[email protected]>
…r-isolation Signed-off-by: Yanchao Lu <[email protected]>
…tions Signed-off-by: Yanchao Lu <[email protected]>
|
No actionable comments were generated in the recent review. WalkthroughThe Jenkins test pipeline now declares ChangesJenkins variable scope
Estimated code review effort: 2 (Simple) | ~5 minutes Change: Bug fix Merge Risk:
|
Description
Problem
When NGC devel sanity runs both architectures in parallel,
runLLMBuildstoresbuildArgsin the script binding and reads it after enteringwithEnv. One branch can therefore use the other branch's CUDA target list.Package and image sanity pod specifications are also stored in the script binding even though each is only needed by its own branch.
Solution
Declare
buildArgs,pipInstallSanitySpec, and bothimageSanitySpecassignments as local variables. The pod-spec changes prevent unnecessary shared state; the demonstrated interleaving bug is inbuildArgs.Existing
withEnvand test-execution timeout semantics are preserved. Related: #22101.Test Coverage
Validation
withEnvreproduces the original CUDA-target mix-up; the fix preserves the amd64 and arm64 command arguments.PR Checklist
Dev Engineer Review
jenkins/L0_Test.groovynow declaresbuildArgs,pipInstallSanitySpec, andimageSanitySpecas local variables. This prevents shared Jenkins script-binding state across parallel architecture and image-sanity runs. Existing build arguments,withEnvusage, and timeout behavior remain unchanged.QA Engineer Review
No test changes.
Per-File QA Perspective
jenkins/L0_Test.groovy: Verify parallel amd64 and arm64 runs use the correct build arguments and pod specifications. Verify existing build, LLMAPI, and image-sanity flows remain unchanged.