Uploaded image for project: 'CoreOS OCP'
  1. CoreOS OCP
  2. COS-2972

[coreos/ignition] go tool fix suddenly failing

XMLWordPrintable

    • Upstream
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • Core Packages - 260
    • 0
    • 0.000

      [2576626764] Upstream Reporter: Steven Presti
      Upstream issue status: Closed
      Upstream description:

      1. Bug #

      When running the shell script for ./test which is invoked in our CI, we currently are getting

      ```shell
      Checking for license headers...
      Using version from git: v2.19.0-80-g74f68429-dirty
      Building ignition...
      Building ignition-validate...
      Checking gofix...
      invalid -go=
      ```

        1. Ignition Version ##
          Latest
        1. Environment ##
          CI build or local
        1. Expected Behavior ##
          No error, and it to report the expected diff from `go tool fix`
        1. Actual Behavior ##
        1. Reproduction Steps ##

      1. Clean enviornment
      ```cmd
      go clean -modcache
      rm -rf vendor/
      go mod tidy
      go mod vendor
      ```
      2. Run `./test.sh`

        1. Other Information ##

      The sudden failure of this is odd, it was working, golang target has not changed, the only thing I can think is maybe a dependency is not playing well with go tool fix. However, thats also odd because it would not have made it into main (since this is invoked in ci)

              rh-ee-spresti Steven Presti
              upstream-sync Upstream Sync
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: