Closed Bug 1518869 Opened 8 months ago Closed 6 months ago

Perma tier 2 Linux x64 debug /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

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

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

References

Details

(Keywords: intermittent-failure, Whiteboard: [Update fetch-csp WPT ini to fail with sw-e10s pref, too][stockwell unknown])

Attachments

(1 file)

Filed by: shindli [at] mozilla.com

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

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

[task 2019-01-09T17:59:27.669Z] 17:59:27 INFO - PID 20709 | --DOMWINDOW == 5 (0x7feaa7aad800) [pid = 20804] [serial = 353] [outer = (nil)] [url = https://web-platform.test:8443/service-workers/service-worker/fetch-csp.https.html]
[task 2019-01-09T17:59:27.669Z] 17:59:27 INFO - PID 20709 | --DOMWINDOW == 4 (0x7feaadf04800) [pid = 20804] [serial = 1] [outer = (nil)] [url = https://web-platform.test:8443/testharness_runner.html]
[task 2019-01-09T17:59:27.670Z] 17:59:27 INFO - PID 20709 | [Child 20804, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 457
[task 2019-01-09T17:59:27.670Z] 17:59:27 INFO - PID 20709 | [Child 20804, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 457
[task 2019-01-09T17:59:27.671Z] 17:59:27 INFO - PID 20709 | [Child 20804, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 457
[task 2019-01-09T17:59:27.671Z] 17:59:27 INFO - PID 20709 | [Child 20804, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 457
[task 2019-01-09T17:59:27.672Z] 17:59:27 INFO - PID 20709 | [Child 20804, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 457
[task 2019-01-09T17:59:27.672Z] 17:59:27 INFO - PID 20709 | [Child 20804, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 457
[task 2019-01-09T17:59:27.673Z] 17:59:27 INFO - PID 20709 | [Child 20804, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 457
[task 2019-01-09T17:59:27.673Z] 17:59:27 INFO - PID 20709 | [Child 20804, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 457
[task 2019-01-09T17:59:27.673Z] 17:59:27 INFO - PID 20709 | [Child 20804, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 457
[task 2019-01-09T17:59:27.674Z] 17:59:27 INFO - PID 20709 | --DOMWINDOW == 3 (0x7feaaa084400) [pid = 20804] [serial = 355] [outer = (nil)] [url = about:blank]
[task 2019-01-09T17:59:27.674Z] 17:59:27 INFO - PID 20709 | --DOMWINDOW == 2 (0x7feaaa081800) [pid = 20804] [serial = 357] [outer = (nil)] [url = https://web-platform.test:8443/service-workers/service-worker/resources/fetch-csp-iframe.html?img-src%20https%3A%2F%2Fweb-platform.test%3A8443%3B%20script-src%20%27unsafe-inline%27]
[task 2019-01-09T17:59:27.675Z] 17:59:27 INFO - PID 20709 | --DOMWINDOW == 1 (0x7feaa7aa9000) [pid = 20804] [serial = 359] [outer = (nil)] [url = https://web-platform.test:8443/service-workers/service-worker/resources/fetch-csp-iframe.html?img-src%20https%3A%2F%2Fweb-platform.test%3A8443%2Fservice-workers%2Fservice-worker%2Fresources%2Fredirect.py%3B%20script-src%20%27unsafe-inline%27]
[task 2019-01-09T17:59:27.676Z] 17:59:27 INFO - PID 20709 | --DOMWINDOW == 0 (0x7feaaa67d800) [pid = 20804] [serial = 306] [outer = (nil)] [url = https://web-platform.test:8443/service-workers/service-worker/resources/empty.html]
[task 2019-01-09T17:59:27.680Z] 17:59:27 INFO - PID 20709 | nsStringStats
[task 2019-01-09T17:59:27.681Z] 17:59:27 INFO - PID 20709 | => mAllocCount: 126933
[task 2019-01-09T17:59:27.681Z] 17:59:27 INFO - PID 20709 | => mReallocCount: 0
[task 2019-01-09T17:59:27.682Z] 17:59:27 INFO - PID 20709 | => mFreeCount: 126933
[task 2019-01-09T17:59:27.683Z] 17:59:27 INFO - PID 20709 | => mShareCount: 179687
[task 2019-01-09T17:59:27.683Z] 17:59:27 INFO - PID 20709 | => mAdoptCount: 6563
[task 2019-01-09T17:59:27.685Z] 17:59:27 INFO - PID 20709 | => mAdoptFreeCount: 7259

Flags: needinfo?(ckerschb)
Summary: Intermittent /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 → Perma Linux x64 debug /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
Summary: Perma Linux x64 debug /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 → Perma tier 2 Linux x64 debug /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

I am trying to look at this problem, but it will have to wait since I have so much stuff on my plate. Gijs, if by any chance you can take a look at this one sooner than me, please do. Otherwise I'll try to take a look early next week - keeping ni? until then.

Flags: needinfo?(ckerschb) → needinfo?(gijskruitbosch+bugs)

Actually keeping ni for Christoph. :-)

Flags: needinfo?(gijskruitbosch+bugs) → needinfo?(ckerschb)
Flags: needinfo?(gijskruitbosch+bugs)

The timing here coincides nicely with bug 1515863.

:asuth, this is currently expected to fail everywhere except when this magic pref is enabled ( https://searchfox.org/mozilla-central/source/testing/web-platform/meta/service-workers/service-worker/fetch-csp.https.html.ini ). Should we just update the test expectation to also expect it to fail with the pref on?

It seems to me that the reason this didn't fail before is likely that we didn't pass around csp between processes as much as we do now (ie it actually makes it across from parent to child and vice versa in all cases), and with the sw-e10s pref flipped that meant the CSP was getting lost somewhere, making the test pass. Now that the CSP is not getting lost, the test fails. (though I admit I haven't looked at the test in detail - that just seems like the most plausible explanation at the moment.

Flags: needinfo?(gijskruitbosch+bugs) → needinfo?(bugmail)
Blocks: 1515863

The priority flag is not set for this bug and there is no activity for 2 weeks.
:overholt, could you have a look please?

Flags: needinfo?(overholt)

Andrew told me Gijs' comment 5 is likely correct so he's going to disable the test for now.

Flags: needinfo?(overholt)
Flags: needinfo?(ckerschb)

The priority flag is not set for this bug and there is no activity for 2 weeks.
:overholt, could you have a look please?

Flags: needinfo?(overholt)
Flags: needinfo?(overholt)
Priority: -- → P2
Whiteboard: [stockwell needswork:owner] → [Update fetch-csp WPT ini to fail with sw-e10s pref, too][stockwell needswork:owner]
Flags: needinfo?(bugmail)
Assignee: nobody → echuang

Update the expected result of web-platform test /service-workers/service-worker/fetch-csp.https.html to FAIL

Pushed by shes050117@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/78c216fb82c3
Update the expected result of web-platform test /service-workers/service-worker/fetch-csp.https.html r=asuth
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
See Also: → 1553609
You need to log in before you can comment on or make changes to this bug.