Closed Bug 1673860 Opened 4 years ago Closed 3 years ago

Perma Linux ccov browser/components/newtab/test/browser/browser_as_render.js | Got the search box - null == true - got null, expected true (operator ==)

Categories

(Firefox :: New Tab Page, defect, P5)

defect

Tracking

()

RESOLVED FIXED
84 Branch
Tracking Status
firefox84 --- fixed

People

(Reporter: NarcisB, Assigned: mconley)

Details

(Keywords: intermittent-failure, Whiteboard: [retriggered][stockwell unknown])

Attachments

(2 files)

Parsed log:
Full log: https://firefoxci.taskcluster-artifacts.net/fzK6zpvjTeqPYrnlZL5-Pw/0/public/logs/live_backing.log

Log snippet:

[task 2020-10-28T11:46:42.572Z] 11:46:42     INFO - TEST-START | browser/components/newtab/test/browser/browser_as_render.js
[task 2020-10-28T11:46:43.032Z] 11:46:43     INFO - TEST-INFO | started process screentopng
[task 2020-10-28T11:46:43.274Z] 11:46:43     INFO - TEST-INFO | screentopng: exit 0
[task 2020-10-28T11:46:43.275Z] 11:46:43     INFO - Buffered messages logged at 11:46:42
[task 2020-10-28T11:46:43.276Z] 11:46:43     INFO - Entering test bound test_render_search
[task 2020-10-28T11:46:43.278Z] 11:46:43     INFO - Buffered messages finished
[task 2020-10-28T11:46:43.279Z] 11:46:43     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_as_render.js | Got the search box - null == true - got null, expected true (operator ==)
[task 2020-10-28T11:46:43.280Z] 11:46:43     INFO - Stack trace:
[task 2020-10-28T11:46:43.280Z] 11:46:43     INFO - ok@resource://specialpowers/SpecialPowersSandbox.jsm:87:21
[task 2020-10-28T11:46:43.280Z] 11:46:43     INFO - test_render_search@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_as_render.js:13:7
[task 2020-10-28T11:46:43.280Z] 11:46:43     INFO - execute@resource://specialpowers/SpecialPowersSandbox.jsm:141:12
[task 2020-10-28T11:46:43.280Z] 11:46:43     INFO - _spawnTask@resource://specialpowers/SpecialPowersChild.jsm:1617:15
[task 2020-10-28T11:46:43.280Z] 11:46:43     INFO - receiveMessage@resource://specialpowers/SpecialPowersChild.jsm:310:21
[task 2020-10-28T11:46:43.280Z] 11:46:43     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-10-28T11:46:43.280Z] 11:46:43     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_as_render.js | Uncaught exception - at chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_as_render.js:15 - TypeError: can't access property "placeholder", search is null
[task 2020-10-28T11:46:43.280Z] 11:46:43     INFO - Stack trace:
[task 2020-10-28T11:46:43.280Z] 11:46:43     INFO - test_render_search@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_as_render.js:15:1
[task 2020-10-28T11:46:43.280Z] 11:46:43     INFO - execute@resource://specialpowers/SpecialPowersSandbox.jsm:141:12
[task 2020-10-28T11:46:43.280Z] 11:46:43     INFO - _spawnTask@resource://specialpowers/SpecialPowersChild.jsm:1617:15
[task 2020-10-28T11:46:43.280Z] 11:46:43     INFO - receiveMessage@resource://specialpowers/SpecialPowersChild.jsm:310:21
[task 2020-10-28T11:46:43.280Z] 11:46:43     INFO - Leaving test bound test_render_search
[task 2020-10-28T11:46:43.280Z] 11:46:43     INFO - Entering test bound test_render_search_handoff
[task 2020-10-28T11:46:43.500Z] 11:46:43     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-10-28T11:46:43.500Z] 11:46:43     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_as_render.js | Got the search handoff button - null == true - got null, expected true (operator ==)
[task 2020-10-28T11:46:43.500Z] 11:46:43     INFO - Stack trace:
[task 2020-10-28T11:46:43.500Z] 11:46:43     INFO - ok@resource://specialpowers/SpecialPowersSandbox.jsm:87:21
[task 2020-10-28T11:46:43.500Z] 11:46:43     INFO - test_render_search_handoff@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_as_render.js:31:7
[task 2020-10-28T11:46:43.501Z] 11:46:43     INFO - execute@resource://specialpowers/SpecialPowersSandbox.jsm:141:12
[task 2020-10-28T11:46:43.501Z] 11:46:43     INFO - _spawnTask@resource://specialpowers/SpecialPowersChild.jsm:1617:15
[task 2020-10-28T11:46:43.501Z] 11:46:43     INFO - receiveMessage@resource://specialpowers/SpecialPowersChild.jsm:310:21
[task 2020-10-28T11:46:43.521Z] 11:46:43     INFO - Leaving test bound test_render_search_handoff
[task 2020-10-28T11:46:43.522Z] 11:46:43     INFO - Entering test bound test_render_topsites
[task 2020-10-28T11:46:43.949Z] 11:46:43     INFO - Not taking screenshot here: see the one that was previously logged

Summary: Perma [Tier2] browser/components/newtab/test/browser/browser_as_render.js | Got the search box - null == true - got null, expected true (operator ==) → Perma Linux ccov browser/components/newtab/test/browser/browser_as_render.js | Got the search box - null == true - got null, expected true (operator ==)

Could be related to Bug 1614465 ?
Bernard, could you check this out?
Thank you

Flags: needinfo?(bigiri)

Scott can you please assign someone here to take a look?

Flags: needinfo?(sdowne)
Whiteboard: [retriggered][stockwell needswork:owner]

So the root of the problem seems to be that the about:newtab document is failing to render - see screenshot.

Assignee: nobody → mconley
Flags: needinfo?(bigiri)

The problem here is that the ASRouterChild doesn't get injected on ccov builds because we disable the privileged about content process in Linux64 ccov builds:

https://searchfox.org/mozilla-central/rev/02cb78667e87ccc42fea5edc6f3f2dd2edd6ecd5/browser/app/profile/firefox.js#564-567

Perhaps bug 1621269 is no longer an issue here. I've pushed to try to find out.

Flags: needinfo?(sdowne)

I see no trace of the crash that caused us to shut off the privileged about content process for Linux64 ccov for bug 1621269. I'm inclined to believe we can turn it on now. Let's put the spaghetti in the machine.

Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bc72b132fa63
Enable the privileged about content process for Linux64 ccov builds. r=nika
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: