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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

       

            Assignee:
            Trevor Guidry
            Reporter:
            Trevor Guidry
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: