[SERVER-73376] resmoke fails after running a CppBenchmark with no defined benchmarks Created: 26/Jan/23  Updated: 27/Oct/23  Resolved: 27/Oct/23

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

Type: Improvement Priority: Major - P3
Reporter: Billy Donahue Assignee: [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
Resolution: Won't Do Votes: 0
Labels: resmoke
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Server Development Platform
Participants:

 Description   

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.


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