From 2c3f8b1fb6ea643e4738c28dd787a85d206699f1 Mon Sep 17 00:00:00 2001 From: Raymond Douglass Date: Tue, 23 Feb 2021 13:14:49 -0500 Subject: [PATCH] ENH Add ChunkedEncodingError handling to gpuci_conda_retry --- tools/gpuci_conda_retry | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/gpuci_conda_retry b/tools/gpuci_conda_retry index 87a50c7..950019c 100644 --- a/tools/gpuci_conda_retry +++ b/tools/gpuci_conda_retry @@ -86,8 +86,11 @@ function runConda { elif grep -q JSONDecodeError: ${outfile}; then retryingMsg="Retrying, found 'JSONDecodeError:' in output..." needToRetry=1 + elif grep -q ChunkedEncodingError: ${outfile}; then + retryingMsg="Retrying, found 'ChunkedEncodingError:' in output..." + needToRetry=1 else - echo_stderr "Exiting, no retryable conda errors detected: 'ChecksumMismatchError:' or 'CondaHTTPError:' or 'JSONDecodeError:'" + echo_stderr "Exiting, no retryable conda errors detected: 'ChecksumMismatchError:' or 'CondaHTTPError:' or 'JSONDecodeError:' or 'ChunkedEncodingError:'" fi if (( ${needToRetry} == 1 )) && \