Repository navigation
ci: build the coverage job with two jobs to stay within the runner memory - #788
Merged
Merged
Conversation
…mory At -O0 with coverage and debug info, test_fv_operators.cpp needs 6.2 GB and test_bc_ghost_values.cpp 5.2 GB to compile. With four jobs the build goes over the 16 GB of the runner, which is then stopped with "The runner has received a shutdown signal" (exit code 143), at a different point of the build each time.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #788 +/- ##
=======================================
Coverage 82.70% 82.70%
=======================================
Files 161 161
Lines 10200 10200
Branches 3926 3926
=======================================
Hits 8436 8436
Misses 1150 1150
Partials 614 614
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
The
coveragejob fails with "The runner has received a shutdown signal" (exit code 143) during the build, at a different file each time: on #787 and onmainsince 2026-10-28. No compiler error is printed before it.At
-O0with--coverageand debug info, some test files take a lot of memory to compile (peak RSS ofcc1plus, measured locally):test_fv_operators.cpptest_bc_ghost_values.cpptest_flux_based_nonlin.cppWith
--parallel 4, two of these plus two other files go over the 16 GB of anubuntu-latestrunner, and the runner is killed. The build now runs with--parallel 2, at most 11.4 GB. The job is not inci-status, so the longer build does not delay merges.