You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actual behavior
We encounter the below problem in 1 out of of 20/30 pipeline jobs.
error building image: error building stage: failed to get filesystem from image: read tcp source-ip:source-port->destination-ip:destination-port: read: connection reset by peer
Kaniko (pipeline job) is trying to download a Docker base image located in our Microsoft Azure Container Registry and here the job fails sometimes to get the filesystem (layer) from the base image.
I cannot reopen #301 or #1267, so I open a new issue. Sorry and thank you for your support.
Expected behavior
Kaniko should have a retry flag for pulling the base image mentioned in the FROM statement like for the push operation.
We had the hope that the retry flag that was introduced in version 1.5.1 will fix our issue, but the issue still exist even with the "--push-retry" flag in Kaniko version 1.5.2.
To Reproduce
Steps to reproduce the behavior:
Create a textfile / Dockerfile inside of a running Kaniko docker container:
/workspace # cat textfile.txt
hello
/workspace # cat Dockerfile
FROM my-azure-cr/my-repository/my-image:base
COPY textfile.txt .
Execute below command with "--push-retry" flag and sometimes the issue occurs
Actual behavior
We encounter the below problem in 1 out of of 20/30 pipeline jobs.
Kaniko (pipeline job) is trying to download a Docker base image located in our Microsoft Azure Container Registry and here the job fails sometimes to get the filesystem (layer) from the base image.
I cannot reopen #301 or #1267, so I open a new issue. Sorry and thank you for your support.
Expected behavior
Kaniko should have a retry flag for pulling the base image mentioned in the FROM statement like for the push operation.
We had the hope that the retry flag that was introduced in version 1.5.1 will fix our issue, but the issue still exist even with the "--push-retry" flag in Kaniko version 1.5.2.
To Reproduce
Steps to reproduce the behavior:
Additional Information
textfile:
So even the issue happens with Docker, Docker retries it 5 times and always succeed in the retries. It never failed completely.
Triage Notes for the Maintainers
-
^--- Please check last additional information--cache
flagThe text was updated successfully, but these errors were encountered: