[SERVER-31725] resmokelib.parser.create_test_membership_map() requires all suite files to be associated to a task Created: 25/Oct/17  Updated: 29/Jan/18  Resolved: 25/Oct/17

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Jonathan Abrahams Assignee: DO NOT USE - Backlog - Test Infrastructure Group (TIG)
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-30755 KeyError "selector" is raised when no... Closed
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:
Linked BF Score: 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'


Generated at Thu Feb 08 04:28:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.