Closed Bug 1628382 Opened 6 years ago Closed 6 years ago

Intermittent remote/test/browser/io/browser_read.js | Uncaught exception - [object ProgressEvent]

Categories

(Remote Protocol :: Agent, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1609162

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

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


[task 2020-04-08T14:51:37.489Z] 14:51:37 INFO - TEST-PASS | remote/test/browser/io/browser_read.js | All data has been read for offset -1 -
[task 2020-04-08T14:51:37.490Z] 14:51:37 INFO - TEST-PASS | remote/test/browser/io/browser_read.js | Found expected data for offset -1 -
[task 2020-04-08T14:51:37.490Z] 14:51:37 INFO - CDP client closed
[task 2020-04-08T14:51:37.491Z] 14:51:37 INFO - CDP server stopped
[task 2020-04-08T14:51:37.493Z] 14:51:37 INFO - Leaving test bound seekByOffsets
[task 2020-04-08T14:51:37.493Z] 14:51:37 INFO - Entering test bound remembersOffsetAfterRead
[task 2020-04-08T14:51:37.493Z] 14:51:37 INFO - CDP server started
[task 2020-04-08T14:51:37.493Z] 14:51:37 INFO - Buffered messages logged at 14:51:37
[task 2020-04-08T14:51:37.494Z] 14:51:37 INFO - CDP server stopped
[task 2020-04-08T14:51:37.494Z] 14:51:37 INFO - Buffered messages finished
[task 2020-04-08T14:51:37.494Z] 14:51:37 INFO - TEST-UNEXPECTED-FAIL | remote/test/browser/io/browser_read.js | Uncaught exception - [object ProgressEvent]
[task 2020-04-08T14:51:37.495Z] 14:51:37 INFO - Leaving test bound remembersOffsetAfterRead

After the first test when the tab gets closed and a new one opened the following error appears:

[task 2020-04-08T14:51:36.700Z] 14:51:36     INFO - GECKO(3216) | !!! could not start server on port 9222: [Exception... "Component returned failure code: 0x804b0036 (NS_ERROR_SOCKET_ADDRESS_IN_USE) [nsIServerSocket.init]"  nsresult: "0x804b0036 (NS_ERROR_SOCKET_ADDRESS_IN_USE)"  location: "JS frame :: chrome://remote/content/server/HTTPD.jsm :: _start :: line 567"  data: no]
[task 2020-04-08T14:51:36.708Z] 14:51:36     INFO - GECKO(3216) | 1586357496702	RemoteAgent	ERROR	unable to stop listener: [Exception... "Unexpected error"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: chrome://remote/content/server/HTTPD.jsm :: stop :: line 621"  data: no] Stack trace: stop()@HTTPD.jsm:621
[task 2020-04-08T14:51:36.710Z] 14:51:36     INFO - GECKO(3216) | close()@RemoteAgent.jsm:119
[task 2020-04-08T14:51:36.710Z] 14:51:36     INFO - GECKO(3216) | asyncListen()@RemoteAgent.jsm:100
[task 2020-04-08T14:51:36.711Z] 14:51:36     INFO - GECKO(3216) | 1586357496703	RemoteAgent	ERROR	Unable to start remote agent: : [Exception... "Component is not available"  nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location: "JS frame :: chrome://remote/content/server/HTTPD.jsm :: _start :: line 612"  data: no] Stack trace: _start()@HTTPD.jsm:612
[task 2020-04-08T14:51:36.712Z] 14:51:36     INFO - GECKO(3216) | asyncListen()@RemoteAgent.jsm:93

It means that the former websocket connection to the already closed tab is still active or hasn't been completely shutdown. I assume there is some kind of race.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.