Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Retry conda commands if a segfault occurs. (#46)
This PR makes `rapids-conda-retry` retry if the conda command segfaults. In discussion with @AyodeAwe and @stadlmax, we believe that the segfault is a temporary failure related to concurrent resource utilization (or perhaps a network hiccup?) that can be fixed by sleeping and retrying. Example: ``` /usr/local/bin/rapids-conda-retry: line 68: 155 Segmentation fault (core dumped) ${condaCmd} ${args} 2>&1 156 Done | tee "${outfile}" [rapids-conda-retry] conda returned exit code: 139 [rapids-conda-retry] Exiting, no retryable mamba errors detected: 'ChecksumMismatchError:', 'ChunkedEncodingError:', 'CondaHTTPError:', 'CondaMultiError:', 'ConnectionError:', 'EOFError:', 'JSONDecodeError:', 'Multi-download failed', 'Timeout was reached' [rapids-conda-retry] Error: Process completed with exit code 139. ``` https://github.com/rapidsai/cugraph-ops/actions/runs/4283919882/jobs/7460790452#step:6:387
- Loading branch information