[SERVER-81462] gcov silently fails on Enterprise RHEL 8.0 DEBUG Code Coverage (clang) variant Created: 26/Sep/23  Updated: 29/Oct/23  Resolved: 28/Sep/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.2.0-rc0

Type: Bug Priority: Major - P3
Reporter: Trevor Guidry Assignee: Trevor Guidry
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

This seems to happen every time on the  `Enterprise RHEL 8.0 DEBUG Code Coverage (clang)` variant. Here is an example of gcov breaking and uploading thousands of core dumps. Look at the passing tasks, not the failing tasks. The failing tasks are unrelated.

 

The logs are spammed with some variation of 
Processing file ./build/71527b04/third_party/icu4c-57.1/source/common/ucnvsel.dyn.gcda

./build/71527b04/third_party/icu4c-57.1/source/common/ucnvsel.dyn.gcno:version '408*', prefer 'B13*'

./src/evergreen/functions/code_coverage_data_process.sh: line 12: 31768 Segmentation fault (core dumped) ${GCOV_TOOL[@]} -i "$gcda_file"

We should investigate this more and either make it fail loudly or add metrics so we know when it is failing. 

 

EDIT: We decided to delete these variants until bazel because we don't use code coverage at all.

 



 Comments   
Comment by Githook User [ 27/Sep/23 ]

Author:

{'name': 'Trevor Guidry', 'email': 'trevor.guidry@mongodb.com', 'username': ''}

Message: SERVER-81462 delete code coverage variants
Branch: master
https://github.com/mongodb/mongo/commit/0a2870b84906dc948d00154d857dabcd3a3a1b83

Generated at Thu Feb 08 06:46:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.