Open Bug 1608146 Opened 5 years ago Updated 2 years ago

toolkit\crashreporter\tools\unit-symbolstore.py::TestFunctional::testSymbolstore fails on Clang coverage build

Categories

(Testing :: Code Coverage, defect, P3)

Version 3
defect

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.

Flags: needinfo?(gsvelto)
Flags: needinfo?(cdenizet)

That test should work in all configurations, do you have a log of the failure?

Flags: needinfo?(gsvelto)
Attached file live_backing.tar.xz

I'm attaching the logs from Taskcluster, as they will expire at some point.

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.

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:

https://searchfox.org/mozilla-central/rev/ba4fab1cc2f1c9c4e07cdb71542b8d441707c577/toolkit/crashreporter/tools/unit-symbolstore.py#524-525

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.

The ccov binaries with full debug info were huge, so we are using this option to reduce their size. See bug 1484073 comment 4.

Just out of curiosity, what is the default level of --enable-debug-symbols? Anyway we'll need to fix the test.

Blocks: 1608298
Blocks: 1608683
Flags: needinfo?(cdenizet)
Assignee: nobody → mcastelluccio
Status: NEW → ASSIGNED
Assignee: mcastelluccio → nobody
Status: ASSIGNED → NEW
Keywords: leave-open
Assignee: nobody → mcastelluccio
Status: NEW → ASSIGNED
Assignee: mcastelluccio → nobody
Status: ASSIGNED → NEW
Pushed by mcastelluccio@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e9e25da01ac7 Disable testSymbolstore on code coverage builds. r=gsvelto
Assignee: nobody → mcastelluccio
Status: NEW → ASSIGNED

Oh, come on...

Assignee: mcastelluccio → nobody
Status: ASSIGNED → NEW

The priority flag is not set for this bug.
:ekyle, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(klahnakoski)
Flags: needinfo?(klahnakoski)
Priority: -- → P3

The leave-open keyword is there and there is no activity for 6 months.
:marco, maybe it's time to close this bug?

Flags: needinfo?(mcastelluccio)
Flags: needinfo?(mcastelluccio)

The leave-open keyword is there and there is no activity for 6 months.
:marco, maybe it's time to close this bug?

Flags: needinfo?(mcastelluccio)
Flags: needinfo?(mcastelluccio)

The leave-open keyword is there and there is no activity for 6 months.
:marco, maybe it's time to close this bug?

Flags: needinfo?(mcastelluccio)
Flags: needinfo?(mcastelluccio)

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.

Flags: needinfo?(mcastelluccio)
Flags: needinfo?(mcastelluccio)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: