Fix TCMalloc build/propagation for some stress tests

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Evergreen
    • None
    • Storage Engines, Storage Engines - Foundations
    • SE Foundations - 2025-07-04
    • 2

      We discovered that[ some stress testing configurations |https://spruce.mongodb.com/task/wiredtiger_ubuntu2004_stress_tests_format_stress_sanitizer_test_1_patch_d8ad63dd6758ff16cf785868234cd9d009044671_6854b45e5b66b700073a2c91_25_06_20_01_09_21/logs?execution=0]contain tons of the following messages:

      [2025/06/19 23:21:06.816] ERROR: ld.so: object '/data/mci/d81bbbb7d1b9af5b42404ea1ac21bf74/wiredtiger/TCMALLOC_LIB/libtcmalloc.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. 

      That could mean that this configuration didn't build TCMalloc successfully before sourcing it. 

      However there are some configurations, that have pretty similar logic, but doesn't have this issue (example).

      The main goal of this ticket is to fix this issue and create a protection that would cause hard failure in case when TCMalloc is requested but cannot be sourced.

       

            Assignee:
            Ivan Kochin
            Reporter:
            Ivan Kochin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: