[JIRA] [docker-workflow-plugin] (JENKINS-28821) Docker Workflow demos: sh step on Docker image hangs if workspace is not writable

2016-02-19 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jesse Glick resolved as Duplicate 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
Closing given the confused set of issues here. For any particular bug which causes the workspace to not be writable (or not mounted, etc.), please file a distinct report with steps to reproduce. 
 
 
 
 
 
 
 
 
 
 Jenkins /  JENKINS-28821 
 
 
 
  Docker Workflow demos: sh step on Docker image hangs if workspace is not writable  
 
 
 
 
 
 
 
 
 

Change By:
 
 Jesse Glick 
 
 
 

Status:
 
 Open Resolved 
 
 
 

Resolution:
 
 Duplicate 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [docker-workflow-plugin] (JENKINS-28821) Docker Workflow demos: sh step on Docker image hangs if workspace is not writable

2016-02-19 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jesse Glick commented on  JENKINS-28821 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Docker Workflow demos: sh step on Docker image hangs if workspace is not writable  
 
 
 
 
 
 
 
 
 
 
Seems there are various things being mixed together here. 
First is the robustness issue: if the control directory cannot be created, we had better report that properly, and fail. JENKINS-28400 covers this. 
Then there is an issue reported with DinD, which is perhaps best avoided by using bind-mounts of the Docker socket; PR 31 purports to address this. 
Then there was a comment about containers with an entry point. If reproducible, clearly a distinct bug. 
Then there is some discussion of UID mismatches, which PR 25 might address, though there is no information given there about how to reproduce. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [docker-workflow-plugin] (JENKINS-28821) Docker Workflow demos: sh step on Docker image hangs if workspace is not writable

2016-01-27 Thread o.v.nenas...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Oleg Nenashev commented on  JENKINS-28821 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Docker Workflow demos: sh step on Docker image hangs if workspace is not writable  
 
 
 
 
 
 
 
 
 
 
Stopped the progress since Jesse Glick didn't like https://github.com/jenkinsci/docker-workflow-plugin/pull/7 . I have not implemented anything else 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [docker-workflow-plugin] (JENKINS-28821) Docker Workflow demos: sh step on Docker image hangs if workspace is not writable

2016-01-27 Thread o.v.nenas...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Oleg Nenashev stopped work on  JENKINS-28821 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 

Change By:
 
 Oleg Nenashev 
 
 
 

Status:
 
 In Progress Open 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [docker-workflow-plugin] (JENKINS-28821) Docker Workflow demos: sh step on Docker image hangs if workspace is not writable

2016-01-27 Thread kzan...@cloudbees.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Keith Zantow commented on  JENKINS-28821 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Docker Workflow demos: sh step on Docker image hangs if workspace is not writable  
 
 
 
 
 
 
 
 
 
 
I was able to work around this without modifying the container by explicitly specifying the uid to match the mounted filesystem (uid: 1000, gid: 50). 
Like this: 

 

docker.image('maven:3.3.3-jdk-8').inside('-u 1000:50') {
  git '...'
  sh 'mvn -B clean install'
}
 

 
Less than ideal, as the uid is specified twice in the command line... 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [docker-workflow-plugin] (JENKINS-28821) Docker Workflow demos: sh step on Docker image hangs if workspace is not writable

2015-12-15 Thread kris.mus...@finra.org (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kris Musard commented on  JENKINS-28821 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Docker Workflow demos: sh step on Docker image hangs if workspace is not writable  
 
 
 
 
 
 
 
 
 
 
Kurt Madel In my setup I had a Docker server that was also running jenkins. Once I setup a jenkins user inside the container with matching uid:gid to the server running jenkins, the sh commands no longer hung. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [docker-workflow-plugin] (JENKINS-28821) Docker Workflow demos: sh step on Docker image hangs if workspace is not writable

2015-12-15 Thread kma...@cloudbees.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kurt Madel commented on  JENKINS-28821 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Docker Workflow demos: sh step on Docker image hangs if workspace is not writable  
 
 
 
 
 
 
 
 
 
 
Kris Musard I have tried configuring the build node (with the mapped docker socket) to have a jenkins user with the same uid:gid as used by the plugin i(1000:1001) to no avail. What do you mean by: 
In my case I was able to get sh commands working inside the container by adding a user to the docker image with the uid/gid that was bieng specified on the docker run command executed by the plugin (the local jenkins userid and group). 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [docker-workflow-plugin] (JENKINS-28821) Docker Workflow demos: sh step on Docker image hangs if workspace is not writable

2015-12-11 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jesse Glick commented on  JENKINS-28821 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Docker Workflow demos: sh step on Docker image hangs if workspace is not writable  
 
 
 
 
 
 
 
 
 
 
@vkorolev sounds like a distinct issue, file separately with steps to reproduce. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [docker-workflow-plugin] (JENKINS-28821) Docker Workflow demos: sh step on Docker image hangs if workspace is not writable

2015-12-11 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jesse Glick edited a comment on  JENKINS-28821 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Docker Workflow demos: sh step on Docker image hangs if workspace is not writable  
 
 
 
 
 
 
 
 
 
 @ [~ vkorolev ]  sounds like a distinct issue, file separately with steps to reproduce. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [docker-workflow-plugin] (JENKINS-28821) Docker Workflow demos: sh step on Docker image hangs if workspace is not writable

2015-12-08 Thread vkoro...@fourv.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Vlad Korolev commented on  JENKINS-28821 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Docker Workflow demos: sh step on Docker image hangs if workspace is not writable  
 
 
 
 
 
 
 
 
 
 
Not sure if mine is related to this issue. I experience the same symptoms when I try to run containers that have entry point defined. The thing tries to run 'cat' in the container before doing anything else. But the entry point program considers cat to be an argument and exits right away. Jenkins doesn't notice that and tries to continue with workflow and launch things on killed container which never runs and the whole thing hangs forever until it's manually killed. 
Here is relevant log: 
58d775c792e6: Pull complete 9ba627a43b4f: Pull complete Digest: sha256:ea5101ed616f7a0bc59ac1bd7034c706e60b46d422d161b774f7b0b2ad547ed9 Status: Downloaded newer image for sequenceiq/packer:v0.7.5.dev [Workflow] Run build steps inside a Docker container : Start $ docker run -t -d -u 500:500 -w /home/ec2-user/workspace/Boxes/boxes -v /home/ec2-user/workspace/Boxes/boxes:/home/ec2-user/workspace/Boxes/boxes:rw -e  -e  -e  -e  -e  -e  -e  -e  -e  -e  -e  -e  -e  -e  -e  -e  sequenceiq/packer:v0.7.5.dev cat [Workflow] withDockerContainer { [Workflow] sh [boxes] Running shell script Aborted by Vlad Korolev Aborted by Vlad Korolev Forcibly terminate running steps Terminating sh 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [docker-workflow-plugin] (JENKINS-28821) Docker Workflow demos: sh step on Docker image hangs if workspace is not writable

2015-11-16 Thread gsym...@gsconsulting.biz (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Gregory Symons commented on  JENKINS-28821 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Docker Workflow demos: sh step on Docker image hangs if workspace is not writable  
 
 
 
 
 
 
 
 
 
 
In my case, I was running Jenkins in a container, and had mounted the host's Docker socket in the container. Since /var/jenkins_home was a data volume for the container, it didn't exist on the host, and so the workspace didn't exist either. I fixed it by running a second Docker process inside the container alongside Jenkins. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [docker-workflow-plugin] (JENKINS-28821) Docker Workflow demos: sh step on Docker image hangs if workspace is not writable

2015-11-16 Thread kris.mus...@finra.org (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kris Musard edited a comment on  JENKINS-28821 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Docker Workflow demos: sh step on Docker image hangs if workspace is not writable  
 
 
 
 
 
 
 
 
 
 [~gsymons] How were you able to make the workspace writable for the shell command?  Even with 777 permissions on the workspace I have the same issue.  If I run the same docker command I see in the jenkins console log with "bash" instead of "cat" I can touch files in the workspace directory without a problem. UPDATE 11/16/2015:In my case I was able to get sh commands working inside the container by adding a user to the docker image with the uid/gid that was bieng specified on the docker run command executed by the plugin (the local jenkins userid and group).   
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [docker-workflow-plugin] (JENKINS-28821) Docker Workflow demos: sh step on Docker image hangs if workspace is not writable

2015-11-12 Thread kris.mus...@finra.org (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kris Musard commented on  JENKINS-28821 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Docker Workflow demos: sh step on Docker image hangs if workspace is not writable  
 
 
 
 
 
 
 
 
 
 
Greg Symons How were you able to make the workspace writable for the shell command? Even with 777 permissions on the workspace I have the same issue. If I run the same docker command I see in the jenkins console log with "bash" instead of "cat" I can touch files in the workspace directory without a problem. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [docker-workflow-plugin] (JENKINS-28821) Docker Workflow demos: sh step on Docker image hangs if workspace is not writable

2015-08-26 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jesse Glick updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Jenkins /  JENKINS-28821 
 
 
 
  Docker Workflow demos: sh step on Docker image hangs if workspace is not writable  
 
 
 
 
 
 
 
 
 

Change By:
 
 Jesse Glick 
 
 
 

Labels:
 
 robustness 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [docker-workflow-plugin] (JENKINS-28821) Docker Workflow demos: sh step on Docker image hangs if workspace is not writable

2015-08-04 Thread o.v.nenas...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Oleg Nenashev assigned an issue to Jesse Glick 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Jenkins /  JENKINS-28821 
 
 
 
  Docker Workflow demos: sh step on Docker image hangs if workspace is not writable  
 
 
 
 
 
 
 
 
 

Change By:
 
 Oleg Nenashev 
 
 
 

Assignee:
 
 OlegNenashev JesseGlick 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [docker-workflow-plugin] (JENKINS-28821) Docker Workflow demos: sh step on Docker image hangs if workspace is not writable

2015-08-04 Thread o.v.nenas...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Oleg Nenashev assigned an issue to Unassigned 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Jenkins /  JENKINS-28821 
 
 
 
  Docker Workflow demos: sh step on Docker image hangs if workspace is not writable  
 
 
 
 
 
 
 
 
 

Change By:
 
 Oleg Nenashev 
 
 
 

Assignee:
 
 JesseGlick 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [docker-workflow-plugin] (JENKINS-28821) Docker Workflow demos: sh step on Docker image hangs if workspace is not writable

2015-06-25 Thread gsym...@gsconsulting.biz (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Greg Symons commented on  JENKINS-28821 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Docker Workflow demos: sh step on Docker image hangs if workspace is not writable  
 
 
 
 
 
 
 
 
 
 
It looks like my problem was a non-writable workspace as well. I fixed that, and now shell tasks no longer hang. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [docker-workflow-plugin] (JENKINS-28821) Docker Workflow demos: sh step on Docker image hangs if workspace is not writable

2015-06-23 Thread gsym...@gsconsulting.biz (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Greg Symons commented on  JENKINS-28821 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Docker Workflow demos: sh step on Docker image hangs if workspace is not writable  
 
 
 
 
 
 
 
 
 
 
This problem occurs even when using a local docker via socket. See the example below: 

 

docker.image('java:openjdk-7-jre').inside {
  sh 'java -version'
}
 

 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [docker-workflow-plugin] (JENKINS-28821) Docker Workflow demos: sh step on Docker image hangs if workspace is not writable

2015-06-23 Thread o.v.nenas...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Oleg Nenashev commented on  JENKINS-28821 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Docker Workflow demos: sh step on Docker image hangs if workspace is not writable  
 
 
 
 
 
 
 
 
 
 
CCed Jesse Glick] 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [docker-workflow-plugin] (JENKINS-28821) Docker Workflow demos: sh step on Docker image hangs if workspace is not writable

2015-06-09 Thread o.v.nenas...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Oleg Nenashev commented on  JENKINS-28821 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Docker Workflow demos: sh step on Docker image hangs if workspace is not writable  
 
 
 
 
 
 
 
 
 
 
Proposed solution: at least fail the build if the workspace is not writable, docker does not fail on binding issues 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [docker-workflow-plugin] (JENKINS-28821) Docker Workflow demos: sh step on Docker image hangs if workspace is not writable

2015-06-09 Thread o.v.nenas...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Oleg Nenashev started work on  JENKINS-28821 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 

Change By:
 
 Oleg Nenashev 
 
 
 

Status:
 
 Open InProgress 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [docker-workflow-plugin] (JENKINS-28821) Docker Workflow demos: sh step on Docker image hangs if workspace is not writable

2015-06-09 Thread o.v.nenas...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Oleg Nenashev created an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Jenkins /  JENKINS-28821 
 
 
 
  Docker Workflow demos: sh step on Docker image hangs if workspace is not writable  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 
 Oleg Nenashev 
 
 
 

Components:
 

 docker-workflow-plugin 
 
 
 

Created:
 

 09/Jun/15 11:35 PM 
 
 
 

Environment:
 

 remote docker server  docker-workflow-1.0 
 
 
 

Priority:
 
  Blocker 
 
 
 

Reporter:
 
 Oleg Nenashev 
 
 
 
 
 
 
 
 
 
 
A sample demo workflow script hangs infinitely on the shell step. Logs are available below, stackdump is attached. 
Workflow: 

 
docker.image('maven:3.3.3-jdk-8').inside {
  git url: https://github.com/oleg-nenashev/ircbot.git
  sh 'echo hello'
  //Same thing with mvn -B clean install'
}
 

 
Build log 

 
Started by user anonymous
Running: Allocate node : Start
Running on master in /Users/nenashev/Documents/cloudbees/demo/docker-traceability/work/jobs/test-example-1/workspace
Running: Allocate node : Body : Start
Running: Shell Script
[workspace] Running shell script
+