[SERVER-45500] Fix backport exclude logic from multiversion tests for new test files Created: 10/Jan/20  Updated: 29/Oct/23  Resolved: 21/Jan/20

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: 4.3 Required
Fix Version/s: 4.3.3

Type: Bug Priority: Major - P3
Reporter: Jason Chan Assignee: Jason Chan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-45518 Untag tests that are in backports_req... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 2020-01-13, Repl 2020-01-27
Participants:

 Description   

Currently, there are two bugs related to the exclude test logic used by the etc/backports_required_for_multiversion.yml:

1. Test files are not being excluded from burn_in_multiversion even if they are blacklisted using etc/backports_required_for_multiversion.yml. This is because burn_in_multiversion will generate the exclude_files section in the generated suite yaml files but still call the resmoke command to run the new tests. The command line options passed through this resmoke command will override any configurations specified in the suite yaml. We should avoid generating resmoke commands for excluded files altogether for burn_in_multiversion.

2. New test files are not being excluded properly (when excluded using etc/backports_required_for_multiversion.yml) from burn_in_multiversion because of the way the suite yaml files are generated. New files will fall under the suite_misc.yml file which specifies a glob as its selector (as opposed to specific test files in the other generated suites). We need to update the exclude_files section in the generated misc suites to include files excluded using etc/backports_required_for_multiversion.yml.



 Comments   
Comment by Githook User [ 21/Jan/20 ]

Author:

{'username': 'jasonjhchan', 'name': 'Jason Chan', 'email': 'jason.chan@mongodb.com'}

Message: SERVER-45500 Fix backport exclude logic from multiversion tests for new test files
Branch: master
https://github.com/mongodb/mongo/commit/e1d3dc63cdb33e75d2a47dbafe0d4ac765dbb8aa

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