Azure / acr-builder

Azure Container Registry Build Runner
MIT License
38 stars 35 forks source link

Intermittent failure to download build context tarball from azure storage blob: unexpected EOF #653

Closed northtyphoon closed 11 months ago

northtyphoon commented 12 months ago

Describe the bug acr download sometimes failed saying "unexpected EOF"

Suggestion: Add retry to avoid intermittent network issue

yuehaoliang commented 11 months ago

Suspect that the "unexpected EOF" error may be originating from the archive.Untar() function, but not entirely certain. So added some logs within "acb download" to pinpoint the source of the error. The customer has reported that this error consistently occurs for a particular task, so retrying may not work.

This might also be related to something when the Azure CLI "az acr build" packaging and uploading the tarball.