-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
4.18
-
None
-
Important
-
None
-
3
-
MON Sprint 267, MON Sprint 268
-
2
-
False
-
-
Release Note Not Required
-
In Progress
Description of problem:
Go mod tidy may report toolchain not available with a golang version not in the x.y.z format. This is affecting thanos builds in Konflux when using cachi2 and enabling hermetic builds. The standard Go toolchains are named goV where V is a Go version denoting a beta release, release candidate, or release. For example, go1.21rc1 and go1.21.0 are toolchain names; go1.21 and go1.22 are not (the initial releases are go1.21.0 and go1.22.0), but go1.20 and go1.19 are.Non-standard toolchains use names of the form goV-suffix for any suffix.Toolchains are compared by comparing the version V embedded in the name (dropping the initial go and discarding off any suffix beginning with -). For example, go1.21.0 and go1.21.0-custom compare equal for ordering purposes. We'd need to reference a valid, released Go toolchain
Version-Release number of selected component (if applicable):
4.18, this is fixed in 4.19 onwards.
How reproducible:
Trigger a build of thanos in Konflux
- depends on
-
OCPBUGS-52962 Explicitly mark go toolchain in Thanos [4.19]
-
- Closed
-
- is cloned by
-
OCPBUGS-52962 Explicitly mark go toolchain in Thanos [4.19]
-
- Closed
-
- links to