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

.gitignore shouldn't ignore files in /vendor/**/build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • None
    • 4.19
    • Networking / Metal LB
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • CNF Network Sprint 272, CNF Network Sprint 273, CNF Network Sprint 274
    • 3
    • Done
    • Release Note Not Required
    • N/A
    • None
    • None
    • None
    • None

      Description of problem:

      in the logs of https://konflux-ui.apps.kflux-ocp-p01.7ayg.p1.openshiftapps.com/ns/ocp-art-tenant/applications/openshift-4-19/pipelineruns/ose-4-19-ose-metallb-p8kpb it can be seen
      
      2025-05-27 06:01:45,525 INFO Fetching the gomod dependencies at subpath .
      2025-05-27 06:01:50,444 INFO go.mod reported versions: '1.23.6'[go], '-'[toolchain]
      2025-05-27 06:01:50,445 INFO Using Go release: go1.21.0
      2025-05-27 06:02:06,702 INFO Vendoring the gomod dependencies
      2025-05-27 06:02:18,088 ERROR vendor directory changed after vendoring:
      A        build_command.go
      2025-05-27 06:02:20,512 ERROR PackageRejected: The content of the vendor directory is not consistent with go.mod. Please check the logs for more details.
      Error: PackageRejected: The content of the vendor directory is not consistent with go.mod. Please check the logs for more details.    

      Version-Release number of selected component (if applicable):

          

      How reproducible:

          

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          

      Expected results:
      changed files in vendor should be detected and not ignored by git
      Additional info:

          

              kkarampo@redhat.com Konstantinos Karampogias
              mbiarnes@redhat.com Michael Biarnes Kiefer
              None
              None
              Arti Sood Arti Sood
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: