Closed Bug 1630218 Opened 5 years ago Closed 5 years ago

Intermittent remote/test/browser/runtime/browser_executionContext.js | Received Runtime context events in expected order - ["Runtime.executionContextDestroyed","Runtime.executionContextsCleared"] deepEqual ["Runtime.executionContextDestroyed","Runtime

Categories

(Remote Protocol :: Agent, defect, P5)

x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

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


[task 2020-04-15T10:00:08.382Z] 10:00:08 INFO - Navigate via window.location and Runtime.evaluate
[task 2020-04-15T10:00:08.382Z] 10:00:08 INFO - Buffered messages logged at 10:00:07
[task 2020-04-15T10:00:08.385Z] 10:00:08 INFO - Received Runtime.executionContextDestroyed for id 3
[task 2020-04-15T10:00:08.387Z] 10:00:08 INFO - Received Runtime.executionContextsCleared
[task 2020-04-15T10:00:08.389Z] 10:00:08 INFO - Buffered messages finished
[task 2020-04-15T10:00:08.390Z] 10:00:08 INFO - TEST-UNEXPECTED-FAIL | remote/test/browser/runtime/browser_executionContext.js | Received Runtime context events in expected order - ["Runtime.executionContextDestroyed","Runtime.executionContextsCleared"] deepEqual ["Runtime.executionContextDestroyed","Runtime.executionContextsCleared","Runtime.executionContextCreated"] - JS frame :: chrome://mochitests/content/browser/remote/test/browser/runtime/browser_executionContext.js :: assertEventOrder :: line 265
[task 2020-04-15T10:00:08.390Z] 10:00:08 INFO - Stack trace:
[task 2020-04-15T10:00:08.391Z] 10:00:08 INFO - chrome://mochitests/content/browser/remote/test/browser/runtime/browser_executionContext.js:assertEventOrder:265
[task 2020-04-15T10:00:08.391Z] 10:00:08 INFO - chrome://mochitests/content/browser/remote/test/browser/runtime/browser_executionContext.js:testNavigateViaLocation:174
[task 2020-04-15T10:00:08.391Z] 10:00:08 INFO - chrome://mochitests/content/browser/remote/test/browser/runtime/browser_executionContext.js:null:20
[task 2020-04-15T10:00:08.391Z] 10:00:08 INFO - chrome://mochitests/content/browser/remote/test/browser/head.js:fn:67
[task 2020-04-15T10:00:08.391Z] 10:00:08 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1039
[task 2020-04-15T10:00:08.391Z] 10:00:08 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1074
[task 2020-04-15T10:00:08.391Z] 10:00:08 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:904
[task 2020-04-15T10:00:08.391Z] 10:00:08 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:918
[task 2020-04-15T10:00:08.392Z] 10:00:08 INFO - TEST-PASS | remote/test/browser/runtime/browser_executionContext.js | The destroyed event reports the previous context id -
[task 2020-04-15T10:00:13.220Z] 10:00:13 INFO - CDP client closed
[task 2020-04-15T10:00:13.238Z] 10:00:13 INFO - GECKO(4681) | 1586944813228 RemoteAgent TRACE <-(connection {6973fdd7-fe38-4fc1-9b7d-cfe07c0cb063}) {"method":"Target.targetDestroyed","params":{"targetId":138}}
[task 2020-04-15T10:00:13.238Z] 10:00:13 INFO - GECKO(4681) | 1586944813229 RemoteAgent TRACE <-(connection {6973fdd7-fe38-4fc1-9b7d-cfe07c0cb063}) {"method":"Target.targetDestroyed","params":{"targetId":"51e20837-67a6-4fef-8aa4-1a12de94734f"}}
[task 2020-04-15T10:00:13.238Z] 10:00:13 INFO - GECKO(4681) | 1586944813230 RemoteAgent TRACE <-(connection {6973fdd7-fe38-4fc1-9b7d-cfe07c0cb063}) {"method":"Target.targetDestroyed","params":{"targetId":140}}
[task 2020-04-15T10:00:13.256Z] 10:00:13 INFO - CDP server stopped
[task 2020-04-15T10:00:13.314Z] 10:00:13 INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-04-15T10:00:13.314Z] 10:00:13 INFO - TEST-UNEXPECTED-FAIL | remote/test/browser/runtime/browser_executionContext.js | Uncaught exception - at chrome://mochitests/content/browser/remote/test/browser/runtime/browser_executionContext.js:273 - TypeError: can't access property "id", context is undefined
[task 2020-04-15T10:00:13.314Z] 10:00:13 INFO - Stack trace:
[task 2020-04-15T10:00:13.314Z] 10:00:13 INFO - checkDefaultContext@chrome://mochitests/content/browser/remote/test/browser/runtime/browser_executionContext.js:273:7
[task 2020-04-15T10:00:13.314Z] 10:00:13 INFO - testNavigateViaLocation@chrome://mochitests/content/browser/remote/test/browser/runtime/browser_executionContext.js:183:22
[task 2020-04-15T10:00:13.314Z] 10:00:13 INFO - async*@chrome://mochitests/content/browser/remote/test/browser/runtime/browser_executionContext.js:20:26
[task 2020-04-15T10:00:13.314Z] 10:00:13 INFO - asyncfn@chrome://mochitests/content/browser/remote/test/browser/head.js:67:13
[task 2020-04-15T10:00:13.314Z] 10:00:13 INFO - Async
Tester_execTest/<@chrome://mochikit/content/browser-test.js:1039:34
[task 2020-04-15T10:00:13.314Z] 10:00:13 INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1074:11
[task 2020-04-15T10:00:13.314Z] 10:00:13 INFO - nextTest/<@chrome://mochikit/content/browser-test.js:904:14
[task 2020-04-15T10:00:13.314Z] 10:00:13 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:918:23
[task 2020-04-15T10:00:13.314Z] 10:00:13 INFO - Leaving test bound
[task 2020-04-15T10:00:13.314Z] 10:00:13 INFO - Entering test bound testRuntimeNotEnabled

There is a Runtime.executionContextCreated event missing:

[task 2020-04-15T10:00:08.390Z] 10:00:08 INFO - TEST-UNEXPECTED-FAIL | remote/test/browser/runtime/browser_executionContext.js | Received Runtime context events in expected order - ["Runtime.executionContextDestroyed","Runtime.executionContextsCleared"] deepEqual ["Runtime.executionContextDestroyed","Runtime.executionContextsCleared","Runtime.executionContextCreated"] - JS frame :: chrome://mochitests/content/browser/remote/test/browser/runtime/browser_executionContext.js :: assertEventOrder :: line 265

Failure on Ubuntu 18.04 only. Might be fixed with the patch on bug 1638196.

Depends on: 1638196
OS: Unspecified → Linux
Hardware: Unspecified → x86_64

Actually it didn't fail in the last month.

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