Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Uploading symbols from try builds

64 views
Skip to first unread message

Ted Mielczarek

unread,
May 8, 2018, 1:38:26 PM5/8/18
to dev-pl...@lists.mozilla.org
Hello,

I landed some patches yesterday[1] that have now merged to m-c to allow uploading symbols from try builds to the symbol server. Previously if you wanted to debug a try server build it involved a bunch of annoying manual steps, but now you can simply ask for symbol upload tasks to run and then use the symbol server almost exactly like you would with a nightly or release build.

Symbol upload isn't enabled by default (since I expect most people are unlikely to need it), but there are two ways to enable it:
1) Run `mach try fuzzy --full` and select the `${build}-upload-symbols` tasks that correspond to the builds you're requesting. These tasks won't show up without `--full`, FYI.
2) After pushing to try, use Treeherder's "Add new jobs" tool (available from the menu under the little triangle on the top right) and add the `Sym` jobs corresponding to the builds you requested.

To debug the resulting build you will need to use a slightly different URL for the symbol server: https://symbols.mozilla.org/try . You can otherwise follow the symbol server instructions[2]. Try symbols are stored separately from builds we ship to avoid any contamination as well as to have a shorter retention period (28 days, matching the Taskcluster artifact expiration for try). This won't currently work with my GDB symbol server script[3] because it has a hardcoded symbol server URL, but you can of course edit the script to fix that.

I'll update the symbol server docs soon.

-Ted

1. https://bugzilla.mozilla.org/show_bug.cgi?id=1437577
2. https://developer.mozilla.org/en-US/docs/Mozilla/Using_the_Mozilla_symbol_server
3. https://gist.github.com/luser/193572147c401c8a965c

Aaron Klotz

unread,
May 8, 2018, 1:57:02 PM5/8/18
to Ted Mielczarek, dev-pl...@lists.mozilla.org
This is awesome, Ted, THANK YOU! \o/

-Aaron
> _______________________________________________
> dev-platform mailing list
> dev-pl...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform

pbeng...@mozilla.com

unread,
May 9, 2018, 11:37:53 AM5/9/18
to
On Tuesday, May 8, 2018 at 1:38:26 PM UTC-4, Ted Mielczarek wrote:
> To debug the resulting build you will need to use a slightly different URL for the symbol server: https://symbols.mozilla.org/try . You can otherwise follow the symbol server instructions[2]. Try symbols are stored separately from builds we ship to avoid any contamination as well as to have a shorter retention period (28 days, matching the Taskcluster artifact expiration for try). This won't currently work with my GDB symbol server script[3] because it has a hardcoded symbol server URL, but you can of course edit the script to fix that.
>

The symbols are downloaded in one of two ways actually. By adding the /try/ prefix as Ted shown. Or by adding "?try" to the URL.
See http://tecken.readthedocs.io/en/latest/download.html#try-builds

Markus Stange filed https://bugzilla.mozilla.org/show_bug.cgi?id=1460306 for having Try build symbols also available in symbolication.
0 new messages