Details
-
Bug
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
Jenkins ver. 2.201 (yum installed, master node only)
durable-task plugin v1.31
os.arch: s390x
os.name: Linux (RedHat)
os.version: 3.10.0-327.el7.s390x
-
-
1.33
Description
After upgrading to v1.31, the first sh step in a pipeline gets stuck. After few minutes Console Output shows:
[Pipeline] sh (Get email of the author of last commit)
process apparently never started in /data/jenkins/workspace/TG2_PTG2_-_pipeline_build_master@tmp/durable-be2cf2a6
(running Jenkins temporarily with -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.LAUNCH_DIAGNOSTICS=true might make the problem clearer)
Cannot contact : java.io.FileNotFoundException: File '/data/jenkins/workspace/TG2_PTG2_-_pipeline_build_master@tmp/durable-be2cf2a6/output.txt' does not exist
Eventually, I discovered that a new binary was added in the latest version of this plugin. The script compile-binaries.sh in GitHub suggests that the binary is only built for Linux and MacOS.
Sure enough, when I try to execute the binary myself on an architecture other than amd64, I get:
-bash: /data/jenkins/caches/durable-task/durable_task_monitor_1.31_unix_64: cannot execute binary file
Are other architectures or operating systems (Windows) not supported anymore?
Attachments
Issue Links
- is duplicated by
-
JENKINS-60065 durable_task_monitor_1.31_unix_32: Syntax error: "(" unexpected
-
- Closed
-
- relates to
-
JENKINS-60065 durable_task_monitor_1.31_unix_32: Syntax error: "(" unexpected
-
- Closed
-
I'm still running into this same issue, whilst trying to run a pyinstaller docker image.
The Sh command gives me the following:
```
ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements).
{ [Pipeline] sh process apparently never started in /var/jenkins_home/workspace/simple-python-pyinstaller-app@tmp/durable-87eb5f90 (running Jenkins temporarily with -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.LAUNCH_DIAGNOSTICS=true might make the problem clearer) [Pipeline] }Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`.
[Pipeline]
$ docker stop --time=1 0d2e194b04bb5a12016da7f4dd92019127837debf082d18ba9fdf4cbbf6abbd7
$ docker rm -f 0d2e194b04bb5a12016da7f4dd92019127837debf082d18ba9fdf4cbbf6abbd7
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] End of Pipeline
ERROR: script returned exit code -2
Finished: FAILURE
```
Running latest jenkins/blueocean image and I'm currently using the following set up for my Jenkinsfile.
```
}
```