Intermittent [Perma][Tier2] (some?) code coverage for about:welcome is broken; browser/components/newtab/test/browser/browser_aboutwelcome_actors.js | Uncaught exception - Should render activity stream content - timed out after 50 tries.
Categories
(Firefox :: Messaging System, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr68 | --- | unaffected |
| firefox-esr78 | --- | unaffected |
| firefox80 | --- | unaffected |
| firefox81 | --- | unaffected |
| firefox82 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: dmosedale)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: intermittent-failure, regression, Whiteboard: [retriggered])
Attachments
(1 external file)
Filed by: abutkovits [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=315285224&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/aajgx7cORTSSzFwxJ817xw/runs/0/artifacts/public/logs/live_backing.log
[task 2020-09-10T06:17:45.455Z] 06:17:45 INFO - TEST-START | browser/components/newtab/test/browser/browser_aboutwelcome_actors.js
[task 2020-09-10T06:17:45.876Z] 06:17:45 INFO - GECKO(8256) | JavaScript error: resource://activity-stream/aboutwelcome/aboutwelcome.bundle.js, line 226: TypeError: window.AWGetStartupData is not a function
[task 2020-09-10T06:17:51.316Z] 06:17:51 INFO - TEST-INFO | started process screentopng
[task 2020-09-10T06:17:51.520Z] 06:17:51 INFO - TEST-INFO | screentopng: exit 0
[task 2020-09-10T06:17:51.521Z] 06:17:51 INFO - Buffered messages logged at 06:17:45
[task 2020-09-10T06:17:51.522Z] 06:17:51 INFO - Entering test bound setup
[task 2020-09-10T06:17:51.522Z] 06:17:51 INFO - Leaving test bound setup
[task 2020-09-10T06:17:51.522Z] 06:17:51 INFO - Entering test bound test_startBrowsing
[task 2020-09-10T06:17:51.522Z] 06:17:51 INFO - Console message: [JavaScript Error: "TypeError: window.AWGetStartupData is not a function" {file: "resource://activity-stream/aboutwelcome/aboutwelcome.bundle.js" line: 226}]
[task 2020-09-10T06:17:51.522Z] 06:17:51 INFO - Buffered messages finished
[task 2020-09-10T06:17:51.523Z] 06:17:51 INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_aboutwelcome_actors.js | Uncaught exception - Should render activity stream content - timed out after 50 tries.```
Comment 1•6 years ago
|
||
Set release status flags based on info from the regressing bug 1654258
Updated•6 years ago
|
Updated•6 years ago
|
| Assignee | ||
Comment 4•6 years ago
|
||
So it turns out that the reason this started failing is that the privileged content process is disabled on linux when code coverage is running:
https://searchfox.org/mozilla-central/source/browser/app/profile/firefox.js#539-541
The reason it's disabled is because there were crashes while running code coverage in bug 1621269.
That bug is believed to be a duplicate of 1565352, which will be fixed when ccov is updated to use clang.
Talking to :marco, he suggested that it's conceivable that change from gcc 7 to gcc 8 would, if we got really lucky, could:
a) compile things correctly
b) include a fixed version of gcov
These are both probably long shots, but should be (at least partly) testable on the try server by tweaking https://searchfox.org/mozilla-central/source/taskcluster/ci/build/linux.yml#1234 that to use gcc 8.
Separately, :kmag suggested hardcoding E10SUtils.jsm to force https://searchfox.org/mozilla-central/source/toolkit/modules/E10SUtils.jsm#465-466 just in the case of about:welcome. I presume it is unknown whether this would trigger the reappearance of bug 1621269.
So, in short, good times!
| Assignee | ||
Comment 5•6 years ago
|
||
I should mention that the upgrade of ccov to clang is currently scheduled because of higher priorities.
We could also just disable all these tests and live without code coverage for the about:welcome stuff for a while.
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 6•6 years ago
|
||
To be fair, I'm not sure whether code coverage for all of about:welcome is currently broken, or just some of it.
| Assignee | ||
Comment 7•6 years ago
•
|
||
Mark this as depending on the clang upgrade bug, since if that were to happen, that firefox.js disabling could be removed, presumably fixing this bug in a non-hacky fashion.
| Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
| Comment hidden (Intermittent Failures Robot) |
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 9•6 years ago
|
||
| Assignee | ||
Updated•6 years ago
|
Comment 11•6 years ago
|
||
Comment 12•6 years ago
|
||
| bugherder | ||
| Comment hidden (Intermittent Failures Robot) |
Comment 14•6 years ago
|
||
There was a typo in the comment added. Should be bug 1621269.
Description
•