Closed Bug 873693 Opened 11 years ago Closed 9 years ago

Download symbols and pass their location to the jetpack test harness

Categories

(Release Engineering :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mossop, Unassigned)

References

Details

(Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2451] )

In order to fix bug 873204 we'll need to have the two places where jetpack tests are run by buildbot include some step to download the symbols and pass their path to the test harness.
FYI downloading the symbols is no longer required, you simply pass the URL in the symbol path and it's downloaded on-demand.
Ok good to know, so we just need to pass the symbol url to the jetpack harness
Unless there is some way to predict it from the Firefox build?
All the other harnesses have it passed in as a --symbols-path argument from buildbot or mozharness.
In the case of not-the-Jetpack-tree, no sweat, if you look at a log you'll see it's already doing a "set props: symbols_url" buildstep, so it's already available to pass through.

For the Jetpack tree, it's predictable, just sort of tacky, replace .dmg|.zip|.tar.bz2 with crashreporter-symbols.zip in the path of the build you download, since the symbols for http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-central-linux64/1368826242/firefox-24.0a1.en-US.linux-x86_64.tar.bz2 are at http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-central-linux64/1368826242/firefox-24.0a1.en-US.linux-x86_64.crashreporter-symbols.zip.

Fortunately, touching the code that downloads the build in http://mxr.mozilla.org/build/source/tools/buildfarm/utils/run_jetpack.py already requires that you abandon all dignity, so the tackiness isn't that big a deal. Horribly fragile, since nobody will remember that any change in the naming of symbols files will require changing that, but again, it's already horribly fragile.
On the plus side, symbol package names are based on the package basename anyway, so it's unlikely to ever break:
http://mxr.mozilla.org/mozilla-central/source/toolkit/mozapps/installer/package-name.mk#128
Product: mozilla.org → Release Engineering
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2443]
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2443] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2451]
I assume this will be (or already is) fixed by bug 1035512?
Yes
No longer needed now mochitest-jetpack is running
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.