Closed Bug 1570912 Opened 5 years ago Closed 4 years ago

Intermittent toolkit/components/antitracking/test/browser/browser_partitionedServiceWorkers.js | We have first-party set on storagePrincipal - "" == "example.net" -

Categories

(Core :: DOM: Security, defect, P5)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1588241

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, regression, Whiteboard: [domsecurity-intermittent][test isolation])

Filed by: nerli [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=259545560&repo=autoland
Full log: https://queue.taskcluster.net/v1/task/BsogR4MKSK6_Z_rUwGxqoA/runs/0/artifacts/public/logs/live_backing.log


[task 2019-08-02T08:43:04.218Z] 08:43:04 INFO - TEST-PASS | toolkit/components/antitracking/test/browser/browser_partitionedServiceWorkers.js | We want to have the 3rd party window controlled. - true == true -
[task 2019-08-02T08:43:04.219Z] 08:43:04 INFO - Removing the tab
[task 2019-08-02T08:43:04.219Z] 08:43:04 INFO - Leaving test bound
[task 2019-08-02T08:43:04.219Z] 08:43:04 INFO - Entering test bound
[task 2019-08-02T08:43:04.219Z] 08:43:04 INFO - Cleaning up.
[task 2019-08-02T08:43:04.219Z] 08:43:04 INFO - Leaving test bound
[task 2019-08-02T08:43:04.219Z] 08:43:04 INFO - Entering test bound
[task 2019-08-02T08:43:04.220Z] 08:43:04 INFO - Starting test `ServiceWorkers - MatchAll' with storage principal...
[task 2019-08-02T08:43:04.220Z] 08:43:04 INFO - Creating a new tab
[task 2019-08-02T08:43:04.220Z] 08:43:04 INFO - Buffered messages logged at 08:43:04
[task 2019-08-02T08:43:04.220Z] 08:43:04 INFO - Creating a 3rd party content
[task 2019-08-02T08:43:04.220Z] 08:43:04 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}]
[task 2019-08-02T08:43:04.220Z] 08:43:04 INFO - TEST-PASS | toolkit/components/antitracking/test/browser/browser_partitionedServiceWorkers.js | We don't have first-party set on nodePrincipal - "" == "" -
[task 2019-08-02T08:43:04.220Z] 08:43:04 INFO - Buffered messages finished
[task 2019-08-02T08:43:04.221Z] 08:43:04 INFO - TEST-UNEXPECTED-FAIL | toolkit/components/antitracking/test/browser/browser_partitionedServiceWorkers.js | We have first-party set on storagePrincipal - "" == "example.net" -
[task 2019-08-02T08:43:04.221Z] 08:43:04 INFO - Stack trace:
[task 2019-08-02T08:43:04.221Z] 08:43:04 INFO - resource://testing-common/content-task.js line 62 > eval:ifr.onload:13
[task 2019-08-02T08:43:04.221Z] 08:43:04 INFO - Sending code to the 3rd party content
[task 2019-08-02T08:43:04.221Z] 08:43:04 INFO - Console message: [JavaScript Warning: "Request to access cookie or storage on “http://tracking.example.org/browser/toolkit/components/antitracking/test/browser/3rdPartyStorage.html” was blocked because it came from a tracker and content blocking is enabled." {file: "http://example.net/browser/toolkit/components/antitracking/test/browser/page.html" line: 27 column: 19 source: "http://tracking.example.org/browser/toolkit/components/antitracking/test/browser/3rdPartyStorage.html"}]
[task 2019-08-02T08:43:04.221Z] 08:43:04 INFO - TEST-PASS | toolkit/components/antitracking/test/browser/browser_partitionedServiceWorkers.js | Doesn't yet have storage access - true == true -
[task 2019-08-02T08:43:04.221Z] 08:43:04 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://tracking.example.org/browser/toolkit/components/antitracking/test/browser/3rdPartyStorageWO.html" line: 0}]
[task 2019-08-02T08:43:04.251Z] 08:43:04 INFO - Console message: [JavaScript Warning: "Request to access cookie or storage on “http://tracking.example.org/browser/toolkit/components/antitracking/test/browser/3rdPartyStorage.html” was blocked because it came from a tracker and content blocking is enabled." {file: "http://example.net/browser/toolkit/components/antitracking/test/browser/page.html" line: 0}]
[task 2019-08-02T08:43:04.256Z] 08:43:04 INFO - TEST-PASS | toolkit/components/antitracking/test/browser/browser_partitionedServiceWorkers.js | We want to have the 3rd party window controlled. - true == true -
[task 2019-08-02T08:43:04.275Z] 08:43:04 INFO - TEST-PASS | toolkit/components/antitracking/test/browser/browser_partitionedServiceWorkers.js | requestStorageAccess should not throw - true == true -
[task 2019-08-02T08:43:04.275Z] 08:43:04 INFO - TEST-PASS | toolkit/components/antitracking/test/browser/browser_partitionedServiceWorkers.js | Should not have worked without user interaction - true == true -
[task 2019-08-02T08:43:04.280Z] 08:43:04 INFO - TEST-PASS | toolkit/components/antitracking/test/browser/browser_partitionedServiceWorkers.js | Doesn't yet have storage access - true == true -
[task 2019-08-02T08:43:04.280Z] 08:43:04 INFO - Let's interact with the tracker

Whiteboard: [domsecurity-intermittent]
Whiteboard: [domsecurity-intermittent] → [domsecurity-intermittent][test isolation]
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
See Also: → 1590608

In the last 7 days there have been 55 occurrences, most on Windows (Win 10 64 and Win 7 32), some on OS X 10.14 and some on Linux 64.
This happens on build types debug and opt.

Recent failure: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=274063906&repo=autoland&lineNumber=69022

[task 2019-11-01T11:59:59.421Z] 11:59:59 INFO - Entering test bound
[task 2019-11-01T11:59:59.422Z] 11:59:59 INFO - Starting test ServiceWorkers - MatchAll' with dynamic FPI running in a normal window... [task 2019-11-01T11:59:59.422Z] 11:59:59 INFO - Creating a new tab [task 2019-11-01T11:59:59.422Z] 11:59:59 INFO - Buffered messages logged at 11:59:55 [task 2019-11-01T11:59:59.422Z] 11:59:59 INFO - Creating a 3rd party content [task 2019-11-01T11:59:59.423Z] 11:59: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}] [task 2019-11-01T11:59:59.423Z] 11:59:59 INFO - TEST-PASS | toolkit/components/antitracking/test/browser/browser_partitionedServiceWorkers.js | We don't have first-party set on nodePrincipal - "" == "" - [task 2019-11-01T11:59:59.423Z] 11:59:59 INFO - TEST-PASS | toolkit/components/antitracking/test/browser/browser_partitionedServiceWorkers.js | We have first-party set on storagePrincipal - "example.net" == "example.net" - [task 2019-11-01T11:59:59.423Z] 11:59:59 INFO - Sending code to the 3rd party content [task 2019-11-01T11:59:59.423Z] 11:59:59 INFO - Console message: [JavaScript Warning: "Request to access cookie or storage on “http://not-tracking.example.com/browser/toolkit/components/antitracking/test/browser/3rdPartyStorage.html” was blocked because it came from a tracker and content blocking is enabled." {file: "http://example.net/browser/toolkit/components/antitracking/test/browser/page.html" line: 27 column: 19 source: "http://not-tracking.example.com/browser/toolkit/components/antitracking/test/browser/3rdPartyStorage.html"}] [task 2019-11-01T11:59:59.423Z] 11:59:59 INFO - TEST-PASS | toolkit/components/antitracking/test/browser/browser_partitionedServiceWorkers.js | Doesn't yet have storage access - true == true - [task 2019-11-01T11:59:59.424Z] 11:59: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://not-tracking.example.com/browser/toolkit/components/antitracking/test/browser/3rdPartyStorageWO.html" line: 0}] [task 2019-11-01T11:59:59.424Z] 11:59:59 INFO - TEST-PASS | toolkit/components/antitracking/test/browser/browser_partitionedServiceWorkers.js | We want to have the 3rd party window controlled. - true == true - [task 2019-11-01T11:59:59.424Z] 11:59:59 INFO - TEST-PASS | toolkit/components/antitracking/test/browser/browser_partitionedServiceWorkers.js | requestStorageAccess should not throw - true == true - [task 2019-11-01T11:59:59.424Z] 11:59:59 INFO - TEST-PASS | toolkit/components/antitracking/test/browser/browser_partitionedServiceWorkers.js | Should not have worked without user interaction - true == true - [task 2019-11-01T11:59:59.424Z] 11:59:59 INFO - TEST-PASS | toolkit/components/antitracking/test/browser/browser_partitionedServiceWorkers.js | Doesn't yet have storage access - true == true - [task 2019-11-01T11:59:59.424Z] 11:59:59 INFO - Let's interact with the tracker [task 2019-11-01T11:59:59.425Z] 11:59:59 INFO - Console message: [JavaScript Warning: "Request to access cookie or storage on “http://not-tracking.example.com/browser/toolkit/components/antitracking/test/browser/3rdPartyStorage.html” was blocked because it came from a tracker and content blocking is enabled." {file: "http://example.net/browser/toolkit/components/antitracking/test/browser/page.html" line: 35 column: 21 source: "https://example.com/browser/toolkit/components/antitracking/test/browser/storageAccessAPIHelpers.js"}] [task 2019-11-01T11:59:59.425Z] 11:59:59 INFO - Console message: [JavaScript Warning: "Request to access cookie or storage on “http://not-tracking.example.com/browser/toolkit/components/antitracking/test/browser/3rdPartyStorage.html” was blocked because it came from a tracker and content blocking is enabled." {file: "http://example.net/browser/toolkit/components/antitracking/test/browser/page.html" line: 179 column: 11 source: "https://example.com/browser/toolkit/components/antitracking/test/browser/storageAccessAPIHelpers.js"}] [task 2019-11-01T11:59:59.425Z] 11:59:59 INFO - Buffered messages logged at 11:59:56 [task 2019-11-01T11:59:59.425Z] 11:59: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://not-tracking.example.com/browser/toolkit/components/antitracking/test/browser/3rdPartyOpenUI.html?messageme" line: 0}] [task 2019-11-01T11:59:59.425Z] 11:59:59 INFO - Console message: [JavaScript Warning: "Storage access granted for tracker “http://not-tracking.example.com” on “http://not-tracking.example.com”." {file: "http://not-tracking.example.com/browser/toolkit/components/antitracking/test/browser/3rdPartyStorage.html" line: 0}] [task 2019-11-01T11:59:59.426Z] 11:59:59 INFO - TEST-PASS | toolkit/components/antitracking/test/browser/browser_partitionedServiceWorkers.js | Should have storage access now - true == true - [task 2019-11-01T11:59:59.426Z] 11:59:59 INFO - TEST-PASS | toolkit/components/antitracking/test/browser/browser_partitionedServiceWorkers.js | We want to have the 3rd party window controlled. - true == true - [task 2019-11-01T11:59:59.426Z] 11:59:59 INFO - Removing the tab [task 2019-11-01T11:59:59.426Z] 11:59:59 INFO - Leaving test bound [task 2019-11-01T11:59:59.426Z] 11:59:59 INFO - Entering test bound [task 2019-11-01T11:59:59.426Z] 11:59:59 INFO - Cleaning up. [task 2019-11-01T11:59:59.426Z] 11:59:59 INFO - Buffered messages logged at 11:59:58 [task 2019-11-01T11:59:59.426Z] 11:59:59 INFO - Leaving test bound [task 2019-11-01T11:59:59.427Z] 11:59:59 INFO - Entering test bound [task 2019-11-01T11:59:59.427Z] 11:59:59 INFO - Starting testServiceWorkers - MatchAll' with storage principal running in a normal window...
[task 2019-11-01T11:59:59.427Z] 11:59:59 INFO - Creating a new tab
[task 2019-11-01T11:59:59.427Z] 11:59:59 INFO - Buffered messages logged at 11:59:59
[task 2019-11-01T11:59:59.427Z] 11:59:59 INFO - Creating a 3rd party content
[task 2019-11-01T11:59:59.427Z] 11:59: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}]
[task 2019-11-01T11:59:59.427Z] 11:59:59 INFO - TEST-PASS | toolkit/components/antitracking/test/browser/browser_partitionedServiceWorkers.js | We don't have first-party set on nodePrincipal - "" == "" -
[task 2019-11-01T11:59:59.427Z] 11:59:59 INFO - Buffered messages finished
[task 2019-11-01T11:59:59.428Z] 11:59:59 INFO - TEST-UNEXPECTED-FAIL | toolkit/components/antitracking/test/browser/browser_partitionedServiceWorkers.js | We have first-party set on storagePrincipal - "" == "example.net" -
[task 2019-11-01T11:59:59.428Z] 11:59:59 INFO - Stack trace:
[task 2019-11-01T11:59:59.428Z] 11:59:59 INFO - resource://testing-common/content-task.js line 110 > eval:ifr.onload:13
[task 2019-11-01T11:59:59.428Z] 11:59:59 INFO - Sending code to the 3rd party content
[task 2019-11-01T11:59:59.428Z] 11:59:59 INFO - GECKO(9544) | ++DOCSHELL 000002E31D774000 == 8 [pid = 11028] [id = {8dd0bfb5-17b8-4bbc-aea3-4de1b0f7f612}]
[task 2019-11-01T11:59:59.428Z] 11:59:59 INFO - GECKO(9544) | ++DOMWINDOW == 35 (000002E319E0BA60) [pid = 11028] [serial = 262] [outer = 0000000000000000]
[task 2019-11-01T11:59:59.428Z] 11:59:59 INFO - GECKO(9544) | ++DOMWINDOW == 36 (000002E31D7F1000) [pid = 11028] [serial = 263] [outer = 000002E319E0BA60]
[task 2019-11-01T11:59:59.428Z] 11:59:59 INFO - GECKO(9544) | ++DOMWINDOW == 37 (000002E31EFD3000) [pid = 11028] [serial = 264] [outer = 000002E319E0BA60]
[task 2019-11-01T11:59:59.452Z] 11:59:59 INFO - Console message: [JavaScript Warning: "Request to access cookie or storage on “http://tracking.example.org/browser/toolkit/components/antitracking/test/browser/3rdPartyStorage.html” was blocked because it came from a tracker and content blocking is enabled." {file: "http://example.net/browser/toolkit/components/antitracking/test/browser/page.html" line: 27 column: 19 source: "http://tracking.example.org/browser/toolkit/components/antitracking/test/browser/3rdPartyStorage.html"}]
[task 2019-11-01T11:59:59.556Z] 11:59:59 INFO - TEST-PASS | toolkit/components/antitracking/test/browser/browser_partitionedServiceWorkers.js | Doesn't yet have storage access - true == true -
[task 2019-11-01T11:59:59.558Z] 11:59: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://tracking.example.org/browser/toolkit/components/antitracking/test/browser/3rdPartyStorageWO.html" line: 0}]
[task 2019-11-01T11:59:59.597Z] 11:59:59 INFO - GECKO(9544) | [Parent 848, Main Thread] WARNING: '!window', file z:/build/build/src/dom/cache/CacheStorage.cpp, line 574
[task 2019-11-01T11:59:59.635Z] 11:59:59 INFO - GECKO(9544) | [Child 1904, Main Thread] WARNING: '!window', file z:/build/build/src/dom/cache/CacheStorage.cpp, line 574
[task 2019-11-01T11:59:59.674Z] 11:59:59 INFO - GECKO(9544) | [Child 1904, DOM Worker] WARNING: '!rv', file z:/build/build/src/dom/serviceworkers/ServiceWorkerOp.cpp, line 277
[task 2019-11-01T11:59:59.674Z] 11:59:59 INFO - GECKO(9544) | [Child 1904, DOM Worker] WARNING: '!rv', file z:/build/build/src/dom/serviceworkers/ServiceWorkerOp.cpp, line 277
[task 2019-11-01T11:59:59.679Z] 11:59:59 INFO - GECKO(9544) | [Child 1904, DOM Worker] WARNING: '!rv', file z:/build/build/src/dom/serviceworkers/ServiceWorkerOp.cpp, line 277
[task 2019-11-01T11:59:59.680Z] 11:59:59 INFO - GECKO(9544) | --DOCSHELL 000002E31D765000 == 7 [pid = 11028] [id = {4b0bda36-7829-4a0b-92e6-59053470dc68}] [url = http://not-tracking.example.com/browser/toolkit/components/antitracking/test/browser/3rdPartyStorage.html]
[task 2019-11-01T11:59:59.680Z] 11:59:59 INFO - GECKO(9544) | --DOMWINDOW == 36 (000002E31A52E800) [pid = 11028] [serial = 242] [outer = 0000000000000000] [url = about:blank]
[task 2019-11-01T11:59:59.681Z] 11:59:59 INFO - GECKO(9544) | --DOMWINDOW == 35 (000002E31A51F800) [pid = 11028] [serial = 222] [outer = 0000000000000000] [url = http://example.net/browser/toolkit/components/antitracking/test/browser/page.html]
[task 2019-11-01T11:59:59.681Z] 11:59:59 INFO - GECKO(9544) | --DOMWINDOW == 34 (000002E31A521400) [pid = 11028] [serial = 245] [outer = 0000000000000000] [url = about:blank]
[task 2019-11-01T11:59:59.682Z] 11:59:59 INFO - GECKO(9544) | --DOMWINDOW == 33 (000002E31C833000) [pid = 11028] [serial = 231] [outer = 0000000000000000] [url = about:blank]
[task 2019-11-01T11:59:59.682Z] 11:59:59 INFO - GECKO(9544) | --DOMWINDOW == 32 (000002E31CD90400) [pid = 11028] [serial = 236] [outer = 0000000000000000] [url = about:blank]
[task 2019-11-01T11:59:59.682Z] 11:59:59 INFO - GECKO(9544) | --DOMWINDOW == 31 (000002E31CD94800) [pid = 11028] [serial = 239] [outer = 0000000000000000] [url = about:blank]
[task 2019-11-01T11:59:59.682Z] 11:59:59 INFO - GECKO(9544) | --DOMWINDOW == 30 (000002E31A52A000) [pid = 11028] [serial = 228] [outer = 0000000000000000] [url = about:blank]
[task 2019-11-01T11:59:59.701Z] 11:59:59 INFO - TEST-PASS | toolkit/components/antitracking/test/browser/browser_partitionedServiceWorkers.js | We want to have the 3rd party window controlled. - true == true -

There is a patch waiting for review on bug 1558420, that might fix this too.

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