jenkinsci / jenkinsci/docker-workflow-plugin

[JENKINS-65602] Durable task pipeline failed at sh initialisation

Open
#669 13 comments 0 reactions 0 assignees View on GitHub
component:docker-workflow-plugin component:durable-task-plugin imported-jira-issue priority:major resolution:unresolved
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


  • status: Open
  • priority: Major
  • component(s): docker-workflow-plugin, durable-task-plugin
  • resolution: Unresolved
  • votes: 4
  • watchers: 9
  • imported: 2025-12-07

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.