-
Notifications
You must be signed in to change notification settings - Fork 787
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
Use of closed network connection when building in GitHub Actions using ghcr.io as cache #4777
Comments
It happened again just now, https://github.com/jiridanek/cli-cpp/actions/runs/4894816601/jobs/8739559116#step:11:519 |
I am also seeing this issue appear intermittently. This is especially prevalent when attempting to do multiple builds at once that use ssh. Getting this:
I am doing npm installs in the image and here is the redacted output from npm
Sometimes the builds works to completion, sometimes not. Builds NEVER work when running more than one at a time. |
It seems like a small retry mechanism ( with exponential backoff ) should help here. |
I'll take this. |
@jiridanek @alechirsch I'd suggest setting |
This sounds like it should help, those retries. I'll set it and we'll see what happens. Currently the fails are already quite rare for me, GH infra seems to work mostly well ;) |
Yes I mean you can just set these to ensure that these failures don't happen in future. I am closing this issue hoping that this should help but feel free to |
@flouthoc I am running this with a podman-compose build
I am not able to interface with buildah directly here. Seems like this should be built in, I am running into this issue on virtually every other build at random. This might be a separate issue and I can reopen a new one. My issue is more similar to #3587, which this issue referenced. It seems like the fix for the previous issue was to increase the timeout before closing the connection. I do not think that works for my case. I am running an |
…es when using cache Suggested in containers/buildah#4777 (comment)
…es when using cache Suggested in containers/buildah#4777 (comment)
…ilures when using cache (#95) Suggested in containers/buildah#4777 (comment)
Description
I saw the issue from #3587 reappear once in a flaky manner, when building in GitHub Actions and using ghcr.io registry as the cache
https://github.com/jiridanek/cli-cpp/actions/runs/4893695440/jobs/8736952568#step:11:2967
The build command I am using is
Output of
rpm -q buildah
orapt list buildah
:I am using
quay.io/buildah/stable:latest
container image. It appears to have currentlyOutput of
buildah version
:Output of
podman version
if reporting apodman build
issue:Output of
cat /etc/*release
:Output of
uname -a
:This is from my laptop, not from hosted GitHub Actions runner
Output of
cat /etc/containers/storage.conf
:The text was updated successfully, but these errors were encountered: