Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-52945

Explicitly mark go toolchain in Thanos

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.18
    • Monitoring
    • None
    • Important
    • None
    • 3
    • MON Sprint 267, MON Sprint 268
    • 2
    • False
    • Hide

      None

      Show
      None
    • 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
       

              dmellado1@redhat.com Daniel Mellado Area
              dmellado1@redhat.com Daniel Mellado Area
              Junqi Zhao Junqi Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: