Closed Bug 1785547 Opened 2 years ago Closed 2 years ago

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

Categories

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

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: jmaher, Assigned: tschuster)

References

(Blocks 1 open bug)

Details

(Keywords: intermittent-failure, intermittent-testcase, Whiteboard: [domsecurity-intermittent][stockwell unknown], [wptsync upstream])

Attachments

(2 files)

No description provided.

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

Whiteboard: [domsecurity-intermittent]

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

  • linux1804-64-qr
  • macosx1015-64-qr
  • windows10-32-2004-shippable-qr
  • windows10-64-2004-qr
  • windows10-64-2004-shippable-qr
[task 2022-12-18T13:33:27.619Z] 13:33:27     INFO - TEST-PASS | /content-security-policy/gen/top.meta/script-src-self/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-18T13:33:27.619Z] 13:33:27     INFO - TEST-UNEXPECTED-FAIL | /content-security-policy/gen/top.meta/script-src-self/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-18T13:33:27.619Z] 13:33:27     INFO - runTest/<@https://web-platform.test:8443/content-security-policy/generic/test-case.sub.js:78:24
[task 2022-12-18T13:33:27.628Z] 13:33:27     INFO - ..........
[task 2022-12-18T13:33:27.628Z] 13:33:27     INFO - TEST-OK | /content-security-policy/gen/top.meta/script-src-self/worklet-audio-import-data.https.html | took 550ms
Flags: needinfo?(fbraun)
Whiteboard: [domsecurity-intermittent] → [domsecurity-intermittent][stockwell needswork:owner]
Summary: Intermittent /content-security-policy/gen/top.meta/script-src-self/worklet-audio-import-data.https.html | single tracking bug → High frequency /content-security-policy/gen/top.meta/script-src-self/worklet-audio-import-data.https.html | single tracking bug
Assignee: nobody → csabou
Status: NEW → ASSIGNED

Tom, is this the same as bug 1785526? Do we want to increase the timeout instead?

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

The failing subtest Content Security Policy: Expects blocked for worklet-audio-import-data to cross-https origin and keep-origin redirection from https context.: securitypolicyviolation was disabled. Please remember to enable the test again when making a patch to fix the issue.

Keywords: leave-open
Whiteboard: [domsecurity-intermittent][stockwell disable-recommended] → [domsecurity-intermittent][stockwell disabled]
Pushed by imoraru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3b192ac8455c Set worklet-audio-import-data.https.html subtest as intermittent. r=freddyb,aryx
Assignee: csabou → nobody
Status: ASSIGNED → NEW
Whiteboard: [domsecurity-intermittent][stockwell disabled] → [domsecurity-intermittent][stockwell needswork:owner]
Summary: High frequency /content-security-policy/gen/top.meta/script-src-self/worklet-audio-import-data.https.html | single tracking bug → Intermittent /content-security-policy/gen/top.meta/script-src-self/worklet-audio-import-data.https.html | single tracking bug
Whiteboard: [domsecurity-intermittent][stockwell disable-recommended] → [domsecurity-intermittent]

This is another duplicate of the problem described in bug 1785526 comment 17. I suspect all tests that expect no securitypolicyviolation and that are using https://searchfox.org/mozilla-central/source/testing/web-platform/tests/content-security-policy/generic/test-case.sub.js will run into this.

I am not sure what the best solution would be. Do we just fuzz with the expected timeout after checking for Firefox?

Flags: needinfo?(tschuster) → needinfo?(fbraun)
See Also: → 1785526
Whiteboard: [domsecurity-intermittent][stockwell disable-recommended] → [domsecurity-intermittent][stockwell needswork:owner]

I don't know what other components usually do, but I would like us to have more consistent test coverage and less expected failures.
Maybe a manual timeout bump makes sense? Could we do per-folder? How annoying would this be for other browsers?

Flags: needinfo?(fbraun)
Assignee: nobody → tschuster
Blocks: 1808911
Pushed by tschuster@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/04fa080d617b Use a bigger timeout when waiting for securitypolicyviolation event from Worklet. r=freddyb
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/37851 for changes under testing/web-platform/tests
Whiteboard: [domsecurity-intermittent][stockwell unknown] → [domsecurity-intermittent][stockwell unknown], [wptsync upstream]
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Keywords: leave-open
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: