[SERVER-44017] Hang Analyzer Unzips Debug Symbols Created: 15/Oct/19  Updated: 29/Oct/23  Resolved: 29/Oct/19

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: 4.3 Desired
Fix Version/s: 4.3.1

Type: New Feature Priority: Major - P3
Reporter: Ryan Timmons Assignee: Ryan Timmons
Resolution: Fixed Votes: 0
Labels: tig-hanganalyzer
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-44297 set_task_expansion_macros is incorrec... Closed
Backwards Compatibility: Fully Compatible
Sprint: STM 2019-10-31
Participants:
Story Points: 2

 Description   

Modify hang_analyzer.py to automatically unzip debug symbols if necessary and if not already unzipped into cwd.

Take the logic from here and port it to python. Once this is ported to python, consider calling the python instead of the shell on these lines.

This is necessary in cases where hang_analyzer.py is called from the shell as a part of failures from assert.soon and friends in SERVER-43254 etc.



 Comments   
Comment by Robert Guo (Inactive) [ 29/Oct/19 ]

The original commit was reverted because of an existing bug in set_task_expansion_macros where it overrides expansions set in bypass_compile_expansions. I didn't look into how to fix set_task_expansion_macros because it is used in quite a few places and instead just moved the location of downloading debug symbols to before it.

Comment by Githook User [ 29/Oct/19 ]

Author:

{'email': 'robert.guo@mongodb.com', 'name': 'Robert Guo'}

Message: SERVER-44017 hang_analyzer.py inflates debug-symbols
Branch: master
https://github.com/mongodb/mongo/commit/29cd14ad598a3594529201fa095cc1fa3dc68e07

Comment by Githook User [ 26/Oct/19 ]

Author:

{'email': 'robert.guo@mongodb.com', 'name': 'Robert Guo'}

Message: Revert "SERVER-44017 hang_analyzer.py inflates debug-symbols"

This reverts commit a2ab511f0191a8dabf0962c52fe41325700a3b6d.
Branch: master
https://github.com/mongodb/mongo/commit/d49bdf97448af6c260705f966a3f0e1a17e5f365

Comment by Githook User [ 22/Oct/19 ]

Author:

{'username': 'rtimmons', 'email': 'ryan.timmons@mongodb.com', 'name': 'Ryan Timmons'}

Message: SERVER-44017 hang_analyzer.py inflates debug-symbols
Branch: master
https://github.com/mongodb/mongo/commit/a2ab511f0191a8dabf0962c52fe41325700a3b6d

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