Closed Bug 1651261 Opened 4 years ago Closed 1 month ago

Intermittent browser/components/extensions/test/browser/browser_ext_url_overrides_newtab.js | Test timed out -

Categories

(WebExtensions :: General, defect, P3)

Unspecified
Linux
defect

Tracking

(firefox-esr68 unaffected, firefox-esr78 unaffected, firefox78 unaffected, firefox79 unaffected, firefox80 wontfix)

RESOLVED INCOMPLETE
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- unaffected
firefox78 --- unaffected
firefox79 --- unaffected
firefox80 --- wontfix

People

(Reporter: intermittent-bug-filer, Assigned: nika)

References

(Regression)

Details

(Keywords: intermittent-failure, regression, Whiteboard: [stockwell disabled])

Attachments

(1 file)

Filed by: nbeleuzu [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=308902060&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/FPB0L0l_Qh2435PmtXWJDw/runs/0/artifacts/public/logs/live_backing.log


[task 2020-07-08T01:23:31.736Z] 01:23:31 INFO - TEST-PASS | browser/components/extensions/test/browser/browser_ext_url_overrides_newtab.js | The New Tab notification is not set for this extension -
[task 2020-07-08T01:23:31.737Z] 01:23:31 INFO - Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "moz-extension://e1d2066f-15e5-4d32-bd8e-1b90a94cfd58/restore-two.html" line: 0}]
[task 2020-07-08T01:23:31.738Z] 01:23:31 INFO - Buffered messages finished
[task 2020-07-08T01:23:31.739Z] 01:23:31 INFO - TEST-UNEXPECTED-FAIL | browser/components/extensions/test/browser/browser_ext_url_overrides_newtab.js | Test timed out -
[task 2020-07-08T01:23:31.740Z] 01:23:31 INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-07-08T01:23:31.741Z] 01:23:31 INFO - TEST-UNEXPECTED-FAIL | browser/components/extensions/test/browser/browser_ext_url_overrides_newtab.js | no tasks awaiting on messages - Got ["from-newtab-page"], expected []
[task 2020-07-08T01:23:31.741Z] 01:23:31 INFO - Stack trace:
[task 2020-07-08T01:23:31.742Z] 01:23:31 INFO - chrome://mochikit/content/browser-test.js:test_is:1327
[task 2020-07-08T01:23:31.742Z] 01:23:31 INFO - chrome://mochikit/content/tests/SimpleTest/ExtensionTestUtils.js:ExtensionTestUtils.loadExtension/<:36
[task 2020-07-08T01:23:31.743Z] 01:23:31 INFO - chrome://mochikit/content/browser-test.js:nextTest:550
[task 2020-07-08T01:23:31.744Z] 01:23:31 INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-07-08T01:23:31.745Z] 01:23:31 INFO - TEST-UNEXPECTED-FAIL | browser/components/extensions/test/browser/browser_ext_url_overrides_newtab.js | Extension left running at test shutdown -
[task 2020-07-08T01:23:31.745Z] 01:23:31 INFO - Stack trace:
[task 2020-07-08T01:23:31.746Z] 01:23:31 INFO - chrome://mochikit/content/browser-test.js:test_ok:1299
[task 2020-07-08T01:23:31.746Z] 01:23:31 INFO - chrome://mochikit/content/tests/SimpleTest/ExtensionTestUtils.js:ExtensionTestUtils.loadExtension/<:117
[task 2020-07-08T01:23:31.747Z] 01:23:31 INFO - chrome://mochikit/content/browser-test.js:nextTest:550
[task 2020-07-08T01:23:31.748Z] 01:23:31 INFO - Console message: Warning: attempting to write 38184 bytes to preference extensions.webextensions.uuids. This is bad for general performance and memory usage. Such an amount of data should rather be written to an external file. This preference will not be sent to any content processes.
[task 2020-07-08T01:23:31.748Z] 01:23:31 INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-07-08T01:23:31.749Z] 01:23:31 INFO - TEST-UNEXPECTED-FAIL | browser/components/extensions/test/browser/browser_ext_url_overrides_newtab.js | Extension left running at test shutdown -
[task 2020-07-08T01:23:31.750Z] 01:23:31 INFO - Stack trace:
[task 2020-07-08T01:23:31.750Z] 01:23:31 INFO - chrome://mochikit/content/browser-test.js:test_ok:1299
[task 2020-07-08T01:23:31.751Z] 01:23:31 INFO - chrome://mochikit/content/tests/SimpleTest/ExtensionTestUtils.js:ExtensionTestUtils.loadExtension/<:117
[task 2020-07-08T01:23:31.751Z] 01:23:31 INFO - chrome://mochikit/content/browser-test.js:nextTest:550
[task 2020-07-08T01:23:31.795Z] 01:23:31 INFO - Console message: Warning: attempting to write 38115 bytes to preference extensions.webextensions.uuids. This is bad for general performance and memory usage. Such an amount of data should rather be written to an external file. This preference will not be sent to any content processes.
[task 2020-07-08T01:23:31.811Z] 01:23:31 INFO - GECKO(1253) | MEMORY STAT | vsize 3801MB | residentFast 584MB | heapAllocated 210MB
[task 2020-07-08T01:23:31.812Z] 01:23:31 INFO - TEST-OK | browser/components/extensions/test/browser/browser_ext_url_overrides_newtab.js | took 90401ms
[task 2020-07-08T01:23:31.812Z] 01:23:31 INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-07-08T01:23:31.813Z] 01:23:31 INFO - TEST-UNEXPECTED-FAIL | browser/components/extensions/test/browser/browser_ext_url_overrides_newtab.js | Found a tab after previous test timed out: moz-extension://e1d2066f-15e5-4d32-bd8e-1b90a94cfd58/restore-two.html -
[task 2020-07-08T01:23:31.881Z] 01:23:31 INFO - GECKO(1253) | [Child 1566: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f972a0a3000 == 1 [pid = 1566] [id = {918f9243-11bc-48e4-8875-af8c20d8a18e}]
[task 2020-07-08T01:23:31.882Z] 01:23:31 INFO - GECKO(1253) | [Child 1566: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (0x7f9747793350) [pid = 1566] [serial = 383] [outer = (nil)]
[task 2020-07-08T01:23:31.883Z] 01:23:31 INFO - GECKO(1253) | [Child 1566: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (0x7f972a0a6800) [pid = 1566] [serial = 384] [outer = 0x7f9747793350]
[task 2020-07-08T01:23:31.944Z] 01:23:31 INFO - GECKO(1253) | [Child 1566: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (0x7f972a0b2000) [pid = 1566] [serial = 385] [outer = 0x7f9747793350]
[task 2020-07-08T01:23:31.944Z] 01:23:31 INFO - checking window state
[task 2020-07-08T01:23:32.000Z] 01:23:31 INFO - GECKO(1253) | [Child 1542: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f3ad677d400 == 1 [pid = 1542] [id = {0a85c1cd-0b00-4699-881c-922da5f2e338}]
[task 2020-07-08T01:23:32.000Z] 01:23:32 INFO - GECKO(1253) | [Child 1542: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (0x7f3af6a93350) [pid = 1542] [serial = 272] [outer = (nil)]
[task 2020-07-08T01:23:32.003Z] 01:23:32 INFO - GECKO(1253) | [Child 1542: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (0x7f3ad677f000) [pid = 1542] [serial = 273] [outer = 0x7f3af6a93350]

Nika, could this frequent failure be from bug 1599579? Backfills of the task didn't reproduce it.

Flags: needinfo?(nika)

This would be a bit easier to figure out with some MOZ_LOG logs enabled when running the tests. If there's a pernosco recording from one of these failures, it would make it easier to figure out what's going on because of that :-)

This definitely seems like an issue which is probably caused by bug 1599579.

Assignee: nobody → nika
Regressed by: 1599579
Has Regression Range: --- → yes
Keywords: regression

Set release status flags based on info from the regressing bug 1599579

:pbone - you've spent a lot of time fiddling with process switches and the new tab page. Any idea what might be causing this?

Flags: needinfo?(nika) → needinfo?(pbone)
Pushed by apavel@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1358f376fb35 Disable browser_ext_url_overrides_newtab.js on linux64. r=jmaher
Keywords: leave-open
Whiteboard: [stockwell disable-recommended] → [stockwell disabled]

Sorry for the late response. I can reproduce this but I'm not sure what's causing it. I tried using a Promise.all for the series of awaits here: https://searchfox.org/mozilla-central/source/browser/components/extensions/test/browser/browser_ext_url_overrides_newtab.js#388 (which is one of the two places where the timeout can occur), but it made no difference. There's plenty more to try but there's noting I know off-the-top-of-my-head that can help.

Flags: needinfo?(pbone)

Looks like this stopped when Bug 1595858 landed, might be worth trying to turn linux 1804 back on.

Severity: normal → S3
Component: Untriaged → General
OS: Unspecified → Linux
Priority: P5 → P3
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: