Closed Bug 1565113 Opened 5 years ago Closed 5 years ago

Intermittent <test> | A promise chain failed to handle a rejection: [Exception... "Component not initialized" nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)" @resource:///modules/AboutLoginsParent.jsm

Categories

(Firefox :: about:logins, defect, P5)

defect

Tracking

()

RESOLVED FIXED
Firefox 70
Tracking Status
firefox-esr60 --- unaffected
firefox-esr68 --- unaffected
firefox68 --- unaffected
firefox69 --- unaffected
firefox70 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression, Whiteboard: [test isolation-][skyline] [passwords:management][comment 21][stockwell disable-recommended])

Attachments

(1 file)

Filed by: nerli [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=255840377&repo=autoland
Full log: https://queue.taskcluster.net/v1/task/daMaADy_QDWKYv3rmpUE-w/runs/0/artifacts/public/logs/live_backing.log


[task 2019-07-10T23:13:02.540Z] 23:13:02 INFO - GECKO(2629) | JavaScript error: resource://testing-common/PromiseTestUtils.jsm, line 112: uncaught exception: Object
[task 2019-07-10T23:13:02.564Z] 23:13:02 INFO - GECKO(2629) | ++DOMWINDOW == 2 (0x7fd935ec0000) [pid = 2814] [serial = 2] [outer = 0x7fd935d91d40]
[task 2019-07-10T23:13:02.572Z] 23:13:02 INFO - TEST-START | browser/components/aboutlogins/tests/browser/browser_copyToClipboardButton.js
[task 2019-07-10T23:13:02.613Z] 23:13:02 INFO - GECKO(2629) | ++DOCSHELL 0x7f920210a800 == 3 [pid = 2783] [id = {9da3d769-7cce-4af5-b29f-2371f15003d8}]
[task 2019-07-10T23:13:02.614Z] 23:13:02 INFO - GECKO(2629) | ++DOMWINDOW == 7 (0x7f92022a5e20) [pid = 2783] [serial = 7] [outer = (nil)]
[task 2019-07-10T23:13:02.675Z] 23:13:02 INFO - GECKO(2629) | [Child 2783, Main Thread] WARNING: No active window: file /builds/worker/workspace/build/src/js/xpconnect/src/XPCJSContext.cpp, line 662
[task 2019-07-10T23:13:02.695Z] 23:13:02 INFO - GECKO(2629) | ++DOMWINDOW == 8 (0x7f9200987400) [pid = 2783] [serial = 8] [outer = 0x7f92022a5e20]
[task 2019-07-10T23:13:02.711Z] 23:13:02 INFO - GECKO(2629) | [Parent 2629, Main Thread] WARNING: Constructing RangeBoundary with invalid value: 'mRef || aOffset == 0', file /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/RangeBoundary.h, line 79
[task 2019-07-10T23:13:02.712Z] 23:13:02 INFO - GECKO(2629) | [Parent 2629, Main Thread] WARNING: Constructing RangeBoundary with invalid value: 'mRef || aOffset == 0', file /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/RangeBoundary.h, line 79
[task 2019-07-10T23:13:02.760Z] 23:13:02 INFO - GECKO(2629) | ++DOMWINDOW == 9 (0x7f920098b800) [pid = 2783] [serial = 9] [outer = 0x7f92022a5e20]
[task 2019-07-10T23:13:02.781Z] 23:13:02 INFO - GECKO(2629) | [Child 2783, Main Thread] WARNING: NS_ENSURE_SUCCESS(mStatus, *this) failed with result 0x80004005: file /builds/worker/workspace/build/src/obj-firefox/dist/include/nsIURIMutator.h, line 489
[task 2019-07-10T23:13:02.970Z] 23:13:02 INFO - GECKO(2629) | console.warn: LoginHelper: "Couldn't parse origin for" "about:logins" ({})
[task 2019-07-10T23:13:02.972Z] 23:13:02 INFO - GECKO(2629) | console.warn: LoginHelper: "Couldn't parse origin for" "about:logins" ({})
[task 2019-07-10T23:13:02.975Z] 23:13:02 INFO - GECKO(2629) | console.warn: LoginHelper: "Couldn't parse origin for" "about:logins" ({})
[task 2019-07-10T23:13:03.145Z] 23:13:03 INFO - GECKO(2629) | [Parent 2629, StreamTrans #1] WARNING: 'NS_FAILED(rv)', file /builds/worker/workspace/build/src/modules/libjar/nsJARChannel.cpp, line 371
[task 2019-07-10T23:13:03.145Z] 23:13:03 INFO - GECKO(2629) | [Parent 2629, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012: file /builds/worker/workspace/build/src/modules/libjar/nsJARChannel.cpp, line 994
[task 2019-07-10T23:13:03.161Z] 23:13:03 INFO - [2604, Main Thread] WARNING: No active window: file /builds/worker/workspace/build/src/js/xpconnect/src/XPCJSContext.cpp, line 662
[task 2019-07-10T23:13:03.238Z] 23:13:03 INFO - GECKO(2629) | console.warn: LoginHelper: "Couldn't parse origin for" "about:logins" ({})
[task 2019-07-10T23:13:03.294Z] 23:13:03 INFO - GECKO(2629) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpEW10oy.mozrunner/runtests_leaks_tab_pid2836.log
[task 2019-07-10T23:13:03.481Z] 23:13:03 INFO - GECKO(2629) | Couldn't convert chrome URL: chrome://branding/locale/brand.properties
[task 2019-07-10T23:13:03.618Z] 23:13:03 INFO - GECKO(2629) | WARN 2019-07-10T23:13:03Z: audio_thread_priority::rt_linux: Could not make thread real-time.
[task 2019-07-10T23:13:03.618Z] 23:13:03 INFO - GECKO(2629) | WARN 2019-07-10T23:13:03Z: audioipc_client: Could not promote audio threads to real-time during initialization.
[task 2019-07-10T23:13:03.618Z] 23:13:03 INFO - GECKO(2629) | WARN 2019-07-10T23:13:03Z: audio_thread_priority::rt_linux: Could not make thread real-time.
[task 2019-07-10T23:13:03.619Z] 23:13:03 INFO - GECKO(2629) | WARN 2019-07-10T23:13:03Z: audioipc_client: Could not promote audio threads to real-time during initialization.
[task 2019-07-10T23:13:04.279Z] 23:13:04 INFO - GECKO(2629) | console.warn: LoginHelper: "Couldn't parse origin for" "about:logins" ({})
[task 2019-07-10T23:13:05.330Z] 23:13:05 INFO - GECKO(2629) | [Parent 2629, Main Thread] WARNING: Constructing RangeBoundary with invalid value: 'mRef || aOffset == 0', file /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/RangeBoundary.h, line 79
[task 2019-07-10T23:13:05.332Z] 23:13:05 INFO - GECKO(2629) | [Parent 2629, Main Thread] WARNING: Constructing RangeBoundary with invalid value: 'mRef || aOffset == 0', file /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/RangeBoundary.h, line 79
[task 2019-07-10T23:13:05.353Z] 23:13:05 INFO - GECKO(2629) | --DOMWINDOW == 14 (0x7eff42dbd400) [pid = 2680] [serial = 6] [outer = (nil)] [url = about:blank]
[task 2019-07-10T23:13:05.353Z] 23:13:05 INFO - GECKO(2629) | --DOMWINDOW == 13 (0x7eff427c2c00) [pid = 2680] [serial = 7] [outer = (nil)] [url = about:blank]
[task 2019-07-10T23:13:05.354Z] 23:13:05 INFO - GECKO(2629) | --DOMWINDOW == 12 (0x7eff427c6400) [pid = 2680] [serial = 9] [outer = (nil)] [url = about:blank]
[task 2019-07-10T23:13:05.355Z] 23:13:05 INFO - GECKO(2629) | --DOMWINDOW == 11 (0x7eff427c4800) [pid = 2680] [serial = 8] [outer = (nil)] [url = about:blank]
[task 2019-07-10T23:13:05.356Z] 23:13:05 INFO - GECKO(2629) | --DOMWINDOW == 10 (0x7eff427c8000) [pid = 2680] [serial = 10] [outer = (nil)] [url = about:blank]
[task 2019-07-10T23:13:05.373Z] 23:13:05 INFO - GECKO(2629) | [Child 2814, Main Thread] WARNING: No active window: file /builds/worker/workspace/build/src/js/xpconnect/src/XPCJSContext.cpp, line 662
[task 2019-07-10T23:13:05.490Z] 23:13:05 INFO - GECKO(2629) | MEMORY STAT | vsize 2829MB | residentFast 357MB | heapAllocated 134MB
[task 2019-07-10T23:13:05.491Z] 23:13:05 INFO - TEST-OK | browser/components/aboutlogins/tests/browser/browser_copyToClipboardButton.js | took 2920ms
[task 2019-07-10T23:13:05.494Z] 23:13:05 INFO - GECKO(2629) | --DOMWINDOW == 9 (0x7eff42b316a0) [pid = 2680] [serial = 5] [outer = (nil)] [url = moz-extension://2d795fee-a324-41a6-b050-54bbc6effe76/_generated_background_page.html]
[task 2019-07-10T23:13:05.511Z] 23:13:05 INFO - GECKO(2629) | ++DOCSHELL 0x7f93f62c6000 == 1 [pid = 2836] [id = {b65e59a7-47e6-45a8-aa14-f9e4ffc6d4fa}]
[task 2019-07-10T23:13:05.592Z] 23:13:05 INFO - checking window state
[task 2019-07-10T23:13:05.620Z] 23:13:05 INFO - GECKO(2629) | --DOMWINDOW == 3 (0x7f9dabbb5000) [pid = 2703] [serial = 2] [outer = (nil)] [url = about:blank]
[task 2019-07-10T23:13:05.640Z] 23:13:05 INFO - GECKO(2629) | JavaScript error: resource://testing-common/PromiseTestUtils.jsm, line 112: uncaught exception: Object

Summary: Intermittent browser/components/aboutlogins/tests/browser/browser_openPreferences.js | A promise chain failed to handle a rejection: [Exception... "Component not initialized" nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)" → Intermittent browser/components/aboutlogins/tests/browser/<test> | A promise chain failed to handle a rejection: [Exception... "Component not initialized" nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)"
Whiteboard: [test isolation]
Type: -- → defect

Hi Jared, could you take a look?

Flags: needinfo?(jaws)
Regressed by: 1563769
Flags: needinfo?(jaws)
Whiteboard: [test isolation][stockwell disable-recommended] → [test isolation][stockwell disable-recommended] [skyline] [passwords:management]
Summary: Intermittent browser/components/aboutlogins/tests/browser/<test> | A promise chain failed to handle a rejection: [Exception... "Component not initialized" nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)" → Intermittent <test> | A promise chain failed to handle a rejection: [Exception... "Component not initialized" nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)" @resource:///modules/AboutLoginsParent.jsm

Hi Jared, this has reached the disable-recommended queue. However since there are multiple tests failing, it's rather difficult to do that. Are you working on a fix? This seems to be caused by bug 1563769

Joel do you have any suggestions here ?

Flags: needinfo?(jmaher)
Flags: needinfo?(jaws)

we should have backed out bug 1563769 when it was discovered as it was only a couple days old. I would prefer a backout, but lets give it until Tuesday in case there is a pending fix.

Flags: needinfo?(jmaher)
Whiteboard: [test isolation][stockwell disable-recommended] [skyline] [passwords:management] → [test isolation][skyline] [passwords:management][comment 21]
Whiteboard: [test isolation][skyline] [passwords:management][comment 21][stockwell disable-recommended] → [test isolation][skyline] [passwords:management][comment 21]

A backout would be tricky now cause it means backing out bug 1565267, bug 1563769, bug 1559365, bug 1560431 so I really hope Jared can work on a fix here.

Blocks: 1568137

Can you please hold off on a blackout here? I'll work on a patch today

Assignee: nobody → jaws
Status: NEW → ASSIGNED
Flags: needinfo?(jaws)
Pushed by jwein@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5c8605dc9c76 Handle exceptions when trying to send messages back to the page if the page or message manager has been destroyed already. r=MattN
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
Whiteboard: [test isolation][skyline] [passwords:management][comment 21][stockwell disable-recommended] → [test isolation-][skyline] [passwords:management][comment 21][stockwell disable-recommended]
Component: Password Manager → about:logins
Product: Toolkit → Firefox
Target Milestone: mozilla70 → Firefox 70
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: