-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
-
5
-
Pipelines Sprint Pioneers 25, Pipelines Sprint Pioneers 26, Pipelines Sprint Pioneers 27, Pipelines Sprint Pioneers 28
Description of problem:
When using the pipeline builder and the default value for the parameter IMAGE_SCRIPTS_URL is used in the s2i-java task it fails with the error message "/usr/libexec/s2i/assemble: No such file or directory". The problem seems to be have been introduced in the 1.17 release and does not reproduce in prior versions.
Workaround:
Set value for the IMAGE_SCRIPTS_URL parameter to
image:///usr/local/s2i
This problem also reproduces when using the "import from Git" to generate a pipeline for a Java application.
The s2i-java task fails with these errors:
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
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
- Create a new pipeline in the OpenShift console
- Add a workspace and name it shared-workspace
- Add a git-clone task and set the following parameters
URL = https://github.com/quarkusio/quarkus-quickstarts
output = shared-workspace - Add a s2i-java task and set the parameters
IMAGE =
image-registry.openshift-image-registry.svc:5000/PROJECT-NAME/quarkus-quickstarts
CONTEXT = getting-started
source = shared-workspace - Click Create
- Start the pipeline
Actual results:
The execution of the pipeline fails with the error:
STEP 7/8: RUN /usr/libexec/s2i/assemble
/bin/sh: /usr/libexec/s2i/assemble: No such file or directory
subprocess exited with status 127
subprocess exited with status 127
Error: building at STEP "RUN /usr/libexec/s2i/assemble": exit status 127
Expected results:
The image metadata should be picked up and the value for the parameter IMAGE_SCRIPTS_URL should be set to a correct value.
Reproducibility (Always/Intermittent/Only Once):
Always
Acceptance criteria:
A correct default value for the parameter IMAGE_SCRIPTS_URL should be set and the task should complete successfully
Definition of Done:
When the default value for the IMAGE_SCRIPTS_URL in the s2i-java task can be used
Build Details:
Additional info (Such as Logs, Screenshots, etc):
See attached log file.