Log a message in MongoRunner.stopMongod() when allowedExitCodes is used to test intentional abort

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 3.5.9
    • Affects Version/s: 3.4.1
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • TIG 2017-04-17, TIG 2017-05-08, TIG 2017-05-29, TIG 2017-06-19
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Some tests intentionally cause the server to abort (e.g. fatal assertion). When quickly scanning the log output for a reason as to why the test failed, Server team engineers are misled by backtraces appearing in the output. We should write a message in MongoRunner.stopMongod() when the allowedExitCodes option is being used to test for an intentional abort.

      Original description

      Some tests intentionally cause the server to fassert. When diagnosing a test failure, people are sometimes thrown off by seeing fassert backtraces in the logs for fasserts that are expected. If we create a server option to suppress backtraces for fasserts with certain codes, then the test use this option to prevent expected fasserts from appearing in the logs.

            Assignee:
            Robert Guo (Inactive)
            Reporter:
            Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: