Bug 231328

Summary: [ iOS macOS wk2 ] http/tests/preload/onload_event.html is flaky failing
Product: WebKit Reporter: ayumi_kojima
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ben_schwartz, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=274591

Description ayumi_kojima 2021-10-06 13:26:17 PDT
http/tests/preload/onload_event.html

Is flaky failing on iOS and macOS wk2.

History: https://results.webkit.org/?suite=layout-tests&test=http%2Ftests%2Fpreload%2Fonload_event.html

The test has been flaky failing on iOS 14, but it appears that the test started being flaky on macOS wk2 relatively recently at around r283106.

Result page: https://build.webkit.org/results/Apple-iOS-15-Simulator-Debug-WK2-Tests/r283612%20(72)/results.html

Diff:

--- /Volumes/Data/worker/ios-simulator-15-debug-tests-wk2/build/layout-test-results/http/tests/preload/onload_event-expected.txt
+++ /Volumes/Data/worker/ios-simulator-15-debug-tests-wk2/build/layout-test-results/http/tests/preload/onload_event-actual.txt
@@ -2,6 +2,9 @@
 CONSOLE MESSAGE: <link rel=preload> must have a valid `as` value
 CONSOLE MESSAGE: <link rel=preload> must have a valid `as` value
 CONSOLE MESSAGE: <link rel=preload> must have a valid `as` value
+CONSOLE MESSAGE: The resource http://127.0.0.1:8000/resources/test.ogv was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it wasn't preloaded for nothing.
+CONSOLE MESSAGE: The resource http://127.0.0.1:8000/security/resources/captions.vtt was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it wasn't preloaded for nothing.
+CONSOLE MESSAGE: The resource http://127.0.0.1:8000/resources/dummy.xml?fetch was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it wasn't preloaded for nothing.
 PASS successfullyParsed is true
 
 TEST COMPLETE
Comment 1 Radar WebKit Bug Importer 2021-10-06 13:26:35 PDT
<rdar://problem/83949027>
Comment 2 ayumi_kojima 2021-10-06 13:42:20 PDT
Marked test expectations: https://trac.webkit.org/changeset/283654/webkit
Comment 3 Ben Schwartz 2024-05-23 08:54:38 PDT
https://webkit.org/b/231328
Now tracking in rdar://80340581.
Comment 4 Ben Schwartz 2024-05-23 11:34:39 PDT
<rdar://problem/80340581>