-
Notifications
You must be signed in to change notification settings - Fork 74
OCPBUGS-64724: Fix TOCTOU race condition in ensureInstallPlan (#3682) #1139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: release-4.20
Are you sure you want to change the base?
OCPBUGS-64724: Fix TOCTOU race condition in ensureInstallPlan (#3682) #1139
Conversation
Upstream-repository: operator-lifecycle-manager Upstream-commit: ce26d16fb9c59f03cc234b803fe8d3e40a3c09c0
|
@jianzhangbjz: This pull request references Jira Issue OCPBUGS-64724, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In 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. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: jianzhangbjz The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/jira refresh |
|
@jianzhangbjz: This pull request references Jira Issue OCPBUGS-64724, which is invalid:
Comment In 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. |
|
/jira refresh |
|
@jianzhangbjz: This pull request references Jira Issue OCPBUGS-64724, which is valid. The bug has been moved to the POST state. 7 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira (jiazha@redhat.com), skipping review request. In 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. |
|
It failed, as the below shows: do we really need this checking? Thanks! ---
Detected go.mod in /go/src/github.com/openshift/operator-framework-olm; verifying vendored dependencies.
github.com/openshift/api v3.9.0+incompatible
ERROR: Detected github.com/openshift/api or client-go v3.9.0+incompatible in go.mod
Do not use this 'version' of openshift/api or client-go . For complex
reasons, this invalid version is a contagion which causes modules
which import your code to also import the invalid version.
Fix:
Use an explicit commit in your 'require' statement. You can do
this with 'go get github.com/openshift/api@latest' or just specify
the import directly. For example, for openshift/api require:
github.com/openshift/api@v0.0.0-20250710004639-926605d3338b
In addition, remove any 'replace' statement that may have been in
use for the module.
Unfortunately, this will be necessary until modules you require
eliminate their own use of v3.9.0+incompatible import.
Detail: v3.9.0+incompatible used to be a valid version/tag. However
managing @latest via tags was not desired, so the version was deleted.
Before that deletion, many modules had incorporated the now invalid
version. Since the version is greater than v0.0.0 pseudo-versions,
go 'upgrades' importing go.mods to use v3.9.0+incompatible and the
contagion spreads.
{"component":"entrypoint","error":"wrapped process failed: exit status 1","file":"sigs.k8s.io/prow/pkg/entrypoint/run.go:84","func":"sigs.k8s.io/prow/pkg/entrypoint.Options.internalRun","level":"error","msg":"Error executing test process","severity":"error","time":"2025-11-06T09:15:57Z"}
error: failed to execute wrapped command: exit status 1
--- |
|
@jianzhangbjz: The following tests failed, say
Full PR test history. Your PR dashboard. 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 kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Manually cherry-pick #1129