Resmoke silently skips tests passed on the command line with --excludeWithAnyTags

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Correctness
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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

            Assignee:
            Unassigned
            Reporter:
            Trevor Guidry
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: