Skip to content

[ci] Testing code coverage workflow #18710

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

Draft
wants to merge 26 commits into
base: master
Choose a base branch
from

Conversation

pcanal
Copy link
Member

@pcanal pcanal commented May 14, 2025

No description provided.

@pcanal pcanal self-assigned this May 14, 2025
@pcanal pcanal added the in:CI label May 14, 2025
Copy link

codecov bot commented May 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 8.13%. Comparing base (7b9f26e) to head (a939831).
Report is 12659 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #18710       +/-   ##
===========================================
- Coverage   31.76%    8.13%   -23.64%     
===========================================
  Files        3616     3727      +111     
  Lines      547093   559472    +12379     
  Branches   250259   258031     +7772     
===========================================
- Hits       173805    45507   -128298     
- Misses     270494   482037   +211543     
+ Partials   102794    31928    -70866     
Flag Coverage Δ
unittests 8.13% <ø> (-23.64%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pcanal pcanal force-pushed the master_code_coverage branch from a939831 to 1f9e577 Compare May 14, 2025 15:24
@pcanal pcanal force-pushed the master_code_coverage branch from 83d5024 to fe3686b Compare May 14, 2025 16:40
pcanal added 6 commits May 15, 2025 12:39
This test intentionally rebuild the library within the run.  This rebuild produce an error message:

libgcov profiling error:/uscms/homes/p/pcanal/root_working/build/devel-coverage/roottest/root/aclic/load/ReloadScript_C_ACLiC_dict.gcda:overwriting an existing profile data with a different timestamp
The tclassStl test is checking race condition and is not helping improve code coverage and ... takes
30 minutes to complete when coverage is on.
@pcanal pcanal force-pushed the master_code_coverage branch from 94c5f47 to 642fad6 Compare May 16, 2025 22:40
This works around errors in gcovr like:

```
Unrecognized GCOV output for
/github/home/ROOT-CI/src/core/cont/inc/TBtree.h
  	  4302494932:  386:inline Int_t TBtInnerNode::GetNofKeys(Int_t
		       i) const
  	  4302494932*:  388:   R__ASSERT(i >= 0 && i <= fLast);
  	  4302494932:  388-block  0
  	  branch  0 taken 4302494932 (fallthrough)
  	  4302494932:  388-block  1
  	  branch  3 taken 4302494932
  	  4302494932:  388-block  3
  	  4302494932:  388-block  4
  	  branch  5 taken 4302494932
  	  4302494932:  389:   return fItem[i].fNofKeysInTree;
  	  4302494932:  389-block  0
  	  call    6 never executed
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant