Uploaded image for project: 'OpenShift Kueue'
  1. OpenShift Kueue
  2. OCPKUEUE-554

Prow Jobs - Disconnected environment tests are failing due to oc-mirror problem

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • OCP Kueue Sprint 285
    • None
    • None
    • None

      As discussed on these threads hereΒ andΒ here. oc-mirror is presenting a problem to sign images.

      The failure is triggered by the signature mirroring feature being enabled by default starting in 4.21.

      When running in certain CI/CD environments (like Prow) or restricted containers, oc-mirror attempts to access the registries.d configuration path to handle sigstore signatures. This results in a fatal error because the tool cannot resolve the current UID to a username (e.g., in OpenShift pods using arbitrary UIDs).

      The error seeing on Prow Jobs is:

      Β 

      ---///tmp/mirror-operators docker://ci-op-hgkyvqn7-fbdab.mirror-registry.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:5000 --log-level=info --retry-times=5 --src-tls-verify=false --dest-tls-verify=false2026/02/27 04:52:33  [INFO]   : πŸ‘‹ Hello, welcome to oc-mirror2026/02/27 04:52:33  [INFO]   : βš™οΈ  setting up the environment for you...2026/02/27 04:52:33  [INFO]   : βš™οΈ  environment version: 4.21.0-202602120922.p2.g84f4d75.assembly.stream.el9-84f4d752026/02/27 04:52:33  [INFO]   : πŸ”€ workflow mode: mirrorToMirror 2026/02/27 04:52:33  [INFO]   : Verified we can authenticate against registry "ci-op-hgkyvqn7-fbdab.mirror-registry.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:5000"2026/02/27 04:52:33  [INFO]   : πŸ•΅  going to discover the necessary images...2026/02/27 04:52:33  [INFO]   : πŸ” collecting release images...2026/02/27 04:52:33  [INFO]   : πŸ” collecting operator images...2026/02/27 04:52:33  [INFO]   : Collecting catalog registry.redhat.io/redhat/redhat-operator-index:v4.202026/02/27 04:53:52  [INFO]   : Collected catalog registry.redhat.io/redhat/redhat-operator-index:v4.202026/02/27 04:53:52  [INFO]   : πŸ” collecting additional images...2026/02/27 04:53:52  [INFO]   : πŸ” collecting helm images...2026/02/27 04:53:52  [INFO]   : mirror time     : 1m18.410544985s2026/02/27 04:53:52  [INFO]   : πŸ‘‹ Goodbye, thank you for using oc-mirror2026/02/27 04:53:52  [ERROR]  : [Executor] error getting the default registryd config path : unable to determine the current user : user: unknown userid 1001710000 {"component":"entrypoint","error":"wrapped process failed: exit status 1","file":"sigs.k8s.io/prow/pkg/entrypoint/run.go:84","func":"sigs.k8s.io/prow/pkg/entrypoint.Options.internalRun","level":"error","msg":"Error executing test process","severity":"error","time":"2026-02-27T04:53:52Z"}error: failed to execute wrapped command: exit status 1 

      Β 

      Β 

      Here's an example of Prow Job execution.Β 

      Β 

              rh-ee-anahas Alice Nahas
              rh-ee-anahas Alice Nahas
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: