-
Type:
Bug
-
Resolution: Not A Defect
-
Priority:
Critical
-
Component/s: docker-workflow-plugin
-
None
-
Environment: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
-