-
Notifications
You must be signed in to change notification settings - Fork 38.8k
ci: re-add Valgrind job to the CI #33411
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
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code Coverage & BenchmarksFor details see: https://corecheck.dev/bitcoin/bitcoin/pulls/33411. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. ConflictsNo conflicts as of last run. |
|
The runtime isn't too bad, and it's just blown out by tool_signet_miner.py | ✓ Passed | 536 s
wallet_miniscript.py | ✓ Passed | 2086 s |
|
With |
47ef9f3 to
f935c63
Compare
|
Adjusted to remove the conflict with #31425 and add context to the final commit. |
f935c63 to
9b32a5f
Compare
|
No objection, but are there any real issues that this task has found in the last years? The only ones I am aware of are false-positives around valgrind and questions around updating the task config itself for a newly added package. If those are the only reasons to add it, the reasoning seems circular and pull request authors having to deal with valgrind false positives directly in their pull requests may even be counter-productive? For example, https://github.com/bitcoin/bitcoin/pull/31282/files was open for 4 months, and #29635 is still open with no clear solution. I am not sure if it is beneficial to block or delay a perfectly good pull requests based on a false-positive red valgrind CI. |
9b32a5f to
b9b1947
Compare
b9b1947 to
1aaf9a1
Compare
1aaf9a1 to
4914d86
Compare
|
Again, this seems fine, and I don't want to raise an objection. However, the general question of how to deal with the false-positives (see my previous comment) here is still unanswered. IIUC, valgrind may not work under a given compiler (version). For example, currently it doesn't work under clang out of the box. There are workarounds needed, but they come with drawbacks:
Generally, I have the impression that the existing asan and msan task find all memory issues before valgrind could find them. If there was one, it would be good to know it. |
|
Can leave it to *san for now. |
|
Maybe we can add it to just run under the default branch (master) on merges? Brought up in the context of #33509 (comment), but i guess the same approach could be used for several tasks? Maybe a brainstorming issue? |

Now that we've migrated to the new CI setup, and runtimes are looking decent, we could re-add some of the nightly/jobs runs in other repos, back to the main CI. This also came up in #33201 (comment).