[SERVER-76457] Support storing BuildID to debug symbols mapping for sanitizer builds Created: 24/Apr/23  Updated: 29/Oct/23  Resolved: 28/Apr/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 7.0.0-rc1, 6.3.2, 6.0.7

Type: Bug Priority: Minor - P4
Reporter: Mikhail Shchatko Assignee: Mikhail Shchatko
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.0, v6.3, v6.0
Sprint: DAG 2023-05-01
Participants:
Story Points: 2

 Description   

Currently buildscripts/debugsymb_mapper.py expects that debug symbols is a separate *.debug file, e.g. mongod and mognod.debug. But this is not the case for sanitizer builds, where debug info is in the same binary file, e.g. mongod.
Because of that mongo-debugsymbols.tgz file that is attached to archive_dist_test_debug task doesn't contain actual debug symbols for sanitizer builds and generate_buildid_to_debug_symbols_mapping fails to find actual debug symbols files, e.g. failed task.
We should use binaries that are attached to archive_dist_test task to extract Build ID information for sanitizer builds.



 Comments   
Comment by Githook User [ 28/Apr/23 ]

Author:

{'name': 'Mikhail Shchatko', 'email': 'mikhail.shchatko@mongodb.com', 'username': 'MikhailShchatko'}

Message: SERVER-76457 Support storing Build ID to debug symbols mapping for sanitizer builds

(cherry picked from commit 657341a3615bf63ecab75957a7b51c242978180e)
Branch: v6.3
https://github.com/mongodb/mongo/commit/9a3dc6f83f9e4e1a76debf4c92055448eceef7cd

Comment by Githook User [ 28/Apr/23 ]

Author:

{'name': 'Mikhail Shchatko', 'email': 'mikhail.shchatko@mongodb.com', 'username': 'MikhailShchatko'}

Message: SERVER-76457 Support storing Build ID to debug symbols mapping for sanitizer builds

(cherry picked from commit 657341a3615bf63ecab75957a7b51c242978180e)
Branch: v6.0
https://github.com/mongodb/mongo/commit/f82cf6cdafedc95bc15722bad0e4a150d2e00e18

Comment by Githook User [ 28/Apr/23 ]

Author:

{'name': 'Mikhail Shchatko', 'email': 'mikhail.shchatko@mongodb.com', 'username': 'MikhailShchatko'}

Message: SERVER-76457 Support storing Build ID to debug symbols mapping for sanitizer builds

(cherry picked from commit 657341a3615bf63ecab75957a7b51c242978180e)
Branch: v7.0
https://github.com/mongodb/mongo/commit/760bf37f1938bba95d0f743ae6f6a708631be126

Comment by Githook User [ 28/Apr/23 ]

Author:

{'name': 'Mikhail Shchatko', 'email': 'mikhail.shchatko@mongodb.com', 'username': 'MikhailShchatko'}

Message: SERVER-76457 Support storing Build ID to debug symbols mapping for sanitizer builds
Branch: master
https://github.com/mongodb/mongo/commit/657341a3615bf63ecab75957a7b51c242978180e

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