-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Server Programmability
-
Fully Compatible
-
Programmability 2026-02-02, Programmability 2026-03-02
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The "recursionDeathTest" in //src/mongo/stdx:sigaltstack_location_test generates a core dump that ends up getting collected and attached to every unit test task, example: https://spruce.mongodb.com/task/mongodb_mongo_master_amazon_linux2023_arm64_static_compile_unit_tests_737d10d0ceae4e72295feca76644a6fca5fbeaef_26_02_12_13_41_48/files?execution=0.
It is easy to confuse this with being associated with a real failure. It would be ideal if this test cleaned up the core dump when the test passes.
To verify:
$ bazel test //src/mongo/stdx:sigaltstack_location_test --run_under=//bazel:test_wrapper
$ ls bazel-testlogs/src/mongo/stdx/sigaltstack_location_test/test.outputs
dump_1770908415562823923.core.gz