Unittests fail to run code coverage

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Correctness
    • Fully Compatible
    • ALL
    • Correctness 2025-05-09
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None

      Example: https://spruce.mongodb.com/task/mongodb_mongo_master_AL2023_arm64_coverage_bazel_coverage_3baedc55007f452da4bd8e867e21dfb2fc6b7db6_25_05_01_03_37_03/files?execution=0

      ERROR: No test targets were found, yet testing was requested
      

      Bazel invocation was:

      bazel coverage \
        --test_tag_filters=mongo_unittest,-final_target,-code_coverage_quarantine \
        --test_timeout=600 \
        --verbose_failures \
        --instrumentation_filter="^//src/mongo[/:],-^//src/mongo/util:boost_assert_shim,-^//src/mongo/util:icu,-^//src/mongo/db/modules/enterprise/src/streams[/:]" \ 
        //src/mongo/...
      

            Assignee:
            Steve McClure
            Reporter:
            Steve McClure
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: