-
Bug
-
Resolution: Fixed
-
Major
-
Jenkins:2.121.2-alpine running on Docker version 18.03.1-ce, build 9ee9f40
durable-task-plugin:1.23
-
-
durable-task 1.24
After upgrade of durable-task-plugin from 1.22 to 1.23 it no longer works on alpine based containers. Downgrading to 1.22 reverts to the expected behavior.
I managed to trigger this on a fresh jenkins/jenkins:lts-alpine container with only recommended plugins installed and following pipeline:
node {
sh 'sleep 120; echo Hello World'
}
Expected result: Hello World is echoed after 120 second delay
Actual result:
Started by user test Running in Durability level: MAX_SURVIVABILITY [Pipeline] node Running on Jenkins in /var/jenkins_home/workspace/busybox [Pipeline] { [Pipeline] sh [busybox] Running shell script ps: unrecognized option: p BusyBox v1.28.4 (2018-05-30 10:45:57 UTC) multi-call binary. Usage: ps [-o COL1,COL2=HEADER] Show list of processes -o COL1,COL2=HEADER Select columns for display + sleep 120 wrapper script does not seem to be touching the log file in /var/jenkins_home/workspace/busybox@tmp/durable-f130160e (JENKINS-48300: if on a laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=300) [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code -1 Finished: FAILURE
- is duplicated by
-
JENKINS-52859 ps: unrecognized option: p
- Resolved
- relates to
-
JENKINS-52881 durable-task plugin v1.23 kills jobs on Cygwin/MSys agents
- Resolved
- links to