Closed Bug 1680672 Opened 4 years ago Closed 4 years ago

Intermittent browser/modules/test/browser/browser_PermissionUI.js | A promise chain failed to handle a rejection: can't access property "isAppProvided", engine is null - stack: _updateURLBarPlaceholder@chrome://browser/content/browser.js:4136:9

Categories

(Firefox :: Site Permissions, defect, P5)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1685124
Tracking Status
firefox-esr78 --- unaffected
firefox83 --- unaffected
firefox84 --- unaffected
firefox85 --- affected

People

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

References

(Regression)

Details

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

Attachments

(1 file)

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


[task 2020-12-04T04:53:03.299Z] 04:53:03     INFO - TEST-START | browser/modules/test/browser/browser_PermissionUI.js
[task 2020-12-04T04:53:11.518Z] 04:53:11     INFO - TEST-PASS | browser/modules/test/browser/browser_PermissionUI.js | Should be showing the URI of the requesting page - true == true - 
[task 2020-12-04T04:53:11.518Z] 04:53:11     INFO - Buffered messages finished
[task 2020-12-04T04:53:11.519Z] 04:53:11     INFO - TEST-UNEXPECTED-FAIL | browser/modules/test/browser/browser_PermissionUI.js | A promise chain failed to handle a rejection: can't access property "isAppProvided", engine is null - stack: _updateURLBarPlaceholder@chrome://browser/content/browser.js:4136:9
[task 2020-12-04T04:53:11.519Z] 04:53:11     INFO - _updateURLBarPlaceholderFromDefaultEngine@chrome://browser/content/browser.js:4112:10
[task 2020-12-04T04:53:11.519Z] 04:53:11     INFO - Rejection date: Fri Dec 04 2020 04:53:09 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 282
[task 2020-12-04T04:53:11.520Z] 04:53:11     INFO - Stack trace:
[task 2020-12-04T04:53:11.520Z] 04:53:11     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:282
[task 2020-12-04T04:53:11.520Z] 04:53:11     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1100
[task 2020-12-04T04:53:11.520Z] 04:53:11     INFO - Leaving test bound test_window_swap
[task 2020-12-04T04:53:11.521Z] 04:53:11     INFO - Console message: BrowserTestUtils.withNewTab: Tab was already closed before removeTab would have been called
[task 2020-12-04T04:53:11.522Z] 04:53:11     INFO - GECKO(12439) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2020-12-04T04:53:11.522Z] 04:53:11     INFO - GECKO(12439) | MEMORY STAT | vsize 3504MB | residentFast 431MB | heapAllocated 151MB
[task 2020-12-04T04:53:11.525Z] 04:53:11     INFO - TEST-OK | browser/modules/test/browser/browser_PermissionUI.js | took 7593ms
[task 2020-12-04T04:53:11.526Z] 04:53:11     INFO - GECKO(12439) | [Child 12497: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f646556f000 == 2 [pid = 12497] [id = 12]
[task 2020-12-04T04:53:11.526Z] 04:53:11     INFO - GECKO(12439) | [Child 12497: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (0x7f64679e7040) [pid = 12497] [serial = 35] [outer = (nil)]
[task 2020-12-04T04:53:11.526Z] 04:53:11     INFO - GECKO(12439) | [Child 12497: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (0x7f6465570400) [pid = 12497] [serial = 36] [outer = 0x7f64679e7040]
[task 2020-12-04T04:53:11.527Z] 04:53:11     INFO - checking window state
[task 2020-12-04T04:53:11.527Z] 04:53:11     INFO - GECKO(12439) | must wait for focus
[task 2020-12-04T04:53:11.527Z] 04:53:11     INFO - GECKO(12439) | [Child 13092: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f168bb46400 == 1 [pid = 13092] [id = 0] [url = http://example.com/]
[task 2020-12-04T04:53:11.528Z] 04:53:11     INFO - GECKO(12439) | [Child 13092: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f168bb9e000 == 0 [pid = 13092] [id = 1] [url = about:blank]```

Aligns with the landing of bug 1675624. Dale, please investigate this frequent failure.

Flags: needinfo?(dharvey)
Keywords: regression
Regressed by: 1675624
Has Regression Range: --- → yes

Looking into it now

Assignee: nobody → dharvey
Flags: needinfo?(dharvey)
Whiteboard: [stockwell needswork:owner]
Pushed by jmaher@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/33335bf6c31f disable browser_PermissionUI.js on win, linux and mac debug r=intermittent-reviewers,jmaher
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
Status: RESOLVED → REOPENED
Keywords: leave-open
Resolution: FIXED → ---
Target Milestone: 86 Branch → ---

We should fix the root cause of these failures and enable the test again. On first glance I don't see any issues with the test itself.
Mark, is the problem you mention here: https://bugzilla.mozilla.org/show_bug.cgi?id=1685124#c3 related to this failure? Can we dupe the bug?

Flags: needinfo?(standard8)

Yes, that's causing this. We can mark as dupe, or re-closed as fixed, I'm fine with either.

Flags: needinfo?(standard8)
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Keywords: leave-open
Resolution: --- → DUPLICATE
Blocks: 1685535
Flags: needinfo?(dharvey)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: