-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Worker tries to execute the workflow even if pulling image from registry fails #382
Comments
hey @invidian , nice catch! I tried reproducing the issue and below are my findings.
I tried to pinpoint the error by debugging it with delve. What seems to cause the failure is during the Copy. We can notice in the below logs after docker interrupt, Read returned
Error logs of tink-worker, note the first few lines of below logs.
|
added check for Decode statement
added check for Decode statement
added check for Decode statement added unit tests added unit tests added unit tests
added check for Decode statement added unit tests added unit tests added unit tests added unit tests
* docker graceful exits when image pull fails #382 added check for Decode statement added unit tests added unit tests added unit tests added unit tests * added unit tests Co-authored-by: cbkhare <[email protected]>
resolved after #450 merge. |
Expected Behaviour
Workflow execution should stop if image can be pulled.
Current Behaviour
Even if pulling image from registry fails, worker still tries to execute the workflow and then complains that the image cannot be found.
Possible Solution
Make sure pulling errors are handled properly.
Steps to Reproduce (for bugs)
tmpfs
in OSIE of size 2GB.ubuntu
withqemu
andlibguestfs-tools
packages installed).The text was updated successfully, but these errors were encountered: