obazoud commented on Bug JENKINS-24338

Got the same problem.

14:28:32 Run integration tests...
14:28:32 Run Test Kitchen...
14:28:32 -----> Cleaning up any prior instances of <default-centos-65>
14:28:32 -----> Destroying <default-centos-65>...
14:28:32        
14:28:32        Usage: docker inspect CONTAINER|IMAGE [CONTAINER|IMAGE...]
14:28:32        
14:28:32        Return low-level information on a container or image
14:28:32        
14:28:32          -f, --format=""    Format the output using the given go template.
14:28:32        Finished destroying <default-centos-65> (0m0.06s).
14:28:32 -----> Testing <default-centos-65>
14:28:32 -----> Creating <default-centos-65>...
14:28:32        2014/10/10 14:28:32 Post http:///var/run/docker.sock/build?rm=1&t=: dial unix /var/run/docker.sock: permission denied
14:28:32 -----> Destroying <default-centos-65>...

Works fine in a shell, got the problem in freejob style created by job dsl.

  • This job runs Test kitchen (Chef)
  • jenkins user is a member of the docker group
# ls -la /var/run/docker.sock
srw-rw----. 1 root docker 0 10 oct.  14:19 /var/run/docker.sock
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to