[SERVER-30045] Debug symbols for unittest binaries are not uploaded on non-GDB platforms Created: 07/Jul/17  Updated: 30/Oct/23  Resolved: 26/Sep/17

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.4.10, 3.6.0-rc0

Type: Bug Priority: Major - P3
Reporter: Jonathan Abrahams Assignee: Yves Duhem
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:
v3.4
Sprint: TIG 2017-10-02
Participants:

 Description   

Changes for SERVER-29401 now move the core dumps into src. This has a side affect of not having the unittest debug symbols being located on non-GDB platforms. Perhaps switching the order of these steps in "post" will be a better solution.



 Comments   
Comment by Githook User [ 26/Sep/17 ]

Author:

{'email': 'yves.duhem@mongodb.com', 'name': 'Yves Duhem', 'username': 'syev'}

Message: SERVER-30045 Include pdb files in unittest binaries archive

(cherry picked from commit 5589e9d545c5774fcf0463ce6088148f64664878)
Branch: v3.4
https://github.com/mongodb/mongo/commit/e5f6970de5e2f5802d4d892597b3db2556e35bcc

Comment by Githook User [ 26/Sep/17 ]

Author:

{'email': 'yves.duhem@mongodb.com', 'name': 'Yves Duhem', 'username': 'syev'}

Message: SERVER-30045 Include pdb files in unittest binaries archive
Branch: master
https://github.com/mongodb/mongo/commit/5589e9d545c5774fcf0463ce6088148f64664878

Comment by Jonathan Abrahams [ 17/Aug/17 ]

Reopening: we can still upload the Windows debug symbols (.pdb file), as they are separate.

Comment by Jonathan Abrahams [ 17/Aug/17 ]

Yes, it seems the debug symbols are already included in the binaries (they are not stripped out like the mongo* binaries). We can only archive those binaries which produce a core dump, so it does not happen on OS X.

Comment by Yves Duhem [ 16/Aug/17 ]

I didn't see evidence of the issue as described as we do not have logic to archive the unit tests debug symbols.
Additionally we look for the unit test binaries using find so the work of SERVER-29401 did not impact the ability to archive the binaries.

But since not all platforms include the debug symbols in the binary, we need to add logic to find them and include them in the uploaded archive.

Comment by Max Hirschhorn [ 16/Aug/17 ]

yves.duhem, what's the status of this ticket?

Generated at Thu Feb 08 04:22:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.