[SERVER-77376] fully_disabled_feature_flags.yml does not affect tagged jstests Created: 22/May/23  Updated: 29/Oct/23  Resolved: 05/Jun/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

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

Issue Links:
Related
related to SERVER-79258 resmoke --force-excluded-tests param ... Backlog
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

jstests that are tagged with feature flags that are in the fully_disabled_feature_flags.yml file are not excluded correctly.

I am not sure if this was intentional or not. It would make sense for us to not allow fully disabled tests to exist in the repo but this is not documented and is not intuitive.

Original message in slack:

Hi! I am facing an issue with tests being run despite turning off the feature flag they require and excluding it from running in all feature flag variant (buildscripts/resmokeconfig/fully_disabled_feature_flags.yml).The tests contain the following tags:

 *  [~tags:] [
 *    requires_fcv_70,
 *    featureFlagOnlineMovePrimaryLifecycle
 * ]

The above changes were made as part of this PR.
The linked BFG for BF-28839 shows the tests being run in both all variants build and others on the master. What is causing them to run?
Created with Jira Integration+ for trevor.guidry (trevor.guidry@mongodb.com)



 Comments   
Comment by Githook User [ 05/Jun/23 ]

Author:

{'name': 'Trevor Guidry', 'email': 'trevor.guidry@mongodb.com', 'username': ''}

Message: SERVER-77376 fully_disabled_feature_flags.yml does not affect tagged jstests
Branch: master
https://github.com/mongodb/mongo/commit/3b4b7fd820a59b794c739daa062ffac9b87d3496

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