binderhub icon indicating copy to clipboard operation
binderhub copied to clipboard

Failure to push an image to a registry isn't always detected as an error

Open manics opened this issue 3 years ago • 2 comments

Bug description

If the repo2docker build pod builds an image but can't push it to the registry this should be detected as a failure. However sometimes BinderHub doesn't detect the error, and instead proceeds to attempt to launch the image as if it had been pushed.

Expected behaviour

Failure to build or push a repo to a container registry should result in BinderHub returning an error, and not attempting to launch the image in JupyterHub

Actual behaviour

Sometimes the push fails, but BinderHub still attempts to launch the image. JupyterHub fails since the image wasn't pushed.

How to reproduce

This is an intermittent bug, I haven't figured out how to reproduce it reliably. I've experienced it with Docker Hub, and it sounds like this has occurred in https://discourse.jupyter.org/t/eks-binder-fails-to-build-repo/15287/6

manics avatar Aug 12 '22 11:08 manics

Hii @manics, I want to work on this issue. Can you please assign this issue to me?

sharmadhiraj86 avatar Oct 09 '22 16:10 sharmadhiraj86

Hi @sharmadhiraj86, thats great!!

I'm not sure, but I think this may have been resolved by #1525. @manics what do you think?

consideRatio avatar Oct 09 '22 17:10 consideRatio