Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-41232

In skopeo:8.10 build fails with error message " Cannot create repo temporary directory"

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • rhel-8.10
    • skopeo
    • None
    • None
    • 1
    • rhel-sst-container-tools
    • 0
    • False
    • Hide

      None

      Show
      None
    • None
    • RUN 255
    • None
    • None
    • None

      1. Create a blank namespace on a cluster (e.g. OCP4.14) with OpenShift Pipelines (aka Tekton) 0.53.x or 0.56.x

      2. Make sure you are logged in and working in the namespace created in step 1.

      3. Unpack the archive case03835390.tar.gz to an appropriate location.

      4. Create the required resources (Pipeline, ConfigMap, ImageStream) with 'oc apply -k kustomize'. ('kustomize' is a directory produced in step 3.)

      5. Start a build by creating an instance of PipelineRun with 'oc create -f skopeo-test-pipelinerun.yaml'.

      6. Observe the described error either by looking at the log output of the build in the web UI or with 'oc logs pod/skopeo-test-xxxxx-build-image-pod' (where xxxx is a placeholder for the unique identifier of the PipelineRun to be determined with 'oc get pr').

      7. Edit the BuildConfig 'build-input' (entry 'Dockerfile') and change the '8.10' in the first line to '8.9'

      8. Rerun the build with 'oc create -f skopeo-test-pipelinerun.yaml'.

      9. Observe that the build succeeded.

              container-runtime-eng Container Runtime Eng Bot
              rhn-support-dtambat Darshan Tambat
              Container Runtime Eng Bot Container Runtime Eng Bot
              Container Runtime Bugs Bot Container Runtime Bugs Bot
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: