Bug 230987

Summary: Regression(r270046 - r270051): [ iOS ] fast/events/ios/viewport-shrink-to-fit-allows-double-tap.html is flaky timing out
Product: WebKit Reporter: ayumi_kojima
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: webkit-bot-watchers-bugzilla, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: iPhone / iPad   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=230968
https://bugs.webkit.org/show_bug.cgi?id=232568

Description ayumi_kojima 2021-09-29 14:44:50 PDT
fast/events/ios/viewport-shrink-to-fit-allows-double-tap.html

Is constantly timing out on iPad Release and flaky timing out on iOS (Both iPhone and iPad) Debug.

History: https://results.webkit.org/?suite=layout-tests&test=fast%2Fevents%2Fios%2Fviewport-shrink-to-fit-allows-double-tap.html

Diff(iPhone):

--- /Volumes/Data/worker/ios-simulator-14-debug-tests-wk2/build/layout-test-results/fast/events/ios/viewport-shrink-to-fit-allows-double-tap-expected.txt
+++ /Volumes/Data/worker/ios-simulator-14-debug-tests-wk2/build/layout-test-results/fast/events/ios/viewport-shrink-to-fit-allows-double-tap-actual.txt
@@ -1,4 +1,5 @@
-The viewport zoomed to scale: 1.6
+FAIL: Timed out waiting for notifyDone to be called
+
 This test ensures that a page with width=device-width but content that causes a shrink-to-fit will not block double-tap-to-zoom. It runs automatically in WebKit tests. If you're viewing this manually, double tap on this text and the page should zoom in.
 
 This is an element that will cause shrinkage.


Diff(iPad):

--- /Volumes/Data/worker/ipados-simulator-14-release-tests-wk2/build/layout-test-results/fast/events/ios/viewport-shrink-to-fit-allows-double-tap-expected.txt
+++ /Volumes/Data/worker/ipados-simulator-14-release-tests-wk2/build/layout-test-results/fast/events/ios/viewport-shrink-to-fit-allows-double-tap-actual.txt
@@ -1,4 +1,5 @@
-The viewport zoomed to scale: 1.6
+FAIL: Timed out waiting for notifyDone to be called
+
 This test ensures that a page with width=device-width but content that causes a shrink-to-fit will not block double-tap-to-zoom. It runs automatically in WebKit tests. If you're viewing this manually, double tap on this text and the page should zoom in.
 
 This is an element that will cause shrinkage.
Comment 1 Radar WebKit Bug Importer 2021-09-29 14:45:23 PDT
<rdar://problem/83689502>
Comment 2 ayumi_kojima 2021-09-29 14:56:28 PDT
The test was already marked as pass/timeout in iOS-14 folder at https://trac.webkit.org/changeset/281858/webkit but no bug was found for this. 

Created this bug so that it can be tracked. Also moved the expectation from iOS-14 to iOS-wk2 as the timeout is also seen on iOS 15.

https://trac.webkit.org/changeset/283265/webkit
Comment 3 ayumi_kojima 2021-10-18 16:56:24 PDT
I was albe to reproduce the timeout locally using run-webkit-tests --ios-simulator fast/events/ios/viewport-shrink-to-fit-allows-double-tap.html --iterations 50 --exit-after-n-crashes-or-timeouts 1 --force.

I was able to narrow the regression range down to r270046 - r270051.