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

Enable burn_in_tests to understand Evergreen task selectors

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.3, 4.1.1
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.0
    • Sprint:
      TIG 2018-07-02
    • Story Points:
      3

      Description

      After adopting task selector/tag approach to address SERVER-33647, the only task failed in the patch build is burn_in_tests. It looks the buildscripts/ciconfig/evergreen.py script doesn't understand task selectors.

      Link to the patch build: https://evergreen.mongodb.com/version/5ae1639dc9ec44641fd52543

      [2018/04/26 19:52:37.263] $python buildscripts/burn_in_tests.py --branch=master --buildVariant=$build_variant --testListOutfile=jstests/new_tests.json --noExec $burn_in_args
      [2018/04/26 19:52:40.420] Traceback (most recent call last):
      [2018/04/26 19:52:40.420]   File "buildscripts/burn_in_tests.py", line 403, in <module>
      [2018/04/26 19:52:40.420]     main()
      [2018/04/26 19:52:40.420]   File "buildscripts/burn_in_tests.py", line 354, in main
      [2018/04/26 19:52:40.420]     evergreen_conf = evergreen.EvergreenProjectConfig(values.evergreen_file)
      [2018/04/26 19:52:40.420]   File "C:\data\mci\77bf60c033fb9b50b3d52f01979f8e40\burn_in_tests_clonedir\buildscripts\ciconfig\evergreen.py", line 26, in __init__
      [2018/04/26 19:52:40.420]     for variant_dict in self._conf["buildvariants"]
      [2018/04/26 19:52:40.420]   File "C:\data\mci\77bf60c033fb9b50b3d52f01979f8e40\burn_in_tests_clonedir\buildscripts\ciconfig\evergreen.py", line 111, in __init__
      [2018/04/26 19:52:40.420]     for t in conf_dict["tasks"]
      [2018/04/26 19:52:40.420]   File "C:\data\mci\77bf60c033fb9b50b3d52f01979f8e40\burn_in_tests_clonedir\buildscripts\ciconfig\evergreen.py", line 188, in __init__
      [2018/04/26 19:52:40.420]     Task.__init__(self, task.raw)
      [2018/04/26 19:52:40.420] AttributeError: 'NoneType' object has no attribute 'raw'
      [2018/04/26 19:52:40.429] /cygdrive/c/data/mci/77bf60c033fb9b50b3d52f01979f8e40/burn_in_tests_clonedir
      [2018/04/26 19:52:40.429] Command failed: command [pid=1640] encountered problem: exit status 1
      [2018/04/26 19:52:40.429] Task completed - FAILURE.
      

      cc: Max Hirschhorn

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: