Loading...
Loading...
The remote strategies for --config=remote_test and --config=remote_link incorrectly reference StripDebugInfo and ExtractDebugInfo (note the capital I). https://github.com/10gen/mongo/blob/173f86e868e07bfc03e3d53bce9a4024845a1051/.bazelrc#L413 We should update the mnemonics to be consistent. Defined here: https://github.com/10gen/mongo/blob/173f86e868e07bfc03e3d53bce9a4024845a1051/bazel/separate_debug.bzl#L313 Further, and the non-trivial part of this ticket, is that they do not work when remotely executed: ERROR: /data/mci/474300e335a4c3b9011cbc1c461a77fd/src/src/third_party/grpc/BUILD.bazel:148:16: ExtractDebugInfo src/third_party/grpc/grpc_cpp_plugin.debug [for tool] failed: (Aborted): llvm-objcopy failed: error executing ExtractDebugInfo command (from target //src/third_party/grpc:grpc_cpp_plugin) (cd /data/mci/474300e335a4c3b9011cbc1c461a77fd/tmp/bazel-output-root/a74664e22dc95d7009d872fc620b052b/execroot/_main && \ exec env - \ external/mongo_toolchain_v5/v5/bin/llvm-objcopy --only-keep-debug bazel-out/aarch64-opt-exec-ST-e0dba4dfc6c2/bin/src/third_party/grpc/grpc_cpp_plugin_with_debug bazel-out/aarch64-opt-exec-ST-e0dba4dfc6c2/bin/src/third_party/grpc/grpc_cpp_plugin.debug) # Configuration: ebf28dc09273ad6b89fe2126e2083dcd42034e414672e38e5731638b698d35c0 # Execution platform: @@_main~_repo_rules~internal_platforms_do_not_use//host:host Execution result: https://sodalite.cluster.engflow.com/actions/executions/ChDVSumjBF1VqZ_2fj8ElipREgdkZWZhdWx0GiUKIPDGw_xGqPLv8YnIS-i0_jFCNpSRK220VmzRu--ADQ8VEM0C F1209 19:11:52.489286 92 process-wrapper-legacy.cc:80] execvp(external/mongo_toolchain_v5/v5/bin/llvm-objcopy, ...) *** Check failure stack trace: *** @ 0x4242ac absl::lts_20250814::log_internal::LogMessage::SendToLog() @ 0x402938 LegacyProcessWrapper::SpawnChild() @ 0x40297c LegacyProcessWrapper::RunCommand() @ 0x4016c4 main @ 0x4a9c6c __libc_start_main from https://parsley.corp.mongodb.com/evergreen/mongodb_mongo_master_bazel_integration_tests_resmoke_tests_patch_eff261833a58531c33c1b8e6ef640f5e8a7a6d01_69387277b2efbb000723e182_25_12_09_19_04_09/0/task?bookmarks=0,2422&shareLine=2188
xgen-internal-githook commented on Tue, 9 Dec 2025 21:55:01 +0000: Author: {'name': 'Andrew Bradshaw', 'email': 'andrew.bradshaw@mongodb.com', 'username': 'Bradshawz'} Message: SERVER-115148 Fix debug info splitting not working remotely (#45015) GitOrigin-RevId: 683743c2909d353d48f944b0ad39614d2404d198 Branch: master https://github.com/mongodb/mongo/commit/9eb9830b53905006499c283f94c9b0345ca5aff9
Click on a version to see all relevant bugs
MongoDB Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.