Closed Bug 1733905 Opened 3 years ago Closed 3 years ago

Intermittent devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | Uncaught exception - at resource://devtools/shared/protocol/Front.js:365 - Error: closed from: server0.conn28.workerDescriptor5

Categories

(DevTools :: General, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

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


[task 2021-10-04T08:46:07.173Z] 08:46:07     INFO - TEST-START | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js
[task 2021-10-04T08:46:08.999Z] 08:46:08     INFO - GECKO(2780) | console.error: "Tried to send a 'target-destroyed-form' event on an already destroyed actor 'watcher'"
[task 2021-10-04T08:46:10.507Z] 08:46:10     INFO - GECKO(2780) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2021-10-04T08:46:12.051Z] 08:46:12     INFO - GECKO(2780) | console.error: "Error while calling actor 'console's method 'startListeners'" "this.targetActor.attach is not a function"
[task 2021-10-04T08:46:12.059Z] 08:46:12     INFO - GECKO(2780) | JavaScript warning: resource://devtools/shared/builtin-modules.js, line 201: debuggee 'resource://devtools/shared/base-loader.js:289' would run
[task 2021-10-04T08:46:12.080Z] 08:46:12     INFO - GECKO(2780) | console.error: (new TypeError("this.targetActor.attach is not a function", "resource://devtools/server/actors/webconsole/listeners/document-events.js", 70))
[task 2021-10-04T08:46:12.082Z] 08:46:12     INFO - GECKO(2780) | console.error: "Failed to start [document-event] legacy listener for target server0.conn27.content-process3/contentProcessTarget1" (new Error("Protocol error (TypeError): this.targetActor.attach is not a function from: server0.conn27.content-process3/console2 (resource://devtools/server/actors/webconsole/listeners/document-events.js:70:24)", "resource://devtools/shared/protocol/Front.js", 365))
[task 2021-10-04T08:46:12.254Z] 08:46:12     INFO - GECKO(2780) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2021-10-04T08:46:12.277Z] 08:46:12     INFO - GECKO(2780) | console.log: "Request to connect to ProcessDescriptor \"1588\" failed: TypeError: can't access property \"includes\", form.actor is undefined"
[task 2021-10-04T08:46:12.793Z] 08:46:12     INFO - TEST-INFO | started process screenshot
[task 2021-10-04T08:46:13.254Z] 08:46:13     INFO - TEST-INFO | screenshot: exit 0
[task 2021-10-04T08:46:13.255Z] 08:46:13     INFO - Buffered messages logged at 08:46:07
[task 2021-10-04T08:46:13.256Z] 08:46:13     INFO - Entering test bound 
[task 2021-10-04T08:46:13.258Z] 08:46:13     INFO - Test TargetCommand against local tab descriptor (via getTab({ tab }))
[task 2021-10-04T08:46:13.259Z] 08:46:13     INFO - Adding a new tab with URL: https://example.org/document-builder.sjs?html=org
[task 2021-10-04T08:46:13.261Z] 08:46:13     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-10-04T08:46:13.261Z] 08:46:13     INFO - Tab added and finished loading
[task 2021-10-04T08:46:13.263Z] 08:46:13     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | Descriptor front isTabDescriptor is correct - 
[task 2021-10-04T08:46:13.264Z] 08:46:13     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | Got a unique target - 
[task 2021-10-04T08:46:13.265Z] 08:46:13     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | The first is the top level one - 
[task 2021-10-04T08:46:13.266Z] 08:46:13     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | the tab target is of frame type - 
[task 2021-10-04T08:46:13.267Z] 08:46:13     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | This is flagged as top level - 
[task 2021-10-04T08:46:13.268Z] 08:46:13     INFO - Buffered messages logged at 08:46:08
[task 2021-10-04T08:46:13.269Z] 08:46:13     INFO - Test TargetCommand against remote tab descriptor (via getTab({ outerWindowID }))
[task 2021-10-04T08:46:13.270Z] 08:46:13     INFO - Adding a new tab with URL: https://example.org/document-builder.sjs?html=org
[task 2021-10-04T08:46:13.272Z] 08:46:13     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-10-04T08:46:13.273Z] 08:46:13     INFO - Tab added and finished loading
[task 2021-10-04T08:46:13.275Z] 08:46:13     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | Descriptor front isTabDescriptor is correct - 
[task 2021-10-04T08:46:13.276Z] 08:46:13     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | Got a unique target - 
[task 2021-10-04T08:46:13.277Z] 08:46:13     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | TargetCommand top target is the same as the first target - 
[task 2021-10-04T08:46:13.278Z] 08:46:13     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | the tab target is of frame type - 
[task 2021-10-04T08:46:13.279Z] 08:46:13     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | This is flagged as top level - 
[task 2021-10-04T08:46:13.280Z] 08:46:13     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | Without fission, the top target stays the same - 
[task 2021-10-04T08:46:13.281Z] 08:46:13     INFO - Buffered messages logged at 08:46:09
[task 2021-10-04T08:46:13.282Z] 08:46:13     INFO - Test TargetCommand against parent process descriptor
[task 2021-10-04T08:46:13.283Z] 08:46:13     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-10-04T08:46:13.285Z] 08:46:13     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | Descriptor front isParentProcessDescriptor is correct - 
[task 2021-10-04T08:46:13.286Z] 08:46:13     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | Descriptor front isProcessDescriptor is correct - 
[task 2021-10-04T08:46:13.287Z] 08:46:13     INFO - Buffered messages logged at 08:46:10
[task 2021-10-04T08:46:13.289Z] 08:46:13     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | We get many targets when debugging the parent process - 
[task 2021-10-04T08:46:13.291Z] 08:46:13     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | The first is the top level one - 
[task 2021-10-04T08:46:13.292Z] 08:46:13     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | the parent process target is of frame type, because it inherits from WindowGlobalTargetActor - 
[task 2021-10-04T08:46:13.294Z] 08:46:13     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | This is flagged as top level - 
[task 2021-10-04T08:46:13.295Z] 08:46:13     INFO - Test TargetCommand against content process descriptor
[task 2021-10-04T08:46:13.295Z] 08:46:13     INFO - Buffered messages logged at 08:46:11
[task 2021-10-04T08:46:13.297Z] 08:46:13     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-10-04T08:46:13.298Z] 08:46:13     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | Descriptor front isProcessDescriptor is correct - 
[task 2021-10-04T08:46:13.299Z] 08:46:13     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | Descriptor front isParentProcessDescriptor is false for content processes - 
[task 2021-10-04T08:46:13.300Z] 08:46:13     INFO - Buffered messages logged at 08:46:12
[task 2021-10-04T08:46:13.301Z] 08:46:13     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | Got a unique target - 
[task 2021-10-04T08:46:13.302Z] 08:46:13     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | The first is the top level one - 
[task 2021-10-04T08:46:13.303Z] 08:46:13     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | the content process target is of process type - 
[task 2021-10-04T08:46:13.304Z] 08:46:13     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | This is flagged as top level - 
[task 2021-10-04T08:46:13.305Z] 08:46:13     INFO - Test TargetCommand against worker descriptor
[task 2021-10-04T08:46:13.307Z] 08:46:13     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | Found the worker Debugger ID - 
[task 2021-10-04T08:46:13.308Z] 08:46:13     INFO - Console message: [JavaScript Warning: "debuggee 'resource://devtools/shared/base-loader.js:289' would run" {file: "resource://devtools/shared/builtin-modules.js" line: 201}]
[task 2021-10-04T08:46:13.309Z] 08:46:13     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | Descriptor front isWorkerDescriptor is correct - 
[task 2021-10-04T08:46:13.310Z] 08:46:13     INFO - Buffered messages finished
[task 2021-10-04T08:46:13.313Z] 08:46:13     INFO - TEST-UNEXPECTED-FAIL | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | Uncaught exception - at resource://devtools/shared/protocol/Front.js:365 - Error: closed from: server0.conn28.workerDescriptor5
[task 2021-10-04T08:46:13.313Z] 08:46:13     INFO - Stack trace:
[task 2021-10-04T08:46:13.313Z] 08:46:13     INFO - onPacket/<@resource://devtools/shared/protocol/Front.js:365:31
[task 2021-10-04T08:46:13.313Z] 08:46:13     INFO - DevTools RDP*request@resource://devtools/shared/protocol/Front.js:292:14
[task 2021-10-04T08:46:13.313Z] 08:46:13     INFO - generateRequestMethods/</frontProto[name]@resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:46:19
[task 2021-10-04T08:46:13.313Z] 08:46:13     INFO - getTarget/this._attach<@resource://devtools/client/fronts/descriptors/worker.js:81:36
[task 2021-10-04T08:46:13.313Z] 08:46:13     INFO - getTarget@resource://devtools/client/fronts/descriptors/worker.js:109:7
[task 2021-10-04T08:46:13.313Z] 08:46:13     INFO - _createFirstTarget@resource://devtools/shared/commands/target/target-command.js:449:51
[task 2021-10-04T08:46:13.313Z] 08:46:13     INFO - startListening@resource://devtools/shared/commands/target/target-command.js:384:18
[task 2021-10-04T08:46:13.313Z] 08:46:13     INFO - testWorker@chrome://mochitests/content/browser/devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js:283:23
[task 2021-10-04T08:46:13.313Z] 08:46:13     INFO - async*@chrome://mochitests/content/browser/devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js:25:9
[task 2021-10-04T08:46:13.313Z] 08:46:13     INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1091:34
[task 2021-10-04T08:46:13.313Z] 08:46:13     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1131:11
[task 2021-10-04T08:46:13.313Z] 08:46:13     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:939:14
[task 2021-10-04T08:46:13.314Z] 08:46:13     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1041:13
[task 2021-10-04T08:46:13.315Z] 08:46:13     INFO - Leaving test bound 
[task 2021-10-04T08:46:13.316Z] 08:46:13     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-10-04T08:46:13.318Z] 08:46:13     INFO - TEST-UNEXPECTED-FAIL | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | The main process DevToolsServer has no pending connection when the test ends - 
[task 2021-10-04T08:46:13.318Z] 08:46:13     INFO - Stack trace:
[task 2021-10-04T08:46:13.318Z] 08:46:13     INFO - chrome://mochikit/content/browser-test.js:test_ok:1336
[task 2021-10-04T08:46:13.318Z] 08:46:13     INFO - chrome://mochitests/content/browser/devtools/client/shared/test/shared-head.js:cleanup:336
[task 2021-10-04T08:46:13.319Z] 08:46:13     INFO - GECKO(2780) | MEMORY STAT | vsize 19406142MB | vsizeMaxContiguous 65567304MB | residentFast 1204MB
[task 2021-10-04T08:46:13.320Z] 08:46:13     INFO - TEST-OK | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | took 5765ms
[task 2021-10-04T08:46:13.320Z] 08:46:13     INFO - checking window state
[task 2021-10-04T08:46:13.321Z] 08:46:13     INFO - TEST-START | devtools/shared/commands/target/tests/browser_target_command_watchTargets.js
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.