Improve logs from test_find_suites.py and test_suites_configurations.py

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Minor - P4
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Correctness
    • Fully Compatible
    • Correctness 2025-08-25
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The test logs (here and here) make it difficult to figure out what suite declarations are problematic. It would be helpful if the logging from this could be more informative.

      Furthermore, running these locally isn't helpful, as it backtraces due to imports not being valid (I'm running in the python virtual env):

      buildscripts/tests/resmoke_validation/test_find_suites.py: line 1: import: command not found
      buildscripts/tests/resmoke_validation/test_find_suites.py: line 2: import: command not found
      buildscripts/tests/resmoke_validation/test_find_suites.py: line 3: import: command not found
      buildscripts/tests/resmoke_validation/test_find_suites.py: line 5: from: command not found
      buildscripts/tests/resmoke_validation/test_find_suites.py: line 6: from: command not found
      buildscripts/tests/resmoke_validation/test_find_suites.py: line 9: syntax error near unexpected token `('
      buildscripts/tests/resmoke_validation/test_find_suites.py: line 9: `class TestFindSuites(unittest.TestCase):' 

              Assignee:
              Steve McClure
              Reporter:
              Stephanie Eristoff
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: