-
Notifications
You must be signed in to change notification settings - Fork 41
kubectl build gets stuck indefinitely #109
Comments
anecdotally: if i change my setup script to do
rather than relying on the auto-setup and runtime=auto detection, it seems to work consistently. (though the fundamental bug seems to be a race condition, so i might just be getting lucky.) |
PR #106 revamps some of the relevant code paths, which hopefully will improve or fix this. It may take us a little while to get that merged, but once we do, we'll most likely cut a new minor release (v0.2.0) which we can then re-test in your scenario to see if it fully solves the problem, improves it, or makes no difference. |
Thanks @dhiltgen ! We'll test out v0.2.0 once it's out to see if it helps. |
@nicks curious if you had a chance to eval that release? |
@tmc i don't think v0.2 is out yet? but the |
What steps did you take and what happened
Sometimes kubectl build gets stuck and never recovers.
As far as I can tell, what's happening is that it's waiting indefinitely for the buildkit server to deploy.
What did you expect to happen
At the bare minimum, the build should timeout and fail if it takes too long for the buildkit server to start.
Environment Details:
Builder Logs
https://app.circleci.com/pipelines/github/tilt-dev/tilt-example-builders/13/workflows/a73afc07-73e5-4f38-9419-f944f2844b54/jobs/14
Here are the relevant bits:
Note that it's eventually getting killed by CircleCI
Dockerfile
https://github.com/tilt-dev/tilt-example-builders/blob/main/kubectl_build/Dockerfile
Vote on this request
This is an invitation to the community to vote on issues. Use the "smiley face" up to the right of this comment to vote.
The text was updated successfully, but these errors were encountered: