[SERVER-42831] "extract debugsymbols" function is searching for symbol files in the wrong location with hygienic Created: 15/Aug/19  Updated: 29/Oct/23  Resolved: 16/Aug/19

Status: Closed
Project: Core Server
Component/s: Build, Testing Infrastructure
Affects Version/s: None
Fix Version/s: 4.3.1

Type: Bug Priority: Critical - P2
Reporter: Max Hirschhorn Assignee: Andrew Morrow (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Problem/Incident
is caused by SERVER-41672 Enable hygienic in evergreen builders... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Dev Tools 2019-08-26
Participants:
Linked BF Score: 0

 Description   

The symbols files are now nested in a bin/ directory in order to be co-located with the executables. However, the "extract debugsymbols" function is only searching for .debug, .dSYM, and .pdb files in the top-level of the mongodb-*/ directory when trying to move them to into the current working directory. This issue is preventing the debugger from having the symbol files loaded when analyzing a process for hangs.

[2019/08/15 16:14:40.076] Running command 'shell.exec' in "extract debugsymbols" (step 2 of 5)
[2019/08/15 16:14:40.098] # Debug symbols are not created for every variant
[2019/08/15 16:14:40.098] if [ ! -f mongo-debugsymbols.tgz ]; then
[2019/08/15 16:14:47.016] 7-Zip 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
[2019/08/15 16:14:47.016] Processing archive: mongo-debugsymbols.tgz
[2019/08/15 16:14:47.016] Extracting  mongodb-win32-x86_64-2012plus-4.3.0-973-g18e47ec\bin\mongod.pdb
[2019/08/15 16:14:47.016] Extracting  mongodb-win32-x86_64-2012plus-4.3.0-973-g18e47ec\bin\mongos.pdb
[2019/08/15 16:14:47.016] Extracting  mongodb-win32-x86_64-2012plus-4.3.0-973-g18e47ec\bin\mongo.pdb

https://evergreen.mongodb.com/task_log_raw/mongodb_mongo_master_windows_64_2k8_debug_initial_sync_fuzzer_00_windows_64_2k8_debug_18e47ecda5dcbf25126a3d413e253c3c542cdd3c_19_08_15_14_37_18/0?type=T#L695



 Comments   
Comment by Githook User [ 16/Aug/19 ]

Author:

{'name': 'Andrew Morrow', 'email': 'andrew.morrow@10gen.com'}

Message: SERVER-42831 Deal with added bin directory when extracting debug symbols
Branch: master
https://github.com/mongodb/mongo/commit/2abda565c6eb8db3e330bdc4ec210636d43459f3

Generated at Thu Feb 08 05:01:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.