Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Add ChunkedEncodingError handling to gpuci_conda_retry #17

Merged
merged 1 commit into from
Feb 23, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion tools/gpuci_conda_retry
Original file line number Diff line number Diff line change
Expand Up @@ -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 )) && \
Expand Down