{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/18976","labels_url":"https://api.github.com/repos/docker/docker/issues/18976/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/18976/comments","events_url":"https://api.github.com/repos/docker/docker/issues/18976/events","html_url":"https://github.com/docker/docker/issues/18976","id":124268424,"number":18976,"title":"Docker build steps occasionally fail when running in a concurrent CI environment","user":{"login":"aaronjwood","id":446283,"avatar_url":"https://avatars.githubusercontent.com/u/446283?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronjwood","html_url":"https://github.com/aaronjwood","followers_url":"https://api.github.com/users/aaronjwood/followers","following_url":"https://api.github.com/users/aaronjwood/following{/other_user}","gists_url":"https://api.github.com/users/aaronjwood/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronjwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronjwood/subscriptions","organizations_url":"https://api.github.com/users/aaronjwood/orgs","repos_url":"https://api.github.com/users/aaronjwood/repos","events_url":"https://api.github.com/users/aaronjwood/events{/privacy}","received_events_url":"https://api.github.com/users/aaronjwood/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-29T21:09:08Z","updated_at":"2015-12-29T22:14:42Z","closed_at":null,"body":"I'm seeing a usually rare but strange issue. Maybe once every other day a build or two fails due to messages like this:\r\n\r\n```\r\nRemoving intermediate container b1b63ca1e55b\r\nStep 4 : ADD entrypoint.sh /home/entrypoint.sh\r\n---> 8636fdf2699f\r\nRemoving intermediate container 86091a73834a\r\nStep 5 : ENTRYPOINT /home/entrypoint.sh\r\n---> Running in 403e6404be05\r\ntime=\"2015-12-29T20:53:55Z\" level=info msg=\"lstat /var/lib/docker/overlay/403e6404be05a62c46c9d435ec77182828f7145c5518ed19dc1c15988ad00d6b/merged/usr/share/misc: no such file or directory\"\r\n```\r\n\r\nI'm also seeing a few other strange issues such as an image not being able to add a file into the container on one build, but will succeed immediately on the next build. The `ADD` is something very simple like this:\r\n\r\n```\r\nADD file.txt /home/file.txt\r\n```\r\n\r\nThat issue is more rare than the first but they both seem to be triggered more often when concurrent builds are running (I think). We haven't seen these issues when building locally, but I think that is a poor comparison since most of us who will build locally to test use Docker 1.9 with Docker Machine and will not run concurrent builds.\r\n\r\nHere's my environment\r\n\r\nCoreOS 723.3.0\r\nDocker 1.6.2\r\nStorage diver: overlay\r\nBacking filesystem: extfs\r\nExecution Driver: native-0.2\r\nKernel: 4.0.5\r\n24 cores/128GB RAM\r\n\r\nI'm running the latest version of jenkins as a container on the CoreOS host. Jenkins executes many steps of our build inside of a build container (so it's a container-in-container environment) and is set to use 8 executors at the most. I have mapped in the docker binary, libdevmapper.so.1.02, and /var/run/docker.sock to the jenkins container so that it is able to work with containers.\r\n\r\nAny ideas on this?"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/167888969","html_url":"https://github.com/docker/docker/issues/18976#issuecomment-167888969","issue_url":"https://api.github.com/repos/docker/docker/issues/18976","id":167888969,"user":{"login":"aaronjwood","id":446283,"avatar_url":"https://avatars.githubusercontent.com/u/446283?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronjwood","html_url":"https://github.com/aaronjwood","followers_url":"https://api.github.com/users/aaronjwood/followers","following_url":"https://api.github.com/users/aaronjwood/following{/other_user}","gists_url":"https://api.github.com/users/aaronjwood/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronjwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronjwood/subscriptions","organizations_url":"https://api.github.com/users/aaronjwood/orgs","repos_url":"https://api.github.com/users/aaronjwood/repos","events_url":"https://api.github.com/users/aaronjwood/events{/privacy}","received_events_url":"https://api.github.com/users/aaronjwood/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T22:14:42Z","updated_at":"2015-12-29T22:14:42Z","body":"I'd have to dedicate some time at work to bring up another small cluster somewhere else running the latest version. Can't say I will be able to get to that soon, but I will try :)\r\n\r\nLet me see if I'm good to go with upgrading the cluster that jenkins is on now. Will get back to you on this..."}}