Skip to content

Commit

Permalink
rapids-conda-retry: retry on 'failed writing received data to disk' (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb authored Feb 25, 2025
1 parent 4e9add6 commit 62b064f
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 @@ -118,6 +118,9 @@ function runConda {
elif grep -q "Error when extracting package:" "${outfile}"; then
retryingMsg="Retrying, found 'Error when extracting package:' in output..."
needToRetry=1
elif grep -q -i "Failed writing received data to disk" "${outfile}"; then
retryingMsg="Retrying, found 'Failed writing received data to disk' in output..."
needToRetry=1
elif grep -q "File not valid: SHA256 sum doesn't match expectation" "${outfile}"; then
retryingMsg="Retrying, found 'File not valid: SHA256 sum doesn't match expectation' in output..."
needToRetry=1
Expand Down Expand Up @@ -159,6 +162,7 @@ function runConda {
'DependencyNeedsBuildingError:', \
'EOFError:', \
'Error when extracting package:', \
'Failed writing received data to disk', \
'File not valid: SHA256 sum doesn't match expectation', \
'JSONDecodeError:', \
'Multi-download failed', \
Expand Down

0 comments on commit 62b064f

Please sign in to comment.