Closed Bug 1553609 Opened 5 years ago Closed 3 years ago

Intermittent Tier 2 High Occurrence /service-worker/fetch-csp.https.html | Verify CSP control of fetch() in a Service Worker - promise_test: Unhandled rejection with value: object "Error: When the request was redirected via SW, CSP match algorithm should

Categories

(Core :: DOM: Service Workers, defect, P3)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, regression, Whiteboard: [stockwell unknown])

Filed by: btara [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=247726347&repo=mozilla-central
Full log: https://queue.taskcluster.net/v1/task/S6eqbkyJSByzFCGiGEsv_A/runs/0/artifacts/public/logs/live_backing.log


[task 2019-05-22T10:49:30.591Z] 10:49:30 INFO - TEST-START | /service-workers/service-worker/fetch-csp.https.html
[task 2019-05-22T10:49:30.591Z] 10:49:30 INFO - Closing window 92341796865
[task 2019-05-22T10:49:30.619Z] 10:49:30 INFO - PID 11412 | [Child 11490, Main Thread] WARNING: No active window: file /builds/worker/workspace/build/src/js/xpconnect/src/XPCJSContext.cpp, line 662
[task 2019-05-22T10:49:30.698Z] 10:49:30 INFO - PID 11412 | ++DOCSHELL 0x7fef900aa800 == 1 [pid = 13070] [id = {8433d488-fd21-400b-904c-6b338f5a93ec}]
[task 2019-05-22T10:49:30.775Z] 10:49:30 INFO - PID 11412 | ++DOMWINDOW == 1 (0x7fef915d0d40) [pid = 13070] [serial = 1] [outer = (nil)]
[task 2019-05-22T10:49:30.779Z] 10:49:30 INFO - PID 11412 | [Child 13070, Main Thread] WARNING: No active window: file /builds/worker/workspace/build/src/js/xpconnect/src/XPCJSContext.cpp, line 662
[task 2019-05-22T10:49:30.805Z] 10:49:30 INFO - PID 11412 | --DOCSHELL 0x7f3b15e38000 == 2 [pid = 13038] [id = {5760dd84-564e-40ac-a661-52bd4728ebc4}] [url = https://web-platform.test:8443/service-workers/service-worker/resources/fetch-cors-xhr-iframe.html]
[task 2019-05-22T10:49:30.805Z] 10:49:30 INFO - PID 11412 | --DOCSHELL 0x7f3b15e39800 == 1 [pid = 13038] [id = {fa9fee6e-7d9b-4ae8-86e5-ed8b0b6b48dc}] [url = https://web-platform.test:8443/service-workers/service-worker/resources/fetch-access-control-login.html]
[task 2019-05-22T10:49:30.807Z] 10:49:30 INFO - PID 11412 | --DOMWINDOW == 9 (0x7f3b16496800) [pid = 13038] [serial = 2] [outer = (nil)] [url = about:blank]
[task 2019-05-22T10:49:30.807Z] 10:49:30 INFO - PID 11412 | --DOMWINDOW == 8 (0x7f3b15e99400) [pid = 13038] [serial = 3] [outer = (nil)] [url = about:blank]
[task 2019-05-22T10:49:30.807Z] 10:49:30 INFO - PID 11412 | --DOCSHELL 0x7f3b163ab800 == 0 [pid = 13038] [id = {a9b0b120-9608-4292-9027-b611a69fd4a3}] [url = https://web-platform.test:8443/service-workers/service-worker/fetch-cors-xhr.https.html]
[task 2019-05-22T10:49:30.812Z] 10:49:30 INFO - PID 11412 | ++DOMWINDOW == 2 (0x7fef90699800) [pid = 13070] [serial = 2] [outer = 0x7fef915d0d40]
[task 2019-05-22T10:49:30.882Z] 10:49:30 INFO - PID 11412 | --DOMWINDOW == 7 (0x7f3b15ee35c0) [pid = 13038] [serial = 7] [outer = (nil)] [url = https://web-platform.test:8443/service-workers/service-worker/resources/fetch-access-control-login.html]
[task 2019-05-22T10:49:30.883Z] 10:49:30 INFO - PID 11412 | --DOMWINDOW == 6 (0x7f3b165a7020) [pid = 13038] [serial = 5] [outer = (nil)] [url = https://www1.web-platform.test:8443/service-workers/service-worker/resources/fetch-access-control-login.html]
[task 2019-05-22T10:49:30.883Z] 10:49:30 INFO - PID 11412 | --DOMWINDOW == 5 (0x7f3b15ee3b60) [pid = 13038] [serial = 9] [outer = (nil)] [url = https://web-platform.test:8443/service-workers/service-worker/resources/fetch-cors-xhr-iframe.html]
[task 2019-05-22T10:49:30.884Z] 10:49:30 INFO - PID 11412 | --DOMWINDOW == 4 (0x7f3b16331400) [pid = 13038] [serial = 8] [outer = (nil)] [url = https://web-platform.test:8443/service-workers/service-worker/resources/fetch-access-control-login.html]
[task 2019-05-22T10:49:30.887Z] 10:49:30 INFO - PID 11412 | --DOMWINDOW == 3 (0x7f3b15e99000) [pid = 13038] [serial = 10] [outer = (nil)] [url = https://web-platform.test:8443/service-workers/service-worker/resources/fetch-cors-xhr-iframe.html]
[task 2019-05-22T10:49:30.888Z] 10:49:30 INFO - PID 11412 | --DOMWINDOW == 2 (0x7f3b15ea2800) [pid = 13038] [serial = 4] [outer = (nil)] [url = https://web-platform.test:8443/service-workers/service-worker/fetch-cors-xhr.https.html]
[task 2019-05-22T10:49:30.889Z] 10:49:30 INFO - PID 11412 | --DOMWINDOW == 1 (0x7f3b1632fc00) [pid = 13038] [serial = 6] [outer = (nil)] [url = https://www1.web-platform.test:8443/service-workers/service-worker/resources/fetch-access-control-login.html]
[task 2019-05-22T10:49:30.891Z] 10:49:30 INFO - PID 11412 | --DOMWINDOW == 0 (0x7f3b177c7d40) [pid = 13038] [serial = 1] [outer = (nil)] [url = https://web-platform.test:8443/service-workers/service-worker/fetch-cors-xhr.https.html]
[task 2019-05-22T10:49:30.928Z] 10:49:30 INFO - PID 11412 | nsStringStats
[task 2019-05-22T10:49:30.928Z] 10:49:30 INFO - PID 11412 | => mAllocCount: 14747
[task 2019-05-22T10:49:30.928Z] 10:49:30 INFO - PID 11412 | => mReallocCount: 0
[task 2019-05-22T10:49:30.928Z] 10:49:30 INFO - PID 11412 | => mFreeCount: 14747
[task 2019-05-22T10:49:30.928Z] 10:49:30 INFO - PID 11412 | => mShareCount: 25241
[task 2019-05-22T10:49:30.929Z] 10:49:30 INFO - PID 11412 | => mAdoptCount: 818
[task 2019-05-22T10:49:30.929Z] 10:49:30 INFO - PID 11412 | => mAdoptFreeCount: 836
[task 2019-05-22T10:49:30.930Z] 10:49:30 INFO - PID 11412 | => Process ID: 13038, Thread ID: 139892197984064
[task 2019-05-22T10:49:30.938Z] 10:49:30 INFO - PID 11412 | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpw1xB8N.mozrunner/runtests_leaks_837_tab_pid13107.log
[task 2019-05-22T10:49:31.160Z] 10:49:31 INFO - PID 11412 | ++DOMWINDOW == 3 (0x7fef8fc99800) [pid = 13070] [serial = 3] [outer = 0x7fef915d0d40]
[task 2019-05-22T10:49:31.161Z] 10:49:31 INFO - PID 11412 | Couldn't convert chrome URL: chrome://branding/locale/brand.properties
[task 2019-05-22T10:49:31.303Z] 10:49:31 INFO - PID 11412 | ++DOMWINDOW == 4 (0x7fef8fca2c00) [pid = 13070] [serial = 4] [outer = 0x7fef915d0d40]
[task 2019-05-22T10:49:31.452Z] 10:49:31 INFO - PID 11412 | [Parent 11412, Main Thread] WARNING: '!window', file /builds/worker/workspace/build/src/dom/cache/CacheStorage.cpp, line 574
[task 2019-05-22T10:49:31.472Z] 10:49:31 INFO - PID 11412 | [Parent 11412, Main Thread] WARNING: '!window', file /builds/worker/workspace/build/src/dom/cache/CacheStorage.cpp, line 574
[task 2019-05-22T10:49:31.541Z] 10:49:31 INFO - PID 11412 | ++DOCSHELL 0x7fef8fc35800 == 2 [pid = 13070] [id = {756a0ecb-abae-4513-9d1f-b6ec585674a5}]
[task 2019-05-22T10:49:31.541Z] 10:49:31 INFO - PID 11412 | ++DOMWINDOW == 5 (0x7fef8fce8020) [pid = 13070] [serial = 5] [outer = (nil)]
[task 2019-05-22T10:49:31.598Z] 10:49:31 INFO - PID 11412 | ++DOMWINDOW == 6 (0x7fef90669400) [pid = 13070] [serial = 6] [outer = 0x7fef8fce8020]
[task 2019-05-22T10:49:31.707Z] 10:49:31 INFO - PID 11412 | [Child 13070, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x805E0006: file /builds/worker/workspace/build/src/dom/security/nsContentSecurityManager.cpp, line 919
[task 2019-05-22T10:49:31.708Z] 10:49:31 INFO - PID 11412 | [Child 13070, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/workspace/build/src/netwerk/protocol/http/HttpChannelChild.cpp, line 2543
[task 2019-05-22T10:49:31.804Z] 10:49:31 INFO - PID 11412 | ++DOCSHELL 0x7fef8fc36000 == 3 [pid = 13070] [id = {243924d3-f1ce-45d4-8f66-6807791b5796}]
[task 2019-05-22T10:49:31.805Z] 10:49:31 INFO - PID 11412 | ++DOMWINDOW == 7 (0x7fef8fce87a0) [pid = 13070] [serial = 7] [outer = (nil)]
[task 2019-05-22T10:49:31.841Z] 10:49:31 INFO - PID 11412 | ++DOMWINDOW == 8 (0x7fef8fca1c00) [pid = 13070] [serial = 8] [outer = 0x7fef8fce87a0]
[task 2019-05-22T10:49:32.003Z] 10:49:32 INFO - PID 11412 | --DOMWINDOW == 7 (0x7fef8fc99800) [pid = 13070] [serial = 3] [outer = (nil)] [url = about:blank]
[task 2019-05-22T10:49:32.003Z] 10:49:32 INFO - PID 11412 | --DOMWINDOW == 6 (0x7fef90699800) [pid = 13070] [serial = 2] [outer = (nil)] [url = about:blank]
[task 2019-05-22T10:49:32.156Z] 10:49:32 INFO -
[task 2019-05-22T10:49:32.156Z] 10:49:32 INFO - TEST-UNEXPECTED-FAIL | /service-workers/service-worker/fetch-csp.https.html | Verify CSP control of fetch() in a Service Worker - promise_test: Unhandled rejection with value: object "Error: When the request was redirected via SW, CSP match algorithm should ignore the path component of the URL. - undefined"
[task 2019-05-22T10:49:32.157Z] 10:49:32 INFO - @https://web-platform.test:8443/service-workers/service-worker/fetch-csp.https.html:21:1
[task 2019-05-22T10:49:32.157Z] 10:49:32 INFO - TEST-OK | /service-workers/service-worker/fetch-csp.https.html | took 1578ms

So bug 1532580 was a wpt-sync run in https://searchfox.org/mozilla-central/diff/330342ee43b3ac2ef2d34c12376c183fbc3b4af0/testing/web-platform/meta/service-workers/service-worker/fetch-csp.https.html.ini that downgraded our "this is expected to fail everywhere" changes in bug 1518869 (where https://bugzilla.mozilla.org/show_bug.cgi?id=1518869#c5 was the only real analysis) so that we thought we succeeded in some cases and then bug 1501562 further expanded things.

So there's 2 issues:

  • The test should likely be expected to fail everywhere again.
  • We want to make the test pass.

I'm going to file a bug for the latter now that see-also's this bug. I'm going to leave this bug as-is for now because I'm afraid of wpt-sync undoing our work here again if we just blindly disable the bug.

Priority: -- → P3

Bulk closing some old intermittents.

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