Intermittent <something> | uncaught exception - ReferenceError: ok is not defined at mockTransferCallback@chrome://mochitests/content/browser/browser/base/content/test/general/
Categories
(Firefox :: General, defect)
Tracking
()
People
(Reporter: intermittent-bug-filer, Assigned: florian)
References
Details
(Keywords: intermittent-failure, Whiteboard: [stockwell needswork:owner])
Attachments
(1 file)
Filed by: ncsoregi [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=319899046&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/EBanYa07QZyUICTBmCQqpw/runs/0/artifacts/public/logs/live_backing.log
[task 2020-10-27T17:57:15.034Z] 17:57:15 INFO - TEST-START | browser/base/content/test/general/browser_search_discovery.js
[task 2020-10-27T17:57:15.115Z] 17:57:15 INFO - TEST-INFO | started process screencapture
[task 2020-10-27T17:57:15.201Z] 17:57:15 INFO - TEST-INFO | screencapture: exit 0
[task 2020-10-27T17:57:15.201Z] 17:57:15 INFO - Buffered messages logged at 17:57:15
[task 2020-10-27T17:57:15.201Z] 17:57:15 INFO - Entering test bound
[task 2020-10-27T17:57:15.202Z] 17:57:15 INFO - Test search discovery
[task 2020-10-27T17:57:15.202Z] 17:57:15 INFO - Buffered messages finished
[task 2020-10-27T17:57:15.202Z] 17:57:15 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_search_discovery.js | uncaught exception - ReferenceError: ok is not defined at mockTransferCallback@chrome://mochitests/content/browser/browser/base/content/test/general/browser_save_video_frame.js:39:7
[task 2020-10-27T17:57:15.202Z] 17:57:15 INFO - MTFC_onStateChange@chrome://mochitests/content/browser/toolkit/content/tests/browser/common/mockTransfer.js:46:27
[task 2020-10-27T17:57:15.202Z] 17:57:15 INFO - DownloadListener/makeClosure/<@chrome://global/content/contentAreaUtils.js:133:22
[task 2020-10-27T17:57:15.202Z] 17:57:15 INFO -
[task 2020-10-27T17:57:15.202Z] 17:57:15 INFO - Stack trace:
[task 2020-10-27T17:57:15.203Z] 17:57:15 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:2089
[task 2020-10-27T17:57:15.203Z] 17:57:15 INFO - chrome://global/content/contentAreaUtils.js:DownloadListener/makeClosure/<:133
[task 2020-10-27T17:57:15.203Z] 17:57:15 INFO - GECKO(1313) | JavaScript error: chrome://mochitests/content/browser/browser/base/content/test/general/browser_save_video_frame.js, line 39: ReferenceError: ok is not defined
[task 2020-10-27T17:57:15.203Z] 17:57:15 INFO - Not taking screenshot here: see the one that was previously logged```
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Updated•4 years ago
|
Updated•4 years ago
|
Comment hidden (Intermittent Failures Robot) |
Updated•4 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 19•4 years ago
|
||
Update:
There have been 32 failures within the last 7 days on OS X 10.14 WebRender opt.
Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=328264517&repo=autoland&lineNumber=2131
[task 2021-01-30T00:19:55.340Z] 00:19:55 INFO - TEST-OK | browser/base/content/test/general/browser_save_video_frame.js | took 978ms
[task 2021-01-30T00:19:55.361Z] 00:19:55 INFO - checking window state
[task 2021-01-30T00:19:55.385Z] 00:19:55 ERROR - GECKO(2330) | TEST-UNEXPECTED-FAIL | unknown test url | uncaught exception - ReferenceError: ok is not defined at mockTransferCallback@chrome://mochitests/content/browser/browser/base/content/test/general/browser_save_video_frame.js:39:7
[task 2021-01-30T00:19:55.385Z] 00:19:55 INFO - GECKO(2330) | MTFC_onStateChange@chrome://mochitests/content/browser/toolkit/content/tests/browser/common/mockTransfer.js:46:27
[task 2021-01-30T00:19:55.385Z] 00:19:55 INFO - GECKO(2330) | DownloadListener/makeClosure/<@chrome://global/content/contentAreaUtils.js:152:22
[task 2021-01-30T00:19:55.385Z] 00:19:55 INFO - GECKO(2330) | JavaScript error: chrome://mochitests/content/browser/browser/base/content/test/general/browser_save_video_frame.js, line 39: ReferenceError: ok is not defined
[task 2021-01-30T00:19:55.386Z] 00:19:55 ERROR - GECKO(2330) | TEST-UNEXPECTED-FAIL | unknown test url | uncaught exception - NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "ok is not defined" {file: "chrome://mochitests/content/browser/browser/base/content/test/general/browser_save_video_frame.js" line: 39}]'[JavaScript Error: "ok is not defined" {file: "chrome://mochitests/content/browser/browser/base/content/test/general/browser_save_video_frame.js" line: 39}]' when calling method: [nsITransfer::onStateChange] at DownloadListener/makeClosure/<@chrome://global/content/contentAreaUtils.js:152:22
[task 2021-01-30T00:19:55.386Z] 00:19:55 INFO - GECKO(2330) | JavaScript error: chrome://global/content/contentAreaUtils.js, line 152: NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "ok is not defined" {file: "chrome://mochitests/content/browser/browser/base/content/test/general/browser_save_video_frame.js" line: 39}]'[JavaScript Error: "ok is not defined" {file: "chrome://mochitests/content/browser/browser/base/content/test/general/browser_save_video_frame.js" line: 39}]' when calling method: [nsITransfer::onStateChange]
[task 2021-01-30T00:19:55.386Z] 00:19:55 INFO - TEST-START | browser/base/content/test/general/browser_search_discovery.js
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 23•4 years ago
|
||
There are 32 total failures in the last 7 days on
- macosx1014-64-qr opt
Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=329917021&repo=autoland&lineNumber=2108
[task 2021-02-14T07:09:02.059Z] 07:09:02 INFO - TEST-START | browser/base/content/test/general/browser_save_video_frame.js
[task 2021-02-14T07:09:02.091Z] 07:09:02 INFO - GECKO(5492) | JavaScript error: chrome://browser/content/places/browserPlacesViews.js, line 131: Error: No DOM node set for aPlacesNode.
[task 2021-02-14T07:09:02.092Z] 07:09:02 INFO - GECKO(5492) | node.type: 0. node.parent: [xpconnect wrapped nsINavHistoryResultNode]
[task 2021-02-14T07:09:02.192Z] 07:09:02 INFO - GECKO(5492) | _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
[task 2021-02-14T07:09:02.440Z] 07:09:02 INFO - GECKO(5492) | MEMORY STAT | vsize 8325MB | residentFast 671MB | heapAllocated 207MB
[task 2021-02-14T07:09:02.440Z] 07:09:02 INFO - TEST-OK | browser/base/content/test/general/browser_save_video_frame.js | took 385ms
[task 2021-02-14T07:09:02.440Z] 07:09:02 INFO - checking window state
[task 2021-02-14T07:09:02.442Z] 07:09:02 ERROR - GECKO(5492) | TEST-UNEXPECTED-FAIL | unknown test url | uncaught exception - ReferenceError: ok is not defined at mockTransferCallback@chrome://mochitests/content/browser/browser/base/content/test/general/browser_save_video_frame.js:39:7
[task 2021-02-14T07:09:02.442Z] 07:09:02 INFO - GECKO(5492) | MTFC_onStateChange@chrome://mochitests/content/browser/toolkit/content/tests/browser/common/mockTransfer.js:46:27
[task 2021-02-14T07:09:02.442Z] 07:09:02 INFO - GECKO(5492) | DownloadListener/makeClosure/<@chrome://global/content/contentAreaUtils.js:152:22
[task 2021-02-14T07:09:02.442Z] 07:09:02 INFO - GECKO(5492) | JavaScript error: chrome://mochitests/content/browser/browser/base/content/test/general/browser_save_video_frame.js, line 39: ReferenceError: ok is not defined
[task 2021-02-14T07:09:02.444Z] 07:09:02 ERROR - GECKO(5492) | TEST-UNEXPECTED-FAIL | unknown test url | uncaught exception - NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "ok is not defined" {file: "chrome://mochitests/content/browser/browser/base/content/test/general/browser_save_video_frame.js" line: 39}]'[JavaScript Error: "ok is not defined" {file: "chrome://mochitests/content/browser/browser/base/content/test/general/browser_save_video_frame.js" line: 39}]' when calling method: [nsITransfer::onStateChange] at DownloadListener/makeClosure/<@chrome://global/content/contentAreaUtils.js:152:22
[task 2021-02-14T07:09:02.444Z] 07:09:02 INFO - GECKO(5492) | JavaScript error: chrome://global/content/contentAreaUtils.js, line 152: NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "ok is not defined" {file: "chrome://mochitests/content/browser/browser/base/content/test/general/browser_save_video_frame.js" line: 39}]'[JavaScript Error: "ok is not defined" {file: "chrome://mochitests/content/browser/browser/base/content/test/general/browser_save_video_frame.js" line: 39}]' when calling method: [nsITransfer::onStateChange]
Aryx do you know who can take a look at this until ahal is back?
Comment hidden (Intermittent Failures Robot) |
Comment 25•4 years ago
|
||
This test framework issue only affects macOS opt. Joel, any idea why?
Updated•4 years ago
|
Comment 26•4 years ago
|
||
I looked around at a a few errors and a few files of the test and support files, there is nothing OS specific that I see. Likewise the manifest doesn't seem to indicate tests that only run on a specific OS.
A few thoughts:
- the OS integration code for clicking and switching focus is glitchy on OSX vs other platforms and these tests expose that
- maybe there is a skipped test on OSX which on other platforms sets the browser up for success
- can we reproduce this on try? If we can, can we disable a test or two and see the problem go away or does it move elsewhere?
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 29•4 years ago
|
||
Update:
There have been 31 failures in the last 7 days: https://treeherder.mozilla.org/intermittent-failures/bugdetails?startday=2021-02-22&endday=2021-03-01&tree=trunk&bug=1673742
Recent failure log: https://treeherder.mozilla.org/intermittent-failures/bugdetails?startday=2021-02-22&endday=2021-03-01&tree=trunk&bug=1673742
Andrew, could you assign someone to look into this?
Updated•4 years ago
|
Comment 30•4 years ago
|
||
Looks like the issue is confined to browser/base/content/test/general/browser_search_discovery.js, though I can't make sense of the log. Kris, I found your name in annotate for that test, do you have any ideas on what's happening in this log?
https://treeherder.mozilla.org/logviewer?job_id=331436921&repo=autoland&lineNumber=2639
Or could you help us redirect to someone else? Thanks!
Comment hidden (Intermittent Failures Robot) |
Comment 32•4 years ago
|
||
I haven't done anything significant with browser_search_discovery.js
. My name is only in the log because it was hit by a scripted rewrite that I landed.
That said, the issue is with the browser_save_video_frame.js
test which runs before browser_search_discovery.js
in the same session. The test completes before some async transfer code completes, and tries to call a callback after the test has completed, at which point the test harness functions have been cleared.
Comment 33•4 years ago
|
||
Excellent, thanks for investigating Kris.
<game show host>Mike Conley come on down!</game show host>
Found your name in annotate for browser_save_video_frame.js
. Given :kmag's comment would you be able to help fix or help find someone to fix this intermittent? Thanks in advance!
Assignee | ||
Comment 34•4 years ago
|
||
Updated•4 years ago
|
Assignee | ||
Comment 35•4 years ago
|
||
I investigated this as I thought that failure was due to the patches in my try run.
Comment 36•4 years ago
|
||
Comment 37•4 years ago
|
||
Awesome, thanks Florian!
Comment 38•4 years ago
|
||
bugherder |
Comment 39•4 years ago
|
||
bugherder uplift |
Comment hidden (Intermittent Failures Robot) |
Description
•