[CI/Build] Retry CPU image stream interruptions (#56597)
Signed-off-by: Kevin Luu <51931015+khluu@users.noreply.github.com> Co-authored-by: OpenAI Codex <codex@openai.com> Co-authored-by: Sherlock <sherlock@openai.com> Co-authored-by: OpenAI Codex <noreply@openai.com>
Kevin H. Luu committed
Sep 14, 2026 at 21:18 UTC
876595275548dff6056ff0942592dbe93b070193
1 file changed
+1
-1
.buildkite/scripts/hardware_ci/run-cpu-test.sh
+1
-1
@@ -59,7 +59,7 @@ docker pull ubuntu:25.04 || true
59
60
# building the docker image
61
echo "--- :docker: Building Docker image"
62
-BUILD_RETRY_PATTERN='dial tcp|i/o timeout|failed to authorize|TLS handshake timeout|connection reset|PROTOCOL_ERROR|Could not resolve host|Temporary failure in name resolution|dns error: failed to lookup address information|client error \(Connect\)|error sending request for url|Failed to fetch:'
62
+BUILD_RETRY_PATTERN='dial tcp|i/o timeout|failed to authorize|TLS handshake timeout|connection reset|PROTOCOL_ERROR|Could not resolve host|Temporary failure in name resolution|dns error: failed to lookup address information|client error \(Connect\)|error sending request for url|Failed to fetch:|The read operation timed out|BrokenPipeError:.*Broken pipe|HTTP/[0-9.]+ stream [0-9]+ was not closed cleanly|fetch-pack: unexpected disconnect|fatal: early EOF|invalid index-pack output'
63
BUILD_MAX_ATTEMPTS=4 # 1 initial + 3 retries
64
BUILD_RETRY_WAITS=(10 20 40) # seconds to wait before retry 1/2/3
65
build_log="$(mktemp)"