docker / hub-feedback

Feedback and bug reports for the Docker Hub
https://hub.docker.com
234 stars 39 forks source link

entrypoint build issue #821

Closed pontostroy closed 7 years ago

pontostroy commented 8 years ago

This work great few days ago on docker hub (on local machine all works fine) USER gog COPY ./env.sh /home/gog/.bashrc COPY ./docker-entrypoint.sh / ENTRYPOINT ["/docker-entrypoint.sh"]

but now i get

Build failed: stat /var/lib/docker/overlay/c5ade468eba62df5fcaebb2b1f5f48dc752e4d198dcde38c78393ce1f7847665/merged/docker-entrypoint.sh: no such file or directory

HariSekhon commented 8 years ago

I've got this across more than one build that used to work before, eg.

https://hub.docker.com/r/harisekhon/hadoop-dev/builds/bxpwhyiasbq9kjropreer9n/

avoinea commented 8 years ago

Same here: https://hub.docker.com/r/eeacms/plone-test/builds/b9haxod8tk3qkgrbgrm3xzj/

HariSekhon commented 8 years ago

This is a really bug as it's broken all my automated builds which are now no longer updating because of this issue.

HariSekhon commented 8 years ago

I've just raised a ticket with a more serious headline pointing to this one since nobody has responded to this in days and it's blocking many builds.

pkennedyr commented 8 years ago

Thanks for the feedback. The team is aware of the issue and is actively working on a fix.

pkennedyr commented 8 years ago

@HariSekhon We have rolled back a deployment which appears to have caused your specific build failures. Can you please retrigger your builds and let us know if you are still experiencing the issue?

Thanks.

HariSekhon commented 8 years ago

This is still occurring on builds:

https://hub.docker.com/r/harisekhon/zookeeper-dev/builds/bxehtatrmgghafvqxd7znud/

https://hub.docker.com/r/harisekhon/hadoop-dev/builds/bhxbiewdu7j9a9gru2jynst/

https://hub.docker.com/r/harisekhon/hadoop-dev/builds/bnto9gceombvydziarxdqka/

AndrewDryga commented 8 years ago

Still occurring on build: https://hub.docker.com/r/nebo15/alpine-cassandra/builds/bcwdjqnt4dbtisif8t2ckxo/

pkennedyr commented 8 years ago

@HariSekhon @AndrewDryga. Thanks for confirming. It appears that a small percentage of overall build traffic is still experiencing this issue, so the team is working to address a fix and will be releasing another update early next week.

We apologize for the inconvenience and will continue to posting updates to this thread as further information is available.

aholbreich commented 8 years ago

It seem somehow to be connected to branches/tags? See failing https://hub.docker.com/r/gold/ghost/builds/b2yvertsjkrvc3r3gyahz5g/ (build form tag) burt working https://hub.docker.com/r/gold/ghost/builds/beunyqnobwzxj5brurwsqkd/ (build from master)

aholbreich commented 8 years ago

Does Docker hub build logic check out everything from github project? Had simmilar issue months ago. Where files where not included to the build... Very anoing. :(

hwdsl2 commented 8 years ago

Related: docker/docker#25925

ryanwalls commented 7 years ago

@pkennedyr We are still hitting this issue. Have tried manually triggering the build 4 times now...

pkennedyr commented 7 years ago

UPDATE: As of this morning (11:50 am PDT), the absolute root cause of this issue has not yet been identified and ~6% of overall build traffic is still experiencing this issue. We have strong reason to believe that it is related to the following Docker engine issue: https://github.com/docker/docker/issues/25925

We are treating this issue as a top priority across Docker and the team is actively working to address it. We apologize for the inconvenience and will update this thread as soon further information is available.

craigcondit commented 7 years ago

FWIW, this seems to only fail for me on docker 1.12.2 build hosts; if the build gets scheduled on a 1.12.0 host it seems to work.

NicolasCARPi commented 7 years ago

If it can help, the elabftw/elabimg is failing with this exact bug. Before I could manage to build it by retrying the build manually. But now it seems that even that doesn't work :/

I hope you'll be able to fix this bug in a timely manner :)

Keep up the good work!

Regards, ~Nicolas

F21 commented 7 years ago

I've tried rebuilding many times, but it's been consistently failing for me. See my builds here: https://hub.docker.com/r/boostport/hbase-phoenix-all-in-one/builds/

abcfy2 commented 7 years ago

Same issue here: https://hub.docker.com/r/shifudao/nexus3/builds/

You can see COPY entrypoint.sh / failed many times.

pkennedyr commented 7 years ago

UPDATE: The root cause of this issue has been identified and a temporary fix was deployed to production last night (11pm PDT), which has prevented subsequent occurrences of this issue. The upcoming release of Docker engine 1.12.3 includes an update that we have strong reason to believe will address the root cause of this issue. The team continues to treat this as a top priority and we will be updating this thread as more information is available.

aholbreich commented 7 years ago

@pkennedyr good news. P.S. It is possible to retriger failed build job without commiting something new to github?

F21 commented 7 years ago

@aholbreich If you manage the repository through cloud.docker.com, you can restart the build.

tm-lmathieu commented 7 years ago

@aholbreich You can also delete the tag on github then push the same tag again.

thasmo commented 7 years ago

I'm still experiencing this problem tho.

pchico83 commented 7 years ago

@thasmo could you provide your docker repo? I thought the issue was solved in our latest release

thasmo commented 7 years ago

@pchico83 Sure! It's https://github.com/dst-academy/docker-dontstarvetogether/tree/v0.6.0

The actual error is:

Step 12 : COPY /docker-entrypoint.sh /entrypoint.sh
Removing intermediate container 30d5573f235e
stat /var/lib/docker/overlay/b7805a9da96039a8e0a3a1075fdab81b2d8a3cb8a568096da86822ea3af9483d/merged/entrypoint.sh: no such file or directory
ERROR: Build failed: stat /var/lib/docker/overlay/b7805a9da96039a8e0a3a1075fdab81b2d8a3cb8a568096da86822ea3af9483d/merged/entrypoint.sh: no such file or directory
ERROR: Build failed with exit code 2
ERROR: Build in 'v0.6.0:/build/' (20731160) failed in 0:13:36
pchico83 commented 7 years ago

@thasmo I cannot find your failed build. Could you share the build code of the failing build? or the docker repo where this is happening? Note that the fix for this issue was released on last Tuesday (October 25th).

thasmo commented 7 years ago

@pchico83 I'm building on Docker Cloud. The repo is dstacademy/dontstarvetogether and builds sync to the Docker Hub if successful, I believe. I can't figure out any build ID or anything, but I got BuildTime: 2016-10-11T18:29:41.366230153+00:00 and Location: Graz, Austria if that helps you in finding the log or something. Thanks a lot!

thasmo commented 7 years ago

@pchico83 Seems like it works now, not sure why tho. ;)

pkennedyr commented 7 years ago

UPDATE: Docker engine 1.12.3 includes an update which addressed the root cause of this build failure. After upgrading the Docker autobuild service to Docker engine 1.12.3, we believe the issue has been resolved as subsequent occurrences of these build failures are no longer occurring. We apologize for the inconvenience and are taking steps to prevent similar issues from occurring in the future.