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

dpu-cni, dpu-daemon and dpu-operator can't be built hermetically

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.17
    • Networking / DPU
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • In Progress
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      ART can't build dpu-operator, dpu-cni and dpu-daemon hermetically. Hermetic builds on Konflux require that go mod vendor does not produce a diff.

        diff --git a/vendor/modules.txt b/vendor/modules.txt  
      index 2950f8c0..c651edc8 100644  
      --- a/vendor/modules.txt  
      +++ b/vendor/modules.txt  
      @@ -747,7 +747,6 @@ k8s.io/client-go/util/flowcontrol   
      k8s.io/client-go/util/homedir   
      k8s.io/client-go/util/keyutil   
      k8s.io/client-go/util/retry  
      -k8s.io/client-go/util/testing   
      k8s.io/client-go/util/workqueue   
      # k8s.io/component-base v0.29.0   
      ## explicit; go 1.21  2026-02-24 
      11:51:31,718 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.    Please try running `go mod vendor` and committing the changes.    Note that you may need to `git add --force` ignored files in the vendor/ dir.  

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

          

      How reproducible:

          

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          

      Expected results:

          

      Additional info:

          

              bnemeth@redhat.com Balazs Nemeth
              rh-ee-adobes Adam Dobes
              Zhiqiang Fang Zhiqiang Fang
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: