RESOLVED FIXED 231030
[ iOS Debug ] imported/w3c/web-platform-tests/html/dom/idlharness.worker.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=231030
Summary [ iOS Debug ] imported/w3c/web-platform-tests/html/dom/idlharness.worker.html...
ayumi_kojima
Reported 2021-09-30 10:41:38 PDT
imported/w3c/web-platform-tests/html/dom/idlharness.worker.html Is flaky failing on iOS Debug & macOS Debug. History: https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fdom%2Fidlharness.worker.html Result page: https://build.webkit.org/results/Apple-BigSur-Debug-WK2-Tests/r283308%20(4012)/results.html Diff: Attached. Catalina wk1 Debug has been failing for a while (Bug 206503)
Attachments
Diff (29.39 KB, text/plain)
2021-09-30 10:42 PDT, ayumi_kojima
no flags
ayumi_kojima
Comment 1 2021-09-30 10:42:39 PDT
Radar WebKit Bug Importer
Comment 2 2021-09-30 10:43:03 PDT
ayumi_kojima
Comment 3 2021-09-30 13:30:44 PDT
I was not able to reproduce the failure locally on BigSur AS using run-webki-tests --debug imported/w3c/web-platform-tests/html/dom/idlharness.worker.html --iterations 50 --no-timeout --exit-after-n-failures 1 -f. The test timed out instead. With --no-timeout flag, it hanged.
ayumi_kojima
Comment 4 2021-10-21 13:27:47 PDT
ayumi_kojima
Comment 5 2021-10-22 15:33:46 PDT
It looks like the diff is different now than before on both iOS and macOS: --- /Volumes/Data/worker/ios-simulator-15-debug-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/html/dom/idlharness.worker-expected.txt +++ /Volumes/Data/worker/ios-simulator-15-debug-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/html/dom/idlharness.worker-actual.txt @@ -1,4 +1,5 @@ Blocked access to external URL http://invalid/ +CONSOLE MESSAGE: WebSocket connection to 'ws://invalid/' failed: A server with the specified hostname could not be found. PASS idl_test setup PASS idl_test validation Result page: https://build.webkit.org/results/Apple-iOS-15-Simulator-Debug-WK2-Tests/r284693%20(265)/results.html I was able to reproduce the same diff as this one locally on iOS 15 sim using run-webkit-tests --force --iterations 50 --exit-after-n-failures 1 imported/w3c/web-platform-tests/html/dom/idlharness.worker.html --ios-simulator --debug
ayumi_kojima
Comment 6 2021-10-22 16:52:20 PDT
It looks like the pass/fail expectations were overwriting "DumpJSConsoleLogInStdErr". Updated the expectations https://trac.webkit.org/changeset/284727/webkit
ayumi_kojima
Comment 7 2021-10-26 15:01:24 PDT
It seems the test passes on macOS now. Removed the expectation https://trac.webkit.org/changeset/284903/webkit
ayumi_kojima
Comment 8 2021-10-26 15:01:45 PDT
I was not able to reproduce the failure using run-webkit-tests --force --ios-simulator --debug --iterations 500 --exit-after-n-failures 1 imported/w3c/web-platform-tests/html/dom/idlharness.worker.html
ayumi_kojima
Comment 9 2021-10-27 11:25:16 PDT
The test started as flaky/pre-existing failure on macOS-Catalina-Debug-WK1-Tests-EWS. Marked test expectations again for mac-wk1 debug: https://trac.webkit.org/changeset/284931/webkit
Chris Dumez
Comment 10 2022-01-05 15:24:02 PST
It is a flaky timeout, the test is just slow to run. We should probably just mark it as slow or skip it in Debug.
Chris Dumez
Comment 11 2022-01-05 15:35:59 PST
Note You need to log in before you can comment on or make changes to this bug.