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

BF Day - Hang analyzer's "interesting processes" pattern for C++ unit tests doesn't match db_unittests

    • Fully Compatible
    • ALL
    • v4.4
    • STM 2020-11-02
    • 0

      https://evergreen.mongodb.com/task/mongodb_mongo_master_ubuntu1804_debug_aubsan_lite_unittests_f825465df95a1e663f65c149b2fe6412778372eb_20_09_02_03_18_47/0 was a case where the hang analyzer didn't attach to the db_unittests process. I believe this is due to "_test" being expected in the name for C++ unit test binaries. db_unittests doesn't follow that pattern.

      [2020/09/02 06:23:54.553] Found 6 interesting processes [Pinfo(name='python', pidv=[112179, 112216]), Pinfo(name='python3', pidv=[992, 1345, 77793, 85627])]
      
      [2020/09/02 06:23:25.913] ubuntu   112216  0.2  0.1 1426148 91488 ?       Sl   04:19   0:16 python buildscripts/resmoke.py run --suites=unittests --jobs=5 --shuffle --continueOnFailure --storageEngineCacheSizeGB=1 --log=buildlogger --staggerJobs=on --installDir=dist-test/bin --buildId=mongodb_mongo_master_ubuntu1804_debug_aubsan_lite_f825465df95a1e663f65c149b2fe6412778372eb_20_09_02_03_18_47 --distroId=ubuntu1804-large --executionNumber=0 --projectName=mongodb-mongo-master --gitRevision=f825465df95a1e663f65c149b2fe6412778372eb --revisionOrderId=34077 --taskId=mongodb_mongo_master_ubuntu1804_debug_aubsan_lite_unittests_f825465df95a1e663f65c149b2fe6412778372eb_20_09_02_03_18_47 --taskName=unittests --variantName=ubuntu1804-debug-aubsan-lite --versionId=mongodb_mongo_master_f825465df95a1e663f65c149b2fe6412778372eb --reportFile=report.json --perfReportFile=perf.json
      [2020/09/02 06:23:25.913] ubuntu   125375  0.9  1.6 21475766348 1110092 ? S    04:20   1:10 build/install/bin/db_unittests
      

            Assignee:
            mikhail.shchatko@mongodb.com Mikhail Shchatko
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: