Closed Bug 1701036 Opened 4 years ago Closed 1 year ago

Intermittent devtools/shared/commands/target/tests/browser_target_list_various_descriptors.js | Uncaught exception - at resource://devtools/shared/protocol/Front.js:99 - Error: Connection closed, pending request to server0.conn18.content-process15/conte

Categories

(DevTools :: General, defect, P5)

defect

Tracking

(firefox-esr78 unaffected, firefox86 unaffected, firefox87 unaffected, firefox88 unaffected, firefox89 wontfix)

RESOLVED INCOMPLETE
Tracking Status
firefox-esr78 --- unaffected
firefox86 --- unaffected
firefox87 --- unaffected
firefox88 --- unaffected
firefox89 --- wontfix

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

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


INFO - TEST-START | devtools/shared/commands/target/tests/browser_target_list_various_descriptors.js
[task 2021-03-25T17:38:07.765Z] 17:38:07     INFO - GECKO(1639) | console.error: "Tried to send a 'target-destroyed-form' event on an already destroyed actor 'watcher'"
[task 2021-03-25T17:38:07.922Z] 17:38:07     INFO - GECKO(1639) | console.error: "Tried to send a 'target-destroyed-form' event on an already destroyed actor 'watcher'"
[task 2021-03-25T17:38:08.735Z] 17:38:08     INFO - GECKO(1639) | console.log: "[WORKER] started" "chrome://mochitests/content/browser/devtools/shared/commands/target/tests/test_worker.js#descriptor" ({postMessage:function postMessage() {
[task 2021-03-25T17:38:08.735Z] 17:38:08     INFO - GECKO(1639) |     [native code]
[task 2021-03-25T17:38:08.735Z] 17:38:08     INFO - GECKO(1639) | }, close:function close() {
[task 2021-03-25T17:38:08.735Z] 17:38:08     INFO - GECKO(1639) |     [native code]
[task 2021-03-25T17:38:08.736Z] 17:38:08     INFO - GECKO(1639) | }, get name() {
[task 2021-03-25T17:38:08.736Z] 17:38:08     INFO - GECKO(1639) |     [native code]
[task 2021-03-25T17:38:08.736Z] 17:38:08     INFO - GECKO(1639) | }, set name() {
[task 2021-03-25T17:38:08.736Z] 17:38:08     INFO - GECKO(1639) |     [native code]
[task 2021-03-25T17:38:08.736Z] 17:38:08     INFO - GECKO(1639) | }, get onmessage() {
[task 2021-03-25T17:38:08.736Z] 17:38:08     INFO - GECKO(1639) |     [native code]
[task 2021-03-25T17:38:08.736Z] 17:38:08     INFO - GECKO(1639) | }, set onmessage() {
[task 2021-03-25T17:38:08.736Z] 17:38:08     INFO - GECKO(1639) |     [native code]
[task 2021-03-25T17:38:08.737Z] 17:38:08     INFO - GECKO(1639) | }, get onmessageerror() {
[task 2021-03-25T17:38:08.737Z] 17:38:08     INFO - GECKO(1639) |     [native code]
[task 2021-03-25T17:38:08.737Z] 17:38:08     INFO - GECKO(1639) | }, set onmessageerror() {
[task 2021-03-25T17:38:08.737Z] 17:38:08     INFO - GECKO(1639) |     [native code]
[task 2021-03-25T17:38:08.737Z] 17:38:08     INFO - GECKO(1639) | }})
[task 2021-03-25T17:38:08.810Z] 17:38:08     INFO - GECKO(1639) | ###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2021-03-25T17:38:08.810Z] 17:38:08     INFO - TEST-INFO | started process screencapture
[task 2021-03-25T17:38:08.899Z] 17:38:08     INFO - TEST-INFO | screencapture: exit 0
[task 2021-03-25T17:38:08.900Z] 17:38:08     INFO - Buffered messages logged at 17:38:07
[task 2021-03-25T17:38:08.900Z] 17:38:08     INFO - Entering test bound 
[task 2021-03-25T17:38:08.900Z] 17:38:08     INFO - Test TargetCommand against local tab descriptor (via getTab({ tab }))
[task 2021-03-25T17:38:08.900Z] 17:38:08     INFO - Adding a new tab with URL: https://example.org/document-builder.sjs?html=org
[task 2021-03-25T17:38:08.901Z] 17:38:08     INFO - Tab added and finished loading
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: "https://example.org/document-builder.sjs?html=org" line: 0}]
[task 2021-03-25T17:38:08.901Z] 17:38:08     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_list_various_descriptors.js | Got a unique target - 
[task 2021-03-25T17:38:08.901Z] 17:38:08     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_list_various_descriptors.js | The first is the top level one - 
[task 2021-03-25T17:38:08.901Z] 17:38:08     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_list_various_descriptors.js | the tab target is of frame type - 
[task 2021-03-25T17:38:08.901Z] 17:38:08     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_list_various_descriptors.js | This is flagged as top level - 
[task 2021-03-25T17:38:08.902Z] 17:38:08     INFO - Test TargetCommand against remote tab descriptor (via getTab({ outerWindowID }))
[task 2021-03-25T17:38:08.902Z] 17:38:08     INFO - Adding a new tab with URL: https://example.org/document-builder.sjs?html=org
[task 2021-03-25T17:38:08.902Z] 17:38:08     INFO - Tab added and finished loading
[task 2021-03-25T17:38:08.902Z] 17:38:08     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: "https://example.org/document-builder.sjs?html=org" line: 0}]
[task 2021-03-25T17:38:08.902Z] 17:38:08     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_list_various_descriptors.js | Got a unique target - 
[task 2021-03-25T17:38:08.902Z] 17:38:08     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_list_various_descriptors.js | TargetCommand top target is the same as the first target - 
[task 2021-03-25T17:38:08.903Z] 17:38:08     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_list_various_descriptors.js | the tab target is of frame type - 
[task 2021-03-25T17:38:08.903Z] 17:38:08     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_list_various_descriptors.js | This is flagged as top level - 
[task 2021-03-25T17:38:08.903Z] 17:38:08     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_list_various_descriptors.js | Without fission, the top target stays the same - 
[task 2021-03-25T17:38:08.903Z] 17:38:08     INFO - Test TargetCommand against parent process descriptor
[task 2021-03-25T17:38:08.903Z] 17:38:08     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: "https://example.com/document-builder.sjs?html=org" line: 0}]
[task 2021-03-25T17:38:08.903Z] 17:38:08     INFO - Buffered messages logged at 17:38:08
[task 2021-03-25T17:38:08.903Z] 17:38:08     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_list_various_descriptors.js | We get many targets when debugging the parent process - 
[task 2021-03-25T17:38:08.904Z] 17:38:08     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_list_various_descriptors.js | The first is the top level one - 
[task 2021-03-25T17:38:08.904Z] 17:38:08     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_list_various_descriptors.js | the parent process target is of frame type, because it inherits from BrowsingContextTargetActor - 
[task 2021-03-25T17:38:08.904Z] 17:38:08     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_list_various_descriptors.js | This is flagged as top level - 
[task 2021-03-25T17:38:08.904Z] 17:38:08     INFO - Test TargetCommand against content process descriptor
[task 2021-03-25T17:38:08.904Z] 17:38:08     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: "data:text/html,foo" line: 0}]
[task 2021-03-25T17:38:08.905Z] 17:38:08     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_list_various_descriptors.js | Got a unique target - 
[task 2021-03-25T17:38:08.905Z] 17:38:08     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_list_various_descriptors.js | The first is the top level one - 
[task 2021-03-25T17:38:08.905Z] 17:38:08     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_list_various_descriptors.js | the content process target is of process type - 
[task 2021-03-25T17:38:08.905Z] 17:38:08     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_list_various_descriptors.js | This is flagged as top level - 
[task 2021-03-25T17:38:08.905Z] 17:38:08     INFO - Test TargetCommand against worker descriptor
[task 2021-03-25T17:38:08.905Z] 17:38:08     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_list_various_descriptors.js | Found the worker Debugger ID - 
[task 2021-03-25T17:38:08.906Z] 17:38:08     INFO - Buffered messages finished
[task 2021-03-25T17:38:08.906Z] 17:38:08     INFO - TEST-UNEXPECTED-FAIL | devtools/shared/commands/target/tests/browser_target_list_various_descriptors.js | Uncaught exception - at resource://devtools/shared/protocol/Front.js:99 - Error: Connection closed, pending request to server0.conn18.content-process15/contentProcessTarget1, type listWorkers failed
[task 2021-03-25T17:38:08.906Z] 17:38:08     INFO - 
[task 2021-03-25T17:38:08.906Z] 17:38:08     INFO - Request stack:
INFO - request@resource://devtools/shared/protocol/Front.js:285:14
[task 2021-03-25T17:38:08.906Z] 17:38:08     INFO - generateRequestMethods/</frontProto[name]@resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:46:19
[task 2021-03-25T17:38:08.906Z] 17:38:08     INFO - listAllWorkerTargets/listChildWorkers/processWorkers<@resource://devtools/client/fronts/root.js:176:40
[task 2021-03-25T17:38:08.906Z] 17:38:08     INFO - Async*listChildWorkers@resource://devtools/client/fronts/root.js:167:19
[task 2021-03-25T17:38:08.906Z] 17:38:08     INFO - async*listAllWorkerTargets@resource://devtools/client/fronts/root.js:186:7
[task 2021-03-25T17:38:08.906Z] 17:38:08     INFO - listAllWorkers@resource://devtools/client/fronts/root.js:113:35
[task 2021-03-25T17:38:08.906Z] 17:38:08     INFO - getWorker@resource://devtools/client/fronts/root.js:273:51
[task 2021-03-25T17:38:08.906Z] 17:38:08     INFO - forWorker@resource://devtools/shared/commands/commands-factory.js:76:46
[task 2021-03-25T17:38:08.907Z] 17:38:08     INFO - async*testWorker@chrome://mochitests/content/browser/devtools/shared/commands/target/tests/browser_target_list_various_descriptors.js:226:42
[task 2021-03-25T17:38:08.907Z] 17:38:08     INFO - @chrome://mochitests/content/browser/devtools/shared/commands/target/tests/browser_target_list_various_descriptors.js:25:9
[task 2021-03-25T17:38:08.907Z] 17:38:08     INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1089:34
[task 2021-03-25T17:38:08.907Z] 17:38:08     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1129:11
[task 2021-03-25T17:38:08.907Z] 17:38:08     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:949:14
[task 2021-03-25T17:38:08.907Z] 17:38:08     INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1037:23
[task 2021-03-25T17:38:08.907Z] 17:38:08     INFO - 
[task 2021-03-25T17:38:08.907Z] 17:38:08     INFO - Stack trace:
[task 2021-03-25T17:38:08.907Z] 17:38:08     INFO - baseFrontClassDestroy@resource://devtools/shared/protocol/Front.js:99:23
[task 2021-03-25T17:38:08.907Z] 17:38:08     INFO - destroy@resource://devtools/shared/protocol/Front.js:67:10
[task 2021-03-25T17:38:08.907Z] 17:38:08     INFO - _destroyTarget@resource://devtools/client/fronts/targets/target-mixin.js:676:13
[task 2021-03-25T17:38:08.907Z] 17:38:08     INFO - destroy@resource://devtools/client/fronts/targets/target-mixin.js:613:12
[task 2021-03-25T17:38:08.908Z] 17:38:08     INFO - _emit@resource://devtools/shared/event-emitter.js:226:34
[task 2021-03-25T17:38:08.908Z] 17:38:08     INFO - emit@resource://devtools/shared/event-emitter.js:172:18
[task 2021-03-25T17:38:08.908Z] 17:38:08     INFO - emit@resource://devtools/shared/event-emitter.js:324:18
[task 2021-03-25T17:38:08.908Z] 17:38:08     INFO - onPacket@resource://devtools/shared/protocol/Front.js:329:13
[task 2021-03-25T17:38:08.908Z] 17:38:08     INFO - onPacket@resource://devtools/client/devtools-client.js:482:13
[task 2021-03-25T17:38:08.908Z] 17:38:08     INFO - send/<@resource://devtools/shared/transport/local-transport.js:68:25
[task 2021-03-25T17:38:08.908Z] 17:38:08     INFO - exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:103:22
[task 2021-03-25T17:38:08.908Z] 17:38:08     INFO - DevToolsUtils.executeSoon*exports.executeSoon@resource://devtools/shared/DevToolsUtils.js:54:21
[task 2021-03-25T17:38:08.908Z] 17:38:08     INFO - send@resource://devtools/shared/transport/local-transport.js:56:21
[task 2021-03-25T17:38:08.908Z] 17:38:08     INFO - send@resource://devtools/server/devtools-server-connection.js:99:20
[task 2021-03-25T17:38:08.908Z] 17:38:08     INFO - connectToContentProcess/</onMessageManagerClose<@resource://devtools/server/connectors/content-process-connector.js:110:24
[task 2021-03-25T17:38:08.908Z] 17:38:08     INFO - exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:103:22
[task 2021-03-25T17:38:08.909Z] 17:38:08     INFO - Leaving test bound 
[task 2021-03-25T17:38:08.909Z] 17:38:08     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-03-25T17:38:08.909Z] 17:38:08     INFO - TEST-UNEXPECTED-FAIL | devtools/shared/commands/target/tests/browser_target_list_various_descriptors.js | The main process DevToolsServer has no pending connection when the test ends - 
[task 2021-03-25T17:38:08.909Z] 17:38:08     INFO - Stack trace:
[task 2021-03-25T17:38:08.909Z] 17:38:08     INFO - chrome://mochikit/content/browser-test.js:test_ok:1331
 INFO - chrome://mochitests/content/browser/devtools/client/shared/test/shared-head.js:cleanup:319
[task 2021-03-25T17:38:08.910Z] 17:38:08     INFO - GECKO(1639) | console.log: "Request to connect to ProcessDescriptor \"1640\" failed: Error: Connection closed, pending request to server0.conn18.content-process12/console2, type startListeners failed\n\nRequest stack:\nrequest@resource://devtools/shared/protocol/Front.js:285:14\ngenerateRequestMethods/</frontProto[name]@resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:46:19\nstartListeners@resource://devtools/client/fronts/webconsole.js:424:34\nattachConsole@resource://devtools/client/fronts/targets/target-mixin.js:432:26\nasync*attach@resource://devtools/client/fronts/targets/content-process.js:50:19\ngetTarget/this._targetFrontPromise<@resource://devtools/client/fronts/descriptors/process.js:86:27\nasync*getTarget@resource://devtools/client/fronts/descriptors/process.js:101:7\nlistAllWorkerTargets/listChildWorkers/processWorkers<@resource://devtools/client/fronts/root.js:172:54\nlistChildWorkers@resource://devtools/client/fronts/root.js:167:19\nasync*listAllWorkerTargets@resource://devtools/client/fronts/root.js:186:7\nlistAllWorkers@resource://devtools/client/fronts/root.js:113:35\ngetWorker@resource://devtools/client/fronts/root.js:273:51\nforWorker@resource://devtools/shared/commands/commands-factory.js:76:46\nasync*testWorker@chrome://mochitests/content/browser/devtools/shared/commands/target/tests/browser_target_list_various_descriptors.js:226:42\n@chrome://mochitests/content/browser/devtools/shared/commands/target/tests/browser_target_list_various_descriptors.js:25:9\nAsync*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1089:34\nTester_execTest@chrome://mochikit/content/browser-test.js:1129:11\nnextTest/<@chrome://mochikit/content/browser-test.js:949:14\nSimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1037:23\n"
[task 2021-03-25T17:38:08.910Z] 17:38:08     INFO - GECKO(1639) | console.log: "Request to connect to ProcessDescriptor \"1642\" failed: Error: Connection closed, pending request to server0.conn18.content-process13/console2, type startListeners failed\n\nRequest stack:\nrequest@resource://devtools/shared/protocol/Front.js:285:14\ngenerateRequestMethods/</frontProto[name]@resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:46:19\nstartListeners@resource://devtools/client/fronts/webconsole.js:424:34\nattachConsole@resource://devtools/client/fronts/targets/target-mixin.js:432:26\n"
[task 2021-03-25T17:38:08.910Z] 17:38:08     INFO - GECKO(1639) | MEMORY STAT | vsize 7725MB | residentFast 365MB | heapAllocated 131MB
[task 2021-03-25T17:38:08.910Z] 17:38:08     INFO - TEST-OK | devtools/shared/commands/target/tests/browser_target_list_various_descriptors.js | took 1134ms
[task 2021-03-25T17:38:08.911Z] 17:38:08     INFO - checking window state
[task 2021-03-25T17:38:08.911Z] 17:38:08     INFO - TEST-START | devtools/shared/commands/target/tests/browser_target_list_watchTargets.js```
Has Regression Range: --- → yes
Flags: needinfo?(poirot.alex)
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.