[SERVER-39575] Use task.name expansion to determine generate.task name Created: 13/Feb/19  Updated: 29/Oct/23  Resolved: 14/May/19

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

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

Backwards Compatibility: Fully Compatible
Sprint: DAG 2019-05-20
Participants:

 Description   

In the evergreen_generate_resmoke_tasks script, a 'task' variable is used to determine the naming of the subtasks and the display task. Because this is used to pull the generating task into the display task, the generating task name is required to have the same name (with an added '_gen' suffix). We could just use the task.name expansion to determine naming.



 Comments   
Comment by Githook User [ 14/May/19 ]

Author:

{'email': 'lydia.stepanek@mongodb.com', 'name': 'Lydia Stepanek', 'username': 'lydiastepanek'}

Message: SERVER-39575 fix: use endswith instead of rstrip
Branch: master
https://github.com/mongodb/mongo/commit/afa6c9136387f07c0bba8dfc33178acfb826fe43

Comment by Githook User [ 14/May/19 ]

Author:

{'name': 'Lydia Stepanek', 'username': 'lydiastepanek', 'email': 'lydia.stepanek@mongodb.com'}

Message: SERVER-39575 use task.name expansion to determine generate.task name in resmoke tasks script
Branch: master
https://github.com/mongodb/mongo/commit/6d714be6880ccf630fa97bb07ffa6a111b180e47

Comment by David Bradford (Inactive) [ 14/Feb/19 ]

An example of a _gen task https://github.com/mongodb/mongo/blob/0ab013df4cb6672d7446c5ce3fe325b71a538a78/etc/evergreen.yml#L5855-L5865

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