[SERVER-39308] Update burn_in_tests.py to generate sub-tasks JSON file Created: 31/Jan/19  Updated: 29/Oct/23  Resolved: 06/Mar/19

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

Type: New Feature Priority: Major - P3
Reporter: Jonathan Abrahams Assignee: Jonathan Abrahams
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-03-11
Participants:
Story Points: 3

 Description   

Modify burn_in_tests.py to support the following new option

  • --generateTasksFile (default False): Generate the JSON tasks file which is used in generate.tasks


 Comments   
Comment by Githook User [ 06/Mar/19 ]

Author:

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

Message: SERVER-39308 Update burn_in_tests.py to generate sub-tasks JSON file
Branch: master
https://github.com/mongodb/mongo/commit/869270cce4af503e2441407c6a2ed6e8df254421

Comment by Jonathan Abrahams [ 25/Feb/19 ]

It makes more sense to use the --generateTasksFile option to specify the output file name i.e., burn_in_tests.json. It will default to None.

Comment by Jonathan Abrahams [ 31/Jan/19 ]

The burn_in_tests.json file contains the definition used to run sub-tasks. This file is created when the --generateTasksFile option is specified. If this option is not specified, then burn_in will operate as it already does.

The sub-tasks JSON file will contain the commands for each task as follows. The generated sub-task names will be identifiable as burn_in, such that it's queryable, i.e., burn_in:<sub_task_name>.  The sub_task name will be constructed as follows: <variant><task_name><task_number>:

  • variant - the variant the task is running under
  • task_name - the task name that the set of tests are running under
  • task_number - an incrementing number, starting at 0000, for the task_name

Example, burn_in:enterprise-rhel-62-64-bit_jsCore_0000

The sub-tasks JSON file will also contain a display_tasks section which groups all the execution tasks under the name burn_in_tests.

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