Closed Bug 1352644 Opened 7 years ago Closed 6 years ago

Intermittent dom/presentation/tests/mochitest/test_presentation_1ua_connection_wentaway_inproc.html | Receiver: Error occurred when getting the connection: [Exception... "Illegal value" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "<unknown

Categories

(Core :: DOM: Core & HTML, defect, P3)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: bulk-close-intermittents, intermittent-failure, Whiteboard: [stockwell needswork:owner][retriggered])

Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
Recent log:

https://treeherder.mozilla.org/logviewer.html#?job_id=178453389&repo=mozilla-inbound&lineNumber=4372

[task 2018-05-14T23:52:54.806Z] 23:52:54     INFO - TEST-START | dom/presentation/tests/mochitest/test_presentation_1ua_connection_wentaway_inproc.html
[task 2018-05-14T23:52:54.855Z] 23:52:54     INFO - GECKO(2067) | [2067, Main Thread] WARNING: NS_ENSURE_TRUE(aSecondURI) failed: file /builds/worker/workspace/build/src/dom/base/ThirdPartyUtil.cpp, line 98
[task 2018-05-14T23:52:54.857Z] 23:52:54     INFO - GECKO(2067) | ++DOMWINDOW == 21 (0xd23cd200) [pid = 2067] [serial = 21] [outer = 0xdc033c60]
[task 2018-05-14T23:52:55.920Z] 23:52:55     INFO - GECKO(2067) | ++DOMWINDOW == 22 (0xceb81000) [pid = 2067] [serial = 22] [outer = 0xdc033c60]
[task 2018-05-14T23:52:57.018Z] 23:52:57     INFO - GECKO(2067) | ++DOCSHELL 0xce99fc00 == 8 [pid = 2067] [id = {80bf6795-4801-4ffe-89a9-3a798ddda468}]
[task 2018-05-14T23:52:57.019Z] 23:52:57     INFO - GECKO(2067) | ++DOMWINDOW == 23 (0xdc034d00) [pid = 2067] [serial = 23] [outer = (nil)]
[task 2018-05-14T23:52:57.127Z] 23:52:57     INFO - GECKO(2067) | ++DOMWINDOW == 24 (0xceb7d800) [pid = 2067] [serial = 24] [outer = 0xdc034d00]
[task 2018-05-14T23:52:57.223Z] 23:52:57     INFO - GECKO(2067) | [2067, Main Thread] WARNING: '!frame', file /builds/worker/workspace/build/src/dom/presentation/PresentationSessionInfo.cpp, line 1577
[task 2018-05-14T23:52:57.226Z] 23:52:57     INFO - GECKO(2067) | [2067, Main Thread] WARNING: bad reason: 'NS_SUCCEEDED(aReason)', file /builds/worker/workspace/build/src/dom/presentation/PresentationSessionInfo.cpp, line 224
[task 2018-05-14T23:52:57.227Z] 23:52:57     INFO - GECKO(2067) | [2067, Main Thread] WARNING: 'NS_FAILED(aReason)', file /builds/worker/workspace/build/src/dom/presentation/PresentationSessionInfo.cpp, line 1524
[task 2018-05-14T23:52:57.229Z] 23:52:57     INFO - GECKO(2067) | [2067, Main Thread] WARNING: bad reason: 'NS_SUCCEEDED(aReason)', file /builds/worker/workspace/build/src/dom/presentation/PresentationSessionInfo.cpp, line 224
[task 2018-05-14T23:52:57.230Z] 23:52:57     INFO - GECKO(2067) | JavaScript error: http://mochi.test:8888/tests/dom/presentation/tests/mochitest/PresentationSessionChromeScript1UA.js, line 125: TypeError: this._listener is null
[task 2018-05-14T23:52:57.349Z] 23:52:57     INFO - GECKO(2067) | ++DOMWINDOW == 25 (0xd23d3200) [pid = 2067] [serial = 25] [outer = 0xdc034d00]
[task 2018-05-14T23:52:57.527Z] 23:52:57     INFO - GECKO(2067) | [2067, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/workspace/build/src/dom/presentation/PresentationService.cpp, line 1022
[task 2018-05-14T23:52:57.529Z] 23:52:57     INFO - GECKO(2067) | [2067, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/workspace/build/src/dom/presentation/PresentationReceiver.cpp, line 175
[task 2018-05-14T23:52:57.591Z] 23:52:57     INFO - TEST-INFO | started process screentopng
[task 2018-05-14T23:52:58.122Z] 23:52:58     INFO - TEST-INFO | screentopng: exit 0
[task 2018-05-14T23:52:58.123Z] 23:52:58     INFO - Buffered messages logged at 23:52:56
[task 2018-05-14T23:52:58.124Z] 23:52:58     INFO - TEST-PASS | dom/presentation/tests/mochitest/test_presentation_1ua_connection_wentaway_inproc.html | A valid string reason is expected 
[task 2018-05-14T23:52:58.125Z] 23:52:58     INFO - TEST-PASS | dom/presentation/tests/mochitest/test_presentation_1ua_connection_wentaway_inproc.html | Reason cannot be empty 
[task 2018-05-14T23:52:58.126Z] 23:52:58     INFO - Sender: --- testCreateRequest ---
[task 2018-05-14T23:52:58.128Z] 23:52:58     INFO - TEST-PASS | dom/presentation/tests/mochitest/test_presentation_1ua_connection_wentaway_inproc.html | Sender: should have no available device after setup 
[task 2018-05-14T23:52:58.130Z] 23:52:58     INFO - TEST-PASS | dom/presentation/tests/mochitest/test_presentation_1ua_connection_wentaway_inproc.html | Sender: Device should be available. 
[task 2018-05-14T23:52:58.132Z] 23:52:58     INFO - TEST-PASS | dom/presentation/tests/mochitest/test_presentation_1ua_connection_wentaway_inproc.html | Sender: Connection should be available. 
[task 2018-05-14T23:52:58.133Z] 23:52:58     INFO - TEST-PASS | dom/presentation/tests/mochitest/test_presentation_1ua_connection_wentaway_inproc.html | Sender: Connection ID should be set. 
[task 2018-05-14T23:52:58.134Z] 23:52:58     INFO - TEST-PASS | dom/presentation/tests/mochitest/test_presentation_1ua_connection_wentaway_inproc.html | Sender: The initial state should be connecting. 
[task 2018-05-14T23:52:58.136Z] 23:52:58     INFO - Buffered messages logged at 23:52:57
[task 2018-05-14T23:52:58.138Z] 23:52:58     INFO - TEST-PASS | dom/presentation/tests/mochitest/test_presentation_1ua_connection_wentaway_inproc.html | Receiver: should receive the same url 
[task 2018-05-14T23:52:58.139Z] 23:52:58     INFO - Receiver: --- testConnectionAvailable ---
[task 2018-05-14T23:52:58.142Z] 23:52:58     INFO - TEST-PASS | dom/presentation/tests/mochitest/test_presentation_1ua_connection_wentaway_inproc.html | Receiver: navigator.presentation should be available. 
[task 2018-05-14T23:52:58.145Z] 23:52:58     INFO - TEST-PASS | dom/presentation/tests/mochitest/test_presentation_1ua_connection_wentaway_inproc.html | Receiver: navigator.presentation.receiver should be available. 
[task 2018-05-14T23:52:58.146Z] 23:52:58     INFO - Buffered messages finished
[task 2018-05-14T23:52:58.148Z] 23:52:58     INFO - TEST-UNEXPECTED-FAIL | dom/presentation/tests/mochitest/test_presentation_1ua_connection_wentaway_inproc.html | Receiver: Error occurred when getting the connection: [Exception... "Illegal value"  nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "<unknown>"  data: no]
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Priority: -- → P3
Whiteboard: [stockwell needswork:owner] → [stockwell needswork:owner][retriggered]
How sure are you of that?  At first glance this test doesn't exercise any of the code bug 1455802 touched, and none of the code that bug touched should be producing NS_ERROR_ILLEGAL_VALUE.
Flags: needinfo?(bzbarsky) → needinfo?(aiakab)
Yeah, I retriggered the few changesets before mine and they're showing the failure too.  At first glance, the failures may be starting with https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=0b5c103fcb70edad6ad01a94385134d047641272&filter-searchStr=debug-mochitest-6 but worth double-checking.
@Boris, you are right about that, so please disregard may last comment.
Flags: needinfo?(aiakab)
I tried bisecting locally, but locally the test just always fails when run on its own with:

  JavaScript error: http://mochi.test:8888/tests/dom/presentation/tests/mochitest/PresentationSessionChromeScript1UA.js, line 125: TypeError: this._listener is undefined

which is not terribly helpful.
Ah, I have to run the test with --disable-e10s to get it to work.  Local bisect then says:

The first bad revision is:
changeset:   418236:51cdd0595094
user:        Nika Layzell <nika@thelayzells.com>
date:        Mon Apr 30 16:45:52 2018 -0400
summary:     Bug 1458043 - Part 1: Stop converting promises to nsISupports in xpconnect, r=bz

Really, given that this is not an intermittent but a permafail a new bug should have been filed instead of reopening this one...
Blocks: 1458043
And in fact, I just filed bug 1461890 for this.  Re-resolving this one as incomplete, because the intermittent behavior is not visible.
No longer blocks: 1458043
Status: REOPENED → RESOLVED
Closed: 7 years ago6 years ago
Resolution: --- → INCOMPLETE
My bad, using bug 1461890, resolving as incomplete
Status: REOPENED → RESOLVED
Closed: 6 years ago6 years ago
Resolution: --- → INCOMPLETE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.