-
Notifications
You must be signed in to change notification settings - Fork 480
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
The cache export step hangs #537
Comments
please post a runnable reproducer |
Same here. There seems to be a lot of similar issues here. |
I have been trying to figure out for the entire day why a simple docker buildx filesystem export hangs in GitHub Actions, while it works just fine locally in WSL2. Maybe this is the same issue? https://twitter.com/awakecoding/status/1430252223771054084 |
opened grpc/grpc-go#4722 |
If someone can make a reproducer using |
I have a similar issue. Deleting the Sorry, I don't have much more information. |
I saw this immediately after adding |
Any fix? |
@tonistiigi I created reproducible example in https://github.com/bbednarek/multiple-docker-build repo along with the workaround that we have taken (OCI layout). I am basically building Docker image in 2 steps, using 2 different Dockerfiles:
On the top of that you can find Makefile which contains 3 self-descriptive jobs to run it locally:
|
This issue is only about |
@tonistiigi Unfortunately, grpc/grpc-go#4722 was closed as stale. At this point, our cache exports are so slow, that we might as well not use docker caching at all. |
Hi,
first of all, sorry if this is a double post, but since the other reports I found are a kite old and without recent activity, I decided/try to sum it all here:
Looks like the "preparing build cache for the export" step is hanging pointing to some kind of bug here:
In my last tries, it had more than 1h, no CPU usage, just stuck. Meaning that beside inline cache type, the others are unusable.
How to reproduce:
notes:
Samples
Here is the build commands that i used with just some redacted commands:
local type:
registry type:
Other reports that might be related:
--cache-to type=local
takes very long time #237The text was updated successfully, but these errors were encountered: