Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retry on "Response ended prematurely" #130

Merged
merged 1 commit into from
Dec 23, 2024
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
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
Loading