-
Bug
-
Resolution: Not A Defect
-
Critical
-
None
-
docker-commons 1.3.1
docker-plugin 0.16.0
docker-workflow 1.4
durable-task 1.10
pipeline-build-step 2.0
pipeline-input-step 2.0
pipeline-rest-api 1.4
pipeline-stage-step 2.1
pipeline-stage-view 1.4
pipeline-utility-steps 1.1.5
plain-credentials 1.2
script-security 1.19 true false
workflow-aggregator 2.1
workflow-api 2.0
workflow-basic-steps 2.0
workflow-cps 2.3
workflow-cps-global-lib 2.0
workflow-durable-task-step 2.0
workflow-job 2.2
workflow-multibranch 2.4
workflow-scm-step 2.0
workflow-step-api 2.1
workflow-support 2.0docker-commons 1.3.1 docker-plugin 0.16.0 docker-workflow 1.4 durable-task 1.10 pipeline-build-step 2.0 pipeline-input-step 2.0 pipeline-rest-api 1.4 pipeline-stage-step 2.1 pipeline-stage-view 1.4 pipeline-utility-steps 1.1.5 plain-credentials 1.2 script-security 1.19 true false workflow-aggregator 2.1 workflow-api 2.0 workflow-basic-steps 2.0 workflow-cps 2.3 workflow-cps-global-lib 2.0 workflow-durable-task-step 2.0 workflow-job 2.2 workflow-multibranch 2.4 workflow-scm-step 2.0 workflow-step-api 2.1 workflow-support 2.0
Same title and description as the linked issue:
create a job called "my job" with the following pipeline
node ("master") { sh 'pwd' img = docker.image("ubuntu:16.04") img.inside { sh 'pwd' } }
[Pipeline] node Running on principal in /var/lib/jenkins/workspace/QA/test@2 [Pipeline] { [Pipeline] sh [test@2] Running shell script + pwd /var/lib/jenkins/workspace/QA/test@2 [Pipeline] sh [test@2] Running shell script + docker inspect -f . ubuntu:16.04 . [Pipeline] withDockerContainer $ docker run -t -d -u 0:0 -w /var/lib/jenkins/workspace/QA/test@2 -v /var/lib/jenkins/workspace/QA/test@2:/var/lib/jenkins/workspace/QA/test@2:rw -v /var/lib/jenkins/workspace/QA/test@2@tmp:/var/lib/jenkins/workspace/QA/test@2@tmp:rw -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ubuntu:16.04 cat [Pipeline] { [Pipeline] sh [test@2] Running shell script sh: 1: cannot create /var/lib/jenkins/workspace/QA/test@2@tmp/durable-c09e8ac6/pid: Directory nonexistent sh: 1: cannot create /var/lib/jenkins/workspace/QA/test@2@tmp/durable-c09e8ac6/jenkins-log.txt: Directory nonexistent sh: 1: cannot create /var/lib/jenkins/workspace/QA/test@2@tmp/durable-c09e8ac6/jenkins-result.txt: Directory nonexistent [Pipeline] } $ docker stop ca85a433cd90117673efd3a660ed6846b6a1c5181ebd0916d38bb4efd879a45a $ docker rm -f ca85a433cd90117673efd3a660ed6846b6a1c5181ebd0916d38bb4efd879a45a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code -2 Finished: FAILURE
Opposed to JENKINS-33632, docker-workflow is already at 1.4 version
- is related to
-
JENKINS-33632 docker.inside broken with old client versions
-
- Resolved
-
[JENKINS-35217] docker.inside broken
Link |
New:
This issue is related to |
Description |
Original:
Same title and description as the linked issue: create a job called "my job" with the following pipeline {code:sh} node ("master") { sh 'pwd' img = docker.image("ubuntu:16.04") img.inside { sh 'pwd' } } {code} {code:sh} [Pipeline] node Running on principal in /var/lib/jenkins/workspace/QA/test@2 [Pipeline] { [Pipeline] sh [test@2] Running shell script + pwd /var/lib/jenkins/workspace/QA/test@2 [Pipeline] sh [test@2] Running shell script + docker inspect -f . ubuntu:16.04 . [Pipeline] withDockerContainer $ docker run -t -d -u 0:0 -w /var/lib/jenkins/workspace/QA/test@2 -v /var/lib/jenkins/workspace/QA/test@2:/var/lib/jenkins/workspace/QA/test@2:rw -v /var/lib/jenkins/workspace/QA/test@2@tmp:/var/lib/jenkins/workspace/QA/test@2@tmp:rw -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ubuntu:16.04 cat [Pipeline] { [Pipeline] sh [test@2] Running shell script sh: 1: cannot create /var/lib/jenkins/workspace/QA/test@2@tmp/durable-c09e8ac6/pid: Directory nonexistent sh: 1: cannot create /var/lib/jenkins/workspace/QA/test@2@tmp/durable-c09e8ac6/jenkins-log.txt: Directory nonexistent sh: 1: cannot create /var/lib/jenkins/workspace/QA/test@2@tmp/durable-c09e8ac6/jenkins-result.txt: Directory nonexistent [Pipeline] } $ docker stop ca85a433cd90117673efd3a660ed6846b6a1c5181ebd0916d38bb4efd879a45a $ docker rm -f ca85a433cd90117673efd3a660ed6846b6a1c5181ebd0916d38bb4efd879a45a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code -2 Finished: FAILURE {code} |
New:
Same title and description as the linked issue: create a job called "my job" with the following pipeline {code:sh} node ("master") { sh 'pwd' img = docker.image("ubuntu:16.04") img.inside { sh 'pwd' } } {code} {code:sh} [Pipeline] node Running on principal in /var/lib/jenkins/workspace/QA/test@2 [Pipeline] { [Pipeline] sh [test@2] Running shell script + pwd /var/lib/jenkins/workspace/QA/test@2 [Pipeline] sh [test@2] Running shell script + docker inspect -f . ubuntu:16.04 . [Pipeline] withDockerContainer $ docker run -t -d -u 0:0 -w /var/lib/jenkins/workspace/QA/test@2 -v /var/lib/jenkins/workspace/QA/test@2:/var/lib/jenkins/workspace/QA/test@2:rw -v /var/lib/jenkins/workspace/QA/test@2@tmp:/var/lib/jenkins/workspace/QA/test@2@tmp:rw -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ubuntu:16.04 cat [Pipeline] { [Pipeline] sh [test@2] Running shell script sh: 1: cannot create /var/lib/jenkins/workspace/QA/test@2@tmp/durable-c09e8ac6/pid: Directory nonexistent sh: 1: cannot create /var/lib/jenkins/workspace/QA/test@2@tmp/durable-c09e8ac6/jenkins-log.txt: Directory nonexistent sh: 1: cannot create /var/lib/jenkins/workspace/QA/test@2@tmp/durable-c09e8ac6/jenkins-result.txt: Directory nonexistent [Pipeline] } $ docker stop ca85a433cd90117673efd3a660ed6846b6a1c5181ebd0916d38bb4efd879a45a $ docker rm -f ca85a433cd90117673efd3a660ed6846b6a1c5181ebd0916d38bb4efd879a45a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code -2 Finished: FAILURE {code} Opposed to |
Component/s | New: docker-workflow-plugin [ 20625 ] | |
Component/s | Original: workflow-plugin [ 18820 ] |
Description |
Original:
Same title and description as the linked issue: create a job called "my job" with the following pipeline {code:sh} node ("master") { sh 'pwd' img = docker.image("ubuntu:16.04") img.inside { sh 'pwd' } } {code} {code:sh} [Pipeline] node Running on principal in /var/lib/jenkins/workspace/QA/test@2 [Pipeline] { [Pipeline] sh [test@2] Running shell script + pwd /var/lib/jenkins/workspace/QA/test@2 [Pipeline] sh [test@2] Running shell script + docker inspect -f . ubuntu:16.04 . [Pipeline] withDockerContainer $ docker run -t -d -u 0:0 -w /var/lib/jenkins/workspace/QA/test@2 -v /var/lib/jenkins/workspace/QA/test@2:/var/lib/jenkins/workspace/QA/test@2:rw -v /var/lib/jenkins/workspace/QA/test@2@tmp:/var/lib/jenkins/workspace/QA/test@2@tmp:rw -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ubuntu:16.04 cat [Pipeline] { [Pipeline] sh [test@2] Running shell script sh: 1: cannot create /var/lib/jenkins/workspace/QA/test@2@tmp/durable-c09e8ac6/pid: Directory nonexistent sh: 1: cannot create /var/lib/jenkins/workspace/QA/test@2@tmp/durable-c09e8ac6/jenkins-log.txt: Directory nonexistent sh: 1: cannot create /var/lib/jenkins/workspace/QA/test@2@tmp/durable-c09e8ac6/jenkins-result.txt: Directory nonexistent [Pipeline] } $ docker stop ca85a433cd90117673efd3a660ed6846b6a1c5181ebd0916d38bb4efd879a45a $ docker rm -f ca85a433cd90117673efd3a660ed6846b6a1c5181ebd0916d38bb4efd879a45a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code -2 Finished: FAILURE {code} Opposed to |
New:
Same title and description as the linked issue: create a job called "my job" with the following pipeline {code} node ("master") { sh 'pwd' img = docker.image("ubuntu:16.04") img.inside { sh 'pwd' } } {code} {code:none} [Pipeline] node Running on principal in /var/lib/jenkins/workspace/QA/test@2 [Pipeline] { [Pipeline] sh [test@2] Running shell script + pwd /var/lib/jenkins/workspace/QA/test@2 [Pipeline] sh [test@2] Running shell script + docker inspect -f . ubuntu:16.04 . [Pipeline] withDockerContainer $ docker run -t -d -u 0:0 -w /var/lib/jenkins/workspace/QA/test@2 -v /var/lib/jenkins/workspace/QA/test@2:/var/lib/jenkins/workspace/QA/test@2:rw -v /var/lib/jenkins/workspace/QA/test@2@tmp:/var/lib/jenkins/workspace/QA/test@2@tmp:rw -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ubuntu:16.04 cat [Pipeline] { [Pipeline] sh [test@2] Running shell script sh: 1: cannot create /var/lib/jenkins/workspace/QA/test@2@tmp/durable-c09e8ac6/pid: Directory nonexistent sh: 1: cannot create /var/lib/jenkins/workspace/QA/test@2@tmp/durable-c09e8ac6/jenkins-log.txt: Directory nonexistent sh: 1: cannot create /var/lib/jenkins/workspace/QA/test@2@tmp/durable-c09e8ac6/jenkins-result.txt: Directory nonexistent [Pipeline] } $ docker stop ca85a433cd90117673efd3a660ed6846b6a1c5181ebd0916d38bb4efd879a45a $ docker rm -f ca85a433cd90117673efd3a660ed6846b6a1c5181ebd0916d38bb4efd879a45a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code -2 Finished: FAILURE {code} Opposed to |
I am also experiencing this issue on Jenkins 2.7.
Could it be related to
JENKINS-27152changes not being in sync somewhere?My Plugins:
ace-editor:1.1 ant:1.3 antisamy-markup-formatter:1.3 authentication-tokens:1.2 branch-api:1.8 build-timeout:1.16 cloudbees-folder:5.11 credentials-binding:1.7 credentials:2.0.6 docker-commons:1.3.1 docker-workflow:1.4 durable-task:1.10 email-ext:2.42 external-monitor-job:1.4 git-client:1.19.6 git-server:1.6 git:2.4.4 github-api:1.75 github-branch-source:1.7 github-organization-folder:1.3 github:1.19.1 gradle:1.24 handlebars:1.1.1 icon-shim:2.0.3 javadoc:1.3 jquery-detached:1.2.1 junit:1.13 ldap:1.12 mailer:1.17 mapdb-api:1.0.9.0 matrix-auth:1.4 matrix-project:1.7 momentjs:1.1.1 pam-auth:1.2 pipeline-build-step:2.0 pipeline-input-step:2.0 pipeline-rest-api:1.4 pipeline-stage-step:2.1 pipeline-stage-view:1.4 plain-credentials:1.2 scm-api:1.2 script-security:1.19 ssh-credentials:1.12 ssh-slaves:1.11 structs:1.1 subversion:2.5.7 swarm:2.1 timestamper:1.8.2 token-macro:1.12.1 windows-slaves:1.1 workflow-aggregator:2.1 workflow-api:2.0 workflow-basic-steps:2.0 workflow-cps-global-lib:2.0 workflow-cps:2.4 workflow-durable-task-step:2.0 workflow-job:2.2 workflow-multibranch:2.4 workflow-scm-step:2.0 workflow-step-api:2.1 workflow-support:2.0 ws-cleanup:0.29
Let me know if there's any info I can provide to assist with troubleshooting.