Intermittent toolkit/components/antitracking/test/browser/browser_blockingWorkers.js | A promise chain failed to handle a rejection: [Exception... "Abort" nsresult: "0x80004004 (NS_ERROR_ABORT)" location: "<unknown>" data: no] - stack

RESOLVED FIXED in Firefox 64

Status

()

defect
P5
normal
RESOLVED FIXED
9 months ago
9 months ago

People

(Reporter: intermittent-bug-filer, Assigned: ccoroiu)

Tracking

({intermittent-failure, regression})

unspecified
mozilla64
Points:
---

Firefox Tracking Flags

(firefox-esr60 unaffected, firefox62 unaffected, firefox63 unaffected, firefox64 fixed)

Details

(Whiteboard: [domsecurity-intermittent][stockwell disabled])

Attachments

(1 attachment)

Reporter

Description

9 months ago
treeherder
Filed by: ccoroiu [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=199757550&repo=mozilla-inbound

https://queue.taskcluster.net/v1/task/Bla71gsJSRaZQmfJCYwKnw/runs/0/artifacts/public/logs/live_backing.log

19:06:19     INFO - TEST-PASS | toolkit/components/antitracking/test/browser/browser_blockingWorkers.js | Doesn't yet have storage access - true == true - 
19:06:19     INFO - TEST-PASS | toolkit/components/antitracking/test/browser/browser_blockingWorkers.js | ServiceWorker can be used! - true == true - 
19:06:19     INFO - TEST-PASS | toolkit/components/antitracking/test/browser/browser_blockingWorkers.js | Now has storage access - true == true - 
19:06:19     INFO - TEST-PASS | toolkit/components/antitracking/test/browser/browser_blockingWorkers.js | ServiceWorker can be used! - true == true - 
19:06:19     INFO - TEST-PASS | toolkit/components/antitracking/test/browser/browser_blockingWorkers.js | Checking cookie blocking notifications - 
19:06:19     INFO - Removing the tab
19:06:19     INFO - Leaving test bound 
19:06:19     INFO - Entering test bound 
19:06:19     INFO - Cleaning up.
19:06:19     INFO - Buffered messages logged at 19:06:19
19:06:19     INFO - Leaving test bound 
19:06:19     INFO - Entering test bound 
19:06:19     INFO - Starting blocking cookieBehavior (1) and non-blocking contentBlocking without allow list test ServiceWorkers and Storage Access API running in a normal window  with iframe sandbox set to null
19:06:19     INFO - Creating a new tab
19:06:19     INFO - Creating a 3rd party content
19:06:19     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: "http://example.net/browser/toolkit/components/antitracking/test/browser/page.html" line: 0}]
19:06:19     INFO - Sending code to the 3rd party content
19:06:19     INFO - TEST-PASS | toolkit/components/antitracking/test/browser/browser_blockingWorkers.js | Doesn't yet have storage access - true == true - 
19:06:19     INFO - TEST-PASS | toolkit/components/antitracking/test/browser/browser_blockingWorkers.js | ServiceWorker can be used! - true == true - 
19:06:19     INFO - TEST-PASS | toolkit/components/antitracking/test/browser/browser_blockingWorkers.js | Now has storage access - true == true - 
19:06:19     INFO - TEST-PASS | toolkit/components/antitracking/test/browser/browser_blockingWorkers.js | ServiceWorker can be used! - true == true - 
19:06:19     INFO - TEST-PASS | toolkit/components/antitracking/test/browser/browser_blockingWorkers.js | Checking cookie blocking notifications - 
19:06:19     INFO - Removing the tab
19:06:19     INFO - Leaving test bound 
19:06:19     INFO - Entering test bound 
19:06:19     INFO - Cleaning up.
19:06:19     INFO - Console message: [JavaScript Error: "NS_ERROR_ABORT"]
19:06:19     INFO - Buffered messages finished
19:06:19     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/antitracking/test/browser/browser_blockingWorkers.js | A promise chain failed to handle a rejection: [Exception... "Abort"  nsresult: "0x80004004 (NS_ERROR_ABORT)"  location: "<unknown>"  data: no] - stack: (No stack available.)
19:06:19     INFO - Rejection date: Mon Sep 17 2018 19:06:19 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 257
19:06:19     INFO - Stack trace:
19:06:19     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:257
19:06:19     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1127
19:06:19     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1093
19:06:19     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:995
19:06:19     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:795
19:06:19     INFO - Leaving test bound 
19:06:19     INFO - Entering test bound 
19:06:19     INFO - Starting blocking cookieBehavior (4) and non-blocking contentBlocking without allow list test ServiceWorkers and Storage Access API running in a normal window  with iframe sandbox set to null
19:06:20     INFO - Creating a new tab
19:06:20     INFO - GECKO(4860) | ++DOCSHELL 0C854000 == 15 [pid = 5384] [id = {1a5367f0-0f79-444d-90ce-1995d34c8071}]
19:06:20     INFO - GECKO(4860) | ++DOMWINDOW == 49 (00DBF4B0) [pid = 5384] [serial = 617] [outer = 00000000]
19:06:20     INFO - GECKO(4860) | ++DOMWINDOW == 50 (0C854C00) [pid = 5384] [serial = 618] [outer = 00DBF4B0]
19:06:20     INFO - GECKO(4860) | ++DOMWINDOW == 51 (0C857800) [pid = 5384] [serial = 619] [outer = 00DBF4B0]
19:06:20     INFO - Creating a 3rd party content
19:06:20     INFO - GECKO(4860) | ++DOCSHELL 0C856400 == 16 [pid = 5384] [id = {d86a0bc0-ed1c-4f2c-8aaa-f26e627c538c}]
19:06:20     INFO - GECKO(4860) | ++DOMWINDOW == 52 (00DBF840) [pid = 5384] [serial = 620] [outer = 00000000]
19:06:20     INFO - GECKO(4860) | ++DOMWINDOW == 53 (0C859000) [pid = 5384] [serial = 621] [outer = 00DBF840]
19:06:20     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: "http://example.net/browser/toolkit/components/antitracking/test/browser/page.html" line: 0}]
19:06:20     INFO - GECKO(4860) | ++DOMWINDOW == 54 (0C854400) [pid = 5384] [serial = 622] [outer = 00DBF840]
19:06:20     INFO - Sending code to the 3rd party content
Assignee

Comment 1

9 months ago
TV failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=199748659&repo=mozilla-inbound&lineNumber=12433

19:01:59     INFO - TEST-PASS | toolkit/components/antitracking/test/browser/browser_blockingWorkers.js | Checking cookie blocking notifications - 
19:01:59     INFO - Removing the tab
19:01:59     INFO - Leaving test bound 
19:01:59     INFO - Entering test bound 
19:01:59     INFO - Cleaning up.
19:01:59     INFO - Console message: [JavaScript Error: "NS_ERROR_ABORT"]
19:01:59     INFO - Buffered messages finished
19:01:59     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/antitracking/test/browser/browser_blockingWorkers.js | A promise chain failed to handle a rejection: [Exception... "Abort"  nsresult: "0x80004004 (NS_ERROR_ABORT)"  location: "<unknown>"  data: no] - stack: (No stack available.)
19:01:59     INFO - Rejection date: Mon Sep 17 2018 19:01:59 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 257
19:01:59     INFO - Stack trace:
19:01:59     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:257
19:01:59     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1127
19:01:59     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1093
19:01:59     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:995
19:01:59     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:795
19:01:59     INFO - Leaving test bound 
19:01:59     INFO - Entering test bound 
19:01:59     INFO - Starting blocking cookieBehavior (1) and non-blocking contentBlocking with allow list test ServiceWorkers and Storage Access API running in a normal window  with iframe sandbox set to null
19:01:59     INFO - Creating a new tab
19:01:59     INFO - Disabling content blocking for this page
19:01:59     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: "http://example.net/browser/toolkit/components/antitracking/test/browser/page.html" line: 0}]
19:01:59     INFO - Creating a 3rd party content
19:01:59     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: "http://example.net/browser/toolkit/components/antitracking/test/browser/page.html" line: 0}]
19:01:59     INFO - Sending code to the 3rd party content
Whiteboard: [domsecurity-intermittent]
Comment hidden (Intermittent Failures Robot)
Comment hidden (Intermittent Failures Robot)
This seems to be caused by Bug 1469714: https://hg.mozilla.org/integration/mozilla-inbound/rev/4caa329ed0a0a1fdb8aef9d8b4b0950dda63301a

Ehsan, can you please provide some input here?
Flags: needinfo?(ehsan)
Comment hidden (Intermittent Failures Robot)

Comment 6

9 months ago
Added some debugging code, maintaining needinfo to look at this again in a few days...

Comment 7

9 months ago
Pushed by eakhgari@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/0aa4104c26ca
Add some promise rejection handlers in browser_blockingWorkers.js to try to debug the intermittent failure

Updated

9 months ago
Keywords: leave-open
Comment hidden (Intermittent Failures Robot)
Assignee

Comment 10

9 months ago
Assignee: nobody → ccoroiu
Attachment #9011251 - Flags: review?(jmaher)
Assignee

Comment 11

9 months ago
I've created this patch just in case it will be needed.
Comment hidden (Intermittent Failures Robot)
Comment hidden (Intermittent Failures Robot)
Assignee

Updated

9 months ago
Flags: needinfo?(gbrown)
Comment on attachment 9011251 [details] [diff] [review]
Disable browser_blockingWorkers.js on win7 opt and pgo for frequent failures

Review of attachment 9011251 [details] [diff] [review]:
-----------------------------------------------------------------

This looks perfect - thanks.

Since Ehsan seems to be working on this, please try to coordinate with him before proceeding.
Attachment #9011251 - Flags: review?(jmaher) → review+
Flags: needinfo?(gbrown)
Comment hidden (Intermittent Failures Robot)
Ehsan: Hi. Do you plan to work on this these days or better to land the patch to disable this test for now? Thank you!

Comment 17

9 months ago
I'm planning to have a look at it by the end of the week...
Flags: needinfo?(ehsan)

Updated

9 months ago
Flags: needinfo?(ehsan)
Comment hidden (Intermittent Failures Robot)
Comment hidden (Intermittent Failures Robot)

Comment 20

9 months ago
Please go ahead and disable this test.  I got side tracked looking at a whole host of other intermittents this week which I wasn't planning on doing, so didn't get to this one, sorry.

Comment 21

9 months ago
(I mean disable only on win7 opt and pgo, aka land attachment 9011251 [details] [diff] [review])
Flags: needinfo?(ehsan)
Assignee

Comment 22

9 months ago
:Ehsan okay, thank you

Comment 23

9 months ago
Pushed by ccoroiu@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/76c79a3c22f5
Disabled browser_blockingWorkers.js on win7 pgo and opt for frequent failures r=gbrown
Assignee

Updated

9 months ago
Whiteboard: [domsecurity-intermittent][stockwell disable-recommended] → [domsecurity-intermittent][stockwell disabled]
Comment hidden (Intermittent Failures Robot)
can we close this?
Flags: needinfo?(ehsan)

Comment 27

9 months ago
Sure.
Status: NEW → RESOLVED
Closed: 9 months ago
Flags: needinfo?(ehsan)
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Comment hidden (Intermittent Failures Robot)
You need to log in before you can comment on or make changes to this bug.