<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>210849</bug_id>
          
          <creation_ts>2020-04-21 23:44:26 -0700</creation_ts>
          <short_desc>New Test (223694@main): [ iOS ] compositing/overflow/rtl-scrollbar-layer-positioning.html is flakily timing out on iOS</short_desc>
          <delta_ts>2026-04-26 04:41:40 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>307582</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Diego Pino">dpino</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ben_schwartz</cc>
    
    <cc>cdumez</cc>
    
    <cc>hhjalmarsson</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1644228</commentid>
    <comment_count>0</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2020-04-21 23:44:26 -0700</bug_when>
    <thetext>compositing/overflow/rtl-scrollbar-layer-positioning.html [ Failure ]

See: https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20(Tests)/r260447%20(13426)/compositing/overflow/rtl-scrollbar-layer-positioning-diff.txt

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/compositing/overflow/rtl-scrollbar-layer-positioning-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/compositing/overflow/rtl-scrollbar-layer-positioning-actual.txt
@@ -1,50 +1 @@
-(GraphicsLayer
-  (anchor 0.00 0.00)
-  (bounds 800.00 600.00)
-  (children 1
-    (GraphicsLayer
-      (bounds 800.00 600.00)
-      (contentsOpaque 1)
-      (children 1
-        (GraphicsLayer
-          (offsetFromRenderer width=-10 height=-10)
-          (position 18.00 10.00)
-          (bounds 362.00 362.00)
-          (drawsContent 1)
-          (children 2
-            (GraphicsLayer
-              (offsetFromRenderer width=13 height=13)
-              (position 23.00 23.00)
-              (bounds origin 292.00 0.00)
-              (bounds 316.00 316.00)
-              (children 1
-                (GraphicsLayer
-                  (offsetFromRenderer width=13 height=13)
-                  (scrollOffset (292,0))
-                  (anchor 0.00 0.00)
-                  (bounds 608.00 616.00)
-                )
-              )
-            )
-            (GraphicsLayer
-              (position 23.00 23.00)
-              (bounds 316.00 316.00)
-              (children 2
-                (GraphicsLayer
-                  (position 0.00 301.00)
-                  (bounds 316.00 15.00)
-                  (drawsContent 1)
-                )
-                (GraphicsLayer
-                  (bounds 15.00 316.00)
-                  (drawsContent 1)
-                )
-              )
-            )
-          )
-        )
-      )
-    )
-  )
-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1888444</commentid>
    <comment_count>1</comment_count>
    <who name="Hercules Hjalmarsson">hhjalmarsson</who>
    <bug_when>2022-08-02 10:59:54 -0700</bug_when>
    <thetext>compositing/overflow/rtl-scrollbar-layer-positioning.html

This test is also flakily failing on iOS15 with the same error message.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1888446</commentid>
    <comment_count>2</comment_count>
    <who name="Hercules Hjalmarsson">hhjalmarsson</who>
    <bug_when>2022-08-02 11:01:30 -0700</bug_when>
    <thetext>HISTORY:
https://results.webkit.org/?suite=layout-tests&amp;test=compositing%2Foverflow%2Frtl-scrollbar-layer-positioning.html

DIFF:
--- /Volumes/Data/worker/Apple-iOS-15-Simulator-Debug-WK2-Tests/build/layout-test-results/compositing/overflow/rtl-scrollbar-layer-positioning-expected.txt
+++ /Volumes/Data/worker/Apple-iOS-15-Simulator-Debug-WK2-Tests/build/layout-test-results/compositing/overflow/rtl-scrollbar-layer-positioning-actual.txt
@@ -1,51 +1 @@
-(GraphicsLayer
-  (anchor 0.00 0.00)
-  (bounds 800.00 600.00)
-  (children 1
-    (GraphicsLayer
-      (bounds 800.00 600.00)
-      (contentsOpaque 1)
-      (children 1
-        (GraphicsLayer
-          (offsetFromRenderer width=-10 height=-10)
-          (position 18.00 10.00)
-          (bounds 362.00 362.00)
-          (drawsContent 1)
-          (children 2
-            (GraphicsLayer
-              (offsetFromRenderer width=13 height=13)
-              (position 23.00 23.00)
-              (bounds origin 292.00 0.00)
-              (bounds 316.00 316.00)
-              (children 1
-                (GraphicsLayer
-                  (offsetFromRenderer width=13 height=13)
-                  (scrollOffset (292,0))
-                  (anchor 0.00 0.00)
-                  (bounds 608.00 616.00)
-                )
-              )
-            )
-            (GraphicsLayer
-              (position 23.00 23.00)
-              (bounds 316.00 316.00)
-              (children 2
-                (GraphicsLayer
-                  (position 0.00 301.00)
-                  (bounds 316.00 15.00)
-                  (drawsContent 1)
-                )
-                (GraphicsLayer
-                  (position 301.00 0.00)
-                  (bounds 15.00 316.00)
-                  (drawsContent 1)
-                )
-              )
-            )
-          )
-        )
-      )
-    )
-  )
-)
-
+&lt;unknown&gt; - TestController::run - Failed to reset state to consistent values

DIFF URL:
https://build.webkit.org/results/Apple-iOS-15-Simulator-Debug-WK2-Tests/250363@main%20(2489)/compositing/overflow/rtl-scrollbar-layer-positioning-pretty-diff.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1888448</commentid>
    <comment_count>3</comment_count>
    <who name="Hercules Hjalmarsson">hhjalmarsson</who>
    <bug_when>2022-08-02 11:02:41 -0700</bug_when>
    <thetext>(In reply to Hercules Hjalmarsson from comment #1)
&gt; compositing/overflow/rtl-scrollbar-layer-positioning.html
&gt; 
&gt; This test is also flakily failing on iOS15 with the same error message.

The flaky failure on IOS15 shows up as a timeout in history.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1888449</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-08-02 11:05:36 -0700</bug_when>
    <thetext>&lt;rdar://problem/97994145&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1888451</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2022-08-02 11:09:42 -0700</bug_when>
    <thetext>Test probably just needs a setTimeout(0)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1888460</commentid>
    <comment_count>6</comment_count>
    <who name="Hercules Hjalmarsson">hhjalmarsson</who>
    <bug_when>2022-08-02 11:59:23 -0700</bug_when>
    <thetext>I wasn&apos;t able to reproduce the flaky timeout on iOS15 using command:

run-webkit-tests --ios-simulator --iterations=10000 -f --clobber-old-results --child-processes=4 --debug compositing/overflow/rtl-scrollbar-layer-positioning.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1888490</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-08-02 13:47:16 -0700</bug_when>
    <thetext>Test gardening commit 253050@main (017325709f18): &lt;https://commits.webkit.org/253050@main&gt;

Reviewed commits have been landed. Closing PR #2960 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1888948</commentid>
    <comment_count>8</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2022-08-04 13:20:41 -0700</bug_when>
    <thetext>Ignore the gtk results for now.

On iOS, I don&apos;t think this test itself is timing out; the test has no waitUntilDone().

If I look at a full test run, like https://build.webkit.org/#/builders/529/builds/265/steps/12/logs/stdio, it shows:

22:58:11.505 22310 worker/0 compositing/overflow/resize-painting.html passed
22:58:46.633 22310 worker/0 &quot;/usr/bin/sudo -n /usr/bin/tailspin save -n /var/folders/r2/b6clyg993dj_wywsgzrbstn00000gn/T/tmpj1lnhhqx/WebKitTestRunnerApp.app-22808-tailspin-temp.txt&quot; took 0.13s
22:58:59.108 22310 worker/0 &quot;/usr/bin/sample 22808 10 10 -file /var/folders/r2/b6clyg993dj_wywsgzrbstn00000gn/T/tmpj1lnhhqx/WebKitTestRunnerApp.app-22808-sample.txt&quot; took 12.47s
22:58:59.133 22310 worker/0 &quot;/usr/bin/sudo -n /usr/bin/tailspin save -n /var/folders/r2/b6clyg993dj_wywsgzrbstn00000gn/T/tmpk9wl7040/WebKitTestRunnerApp.app-22808-tailspin-temp.txt&quot; took 0.02s
22:59:09.404 22310 worker/0 &quot;/usr/bin/sample 22808 10 10 -file /var/folders/r2/b6clyg993dj_wywsgzrbstn00000gn/T/tmpk9wl7040/WebKitTestRunnerApp.app-22808-sample.txt&quot; took 10.27s
22:59:09.411 22310 worker/0 &quot;/usr/libexec/PlistBuddy -c Print CFBundleExecutable /Volumes/Data/worker/Apple-iOS-15-Simulator-Release-arm64-WK2-Tests/build/WebKitBuild/Release-iphonesimulator/WebKitTestRunnerApp.app/Info.plist&quot; took 0.01s
22:59:09.440 22310 worker/0 killed pid 22808
22:59:09.443 22310 worker/0 killing driver
22:59:09.448 22310 worker/0 compositing/overflow/rtl-scrollbar-layer-positioning.html failed:
22:59:09.448 22310 worker/0 test timed out
22:59:09.448 22310 worker/0 no output from test
22:59:09.687 22310 worker/0 &quot;xcrun simctl launch 972249EF-044D-41B1-A680-8F5AFD03B7C2 org.webkit.WebKitTestRunnerApp -&quot; took 0.24s

I find those spindumps anywhere.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1888960</commentid>
    <comment_count>9</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2022-08-04 13:47:20 -0700</bug_when>
    <thetext>I found the samples:
https://build.webkit.org/results/Apple-iOS-15-Simulator-Release-arm64-WK2-Tests/252686@main%20(265)/

They show WTR getting stuck talking to the web process under various &quot;reset to defaults&quot; calls:

    +                         837 -[WebKitTestRunnerApp _runTestController]  (in WebKitTestRunnerApp) + 40  [0x1005efa44]
    +                           837 WTR::TestController::TestController(int, char const**)  (in WebKitTestRunnerApp) + 340  [0x1006012d4]
    +                             837 WTR::TestController::runTestingServerLoop()  (in WebKitTestRunnerApp) + 124  [0x1006063b0]
    +                               837 WTR::TestController::runTest(char const*)  (in WebKitTestRunnerApp) + 312  [0x100606110]
    +                                 837 WTR::TestInvocation::invoke()  (in WebKitTestRunnerApp) + 384  [0x10061e928]
    +                                   837 WTR::TestController::resetStateToConsistentValues(WTR::TestOptions const&amp;, WTR::TestController::ResetStage)  (in WebKitTestRunnerApp) + 1296  [0x10060482c]
    +                                     837 WTR::TestController::statisticsResetToConsistentState()  (in WebKitTestRunnerApp) + 76  [0x100604fd8]
    +                                       837 WTR::TestController::platformRunUntil(bool&amp;, WTF::Seconds)  (in WebKitTestRunnerApp) + 200  [0x1006169e0]
    +                                         837 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]  (in Foundation) + 232  [0x102f3f5bc]
    +                                           837 CFRunLoopRunSpecific  (in CoreFoundation) + 572  [0x10454a804]
    +                                             837 __CFRunLoopRun  (in CoreFoundation) + 1096  [0x10454b164]
    +                                               837 __CFRunLoopServiceMachPort  (in CoreFoundation) + 368  [0x104550d58]
    +                                                 837 mach_msg  (in libsystem_kernel.dylib) + 72  [0x104e95430]

    +                         838 -[WebKitTestRunnerApp _runTestController]  (in WebKitTestRunnerApp) + 40  [0x102597a44]
    +                           838 WTR::TestController::TestController(int, char const**)  (in WebKitTestRunnerApp) + 340  [0x1025a92d4]
    +                             838 WTR::TestController::runTestingServerLoop()  (in WebKitTestRunnerApp) + 124  [0x1025ae3b0]
    +                               838 WTR::TestController::runTest(char const*)  (in WebKitTestRunnerApp) + 312  [0x1025ae110]
    +                                 838 WTR::TestInvocation::invoke()  (in WebKitTestRunnerApp) + 384  [0x1025c6928]
    +                                   838 WTR::TestController::resetStateToConsistentValues(WTR::TestOptions const&amp;, WTR::TestController::ResetStage)  (in WebKitTestRunnerApp) + 1296  [0x1025ac82c]
    +                                     838 WTR::TestController::statisticsResetToConsistentState()  (in WebKitTestRunnerApp) + 76  [0x1025acfd8]
    +                                       838 WTR::TestController::platformRunUntil(bool&amp;, WTF::Seconds)  (in WebKitTestRunnerApp) + 200  [0x1025be9e0]
    +                                         838 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]  (in Foundation) + 232  [0x104fc75bc]
    +                                           838 CFRunLoopRunSpecific  (in CoreFoundation) + 572  [0x1065d2804]
    +                                             838 __CFRunLoopRun  (in CoreFoundation) + 1096  [0x1065d3164]
    +                                               838 __CFRunLoopServiceMachPort  (in CoreFoundation) + 368  [0x1065d8d58]
    +                                                 838 mach_msg  (in libsystem_kernel.dylib) + 72  [0x108fa9430]

    +                             846 WTR::TestController::runTestingServerLoop()  (in WebKitTestRunnerApp) + 124  [0x1007c63b0]
    +                               846 WTR::TestController::runTest(char const*)  (in WebKitTestRunnerApp) + 312  [0x1007c6110]
    +                                 846 WTR::TestInvocation::invoke()  (in WebKitTestRunnerApp) + 32  [0x1007de7c8]
    +                                   846 WTR::TestController::configureViewForTest(WTR::TestInvocation const&amp;)  (in WebKitTestRunnerApp) + 28  [0x1007c5f90]
    +                                     846 WTR::TestController::ensureViewSupportsOptionsForTest(WTR::TestInvocation const&amp;)  (in WebKitTestRunnerApp) + 280  [0x1007c42b4]
    +                                       846 WTR::TestController::resetStateToConsistentValues(WTR::TestOptions const&amp;, WTR::TestController::ResetStage)  (in WebKitTestRunnerApp) + 1320  [0x1007c4844]
    +                                         846 WTR::TestController::clearPrivateClickMeasurement()  (in WebKitTestRunnerApp) + 76  [0x1007c50a0]
    +                                           846 WTR::TestController::platformRunUntil(bool&amp;, WTF::Seconds)  (in WebKitTestRunnerApp) + 200  [0x1007d69e0]
    +                                             846 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]  (in Foundation) + 232  [0x10320b5bc]
    +                                               846 CFRunLoopRunSpecific  (in CoreFoundation) + 572  [0x104816804]
    +                                                 846 __CFRunLoopRun  (in CoreFoundation) + 1096  [0x104817164]
    +                                                   846 __CFRunLoopServiceMachPort  (in CoreFoundation) + 368  [0x10481cd58]
    +                                                     846 mach_msg  (in libsystem_kernel.dylib) + 72  [0x1071ed430]


I suspect if we had a WebContent sample that we&apos;d see some kind of IPC deadlock.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2014625</commentid>
    <comment_count>10</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2024-02-16 13:46:45 -0800</bug_when>
    <thetext>This</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2014627</commentid>
    <comment_count>11</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2024-02-16 13:48:12 -0800</bug_when>
    <thetext>This flaky timeout is still occurring on iOS 17.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2038417</commentid>
    <comment_count>12</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2024-05-29 04:36:18 -0700</bug_when>
    <thetext>This test is passing for WebKitGTK since 275045@main ([GTK] Enable `forceCompositingMode` by default).

https://results.webkit.org/?platform=GTK&amp;platform=WPE&amp;suite=layout-tests&amp;test=compositing%2Foverflow%2Frtl-scrollbar-layer-positioning.html

In the case of iOS, it doesn&apos;t seem like this test is very flaky anymore.

https://results.webkit.org/?platform=ios&amp;suite=layout-tests&amp;test=compositing%2Foverflow%2Frtl-scrollbar-layer-positioning.html

Since there&apos;s still a test referring this bug in LayoutTests/platform/ios/TestExpectations, I won&apos;t close this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2204589</commentid>
    <comment_count>13</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2026-04-26 04:41:40 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 307582 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>