-
Bug
-
Resolution: Fixed
-
Major
ShellController.exitStatus if more than a minute has elapsed since doLaunch, and still _pid == 0, return -2
Also consider uncommenting ps.stdout(listener) under some conditions.
- is related to
-
JENKINS-28821 Docker Workflow demos: sh step on Docker image hangs if workspace is not writable
-
- Resolved
-
-
JENKINS-41810 Timing issue with pid file population with bourne shell
-
- Open
-
-
JENKINS-26105 Unkillable tasks
-
- Resolved
-
-
JENKINS-31769 sh steps on slaves randomly hang when complete
-
- Resolved
-
- links to
We got into such issue in
JENKINS-28821. The build may hang infinitely, because durable-task's callback may be unable able to write pidfile and other metadata from the docker run. In such case the server side will never get a termination event.Sample code:
The script is error-prone. If it is not being launched, Durable task thinks the task thinks the task is running => we need an additional flag as a workaround