Skip to content
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

GHA cache backend connection resets may cause build failure #687

Closed
jeroenvisser101 opened this issue Jul 21, 2021 · 1 comment
Closed

Comments

@jeroenvisser101
Copy link

Since there is no retry mechanism, we've seen some of our builds fail because of intermittent connection issues while attempting to store the cache. It may be better to retry this operation, or to warn of a failure to store the cache but not to crash the build.

I've attached the logs with identifiers removed.

We deploy 38 different sites using a matrix, and limit parallelism to 20 to avoid overloading anything, but this still happens just about every build.

#32 exporting cache
#32 preparing build cache for export
#32 preparing build cache for export 4.8s done
#32 ERROR: Get "https://artifactcache.actions.githubusercontent.com/[...]/_apis/artifactcache/cache?keys=buildkit-blob-1-sha256%3A[...]&version=[...]": read tcp 172.17.0.2:34032->13.107.42.16:443: read: connection reset by peer
------
 > exporting cache:
------
error: failed to solve: Get "https://artifactcache.actions.githubusercontent.com/[...]/_apis/artifactcache/cache?keys=buildkit-blob-1-sha256%3A[...]&version=[...]": read tcp 172.17.0.2:34032->13.107.42.16:443: read: connection reset by peer
Error: buildx failed with: error: failed to solve: Get "https://artifactcache.actions.githubusercontent.com/[...]/_apis/artifactcache/cache?keys=buildkit-blob-1-sha256%3A[...]&version=[...]": read tcp 172.17.0.2:34032->13.107.42.16:443: read: connection reset by peer
@jeroenvisser101 jeroenvisser101 changed the title GHA backend connection resets may cause build failure GHA cache backend connection resets may cause build failure Jul 21, 2021
@crazy-max
Copy link
Member

#681 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants