Skip to content

Download and build-from-source valgrind 3.24.0 when not present #1383

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

Merged
merged 3 commits into from
Apr 17, 2025

Conversation

eramongodb
Copy link
Contributor

Unblock ongoing Valgrind task failures while DEVPROD-16589 continues to be investigated. Proposes using a pattern similar to install_uv.py, where a recent version of Valgrind is downloaded (verified by SHA1 checksum) and built-from-source. This is meant to be a temporary solution until DEVPROD-16589 is resolved (temporary to minimize our use of curl commands in CI scripts). Use of a 60 second timeout for curl (-m 60) is arbitrary and may be extended if it is observed to be too short (the total download+build+install time is currently around ~60 seconds on EVG).

The valgrind detection-and-download step is also moved to the front of the list of EVG commands executed (immediately after setup rather than within test.sh) so any issues with valgrind acquisition will fail early and quickly before other wasteful execution of discarded setup tasks (i.e. install C Driver).

@eramongodb eramongodb requested a review from kevinAlbs April 17, 2025 16:14
@eramongodb eramongodb self-assigned this Apr 17, 2025
@eramongodb eramongodb requested a review from a team as a code owner April 17, 2025 16:14
@eramongodb eramongodb merged commit f5c55af into mongodb:master Apr 17, 2025
20 checks passed
@eramongodb eramongodb deleted the cxx-evg-valgrind branch April 17, 2025 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants