toolkit\crashreporter\tools\unit-symbolstore.py::TestFunctional::testSymbolstore fails on Clang coverage build
Categories
(Testing :: Code Coverage, defect, P3)
Tracking
(Not tracked)
People
(Reporter: marco, Unassigned)
References
Details
(Keywords: leave-open)
Attachments
(2 files)
Perhaps it is failing because of this option https://searchfox.org/mozilla-central/rev/be7d1f2d52dd9474ca2df145190a817614c924e4/browser/config/mozconfigs/linux64/code-coverage-opt#3?
Should we disable the test on ccov builds?
The test is passing on Windows Clang, but that's a debug build and doesn't have that option.
Comment 1•5 years ago
|
||
That test should work in all configurations, do you have a log of the failure?
Reporter | ||
Comment 2•5 years ago
|
||
Reporter | ||
Comment 3•5 years ago
|
||
I'm attaching the logs from Taskcluster, as they will expire at some point.
Reporter | ||
Comment 4•5 years ago
|
||
Another interesting point: a Clang Windows opt build with ac_add_options --enable-debug-symbols=-g1
fails. The same, without ac_add_options --enable-debug-symbols=-g1
, doesn't fail.
Comment 5•5 years ago
|
||
It seems like we're not getting the output we expect, see here:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=275427166&repo=try&lineNumber=45707
This is the assertion that's failing:
Looking at clang's manual it seems that --enable-debug-symbols=-g1
disables the output of file entries in the debug information so it makes sense that we don't find a FILE entry in the output:
https://clang.llvm.org/docs/ClangCommandLineReference.html#cmdoption-clang-gline-tables-only
-gline-tables-only, -g1, -gmlt
Emit debug line number tables only
Is there a specific reason why we're using -g1
in these builds? If it's a requirement then I'm afraid we have to disable the test, or adjust it to cope with this configuration.
Reporter | ||
Comment 6•5 years ago
|
||
The ccov binaries with full debug info were huge, so we are using this option to reduce their size. See bug 1484073 comment 4.
Comment 7•5 years ago
|
||
Just out of curiosity, what is the default level of --enable-debug-symbols
? Anyway we'll need to fix the test.
Reporter | ||
Comment 8•5 years ago
|
||
The default seems to be -g
for Linux, -Z7
for Windows: https://searchfox.org/mozilla-central/rev/ba4fab1cc2f1c9c4e07cdb71542b8d441707c577/build/moz.configure/toolchain.configure#1214-1221.
Updated•5 years ago
|
Reporter | ||
Comment 9•5 years ago
|
||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Comment 10•5 years ago
|
||
Updated•5 years ago
|
Reporter | ||
Comment 11•5 years ago
|
||
Oh, come on...
Comment 12•5 years ago
|
||
bugherder |
Comment 13•5 years ago
|
||
The priority flag is not set for this bug.
:ekyle, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•5 years ago
|
Comment 14•4 years ago
|
||
The leave-open keyword is there and there is no activity for 6 months.
:marco, maybe it's time to close this bug?
Reporter | ||
Updated•4 years ago
|
Comment 15•3 years ago
|
||
The leave-open keyword is there and there is no activity for 6 months.
:marco, maybe it's time to close this bug?
Reporter | ||
Updated•3 years ago
|
Comment 16•3 years ago
|
||
The leave-open keyword is there and there is no activity for 6 months.
:marco, maybe it's time to close this bug?
Reporter | ||
Updated•3 years ago
|
Comment 17•2 years ago
|
||
The leave-open keyword is there and there is no activity for 6 months.
:marco, maybe it's time to close this bug?
For more information, please visit auto_nag documentation.
Reporter | ||
Updated•2 years ago
|
Updated•2 years ago
|
Description
•