This is a clone of issue OCPBUGS-48537. The following is the description of the original issue:
—
This is a clone of issue OCPBUGS-48535. The following is the description of the original issue:
—
This is a clone of issue OCPBUGS-48513. The following is the description of the original issue:
—
Description of problem:
Our e2e setup `go install` a few packages with the `@latest` tag. `go install` does not take `go.mod` into consideration, so in older branches we can pull package versions not compatible with the system Go version.
Version-Release number of selected component (if applicable):
All branches using Go < 1.23
How reproducible:
always on branch <= 4.18
Steps to Reproduce:
1. 2. 3.
Actual results:
./test/e2e/e2e-simple.sh ././bin/oc-mirror /go/src/github.com/openshift/oc-mirror/test/e2e/operator-test.17343 /go/src/github.com/openshift/oc-mirror go: downloading github.com/google/go-containerregistry v0.20.3 go: github.com/google/go-containerregistry/cmd/crane@latest: github.com/google/go-containerregistry@v0.20.3 requires go >= 1.23.0 (running go 1.22.9; GOTOOLCHAIN=local) /go/src/github.com/openshift/oc-mirror/test/e2e/lib/util.sh: line 17: PID_DISCONN: unbound variable https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_oc-mirror/1006/pull-ci-openshift-oc-mirror-release-4.18-e2e/1879913390239911936
Expected results:
The package version selected is compatible with the system Go version.
Additional info:
- blocks
-
OCPBUGS-48551 e2e installs wrong lib versions
- Verified
- clones
-
OCPBUGS-48537 e2e installs wrong lib versions
- Verified
- is blocked by
-
OCPBUGS-48537 e2e installs wrong lib versions
- Verified
- is cloned by
-
OCPBUGS-48551 e2e installs wrong lib versions
- Verified
- links to