R
RunPod•2mo ago
EMPZ

GitHub integration: "exporting to oci image format" takes forever.

It's been running for over 30 minutes on this step. Same image builds in less than 5 minutes in GitHub Actions. Why does it take so long? This is the first build. Would it be better for subsequent builds (assuming there's some caching involved?)? To me this is unusable and I much rather just do the build and push myself and just change the endpoint image version.
14 Replies
EMPZ
EMPZOP•2mo ago
Well, after a while it failed with the following error:
2024-12-16 17:30:54 [ERROR] Error: failed to receive status: rpc error: code = Unavailable desc = closing transport due to: connection error: desc = "error reading from server: EOF", received prior goaway: code: ENHANCE_YOUR_CALM, debug data: "too_many_pings"
2024-12-16 17:30:54 [ERROR] Build failed in the first attempt. Will retry one more time before exiting.
2024-12-16 17:30:54 [ERROR] Error: failed to receive status: rpc error: code = Unavailable desc = closing transport due to: connection error: desc = "error reading from server: EOF", received prior goaway: code: ENHANCE_YOUR_CALM, debug data: "too_many_pings"
2024-12-16 17:30:54 [ERROR] Build failed in the first attempt. Will retry one more time before exiting.
PRB
PRB•2mo ago
Expect a fix in the next few weeks. We are aware of it
EMPZ
EMPZOP•2mo ago
So it finally finished (just took a long time). I can see that subsequent builds are using Docker layer caching (good), so the actual build is pretty fast. But still, the "exporting to oci image format" takes forever.
PRB
PRB•2mo ago
Yeah we have caching for build and push. This is just a temporary thing thats there but will be gone soon
Kent
Kent•2mo ago
how soon? I'm dealing with it for now, but just wondering when this change could be expected, I've had builds run over an hour due to the oci image format step
PRB
PRB•2mo ago
One to two week. I have a fix internally but need to test it and push it out
Kent
Kent•2mo ago
awesome, thanks
joel-simon
joel-simon•4w ago
Almost an hour spent "exporting to oci image format. " not very usable right now 😦 Loving the rest of github integration though
PRB
PRB•4w ago
It will go down to minutes in the next couple of weeks We have a fix already. We cant release two days before christmas
Arkadiy 🇺🇦
The last layer (single uncached) of my docker takes 0.1 seconds to complete. Then, starting with "exporting to oci image format" takes 20 minutes. This is not, expected time and should be faster when fix will be released, right? I can either wait, or just download github repo within request, which is annoying, but fine
flash-singh
flash-singh•3w ago
the new changes with faster image builds will likely go out end of jan
Arkadiy 🇺🇦
Here is my solution to the problem
No description
nerdylive
nerdylive•3w ago
haha quite a workaround
Eren
Eren•5d ago
I'm following this thread since December and would be absolutely happy to have faster image builds As Arkadiy said in my case too there is only change on last uncached part on code level, however I still got >1 hr (sometimes 2-3 or even 4 hours) of "exporting to oci image format. This takes a little bit of time. Please be patient." It also randomly fails due to network errors after a while on build

Did you find this page helpful?