[SERVER-34711] Enable burn_in_tests to understand Evergreen task selectors Created: 27/Apr/18  Updated: 29/Oct/23  Resolved: 15/Jun/18

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

Type: Improvement Priority: Major - P3
Reporter: Luke Chen Assignee: Jonathan Abrahams
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-36019 Create script to collect resource uti... Closed
is depended on by SERVER-33647 Enterprise Windows 2008R2 WiredTiger ... Closed
Duplicate
is duplicated by SERVER-34915 Handle the case where a variant has n... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0
Sprint: TIG 2018-07-02
Participants:
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



 Comments   
Comment by Githook User [ 22/Sep/18 ]

Author:

{'name': 'Jonathan Abrahams', 'email': 'jonathan@mongodb.com', 'username': 'hptabster'}

Message: SERVER-34711 Enable burn_in_tests to understand Evergreen task selectors

(cherry picked from commit 82b62cf1e513657a0c35d757cf37eab0231ebc9b)
Branch: v4.0
https://github.com/mongodb/mongo/commit/f2e98b9bdad681a792665a213a3a22443843b8dd

Comment by Githook User [ 15/Jun/18 ]

Author:

{'username': 'hptabster', 'name': 'Jonathan Abrahams', 'email': 'jonathan@mongodb.com'}

Message: SERVER-34711 Enable burn_in_tests to understand Evergreen task selectors
Branch: master
https://github.com/mongodb/mongo/commit/82b62cf1e513657a0c35d757cf37eab0231ebc9b

Comment by Jonathan Abrahams [ 14/Jun/18 ]

Note - The evergreen executable is copied onto the variant by the Evergreen setup into $HOME (which is not in $PATH), and not as part of the image (like curator).

Comment by Max Hirschhorn [ 10/May/18 ]

Copying over part of my comment from SERVER-34915:

The necessary change may be as straightforward as using the evergreen evaluate command on the etc/evergreen.yml file and having EvergreenProjectConfig parse the resulting project configuration.

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