Talos and Raptor profiles no longer symbolicate properly
Categories
(Testing :: Mozbase, defect)
Tracking
(firefox-esr115 unaffected, firefox-esr140 unaffected, firefox-esr153 unaffected, firefox156 wontfix, firefox157 wontfix, firefox158 fixed)
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr140 | --- | unaffected |
| firefox-esr153 | --- | unaffected |
| firefox156 | --- | wontfix |
| firefox157 | --- | wontfix |
| firefox158 | --- | fixed |
People
(Reporter: mstange, Assigned: mstange)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 external file)
.... at least not on try.
This is a regression from bug 1998767. Before that change, symbolication respected self.options["symbolPaths"]["FIREFOX"], but now get_extracted_symbols only checks MOZ_FETCHES_DIR and doesn't look at the --symbolPaths arg that Talos and Raptor still pass in.
On central + autoland, symbolication still happens to work because we also try to get symbols from symbols.mozilla.org and on those branches we automatically upload symbols. On try we don't.
Talos and Raptor don't have the symbols zip in the MOZ_FETCHES_DIR; the add_symbols_to_xpcshell_mochitest transform adds it to xpcshell and mochitest jobs but not to Talos and Raptor jobs. Instead, Talos and Raptor use --download-symbols ondemand and get passed a URL to the zip file via a four step process:
set_download_symbolssetstask["mozharness"]["download-symbols"] = "ondemand"- This gets turned into a
--download-symbolscommand line flag _download_and_extract_symbolsusesquery_symbols_urlto get the zip URL- The URL gets propagated via
kw_options["symbolsPath"] = self.symbols_path(Talos, Raptor).
| Assignee | ||
Comment 1•2 months ago
|
||
Example try job with broken symbols: https://treeherder.mozilla.org/jobs?repo=try&revision=2d6213be3d9176b83fd04d20c2e3e8b9c1c6cb06&selectedTaskRun=c5HfJMyoTtSl9jHaSfybbg.0
| Assignee | ||
Comment 2•2 months ago
|
||
What should we do here - make the --symbolsPath argument work again, or remove it and instead always fetch symbols?
| Assignee | ||
Comment 3•2 months ago
|
||
(In reply to Markus Stange [:mstange] from comment #2)
What should we do here - make the
--symbolsPathargument work again, or remove it and instead always fetch symbols?
There's already code which fetches samply in exactly the cases where we need it, so fetching crashreporter symbols in the same cases seems like a simple enough solution.
| Assignee | ||
Updated•2 months ago
|
Comment 4•2 months ago
|
||
Set release status flags based on info from the regressing bug 1998767
| Assignee | ||
Comment 5•2 months ago
|
||
Bug 1998767 changed symbolication to only look for
$MOZ_FETCHES_DIR/target.crashreporter-symbols.zip; the existing --symbolsPath
was ignored. But Talos and Raptor tasks don't have target.crashreporter-symbols.zip
in their $MOZ_FETCHES_DIR because they were using "ondemand" symbol fetching.
In bug 1998767 we were assuming that this ondemand symbolPaths was only needed for
fallback symbolication and not for samply symbolication, but it turns out we were
passing the path to samply, too, and now that's not happening anymore.
This patch adds the necessary fetches in add_gecko_profile_symbolication_deps,
so that checking $MOZ_FETCHES_DIR/target.crashreporter-symbols.zip will now work.
This is simpler than fetching the zip from the symbolPaths; this transform already
touches exactly the cases where we know we'll be profiling.
The GeckoProfile action on Treeherder patches MOZ_FETCHES directly instead of
running the transforms again, so add the zip there too.
Updated•2 months ago
|
Comment 7•2 months ago
|
||
| bugherder | ||
Comment 8•2 months ago
|
||
The patch landed in nightly and beta is affected.
:mstange, please make an uplift decision for beta:
- Nominate the patch for beta uplift approval if the fix should be included in this release, or
- Set
status-firefox157towontfixif the fix can wait for the next release.
See Requesting an Uplift for documentation on how to request an uplift.
For more information, please visit BugBot documentation.
| Assignee | ||
Updated•2 months ago
|
Description
•