Closed Bug 1785526 Opened 2 years ago Closed 2 years ago

Intermittent /content-security-policy/gen/top.meta/script-src-wildcard/worklet-audio-import-data.https.html | single tracking bug

Categories

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

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: jmaher, Assigned: CosminS)

References

(Blocks 1 open bug)

Details

(Keywords: intermittent-failure, intermittent-testcase, Whiteboard: [domsecurity-intermittent])

Attachments

(1 file)

No description provided.

Additional information about this bug failures and frequency patterns can be found by running: ./mach test-info failure-report --bug 1785526

Whiteboard: [domsecurity-intermittent]

Update:

There have been 33 failures within the last 7 days:

  • 1 failure on Android 7.0 x86-64 WebRender debug
  • 4 failures on Linux 18.04 x64 WebRender debug
  • 5 failures on OS X 10.15 WebRender debug
  • 1 failure on Windows 10 x86 2004 WebRender opt
  • 1 failure on Windows 10 x64 2004 CCov WebRender opt
  • 21 failures on Windows 10 x64 2004 WebRender opt/debug

Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=399944358&repo=autoland&lineNumber=3085

[task 2022-12-16T23:12:38.169Z] 23:12:38     INFO - TEST-PASS | /content-security-policy/gen/top.meta/script-src-wildcard/worklet-audio-import-data.https.html | Content Security Policy: Expects blocked for worklet-audio-import-data to cross-https origin and keep-origin redirection from https context. 
[task 2022-12-16T23:12:38.169Z] 23:12:38     INFO - TEST-UNEXPECTED-FAIL | /content-security-policy/gen/top.meta/script-src-wildcard/worklet-audio-import-data.https.html | Content Security Policy: Expects blocked for worklet-audio-import-data to cross-https origin and keep-origin redirection from https context.: securitypolicyviolation - assert_equals: One violation event should be fired expected 1 but got 0
[task 2022-12-16T23:12:38.180Z] 23:12:38     INFO - runTest/<@https://web-platform.test:8443/content-security-policy/generic/test-case.sub.js:78:24
[task 2022-12-16T23:12:38.188Z] 23:12:38     INFO - ..........
[task 2022-12-16T23:12:38.188Z] 23:12:38     INFO - TEST-OK | /content-security-policy/gen/top.meta/script-src-wildcard/worklet-audio-import-data.https.html | took 374ms

Frederik, can you help us assign this to someone?
Thank you.

Flags: needinfo?(fbraun)
Whiteboard: [domsecurity-intermittent] → [stockwell needswork:owner][domsecurity-intermittent]

Tom, Can you take a look? I think this might be related to recent worker/worklet changes, but we also have a couple of CSP changes, so it'd be best to identify the root cause here.

Flags: needinfo?(fbraun) → needinfo?(tschuster)

I can only reproduce this with a debug build and after fixing the ./mach wpt --verify mode locally (bug 1806367).

I think this is a timing issue or something similar to it. The test expects that a securitypolicyviolation event is fired after a setTimeout(0). https://searchfox.org/mozilla-central/source/testing/web-platform/tests/content-security-policy/generic/test-case.sub.js#54 But it seems like at least in Firefox we can violate that assumption. Increasing the timeout makes the test pass reliably for me.

Flags: needinfo?(tschuster)
Flags: needinfo?(tschuster)

There have been 61 total failures in the last 7 days, recent failure log.
Affected platforms are:

  • android-em-7-0-x86_64-qr
  • linux1804-64-qr
  • macosx1015-64-qr
  • windows10-32-2004-qr
  • windows10-64-2004-ccov-qr
  • windows10-64-2004-qr
  • windows10-64-2004-shippable-qr
Assignee: nobody → csabou
Status: NEW → ASSIGNED
See Also: → 1785547
Assignee: csabou → nobody
Status: ASSIGNED → NEW
Keywords: leave-open
Pushed by archaeopteryx@coole-files.de: https://hg.mozilla.org/integration/autoland/rev/eb964fdf1d81 Set worklet-audio-import-data.https.html subtest as intermittent. r=aryx
Whiteboard: [domsecurity-intermittent][stockwell disable-recommended] → [domsecurity-intermittent]
Blocks: 1808911

Hopefully this was fixed by bug 1785547 as well.

Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(tschuster)
Resolution: --- → FIXED
Assignee: nobody → csabou
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: