[SERVER-63685] Make the symbolizer more patch build friendly Created: 15/Feb/22 Updated: 29/Oct/23 Resolved: 29/Aug/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.0 Desired, 7.1.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Tausif Rahman (Inactive) | Assignee: | Zack Winter |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Server Development Platform
|
| Backwards Compatibility: | Fully Compatible |
| Participants: |
| Description |
|
I tried running the symbolizer on a patch build backtrace. The patch build did not include the generate_buildid_to_debug_symbols_mapping task, so the symbolizer failed. It would be nice if the symbolizer worked on most/all PB backtraces so that SERVER engineers can confidently use the symbolizer for any backtrace. This could be achieved by adding the generate_buildid_to_debug_symbols_mapping functionality to "generate resmoke tasks", or something similar. |
| Comments |
| Comment by Githook User [ 28/Aug/23 ] |
|
Author: {'name': 'Zack Winter', 'email': 'zack.winter@mongodb.com', 'username': 'zackwintermdb'}Message: |
| Comment by Tausif Rahman (Inactive) [ 22/Aug/23 ] |
|
Hey zack.winter@mongodb.com. It's been a while since I've looked at some of this `generate_buildid_to_debug_symbols_mapping` stuff & I think my original idea to do this at the "task level" isn't really necessary. Here are some of my thoughts:
Let me know if that helps, happy to discuss further. |
| Comment by Zack Winter [ 18/Aug/23 ] |
|
After looking at generate_buildid_to_debug_symbols_mapping I thought of a few possible ways to invoke it from “generate resmoke tasks”:
#1 seems like the cleanest but I don’t know how much of a pain it’ll be to convert a function to a task group, whereas the other two are simpler but involve some minor duplication. I’m leaning towards #2 right now. Also, if I understand correctly, “debugsymb_mapper.py” takes in a variant name as a parameter and performs a mapping on all of the debug symbols associated with it. For this ticket, will I have to convert it to instead take in a task name as a parameter and perform a mapping on only the debug symbols associated with that task? |
| Comment by Alex Neben [ 14/Aug/23 ] |
|
Would this be related to trevor.guidry@mongodb.com 's work of the hang analyzer? I don't think so but just want to confirm we are not stepping on toes here. |