Closed Bug 1654415 Opened 4 years ago Closed 4 years ago

Perma devtools/client/inspector/test/browser_inspector_remove-iframe-during-load.js | Uncaught exception - at resource://devtools/shared/protocol/Front.js:77 - Error: Connection closed, pending request to /testActor2, type loadAndWaitForCustomEvent failed

Categories

(DevTools :: Inspector, defect, P5)

defect

Tracking

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

RESOLVED FIXED
Firefox 80
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- unaffected
firefox78 --- unaffected
firefox79 --- unaffected
firefox80 --- fixed

People

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

References

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

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


[task 2020-07-21T23:12:13.973Z] 23:12:13 INFO - TEST-START | devtools/client/inspector/test/browser_inspector_remove-iframe-during-load.js
[task 2020-07-21T23:12:14.379Z] 23:12:14 INFO - GECKO(7376) | console.log: "[DISPATCH] action type:" "UPDATE_GRIDS"
[task 2020-07-21T23:12:14.420Z] 23:12:14 INFO - GECKO(7376) | console.log: "[DISPATCH] action type:" "CLEAR_FLEXBOX"
[task 2020-07-21T23:12:14.436Z] 23:12:14 INFO - GECKO(7376) | console.log: "[DISPATCH] action type:" "UPDATE_GRIDS"
[task 2020-07-21T23:12:14.443Z] 23:12:14 INFO - GECKO(7376) | console.log: "[DISPATCH] action type:" "CLEAR_FLEXBOX"
[task 2020-07-21T23:12:14.451Z] 23:12:14 INFO - GECKO(7376) | console.log: "[DISPATCH] action type:" "UPDATE_OFFSET_PARENT"
[task 2020-07-21T23:12:14.454Z] 23:12:14 INFO - GECKO(7376) | console.log: "[DISPATCH] action type:" "UPDATE_LAYOUT"
[task 2020-07-21T23:12:14.490Z] 23:12:14 INFO - GECKO(7376) | console.error: "Error while calling actor 'pagestyle's method 'getApplied'" "can't access property "rawNode", node is null"
[task 2020-07-21T23:12:14.494Z] 23:12:14 INFO - GECKO(7376) | console.error: "getApplied@resource://devtools/server/actors/styles.js:587:5\nhandler@resource://devtools/shared/protocol/Actor.js:162:37\nonPacket@resource://devtools/server/devtools-server-connection.js:379:58\nreceiveMessage@resource://devtools/shared/transport/child-transport.js:66:16\nMessageListener.receiveMessage*_addListener@resource://devtools/shared/transport/child-transport.js:40:14\nready@resource://devtools/shared/transport/child-transport.js:57:10\n_onConnection@resource://devtools/server/devtools-server.js:474:15\nconnectToParent@resource://devtools/server/devtools-server.js:345:17\nonConnect<@resource://devtools/server/startup/frame.js:61:35\nexports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:103:22\nMessageListener.receiveMessage*@resource://devtools/server/startup/frame.js:91:23\n@resource://devtools/server/startup/frame.js:173:5\n"
[task 2020-07-21T23:12:14.497Z] 23:12:14 INFO - GECKO(7376) | console.error: (new Error("Protocol error (TypeError): can't access property "rawNode", node is null from: server0.conn105.child2/pagestyle27 (resource://devtools/server/actors/styles.js:587:5)", "resource://devtools/shared/protocol/Front.js", 323))
[task 2020-07-21T23:12:14.518Z] 23:12:14 INFO - GECKO(7376) | console.log: "[DISPATCH] action type:" "CLEAR_FLEXBOX"
[task 2020-07-21T23:12:14.627Z] 23:12:14 INFO - TEST-INFO | started process screentopng
[task 2020-07-21T23:12:15.033Z] 23:12:15 INFO - TEST-INFO | screentopng: exit 0
[task 2020-07-21T23:12:15.033Z] 23:12:15 INFO - Buffered messages logged at 23:12:13
[task 2020-07-21T23:12:15.034Z] 23:12:15 INFO - Entering test bound
[task 2020-07-21T23:12:15.035Z] 23:12:15 INFO - Adding a new tab with URL: about:blank
[task 2020-07-21T23:12:15.035Z] 23:12:15 INFO - Buffered messages logged at 23:12:14
[task 2020-07-21T23:12:15.036Z] 23:12:15 INFO - Tab added and finished loading
[task 2020-07-21T23:12:15.037Z] 23:12:15 INFO - Opening the inspector
[task 2020-07-21T23:12:15.037Z] 23:12:15 INFO - Opening the toolbox
[task 2020-07-21T23:12:15.038Z] 23:12:15 INFO - Toolbox opened and focused
[task 2020-07-21T23:12:15.039Z] 23:12:15 INFO - Selecting the node for 'body'
[task 2020-07-21T23:12:15.039Z] 23:12:15 INFO - Buffered messages finished
[task 2020-07-21T23:12:15.040Z] 23:12:15 INFO - TEST-UNEXPECTED-FAIL | devtools/client/inspector/test/browser_inspector_remove-iframe-during-load.js | Uncaught exception - at resource://devtools/shared/protocol/Front.js:77 - Error: Connection closed, pending request to server0.conn105.child2/testActor2, type loadAndWaitForCustomEvent failed
[task 2020-07-21T23:12:15.040Z] 23:12:15 INFO -
[task 2020-07-21T23:12:15.040Z] 23:12:15 INFO - Request stack:
[task 2020-07-21T23:12:15.041Z] 23:12:15 INFO - request@resource://devtools/shared/protocol/Front.js:256:14
[task 2020-07-21T23:12:15.041Z] 23:12:15 INFO - generateRequestMethods/</frontProto[name]@resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:47:19
[task 2020-07-21T23:12:15.041Z] 23:12:15 INFO - @chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_remove-iframe-during-load.js:16:19
[task 2020-07-21T23:12:15.042Z] 23:12:15 INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1064:34
[task 2020-07-21T23:12:15.042Z] 23:12:15 INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1104:11
[task 2020-07-21T23:12:15.043Z] 23:12:15 INFO - nextTest/<@chrome://mochikit/content/browser-test.js:927:14
[task 2020-07-21T23:12:15.043Z] 23:12:15 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1032:23
[task 2020-07-21T23:12:15.044Z] 23:12:15 INFO -
[task 2020-07-21T23:12:15.044Z] 23:12:15 INFO - Stack trace:
[task 2020-07-21T23:12:15.045Z] 23:12:15 INFO - destroy@resource://devtools/shared/protocol/Front.js:77:23
[task 2020-07-21T23:12:15.046Z] 23:12:15 INFO - _destroyTarget@resource://devtools/client/fronts/targets/target-mixin.js:565:15
[task 2020-07-21T23:12:15.046Z] 23:12:15 INFO - destroy@resource://devtools/client/fronts/targets/target-mixin.js:550:12
[task 2020-07-21T23:12:15.047Z] 23:12:15 INFO - destroy@resource://devtools/client/fronts/targets/browsing-context.js:129:27
[task 2020-07-21T23:12:15.047Z] 23:12:15 INFO - _destroyToolbox/onceDestroyed</<@resource://devtools/client/framework/toolbox.js:3788:32
[task 2020-07-21T23:12:15.048Z] 23:12:15 INFO - finishChangeRemoteness@chrome://global/content/elements/browser-custom-element.js:1900:12
[task 2020-07-21T23:12:15.048Z] 23:12:15 INFO - getInterfaceProxy/get/<@chrome://global/content/customElements.js:696:35
[task 2020-07-21T23:12:15.049Z] 23:12:15 INFO - Leaving test bound
[task 2020-07-21T23:12:16.632Z] 23:12:16 INFO - GECKO(7376) | console.log: "[DISPATCH] action type:" "UPDATE_GRIDS"
[task 2020-07-21T23:12:16.669Z] 23:12:16 INFO - GECKO(7376) | console.log: "[DISPATCH] action type:" "CLEAR_FLEXBOX"
[task 2020-07-21T23:12:16.705Z] 23:12:16 INFO - GECKO(7376) | console.log: "[DISPATCH] action type:" "UPDATE_GRIDS"
[task 2020-07-21T23:12:16.712Z] 23:12:16 INFO - GECKO(7376) | console.log: "[DISPATCH] action type:" "CLEAR_FLEXBOX"
[task 2020-07-21T23:12:17.267Z] 23:12:17 INFO - Removing tab.
[task 2020-07-21T23:12:17.269Z] 23:12:17 INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2020-07-21T23:12:17.278Z] 23:12:17 INFO - Got event: 'TabClose' on [object XULElement].
[task 2020-07-21T23:12:17.286Z] 23:12:17 INFO - Tab removed and finished closing
[task 2020-07-21T23:12:17.306Z] 23:12:17 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_remove-iframe-during-load.js | The main process DevToolsServer has no pending connection when the test ends -
[task 2020-07-21T23:12:17.310Z] 23:12:17 INFO - GECKO(7376) | MEMORY STAT | vsize 3656MB | residentFast 695MB | heapAllocated 343MB

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: General → Inspector

Luca, note that I rewrote this test for fission in https://phabricator.services.mozilla.com/D83914
I paused my work on this patch because I have intermittent failures on another test (rewritten in the same patch).

We could my fix for the iframe test here, I'll split the patches.

Oh I think this got fixed by Bug 1653674 actually.
Surprised that the test passes on fission without having to fix anything else, but why not :)

Also I doubt this got regressed/fixed by Bug 1620767. It seems that about:blank -> http://example.com no longer triggers a process change on fission, which is why this started passing?

(In reply to Julian Descottes [:jdescottes] from comment #4)

Oh I think this got fixed by Bug 1653674 actually.
Surprised that the test passes on fission without having to fix anything else, but why not :)

Ok actually Bug 1653674 enabled the test on Fission, and now it started failing intermittently permanently (on fission).
The exception seems related to test actor, so my rewrite should still help here.

Flags: needinfo?(lgreco)
See Also: → 1653674

The test is currently a permafail with fission enabled.
TestActor gets destroyed when navigating from about:blank to the test page and can be replaced by SpecialPowers calls.

Assignee: nobody → jdescottes
Status: NEW → ASSIGNED

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

No longer regressed by: 1620767
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/12d8cc52601f
Replace testActor by SpecialPowers from browser_inspector_remove-iframe-during-load test r=nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 80
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: