jenkinsci / jenkinsci/docker-workflow-plugin
[JENKINS-65602] Durable task pipeline failed at sh initialisation
- Dominant language
- Java
- Stars
- 527
- Forks
- 422
- Avg merge
- 10m
- Merged PRs (30d)
- 1
Description
I am using jenkins version : Jenkins 2.249.1
Durable task : 1.35
We run builds in kubenetes farm and our builds are dockerised, After the upgrade of Jenkins, and durable plugins as we see multiple issues raised with "sh" initialisation inside the container breaks, we considered the above solution as suggested and set workingDir: "/home/jenkins/agent" and builds are success after making the change.
How ever still some of the builds on Jenkins are still failing randomly with same error
[2021-05-10T15:16:33.046Z] [Pipeline] sh [2021-05-10T15:22:08.073Z] process apparently never started in /home/jenkins/agent/workspace/CORE-CommitStage@tmp/durable-f6a728e7 [2021-05-10T15:22:08.087Z] [Pipeline] }
Also we had already enabled as per suggestions-
-Dorg.jenkinsci.plugins.durabletask.BourneShellScript.LAUNCH_DIAGNOSTICS=true \
Issue is however not persistent but still jobs fails randomly. Looking for permanent fix for the current issue.
---
Originally reported by hiteshkumar, imported from: Durable task pipeline failed at sh initialisation
Raw content of original issue
I am using jenkins version : Jenkins 2.249.1
Durable task : 1.35
We run builds in kubenetes farm and our builds are dockerised, After the upgrade of Jenkins, and durable plugins as we see multiple issues raised with "sh" initialisation inside the container breaks, we considered the above solution as suggested and set workingDir: "/home/jenkins/agent" and builds are success after making the change.
How ever still some of the builds on Jenkins are still failing randomly with same error
[2021-05-10T15:16:33.046Z] [Pipeline] sh [2021-05-10T15:22:08.073Z] process apparently never started in /home/jenkins/agent/workspace/CORE-CommitStage@tmp/durable-f6a728e7 [2021-05-10T15:22:08.087Z] [Pipeline] }
Also we had already enabled as per suggestions-
-Dorg.jenkinsci.plugins.durabletask.BourneShellScript.LAUNCH_DIAGNOSTICS=true \Issue is however not persistent but still jobs fails randomly. Looking for permanent fix for the current issue.
environment
```
Jenkins version : Jenkins 2.249.1
Durable task : 1.35
```
Contributor guide
Assessment
This issue has not been assessed yet.