Put gtest libxul symbols into a separate crashreporter-symbols-gtest.zip
Categories
(Firefox Build System :: General, task)
Tracking
(firefox161 fixed)
| Tracking | Status | |
|---|---|---|
| firefox161 | --- | fixed |
People
(Reporter: mstange, Assigned: mstange)
References
(Blocks 1 open bug)
Details
Attachments
(3 external files)
Every crashreporter-symbols.zip archive contains two variants of libxul symbols: The regular variant and the gtest variant.
The extra libxul symbols make up around 40% of the zip file.
The gtest symbols are only needed by the gtest job, not by any of the other jobs. So I think it makes sense to put them into a separate artifact, so that those other jobs have a smaller download. The gtest jobs will need to download two zip files.
| Assignee | ||
Comment 1•1 month ago
|
||
The symbols for the gtest libxul are moving out of crashreporter-symbols.zip
into a separate zip, so gtest runs need symbols from both.
| Assignee | ||
Comment 2•1 month ago
|
||
This prepares for moving the gtest libxul symbols out of
crashreporter-symbols.zip. When symbols are downloaded up front, the gtest zip
is extracted into the same directory as the main zip. When they are downloaded
on demand, the harness receives both URLs and passes them to mozcrash. Builds
without the gtest zip still get the main zip.
| Assignee | ||
Comment 3•1 month ago
|
||
The gtest libxul makes up about 40% of crashreporter-symbols.zip, but only gtest
tasks need its symbols. Most other test tasks download the zip as well: debug
tests at startup, and mochitest, xpcshell and browsertime tasks through fetches.
And for shippable builds on autoland/central, we would previously upload these
gtest symbols to the symbol server. As far as I'm aware that's always been a waste.
So this patch puts the gtest symbols into a separate zip file. This file
only gets pulled by gtest jobs, other jobs ignore it. We also stop uploading
the symbols to the symbol server.
As for the "full" symbols, I was unsure what to do with them. By "full" symbols
we mean native debug information, e.g. pdb files on Windows. We don't
really have any use for pdb files of gtests, unless you're actually dealing
with a crash in a gtest in CI that you need to debug with a native debugger.
So this patch makes it so that we don't output the gtest pdb unless you're on
try; and on try, they're made available as a separate artifact. Nothing uses that
artifact, but it's there for this rare case.
This is loosely inspired by what we do with the other test-only pdb files, e.g.
the ones for cppunittests. For those we already have "discard unless on try"
behavior from bug 1473423.
| Assignee | ||
Comment 4•1 month ago
|
||
| Assignee | ||
Comment 5•1 month ago
|
||
It worked!
Before: 977.3MB downloaded by macOS sp3 run
After: 541.5MB downloaded by macOS sp3 run
And with bug 2084276: 268.0MB downloaded by macOS sp3 run
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
| Assignee | ||
Comment 6•29 days ago
|
||
Comment 8•29 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/c16da6acb0f2
https://hg.mozilla.org/mozilla-central/rev/53e619272d42
https://hg.mozilla.org/mozilla-central/rev/f4547499a9ea
Description
•