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

resmoke fails after running a CppBenchmark with no defined benchmarks

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Server Development Platform

      I have #ifdef controlled benchmarks. It may be the case that no benchmarks end up being defined in the *_bm executable. This isn't considered an error. It's still a valid program that just starts up and generates a report that it did nothing, and exits with exit code 0.

      Resmoke however, is not able to handle this possibility.

      https://parsley.mongodb.com/evergreen/mongodb_mongo_master_rhel80_debug_asan_benchmarks_orphaned_patch_4e1beba356e790683f4640820684ff8f38b7c51d_63d2ca80c9ec44150d4678b3_23_01_26_18_54_50/0/task?bookmarks=0,387,429,437,690

      To work around this, I would have to define a dummy benchmark unconditionally just to deal with resmoke, which isn't ideal.

            Assignee:
            backlog-server-devplatform [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            Reporter:
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: