RESOLVED CONFIGURATION CHANGED 229875
[ iOS ] imported/w3c/web-platform-tests/content-security-policy/worker-src/service-* tests are consistently failing
https://bugs.webkit.org/show_bug.cgi?id=229875
Summary [ iOS ] imported/w3c/web-platform-tests/content-security-policy/worker-src/se...
ayumi_kojima
Reported 2021-09-03 09:43:21 PDT
imported/w3c/web-platform-tests/content-security-policy/worker-src/service-fallback.https.sub.html imported/w3c/web-platform-tests/content-security-policy/worker-src/service-list.https.sub.html imported/w3c/web-platform-tests/content-security-policy/worker-src/service-none.https.sub.html imported/w3c/web-platform-tests/content-security-policy/worker-src/service-self.https.sub.html Is a flaky failure on iOS-14-Simulator-WK2-Tests-EWS. The flaky failure is not seen in the open source directory: https://results.webkit.org/?suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fcontent-security-policy%2Fworker-src%2Fservice-fallback.https.sub.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fcontent-security-policy%2Fworker-src%2Fservice-list.https.sub.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fcontent-security-policy%2Fworker-src%2Fservice-none.https.sub.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fcontent-security-policy%2Fworker-src%2Fservice-self.https.sub.html It looks like the flaky timeout started at https://ews-build.webkit.org/#/builders/51/builds/17399 Result page: https://ews-build.s3-us-west-2.amazonaws.com/iOS-14-Simulator-WK2-Tests-EWS/r433349-17399-rerun/results.html Diff: --- /Volumes/Data/worker/iOS-14-Simulator-WK2-Tests-EWS/build/layout-test-results/imported/w3c/web-platform-tests/content-security-policy/worker-src/service-fallback.https.sub-expected.txt +++ /Volumes/Data/worker/iOS-14-Simulator-WK2-Tests-EWS/build/layout-test-results/imported/w3c/web-platform-tests/content-security-policy/worker-src/service-fallback.https.sub-actual.txt @@ -1,3 +1,5 @@ -PASS Same-origin service worker allowed by host-source expression. +Harness Error (TIMEOUT), message = null +TIMEOUT Same-origin service worker allowed by host-source expression. Test timed out + stderr: CONSOLE MESSAGE: Unrecognized Content-Security-Policy directive 'worker-src'.
Attachments
Is this still Flaky on EWS? (2.18 KB, patch)
2022-04-13 13:07 PDT, Kate Cheney
ews-feeder: commit-queue-
Radar WebKit Bug Importer
Comment 1 2021-09-03 09:43:51 PDT
ayumi_kojima
Comment 2 2021-09-03 09:48:16 PDT
ayumi_kojima
Comment 3 2021-09-03 16:10:05 PDT
Apparently, the flaky failure has been showing up in the open source. I was not able to reproduce the failure at TOT using: run-webkit-tests --iterations 500 --exit-after-n-failures 1 --force imported/w3c/web-platform-tests/content-security-policy/worker-src/service-fallback.https.sub.html --ios-simulator
Ryan Haddad
Comment 4 2021-11-30 14:35:09 PST
These test are consistently failing now with the following output: --- /Volumes/Data/worker/ios-simulator-15-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/content-security-policy/worker-src/service-list.https.sub-expected.txt +++ /Volumes/Data/worker/ios-simulator-15-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/content-security-policy/worker-src/service-list.https.sub-actual.txt @@ -1,3 +1,5 @@ +CONSOLE MESSAGE: Unrecognized Content-Security-Policy directive 'worker-src'. + PASS Same-origin service worker allowed by host-source expression.
Ryan Haddad
Comment 5 2021-11-30 14:38:13 PST
It looks like that changed around the time that https://trac.webkit.org/changeset/282007/webkit landed
Ryan Haddad
Comment 6 2021-11-30 14:39:09 PST
Maybe these need the "dumpJSConsoleLogInStdErr" treatment?
Ryan Haddad
Comment 7 2021-12-06 16:46:23 PST
I added the above in r286577 to see if they are still flaky.
Ryan Haddad
Comment 8 2021-12-08 09:34:52 PST
(In reply to Ryan Haddad from comment #7) > I added the above in r286577 to see if they are still flaky. Well, that definitely suppressed the `CONSOLE MESSAGE: Unrecognized Content-Security-Policy directive 'worker-src'.` messages and the test is back to being a flaky failure.
Kate Cheney
Comment 9 2022-04-13 13:07:46 PDT
Created attachment 457562 [details] Is this still Flaky on EWS?
Kate Cheney
Comment 10 2022-04-14 07:36:52 PDT
These don't seem to be causing EWS issues anymore, I updated expectations and will keep an eye on the bots for the next couple days: Committed: https://trac.webkit.org/changeset/292866/webkit
Note You need to log in before you can comment on or make changes to this bug.