fix: add curl retry flags to ARO-HCP capz-e2e build root (ARO-29016) - #83383
fix: add curl retry flags to ARO-HCP capz-e2e build root (ARO-29016)#83383RadekCap wants to merge 1 commit into
Conversation
The dockerfile_literal used to build the capz-e2e CI image had no retry logic on any of the external curl downloads (kubectl, helm, clusterctl, oc). A single transient DNS failure kills the entire build before any test step runs — confirmed in run 2087630250363064320 where dl.k8s.io failed to resolve. Add --retry 3 --retry-delay 5 to all five curl download commands. Ref: ARO-29016 Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
1 similar comment
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
WalkthroughThe CI configuration adds three-attempt retries with five-second delays to downloads for the OpenShift CLI, kubectl, Helm, and clusterctl. Existing checksum validation, extraction, and installation steps remain unchanged. ChangesDownload reliability
Estimated code review effort: 1 (Trivial) | ~5 minutes Mergeability Score: ⚪ Minimal · up to This localized change adds retries to external downloads and presents no actionable merge-blocking risk beyond the normal confirmation that generated CI configuration is up to date. Suggested reviewers: 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
[REHEARSALNOTIFIER]
Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals. Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
@RadekCap: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: marek-veber, RadekCap The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Description
Add
--retry 3 --retry-delay 5to all externalcurldownloads in thedockerfile_literalbuild root for the ARO-HCP capz-e2e CI jobs. Withoutretry flags, a single transient DNS failure kills the entire CI image build
before any test step runs.
Root cause confirmed in periodic run
2087630250363064320ofperiodic-ci-Azure-ARO-HCP-main-capz-e2e-production:curl: (6) Could not resolve host: dl.k8s.io— the kubectl download stepfailed, causing the build to exit in ~8 minutes with no test execution.
JIRA: https://redhat.atlassian.net/browse/ARO-29016
Changes Made
--retry 3 --retry-delay 5to theocdownload frommirror.openshift.com--retry 3 --retry-delay 5to thekubectlbinary download fromdl.k8s.io--retry 3 --retry-delay 5to thekubectlchecksum download fromdl.k8s.io--retry 3 --retry-delay 5to thehelmtarball download fromget.helm.sh--retry 3 --retry-delay 5to thehelmchecksum download fromget.helm.sh--retry 3 --retry-delay 5to theclusterctldownload from GitHubConfiguration Changes
N/A
Additional Notes
The same fix has been applied to
Dockerfile.prowinstolostron/capi-tests#812,
which is the source the
dockerfile_literalhere was copied from.🤖 Generated with Claude Code
Summary by CodeRabbit
The ARO-HCP capz-e2e CI image build now retries external
curldownloads three times, with a five-second delay between attempts. This coversoc,kubectl, Helm, their checksums, andclusterctl.This reduces CI image build failures caused by transient DNS or network errors.