[SERVER-85865] Resmoke silently skips tests passed on the command line with --excludeWithAnyTags Created: 29/Jan/24  Updated: 30/Jan/24

Status: Needs Scheduling
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

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

Issue Links:
Related
is related to SERVER-73479 resmoke should error locally when att... Closed
Assigned Teams:
Correctness
Operating System: ALL
Participants:

 Description   

In https://jira.mongodb.org/browse/SERVER-73479 we added a feature to throw an error when resmoke tries to run a test that contains an excluded tag. This feature did not have support for --excludeWithAnyTags which is a bug. Here is an example invocation provided by Max H

$ python buildscripts/resmoke.py run --excludeWithAnyTags=requires_fcv_70 --suite sharding_last_continuous jstests/sharding/analyze_shard_key/list_sampled_queries.js
...
[resmoke] 19:47:59.266Z Summary of sharding_last_continuous suite: No tests ran.
Suite did not run any tests.
[resmoke] 19:47:59.266Z Exiting with code: 0
 

Original slack thread: https://mongodb.slack.com/archives/C8PK5KZ5H/p1706298491236589?thread_ts=1706222951.773109&cid=C8PK5KZ5H


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