[SERVER-61242] Add logic to the CI to add BUILD ID info to the symbolizer service. Created: 11/Oct/21  Updated: 12/Jan/22  Resolved: 08/Dec/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.6

Type: Task Priority: Major - P3
Reporter: Robert Guo (Inactive) Assignee: Jasur Nurboev (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backport Requested:
v5.1, v5.0
Sprint: STM 2021-11-29, STM 2021-12-13
Participants:
Story Points: 3

 Description   

Add a script that runs in a new Evergreen task that runs on all Linux builds to:

  • download debug symbols
  • run readelf
  • upload the mappings to the symbolizer service.

See if you could use Misha's commits here and here to get a sense of the syntax of evergreen.yml. The mongodb/mongo's evergreen.yml file is a lot more complex but follows the same idea



 Comments   
Comment by Githook User [ 12/Jan/22 ]

Author:

{'name': 'Jasur Nurboyev', 'email': 'bluestacks6523@gmail.com', 'username': 'JasurbekNURBOYEV'}

Message: SERVER-61242 Add logic to the CI to add BUILD ID info to the symbolizer service
Branch: v5.0
https://github.com/mongodb/mongo/commit/df2f772316ab5cb43d22e00b85c45ba7e52a903d

Comment by Githook User [ 08/Dec/21 ]

Author:

{'name': 'Jasur Nurboyev', 'email': 'bluestacks6523@gmail.com', 'username': 'JasurbekNURBOYEV'}

Message: SERVER-61242 Add logic to the CI to add BUILD ID info to the symbolizer service.
Branch: master
https://github.com/mongodb/mongo/commit/a86cafd2a920f0887a1cdb8e5bc6157e224a1771

Comment by Robert Guo (Inactive) [ 01/Dec/21 ]

jasur.nurboev thanks for persisting on this. Let's sync up next week and see if there's any part of the 18 patch process that can be done locally in the future; hopefully we can make some changes so no one else has to go through the same experience. The lib directory only exists for shared library builds, which you can tell if the variant name contains "shared library". For all other variants, most of which are for nightly releases, you can treat them the same way as the real release binaries from full.json, where there is only one binary and you only need to generate one mapping.

Let me know if you have any other questions about this; happy to chat more about how the process works

Comment by Robert Guo (Inactive) [ 14/Oct/21 ]

We'll download debug symbols instead. Otherwise we'd need to make all tasks generated...

Comment by Robert Guo (Inactive) [ 12/Oct/21 ]

Need to make compile tasks generated.

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