ART-23537: Fix hermetic build failure by removing update-bindata from build target - #489
Conversation
The build target in tests-extension/Makefile calls update-bindata, which runs `go install github.com/go-bindata/go-bindata/v3/go-bindata@v3.1.3`. This fails in hermetic Konflux builds where network access is blocked. Since testdata/bindata.go is already committed and checked in, regenerating it during the container image build is unnecessary. The update-bindata target remains available for development use when test fixtures are modified. Fixes: ART-23537
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. WalkthroughThe ChangesBindata Build
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~2 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to No specific regression or merge-blocking behavior has been established for this change. 🚥 Pre-merge checks | ✅ 5 | ❌ 10❌ Failed checks (10 inconclusive)
✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Warning Git: CodeRabbit could not clone the repository, so clone-backed analysis was skipped and this review may be incomplete. Verify repository clone access, such as SSH credentials, before requesting another full review. If clone access is intentionally unavailable, use Comment |
|
/retitle ART-23537: Fix hermetic build failure by removing update-bindata from build target AI-generated. Review for accuracy. |
|
@redhat-chai-bot: This pull request references ART-23537 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "5.1.0" version, but no target version was set. DetailsIn response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
|
Root cause: PR #485 (NE-2126: Migrating DNS operator test cases from QE repo) introduced AI-generated. Review for accuracy. |
|
/lgtm |
|
/verified by working build after merge |
|
@joepvd: This PR has been marked as verified by DetailsIn response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
|
Scheduling tests matching the |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rikatz 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 |
|
@redhat-chai-bot: 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. |
The build target in
tests-extension/Makefilecallsupdate-bindata,which runs
go install github.com/go-bindata/go-bindata/v3/go-bindatawitha pinned version. This fails in hermetic Konflux builds where network access
is blocked — Cachi2 only pre-fetches dependencies from
go.mod/go.sum,not tool installations via
go install.Since
testdata/bindata.gois already committed and checked in,regenerating it during the container image build is unnecessary.
The
update-bindatatarget remains available for development usewhen test fixtures are modified.
Fixes: ART-23537
AI-generated. Review for accuracy.
@joepvd requested via Chai Bot
Summary by CodeRabbit