Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-7850

S2I build fails due to missing assemble script at /usr/local/s2i/assemble in golang & dotnet s2i image, causing build to exit with status 127

XMLWordPrintable

    • Pipelines Sprint pioneers 31

      Description of problem:

      S2I build fails due to missing assemble script at /usr/local/s2i/assemble in golang & dotnet s2i image, causing build to exit with status 127.

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. Create new-project (test-s2i)
      2. Create the pipeline yaml for s2i-go & s2i-dotnet along with sample pvc
        https://raw.githubusercontent.com/openshift-pipelines/release-tests/refs/heads/master/testdata/ecosystem/pipelines/s2i-go.yaml
      3. Trigger pipelineRuns for s2i-go & s2i-dotnet with different tags of the images

      Actual results:

      Pipelinerun getting failed with error as below
      **
      STEP 7/8: RUN /usr/local/s2i/assemble
      /bin/sh: /usr/local/s2i/assemble: No such file or directory
      subprocess exited with status 127
      subprocess exited with status 127
      Error: building at STEP "RUN /usr/local/s2i/assemble": exit status 127

      Expected results:

      In 1.18 the scripts were placed at different location & pipelineRun is successful

      STEP 1/8: FROM image-registry.openshift-image-registry.svc:5000/openshift/dotnet:8.0-ubi82025-06-10T19:30:28.402126511Z Trying to pull image-registry.openshift-image-registry.svc:5000/openshift/dotnet:8.0-ubi8...2025-06-10T19:30:28.550265698Z Getting image source signatures2025-06-10T19:30:28.573759507Z Copying blob sha256:cf69e02423663616157eecc5a9879b84db9f30ca82d410ead6ee271c829e075b2025-06-10T19:30:28.573872377Z Copying blob sha256:d1ef09bd6ce657e3db9e74720a2d40cf194c833003675db6d7fd591afd0640c02025-06-10T19:30:28.573910263Z Copying blob sha256:115b7fd6932318da6d24951357ecffd70b0af061d7183114b77938629b8815562025-06-10T19:30:40.030903146Z Copying config sha256:835768eabac2ae5b9918ceab44b4680729c37f8fce3c8c7f5fb0105f99e03ec42025-06-10T19:30:40.031826360Z Writing manifest to image destination2025-06-10T19:30:43.663398770Z STEP 2/8: LABEL "io.openshift.s2i.build.image"="image-registry.openshift-image-registry.svc:5000/openshift/dotnet:8.0-ubi8" "io.openshift.s2i.build.source-location"="/workspace/source/s2i-dotnet-8.0-ubi8/app"2025-06-10T19:30:43.684484670Z STEP 3/8: USER root2025-06-10T19:30:43.771303431Z STEP 4/8: COPY upload/src /tmp/src2025-06-10T19:30:44.019566385Z STEP 5/8: RUN chown -R 1001:0 /tmp/src2025-06-10T19:30:44.472932356Z STEP 6/8: USER 10012025-06-10T19:30:44.495528228Z STEP 7/8: RUN /usr/libexec/s2i/assemble2025-06-10T19:30:44.777711412Z ---> Installing application source...2025-06-10T19:30:45.008297122Z Using SDK: 8.0.1162025-06-10T19:30:45.011978448Z ---> Restoring application dependencies...2025-06-10T19:30:45.952249956Z Determining projects to restore...2025-06-10T19:30:47.004669807Z Restored /opt/app-root/src/app.csproj (in 495 ms).2025-06-10T19:30:47.029256393Z ---> Publishing application...2025-06-10T19:30:47.192012564Z MSBuild version 17.8.27+3ab07f0cf for .NET2025-06-10T19:30:53.232123898Z app -> /opt/app-root/src/bin/Release/net8.0/app.dll2025-06-10T19:30:53.344533208Z app -> /opt/app-root/app/2025-06-10T19:30:53.450817588Z STEP 8/8: CMD /usr/libexec/s2i/run2025-06-10T19:30:53.472338822Z COMMIT image-registry.openshift-image-registry.svc:5000/releasetest-nw5rg/s2i-dotnet-8.0-ubi82025-06-10T19:30:54.028395509Z Getting image source signatures 

       

      Reproducibility (Always/Intermittent/Only Once):

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

      OCP 4.18 with 1.19 pipelines-operator build

      Additional info (Such as Logs, Screenshots, etc):

      PFA screenshot for s2i-go task difference between 1.18 & 1.19 build

       *

              rh-ee-pbheeman Pavan Mandayam Bheeman
              rh-ee-smanthin Sai Raju Manthina
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: