[SERVER-67172] Provide machine readable interface for burn_in_tests Created: 10/Jun/22  Updated: 29/Oct/23  Resolved: 15/Jun/22

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 6.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:
Depends
Backwards Compatibility: Fully Compatible
Sprint: DAG 2022-06-27
Participants:
Story Points: 2

 Description   

burn_in_tests provides a way to discover and run the tests/suites that have changes locally or in a given patch build. When running in a patch build, we use 'generate.tasks' to run the tests in separate tasks. It would be nice to move the generate tasks logic to mongo-task-generator so that the logic required can be consolidated to a single place.

The first step in order to do this would be to provide an interface to burn_in_tests that would provide a what tests/tasks should be run in a machine readable way. A straight-forward way of doing this would be to add a `--yaml` flag to the burn_in_tests script that outputs the tests to tasks map in yaml format.


As a database contributor,
I want to be able to get burn_in_tests discovery in yaml format,
So that other tools can easily query and use the information discovered by burn_in_tests.


AC:

  • There is a way to run burn_in_tests in a mode that will output its discovery in an easily parsable format.


 Comments   
Comment by Githook User [ 14/Jun/22 ]

Author:

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

Message: SERVER-67172: Add yaml interface to burn_in_tests
Branch: master
https://github.com/mongodb/mongo/commit/29961b028c3fc64212b118d9fbedd8e37dc37351

Generated at Thu Feb 08 06:07:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.