[SERVER-59000] Enforce dependencies for generated tasks Created: 02/Aug/21  Updated: 29/Oct/23  Resolved: 11/Aug/21

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 5.0.3, 5.1.0-rc0

Type: Improvement Priority: Major - P3
Reporter: David Bradford (Inactive) Assignee: David Bradford (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: DAG 2021-08-23
Participants:
Story Points: 3

 Description   

With the latest version of generating tasks, there are some dependencies that need to be enforced or else the tasks could randomly fail. There is a "gen_task_template" yaml anchor that will configure the dependencies correctly, but it could be easy to miss that if someone is adding a new task. It would be nice to have a way to enforce that these dependencies exist.

We should see if we could add lint rules to the evergreen config linter for this.


As a database contributor,
I want to generate tasks that miss adding dependencies to fail,
So that inconsistent failures do not get introduced.


AC:

  • Any task that include "generate resmoke tasks" but does not include the required dependencies causes a failure in a required patch build.


 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 11/Aug/21 ]

Author:

{'name': 'David Bradford', 'email': 'david.bradford@mongodb.com', 'username': 'dbradf'}

Message: SERVER-59000: Enforce dependencies for task generation

(cherry picked from commit ec6692d3facabbc2f0b6074447d4a1de9c75b3d8)
Branch: v5.0
https://github.com/mongodb/mongo/commit/a14db33ecb2ff81f18fd4e479e910a89f4499f81

Comment by Githook User [ 11/Aug/21 ]

Author:

{'name': 'David Bradford', 'email': 'david.bradford@mongodb.com', 'username': 'dbradf'}

Message: SERVER-59000: Enforce dependencies for task generation
Branch: master
https://github.com/mongodb/mongo/commit/ec6692d3facabbc2f0b6074447d4a1de9c75b3d8

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