[JIRA] (JENKINS-58963) OCI runtime exec failed after updating Pipeline: Nodes and Processes to 2.33

7 views
Skip to first unread message

thomas.buys@skedify.co (JIRA)

unread,
Aug 16, 2019, 6:52:01 AM8/16/19
to jenkinsc...@googlegroups.com
Thomas Buys created an issue
 
Jenkins / Bug JENKINS-58963
OCI runtime exec failed after updating Pipeline: Nodes and Processes to 2.33
Issue Type: Bug Bug
Assignee: Unassigned
Components: workflow-durable-task-step-plugin
Created: 2019-08-16 10:51
Environment: Jenkins ver. 2.189
Priority: Major Major
Reporter: Thomas Buys

When I update the Pipeline: Nodes and Processes plugin from 2.30 to 2.33 our pipelines stop working with the following error:
 
OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "chdir to cwd (\"/path/to/workspace/folder") set in config.json failed: no such file or directory": unknown
 
This happens in the following part of our Jenkinsfile:
 

    stage('Install dependencies') {
      node('docker') { ansiColor('xterm') {
        exws(extWorkspace) {
          composer: {
            composer.inside("-v ${caches}/npm:/srv/jenkins/.npm:rw") {
              sh 'npm install'
            }
          }
        }
      }}
    }

It works on version 2.30.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

thomas.buys@skedify.co (JIRA)

unread,
Aug 16, 2019, 6:52:02 AM8/16/19
to jenkinsc...@googlegroups.com
Thomas Buys updated an issue
Change By: Thomas Buys
When I update the [Pipeline: Nodes and Processes|https://plugins.jenkins.io/workflow-durable-task-step] plugin from 2.30 to 2.33 our pipelines stop working with the following error:
 
{code:java}
OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "chdir to cwd (\"/path/to/workspace/folder") set in config.json failed: no such file or directory": unknown {code}
 
This happens in the following part of our Jenkinsfile:
 
{code:java}

    stage('Install dependencies') {
      node('docker') { ansiColor('xterm') {
        exws(extWorkspace) {
          composer: {
            composer.inside("-v ${caches}/npm:/srv/jenkins/.npm:rw") {
              sh 'npm install'
            }
          }
        }
      }}
    }
{code}

It works on version 2.30.

thomas.buys@skedify.co (JIRA)

unread,
Aug 16, 2019, 6:54:04 AM8/16/19
to jenkinsc...@googlegroups.com


 

Note that I cut out the part where composer dependencies get installed, since it already crashes on npm install.
Reply all
Reply to author
Forward
0 new messages