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

Check and fix resmoke test failure summary

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • Fully Compatible
    • QE 2025-03-17, QE 2025-03-31
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, running Resmoke with --logFormat=plain (default)

      buildscripts/resmoke.py run --suites=no_passthrough  playground.js
      

      produces the following output lines (twice!!!):

      The following tests failed (with exit code):
          playground.js (253 Failure executing JS file)
              uncaught exception: AssertionError: Oops! :
              AssertionError@src/mongo/shell/assert.js:100:9
              foo@playground.js:82:11
              @playground.js:98:1
              @playground.js:99:3
              failed to load: playground.js
              exiting with code -3
      If you're unsure where to begin investigating these errors, consider looking at tests in the following order:
          playground.js
      

      We need to check the summary WORKS when Resmoke is run with --logFormat=json and there is a test failure.

            Assignee:
            serhii.lysenko@mongodb.com Serhii Lysenko
            Reporter:
            romans.kasperovics@mongodb.com Romans Kasperovics
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None