STEP-S2I-GENERATE 2025-03-13T14:15:24.133436946Z 2025/03/13 14:15:24 warning: unsuccessful cred copy: ".docker" from "/tekton/creds" to "/": unable to create destination directory: mkdir /.docker: permission denied 2025-03-13T14:15:26.151889950Z /scripts/buildah-bud.sh 2025-03-13T14:15:26.151889950Z /scripts/buildah-common.sh 2025-03-13T14:15:26.156640696Z /scripts/s2i-build.sh 2025-03-13T14:15:26.156640696Z /scripts/s2i-common.sh 2025-03-13T14:15:26.156640696Z /scripts/s2i-generate.sh 2025-03-13T14:15:26.157310778Z Running Script /scripts/s2i-generate.sh 2025-03-13T14:15:26.160661789Z ---> Phase: Inspecting source workspace '/workspace/source' (PWD='/workspace/source')... 2025-03-13T14:15:26.160673561Z ---> Phase: Appending . with /workspace/source if it's relative... 2025-03-13T14:15:26.160689320Z ---> Phase: Inspecting context '.'... 2025-03-13T14:15:26.160707424Z ---> Phase: Adding the environment variables to '/s2i-generate/env'... 2025-03-13T14:15:26.161435605Z ---> Phase: Generating the Dockerfile for S2I builder image 'image-registry.openshift-image-registry.svc:5000/openshift/java:latest'... 2025-03-13T14:15:26.186163125Z WARNING: could not inspect the builder image for labels: reading manifest latest in image-registry.openshift-image-registry.svc:5000/openshift/java: authentication required 2025-03-13T14:15:26.187734160Z Application dockerfile generated in /s2i-generate/Dockerfile.gen 2025-03-13T14:15:26.188803438Z ---> Phase: Inspecting the Dockerfile generated at '/s2i-generate/Dockerfile.gen'... 2025-03-13T14:15:26.188829867Z ---> Phase: Generated Dockerfile payload... 2025-03-13T14:15:26.190134084Z >>> /s2i-generate/Dockerfile.gen 2025-03-13T14:15:26.190134084Z FROM image-registry.openshift-image-registry.svc:5000/openshift/java:latest 2025-03-13T14:15:26.190134084Z LABEL "io.openshift.s2i.build.image"="image-registry.openshift-image-registry.svc:5000/openshift/java:latest" \ 2025-03-13T14:15:26.190134084Z "io.openshift.s2i.build.source-location"="." 2025-03-13T14:15:26.190134084Z 2025-03-13T14:15:26.190134084Z USER root 2025-03-13T14:15:26.190134084Z # Copying in source code 2025-03-13T14:15:26.190134084Z COPY upload/src /tmp/src 2025-03-13T14:15:26.190134084Z # Change file ownership to the assemble user. Builder image must support chown command. 2025-03-13T14:15:26.190134084Z RUN chown -R 1001:0 /tmp/src 2025-03-13T14:15:26.190134084Z USER 1001 2025-03-13T14:15:26.190134084Z # Assemble script sourced from builder image based on user input or image metadata. 2025-03-13T14:15:26.190134084Z # If this file does not exist in the image, the build will fail. 2025-03-13T14:15:26.190134084Z RUN /usr/libexec/s2i/assemble 2025-03-13T14:15:26.190134084Z # Run script sourced from builder image based on user input or image metadata. 2025-03-13T14:15:26.190134084Z # If this file does not exist in the image, the build will fail. 2025-03-13T14:15:26.190134084Z CMD /usr/libexec/s2i/run 2025-03-13T14:15:26.190134084Z <<< EOF STEP-S2I-BUILD 2025-03-13T14:15:26.340105827Z ---> Phase: Changing . to point to present working directory... 2025-03-13T14:15:26.340105827Z ---> Phase: Inspecting context '.'... 2025-03-13T14:15:26.340105827Z ---> Phase: Building the Dockerfile '/s2i-generate/Dockerfile.gen' with buildah... 2025-03-13T14:15:26.343069645Z ---> Phase: Inspecting source workspace '/workspace/source' (PWD='/s2i-generate')... 2025-03-13T14:15:26.343085194Z ---> Phase: Asserting the dockerfile/containerfile '/s2i-generate/Dockerfile.gen' exists... 2025-03-13T14:15:26.343085194Z ---> Phase: Inspecting context '.'... 2025-03-13T14:15:26.343095182Z ---> Phase: Building build args... 2025-03-13T14:15:26.343141980Z ---> Phase: Building 'image-registry.openshift-image-registry.svc:5000/test2/hello-quarkus' based on '/s2i-generate/Dockerfile.gen'... 2025-03-13T14:15:26.366072362Z STEP 1/8: FROM image-registry.openshift-image-registry.svc:5000/openshift/java:latest 2025-03-13T14:15:26.409135090Z Trying to pull image-registry.openshift-image-registry.svc:5000/openshift/java:latest... 2025-03-13T14:15:26.442211649Z Getting image source signatures 2025-03-13T14:15:26.446943850Z Copying blob sha256:334afbe1bbb081b7c3d659b926909fa128a12ef58ab2c04f4818fe953ba91be8 2025-03-13T14:15:26.446966302Z Copying blob sha256:e0348fdb2685077d22116d294a90a253709aba78815882a57fcc536b22dcae2f 2025-03-13T14:15:28.524537211Z Copying config sha256:c6dd9802b6cf1eed97d5ed37da2c7d0237654c6d62d51871a87b367c2566edea 2025-03-13T14:15:28.524822354Z Writing manifest to image destination 2025-03-13T14:15:29.287737604Z STEP 2/8: LABEL "io.openshift.s2i.build.image"="image-registry.openshift-image-registry.svc:5000/openshift/java:latest" "io.openshift.s2i.build.source-location"="." 2025-03-13T14:15:29.298867719Z STEP 3/8: USER root 2025-03-13T14:15:29.345558265Z STEP 4/8: COPY upload/src /tmp/src 2025-03-13T14:15:29.447657635Z STEP 5/8: RUN chown -R 1001:0 /tmp/src 2025-03-13T14:15:29.638179140Z STEP 6/8: USER 1001 2025-03-13T14:15:29.647226364Z STEP 7/8: RUN /usr/libexec/s2i/assemble 2025-03-13T14:15:29.754545917Z /bin/sh: /usr/libexec/s2i/assemble: No such file or directory 2025-03-13T14:15:29.754744648Z subprocess exited with status 127 2025-03-13T14:15:29.757103876Z subprocess exited with status 127 2025-03-13T14:15:29.867469049Z Error: building at STEP "RUN /usr/libexec/s2i/assemble": exit status 127