Skip to content

Use rapids-pip-retry in CI jobs that might need retries#648

Merged
rapids-bot[bot] merged 1 commit intorapidsai:branch-25.04from
gforsyth:rapids-pip-retry
Feb 5, 2025
Merged

Use rapids-pip-retry in CI jobs that might need retries#648
rapids-bot[bot] merged 1 commit intorapidsai:branch-25.04from
gforsyth:rapids-pip-retry

Conversation

@gforsyth
Copy link
Copy Markdown
Contributor

@gforsyth gforsyth commented Feb 4, 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-cusolver-cu12 (from libraft-cu12==25.2.*,>=0.0.0a0)
    Downloading https://pypi.nvidia.com/nvidia-cusolver-cu12/nvidia_cusolver_cu12-11.7.2.55-py3-none-manylinux_2_27_aarch64.whl (260.1 MB)
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━      226.5/260.1 MB 70.2 MB/s eta 0:00:01
  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-cusolver-cu12 from https://pypi.nvidia.com/nvidia-cusolver-cu12/nvidia_cusolver_cu12-11.7.2.55-py3-none-manylinux_2_27_aarch64.whl#sha256=0fd9e98246f43c15bee5561147ad235dfdf2d037f5d07c9d41af3f7f72feb7cc (from libraft-cu12==25.2.*,>=0.0.0a0):
          Expected sha256 0fd9e98246f43c15bee5561147ad235dfdf2d037f5d07c9d41af3f7f72feb7cc
               Got        5ab0571003be61a02d3cbf59307e987c3e18a755fa472475a7f5178e77e12012

  error: subprocess-exited-with-error
  
  × pip subprocess to install backend dependencies did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

ref: https://github.com/rapidsai/cuvs/actions/runs/13115119921/job/36588587993?pr=643#step:10:128

@gforsyth gforsyth requested a review from a team as a code owner February 4, 2025 14:15
@gforsyth gforsyth requested a review from bdice February 4, 2025 14:15
@gforsyth gforsyth added improvement Improves an existing functionality non-breaking Introduces a non-breaking change labels Feb 4, 2025
@github-actions github-actions Bot added the ci label Feb 4, 2025
@bdice
Copy link
Copy Markdown
Contributor

bdice commented Feb 5, 2025

/merge

@rapids-bot rapids-bot Bot merged commit 550d3bc into rapidsai:branch-25.04 Feb 5, 2025
@gforsyth gforsyth deleted the rapids-pip-retry branch February 5, 2025 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci improvement Improves an existing functionality non-breaking Introduces a non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants