Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-81462

gcov silently fails on Enterprise RHEL 8.0 DEBUG Code Coverage (clang) variant

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL

    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.

       

      Attachments

        Activity

          People

            trevor.guidry@mongodb.com Trevor Guidry
            trevor.guidry@mongodb.com Trevor Guidry
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: