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: avoid range requests with too big offset #3618

Merged
merged 1 commit into from
Feb 11, 2023

Conversation

tonistiigi
Copy link
Member

Saw this error in CI

ERROR: failed to solve: failed to compute cache key: failed to copy: invalid status response 416 The range specified is invalid for the current size of the resource. for https://ki6cacprodeus1file5.blob.core.windows.net/2ff2ce0399e5464697755b110c91788d/d7eb6ee20e7bed11ac20501ac56bd055?sv=2019-07-07&sr=b&sig=9HSdAre3Gb4Ze9oOBRtnlFxRSkqAWnf5dueVJ3DPwhY%3D&se=2023-02-11T01%3A34%3A32Z&sp=r&rscl=x-e2eid-19509829-00204bd7-8d7f39b2-ab93df7f, range: bytes=20588289-

This has been reported before as well but can't find a tracking issue atm. This is the same issue tonistiigi/go-actions-cache#14 debug was added.

I confirmed that it was coming because of the offset == size. There might be some containerd bug that causes this read and that usually goes unnoticed because it just results in one extra query and not an error. I haven't figured out what condition triggers this but it might have something to do with parallel pulls of the same blob.

Signed-off-by: Tonis Tiigi tonistiigi@gmail.com

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants