[SERVER-27126] Remove reference to mongodb-mongo-master Evergreen project in burn_in_tests.py script Created: 19/Nov/16  Updated: 05/Apr/17  Resolved: 16/Dec/16

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

Type: Improvement Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Max Hirschhorn
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Duplicate
is duplicated by SERVER-27119 Update the burn_in_tests.py script on... Closed
Related
related to SERVER-27845 Remove logic in etc/evergreen.yml to ... Closed
Backwards Compatibility: Fully Compatible
Backport Completed:
Backport Requested:
v3.4
Sprint: TIG 2016-12-12, TIG 2017-01-02
Participants:
Linked BF Score: 0

 Description   

The burn_in_tests.py script runs its queries against the Evergreen API using the mongodb-mongo-master as its project. If we change it to interpolate the Evergreen project name using branch_name, then we wouldn't need to update the script each time we branch (SERVER-27119).

Additionally, the burn_in_tests.py script uses @{upstream} to get the merge-base commit of the current commit and the latest commit of the associated branch. However, the git.get_project command doesn't configure the environment to have a branch that tracks the remote (EVG-1327).

  1. We should run git branch --force ${branch_name} origin/${branch_name} prior to invoking the burn_in_tests.py script to create the branch and have it track the remote. The --force option is suggested to avoid having the eventual completion of EVG-1327 cause a task to fail as a result of the branch already existing.
  2. We should always specify the --branch=${branch_name} option to the burn_in_tests.py script in the etc/evergreen.yml project configuration.


 Comments   
Comment by Githook User [ 21/Dec/16 ]

Author:

{u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}

Message: SERVER-27126 Remove references to "master" in burn_in_tests.py script.

(cherry picked from commit eac2ee281217fc98d7aac5439c0dd28b2f782744)
Branch: v3.4
https://github.com/mongodb/mongo/commit/723741e2107d17dbb0d31a0ed01dfda72521753b

Comment by Githook User [ 16/Dec/16 ]

Author:

{u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}

Message: SERVER-27126 Remove references to "master" in burn_in_tests.py script.
Branch: master
https://github.com/mongodb/mongo/commit/eac2ee281217fc98d7aac5439c0dd28b2f782744

Comment by Max Hirschhorn [ 19/Nov/16 ]

I'm marking this as 3.5 Required because I think it would be useful to do before we'd branch for MongoDB 3.6 in another year.

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