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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • Testing Infrastructure
    • None
    • Fully Compatible
    • ALL
    • 0

    Description

      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'
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: