Skip to content

Commit

Permalink
Retry on "Response ended prematurely" (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdice authored Dec 23, 2024
1 parent 800ccca commit 5494167
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/rapids-conda-retry
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ function runConda {
elif grep -q "Multi-download failed" "${outfile}"; then
retryingMsg="Retrying, found 'Multi-download failed' in output..."
needToRetry=1
elif grep -q "Response ended prematurely" "${outfile}"; then
retryingMsg="Retrying, found 'Response ended prematurely' in output..."
needToRetry=1
elif grep -q "Timeout was reached" "${outfile}"; then
retryingMsg="Retrying, found 'Timeout was reached' in output..."
needToRetry=1
Expand All @@ -133,6 +136,7 @@ function runConda {
'EOFError:', \
'JSONDecodeError:', \
'Multi-download failed', \
'Response ended prematurely', \
'Timeout was reached', \
segfault exit code 139"
fi
Expand Down

0 comments on commit 5494167

Please sign in to comment.