Skip to content

Commit

Permalink
Fix netlink descriptor error retry (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdice authored Feb 3, 2025
1 parent 0b6a1e0 commit 9a685ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/rapids-conda-retry
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ function runConda {
elif grep -q "Timeout was reached" "${outfile}"; then
retryingMsg="Retrying, found 'Timeout was reached' in output..."
needToRetry=1
elif grep -q "Unexpected error [0-9]+ on netlink descriptor [0-9]+" "${outfile}"; then
retryingMsg="Retrying, found 'Unexpected error [0-9]* on netlink descriptor [0-9]*' in output..."
elif grep -qE "Unexpected error [0-9]+ on netlink descriptor [0-9]+" "${outfile}"; then
retryingMsg="Retrying, found 'Unexpected error [0-9]+ on netlink descriptor [0-9]+' in output..."
needToRetry=1
elif [[ $exitcode -eq 139 ]]; then
retryingMsg="Retrying, command resulted in a segfault. This may be an intermittent failure..."
Expand All @@ -149,7 +149,7 @@ function runConda {
'Multi-download failed', \
'Response ended prematurely', \
'Timeout was reached', \
'Unexpected error [0-9]* on netlink descriptor [0-9]*', \
'Unexpected error [0-9]+ on netlink descriptor [0-9]+', \
segfault exit code 139"
fi

Expand Down

0 comments on commit 9a685ba

Please sign in to comment.