Skip to content

Conversation

@fabratu
Copy link
Member

@fabratu fabratu commented Jan 16, 2025

This PR effectively fixes the broken coverage upload. Due to also testing for leaks and continuing on errors, the coverage for the C++ code way empty if a potential address leak is found. Both tests are now split into different runs. This should also speedup the coverage run due to having both leak checks and coverage at the same time.

In addition several potential leaks are fixed. One fix in random.cc from libstd is not fixed, since it is intentional. The fix instead is to remove the out-of-bound sanitizer checks for this file by adding a filter.

@fabratu fabratu requested a review from bernlu January 16, 2025 13:06
@fabratu fabratu force-pushed the 20250116_ci_coverage_leak branch 7 times, most recently from fdd9195 to db6b245 Compare January 27, 2025 13:20
@fabratu fabratu changed the title CI: Split coverage and leak build + fix leak in TopologicalSort CI: Split coverage and leak build, fix leaks, make aarch64 build opt. Jan 27, 2025
@fabratu fabratu force-pushed the 20250116_ci_coverage_leak branch from db6b245 to 15e8108 Compare January 28, 2025 08:36
@fabratu fabratu force-pushed the 20250116_ci_coverage_leak branch 2 times, most recently from 2b5a107 to 8160eec Compare January 28, 2025 09:34
@fabratu fabratu changed the title CI: Split coverage and leak build, fix leaks, make aarch64 build opt. CI: Split coverage and leak build, fix leaks, remove aarch64 wheel build Jan 28, 2025
@bernlu bernlu self-assigned this Feb 6, 2025
fabratu added 11 commits February 6, 2025 15:27
Adapt topological sorting helper function.

GraphTools: Add additional topological sort helper function.

Make helper function public in order to avoid possible runtime error.

Fix code styling issues in TopologicalSort.hpp.
LouvainMapEquation: Modify string-based constructor to self-initialize datastructures.
Try changing to llvm clang instead of g++ for GCGrowShrink.
@fabratu fabratu force-pushed the 20250116_ci_coverage_leak branch from 4e6b416 to b26ccff Compare February 6, 2025 14:28
bernlu
bernlu previously approved these changes Feb 6, 2025
@fabratu fabratu force-pushed the 20250116_ci_coverage_leak branch from 7e76050 to 44646fc Compare February 6, 2025 16:22
bernlu
bernlu previously approved these changes Feb 7, 2025
@fabratu
Copy link
Member Author

fabratu commented Feb 7, 2025

Sry for the drive-by fix, but since the PR is finished and concerned with CI anyways, I added a missing package for the coverage build.

@fabratu fabratu merged commit dfd76a6 into networkit:master Feb 7, 2025
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants