Fix ocp-priv CoreOS tag race condition and add error logging#3195
Conversation
Concurrent oc tag calls for the ocp-priv imagestream race to create it when it doesn't exist yet, causing AlreadyExists failures. Add a retry so the second attempt tags into the now-existing imagestream. Also log the error when CoreOS mirroring fails, since previously it was only sent to Slack and never appeared in Jenkins logs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: openshift-eng/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
WalkthroughBuild synchronization now retries failed private CI imagestream tagging once and logs detailed errors when CoreOS image mirroring fails. ChangesBuild sync reliability
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: Important Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional. ❌ Failed checks (1 error, 1 warning)
✅ Passed checks (9 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fgallott The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@joepvd: The following tests failed, say
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. |
d3df44b
into
openshift-eng:main
Summary
oc tagcalls for theocp-privimagestream all try to create it simultaneously, causingAlreadyExistsfailures. Added a single retry so the second attempt tags into the now-existing imagestream.Test plan
make unitpasses (3064 tests)ruff checkandruff format --checkpass on changed file🤖 Generated with Claude Code
Summary by CodeRabbit