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

resmokelib.parser.create_test_membership_map() requires all suite files to be associated to a task

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • ALL
    • 0

      A new resmoke suite file was added which is not directly used in evergreen.yml in a task definition, buildscripts/resmokeconfig/suites/with_external_server.yml. The method resmokelib.parser.create_test_membership_map() now fails with the following error:

      Traceback (most recent call last):
        File "<stdin>", line 1, in <module>
        File "buildscripts/resmokelib/parser.py", line 399, in create_test_membership_map
          suite = testing.suite.Suite(suite_name, suite_config)
        File "buildscripts/resmokelib/testing/suite.py", line 45, in __init__
          self.tests = self._get_tests_for_kind(self.test_kind)
        File "buildscripts/resmokelib/testing/suite.py", line 65, in _get_tests_for_kind
          test_info = self.get_selector_config()
        File "buildscripts/resmokelib/testing/suite.py", line 102, in get_selector_config
          selector = self._suite_config["selector"].copy()
      KeyError: 'selector'
      

            Assignee:
            backlog-server-tig DO NOT USE - Backlog - Test Infrastructure Group (TIG)
            Reporter:
            jonathan.abrahams Jonathan Abrahams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: