Skip to content
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

Prepare for sanitizer runs to fail hard during CI #2379

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

kevemueller
Copy link

Skip known not to work elfparsing on Linux/Ubuntu.

Instead of 200 failing/broken tests in ASAN/LSAN runs, prepare a list of ~20 exclusions which cause memory leaks.
Fix along the way another dozen of leaks.

The list of exclusions is considered to be better, as you can decide to work on one at a time. Clearing out the list. Note that some of the exclusions cover heavily used core code paths.

Having no errors in ASAN/LSAN runs enables to trigger errors when NEW leaks are introduced into the codebase, hence stopping the rot.

Note that atf-0.22 pretty much broke kyua/atf on MacOS, the MacOS CI runs take infinite time. Ubuntu is still fine (on 0.21).

For non-trivial leaks or leaks where the fix is considered major work, document and suppress them.

Intention is to get to a suppression list as TODO/FIXME and 0 leaks reported so we can turn on error triggering in newly introduced leaks.
@kevemueller
Copy link
Author

Rebased to main.

@bapt bapt merged commit 306fc12 into freebsd:main Dec 5, 2024
9 of 12 checks passed
@kevemueller kevemueller deleted the skipleak branch December 5, 2024 12:43
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