From 62b064ff86f729b930f7f6954b1cfbedace3b0dd Mon Sep 17 00:00:00 2001 From: James Lamb Date: Tue, 25 Feb 2025 10:56:21 -0600 Subject: [PATCH] rapids-conda-retry: retry on 'failed writing received data to disk' (#147) --- tools/rapids-conda-retry | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/rapids-conda-retry b/tools/rapids-conda-retry index 8f064eb..76059a3 100755 --- a/tools/rapids-conda-retry +++ b/tools/rapids-conda-retry @@ -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 @@ -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', \