[SERVER-54420] Add feature flag checker to generated multiversion tests Created: 09/Feb/21  Updated: 29/Oct/23  Resolved: 28/Oct/21

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

Type: Task Priority: Major - P3
Reporter: Robert Guo (Inactive) Assignee: Robert Guo (Inactive)
Resolution: Fixed Votes: 0
Labels: tig-multiversion
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-80220 JavaScript tests tagged with in-devel... Closed
Backwards Compatibility: Fully Compatible
Sprint: STM 2021-11-01
Participants:
Story Points: 3

 Description   

In evergreen_gen_multiversion_tests.py, compare feature flags for the last-lts and last-continuous and new versions and exclude jstests with flags that only exist on the new version.

Also remove tests that require the new FCV with the "requires_fcv_xy" tag in multiversionconstants.py, When a flag is removed after feature complete, the tests associated with the feature will have their tags changed to requires_fcv_xy.

Also update the task generator to run only the tests with feature flags on the feature flag variant for feature flags not enabled by default on either versions

The feature flag tags will be added to the multiversion_exclude_tags.yml file that is generated and uploaded in the Evergreen task



 Comments   
Comment by Githook User [ 28/Oct/21 ]

Author:

{'name': 'Robert Guo', 'email': 'robert.guo@mongodb.com'}

Message: SERVER-54420 don't run feature flag tests on the multiversion ff variant
Branch: master
https://github.com/mongodb/mongo/commit/aab079584e1d45c3ec2c3f89ff6c1e34cc249712

Comment by Vlad Rachev (Inactive) [ 15/Mar/21 ]

Pushing this out a sprint and to the backlog since I'll be focusing more on perf stuff.

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