You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[TRTLLMINF-350][fix] overwrite wget output on download retries - #22554
A retried wget invocation without an explicit output file can leave the first partial download in place and save the successful retry as filename.1. Subsequent installation or extraction still reads the original, incomplete file.
Specify -O at the three remaining retried download sites in L0_Test.groovy:
Package-sanity wheel download: overwrite the wheel basename in the current directory.
Package-sanity Linux archive: overwrite the exact filename consumed by tar.
CUDA keyring: overwrite the exact .deb filename consumed by dpkg.
The package-sanity caller is currently commented out; the CUDA keyring path remains active. The CBTS download already specifies -O and is unchanged. Retry counts and downstream commands are unchanged.
This PR contains only the three download-command changes, with no dispatcher or interruption-policy changes.
Temporary Groovy checks evaluate the actual package-sanity method and CUDA-keyring command across 10 scenarios, validating 16 rendered download commands and their Bash syntax. Coverage includes nested wheel paths, a directory containing spaces, dependency reinstallation on/off, both CPU architectures, and both Ubuntu variants.
The command-rendering check fails against the pre-fix source.
The complete Groovy source parsed at the CONVERSION phase; applicable pre-commit, whitespace, and DCO checks passed.
These are local command-generation checks, not real interrupted-download or Jenkins integration tests. GNU wget is unavailable on the validation host. No bot CI trigger was posted for this PR.
PR Checklist
CI-only change; no new dependencies, public API, ownership, or architecture changes.
Reviewer assessment and Jenkins validation remain pending.
Dev Engineer Review
jenkins/L0_Test.groovy changes three wget calls to pass an explicit -O output filename. Each retry now overwrites the earlier partial file instead of saving a new filename.1.
The wheel download in runPackageSanityCheck uses the last path segment of wheel_path as the output name. The URL is wrapped in single quotes. A URL that contains a single quote would break this command.
The Linux package download in runPackageSanityCheck uses linuxPkgName as the output name. The following tar -zvxf ${linuxPkgName} step still reads that same file.
The CUDA keyring download is in launchTestJobs, not in runPackageSanityCheck. It hardcodes -O cuda-keyring_1.1-1_all.deb. This name matches the URL basename and the following dpkg -i command.
No other logic, retry counts, or downstream commands changed.
QA Engineer Review
No test changes.
Per-File QA Perspective
jenkins/L0_Test.groovy: Downloads in the package-sanity flow and the CUDA keyring setup now save under fixed local names. QA should confirm that a retried download replaces the partial file and that tar and dpkg still find the expected files. The package-sanity caller is reported as commented out, so that path is not exercised in CI.
Retried downloads now overwrite the same output file instead of saving a successful retry as filename.1, so a partial first download no longer breaks the later steps. The change is small and localized, and no merge-blocking risk was found. Resolve the PR checklist item and run Jenkins validation as usual.
Architecture risk: Low · up to efdfc
The change affects 1 system.
Changed systems:jenkins
Architecture concerns
No architecture-level concerns identified.
Review details
Systems and components
observed — jenkins (service) was modified; 1 changed file maps to changed impact.
Before / after behavior
observed — Modified behavior in jenkins/L0_Test.groovy: The wheel download now saves to the wheel artifact’s basename instead of relying on wget’s default filename.
observed — Modified behavior in jenkins/L0_Test.groovy: The Linux package download now explicitly saves as linuxPkgName rather than relying on wget’s default filename.
observed — Modified behavior in jenkins/L0_Test.groovy: The CUDA keyring download now explicitly saves as cuda-keyring_1.1-1_all.deb rather than relying on wget’s default filename.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title names the main change: explicit wget output overwrite (-O) on download retries, matching the three download sites in L0_Test.groovy. It follows the repository format with a Jira ticket and t…
Description check
The description covers the problem, the three changed download sites, what was left unchanged, test coverage (local command-generation checks, with the limits stated), and a checklist. It follows the …
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the main change: explicit wget output overwrite (-O) on download retries, matching the three download sites in L0_Test.groovy. It follows the repository format with a Jira ticket and the [fix] type. It is specific and accurate to the changeset.
Full details: Description check
Explanation
The description covers the problem, the three changed download sites, what was left unchanged, test coverage (local command-generation checks, with the limits stated), and a checklist. It follows the template's Description, Test Coverage, and PR Checklist sections. It omits the template's ticket-format title guidance, which the title already satisfies. The PR Checklist is a short summary, not a full item-by-item review, but the required information is present.
Finishing Touches
Generate unit tests (beta)
Create a new PR
Fix failing CI checks
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Reviewing files that changed from the base of the PR and between 0f4c114 and efdfc55.
Files selected for processing: 1
jenkins/L0_Test.groovy
Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 10 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Addresses TRTLLMINF-350.
A retried
wgetinvocation without an explicit output file can leave the first partial download in place and save the successful retry asfilename.1. Subsequent installation or extraction still reads the original, incomplete file.Specify
-Oat the three remaining retried download sites inL0_Test.groovy:tar..debfilename consumed bydpkg.The package-sanity caller is currently commented out; the CUDA keyring path remains active. The CBTS download already specifies
-Oand is unchanged. Retry counts and downstream commands are unchanged.This PR contains only the three download-command changes, with no dispatcher or interruption-policy changes.
Test Coverage
PR Checklist
Dev Engineer Review
jenkins/L0_Test.groovychanges threewgetcalls to pass an explicit-Ooutput filename. Each retry now overwrites the earlier partial file instead of saving a newfilename.1.runPackageSanityCheckuses the last path segment ofwheel_pathas the output name. The URL is wrapped in single quotes. A URL that contains a single quote would break this command.runPackageSanityCheckuseslinuxPkgNameas the output name. The followingtar -zvxf ${linuxPkgName}step still reads that same file.launchTestJobs, not inrunPackageSanityCheck. It hardcodes-O cuda-keyring_1.1-1_all.deb. This name matches the URL basename and the followingdpkg -icommand.QA Engineer Review
No test changes.
Per-File QA Perspective
jenkins/L0_Test.groovy: Downloads in the package-sanity flow and the CUDA keyring setup now save under fixed local names. QA should confirm that a retried download replaces the partial file and thattaranddpkgstill find the expected files. The package-sanity caller is reported as commented out, so that path is not exercised in CI.