-
Task
-
Resolution: Not a Bug
-
Major
-
None
-
Pipelines 1.14.3
-
False
-
None
-
False
-
-
-
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').
[admin@admin case03835390]$ oc logs pod/skopeo-test-z9vpb-build-image-pod Defaulted container "step-build-and-push" out of: step-build-and-push, prepare (init), place-scripts (init), working-dir-initializer (init) STEP 1/8: FROM registry.access.redhat.com/ubi8/skopeo:8.10 Trying to pull registry.access.redhat.com/ubi8/skopeo:8.10... Getting image source signatures Checking if image destination supports signatures Copying blob sha256:0ff8109d8a95240c9c7e7dd635427f877e699384de7a36911a022bc03176d40c Copying blob sha256:d4a253d46872901703538672cbaff1c9b545a31ebe5550a7e29509201a6c80ee Copying config sha256:c5a8be97dfc22ffb14cad2c0095d371e2489b967292ba91d05898f0907850292 Writing manifest to image destination Storing signatures STEP 2/8: RUN sed -i -e 's/^enabled=1/enabled=0/' /etc/dnf/plugins/subscription-manager.conf STEP 3/8: RUN sed -i -e 's/^auto_enable_yum_plugins = 1/auto_enable_yum_plugins = 0/' /etc/rhsm/rhsm.conf STEP 4/8: RUN dnf -y update Error: Cannot create repo temporary directory "/var/cache/dnf/ubi-8-baseos-rpms-53c30a88cff3796c/libdnf.nevgIT": Success subprocess exited with status 1 subprocess exited with status 1 Error: building at STEP "RUN dnf -y update": exit status 1 [admin@admin case03835390]$
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.