Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-85865

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

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

      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:
            thomas.langston@mongodb.com Thomas Langston
            Reporter:
            trevor.guidry@mongodb.com Trevor Guidry
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: