Skip to content

Conversation

bdice
Copy link
Contributor

@bdice bdice commented Feb 5, 2025

Uses a retry wrapper for pip commands to try to alleviate CI failures due to hash mismatches that result from network hiccups

xref rapidsai/gha-tools#132

This will retry failures that show up in CI like:

   Collecting nvidia-cublas-cu12 (from libraft-cu12==25.2.*,>=0.0.0a0)
    Downloading https://pypi.nvidia.com/nvidia-cublas-cu12/nvidia_cublas_cu12-12.8.3.14-py3-none-manylinux_2_27_aarch64.whl (604.9 MB)
       ━━━━━━━━━━━━━━━━━━━━━                 350.2/604.9 MB 229.2 MB/s eta 0:00:02
  ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
      nvidia-cublas-cu12 from https://pypi.nvidia.com/nvidia-cublas-cu12/nvidia_cublas_cu12-12.8.3.14-py3-none-manylinux_2_27_aarch64.whl#sha256=93a4e0e386cc7f6e56c822531396de8170ed17068a1e18f987574895044cd8c3 (from libraft-cu12==25.2.*,>=0.0.0a0):
          Expected sha256 93a4e0e386cc7f6e56c822531396de8170ed17068a1e18f987574895044cd8c3
               Got        849c88d155cb4b4a3fdfebff9270fb367c58370b4243a2bdbcb1b9e7e940b7be

ref: https://github.com/rapidsai/cugraph/actions/runs/13132982479/job/36648262815?pr=4904#step:10:147

@bdice bdice requested review from a team as code owners February 5, 2025 13:05
@bdice bdice requested a review from msarahan February 5, 2025 13:05
@bdice bdice changed the base branch from branch-25.02 to branch-25.04 February 5, 2025 13:05
@github-actions github-actions bot added the ci label Feb 5, 2025
@bdice bdice requested review from gforsyth and removed request for a team and msarahan February 5, 2025 13:05
@bdice
Copy link
Contributor Author

bdice commented Feb 5, 2025

@gforsyth -- I just saw a failure in cugraph that would've been alleviated by this, so I went ahead and opened a PR. Would you be able to open a build-planning issue to track our efforts to enable rapids-pip-retry across repos?

@gforsyth
Copy link
Contributor

gforsyth commented Feb 5, 2025

Will do

@bdice bdice added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Feb 5, 2025
@bdice bdice self-assigned this Feb 5, 2025
@bdice
Copy link
Contributor Author

bdice commented Feb 5, 2025

/merge

@gforsyth
Copy link
Contributor

gforsyth commented Feb 5, 2025

@rapids-bot rapids-bot bot merged commit 5c75579 into rapidsai:branch-25.04 Feb 5, 2025
81 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants