ExportXMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability
    • Fully Compatible
    • N&O 2026-08-03
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This is a fix for BF-45088. Claude Code said it best:

        That task is noPassthrough_0 on variant enterprise-amazon-linux2023-arm64-all-feature-flags-mfp, which sets
        (etc/evergreen_yml_components/variants/amazon/test_dev_master_branch_only.yml:187):
        
        extra_test_flags: --messageFilterPlugin
        
        --messageFilterPlugin makes resmoke inject the plugin path into every mongod and mongos it starts (buildscripts/resmokelib/configure_resmoke.py:941-955) — it mkdtemps a
        plugin dir, copies the .so in, chmods 444, and merges messageFilterPluginPath into MONGOD_SET_PARAMETERS/MONGOS_SET_PARAMETERS. You can see the result in the shell
        invocation at the top of the log:
        
        TestData["setParameters"]["messageFilterPluginPath"] = "/data/mci/.../tmp/mfp_7m0x7glk/plugin.so"

        Your first block starts a server with no explicit setParameter:

        const mongodConn = MongoRunner.runMongod({cleanData: true});

        servers.js:1633-1650 then copies every jsTest.options().setParameters entry onto the command line, skipping only names the caller already passed
        (argArrayContainsSetParameterValue). Since that block passes nothing, the suite-wide messageFilterPluginPath lands on the mongod, initMessageFilterPluginLoader doesn't
        take its gMessageFilterPluginPath.empty() early return, the messageFilter section gets registered, and the assertion that it's absent fails.

            Assignee:
            David Goffredo
            Reporter:
            David Goffredo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: