-
Bug
-
Resolution: Duplicate
-
Minor
-
None
This Jenkinsfile fragment fails:
```
docker.image("base/archlinux").inside {
sh """
sleep 10
echo "Yay!"
"""
}
```
Since the `base/archlinux` Docker image (which you can find in the docker registry) doesn't have `ps`, durable-task fails to figure out the pid of the shell. What you see in Jenkins is the script runs for about a second, then is just aborted after Jenkins decides the process wasn't running after all. There's no helpful error explaining this situation, the script just... stops. It took quite a long time to figure out that the lack of `ps` was the problem.
Perhaps we can get it to check for `ps` (since it seems to be essential), and print a helpful error if it's not found?
- duplicates
-
JENKINS-40101 Different behavior between debian container using docker.inside
-
- Open
-
- is related to
-
JENKINS-42166 ProcessLiveness.workingLaunchers heuristic is flaky
-
- Resolved
-
[JENKINS-43881] Jobs run on workers (or in docker containers) without `ps` are silently killed
Link |
New:
This issue is related to |
Component/s | New: docker-workflow-plugin [ 20625 ] | |
Component/s | Original: durable-task-plugin [ 18622 ] |
Link | New: This issue duplicates JENKINS-40101 [ JENKINS-40101 ] |
Resolution | New: Duplicate [ 3 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |