Bug 228591

Summary: [ Mac wk2] fast/scrolling/mac/programmatic-scroll-overrides-rubberband.html is a flaky failure
Product: WebKit Reporter: Eric Hutchison <ehutchison>
Component: ScrollingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ben_schwartz, ehutchison, simon.fraser, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Eric Hutchison 2021-07-29 10:37:57 PDT
fast/scrolling/mac/programmatic-scroll-overrides-rubberband.html

is a flaky failure on wk2.

History: https://results.webkit.org/?suite=layout-tests&test=fast%2Fscrolling%2Fmac%2Fprogrammatic-scroll-overrides-rubberband.html

Results: https://build.webkit.org/results/Apple-BigSur-Debug-WK2-Tests/r280410%20(3003)/results.html
 
Diff:
--- /Volumes/Data/worker/bigsur-debug-tests-wk2/build/layout-test-results/fast/scrolling/mac/programmatic-scroll-overrides-rubberband-expected.txt
+++ /Volumes/Data/worker/bigsur-debug-tests-wk2/build/layout-test-results/fast/scrolling/mac/programmatic-scroll-overrides-rubberband-actual.txt
@@ -1,7 +1,7 @@
 
 Test that rubberbanding is canceled when the page does a programmatic scroll
 Waiting for rubberband...
-PASS window.scrollY is 1000
+FAIL window.scrollY should be 1000. Was 800.
 PASS successfullyParsed is true
 
 TEST COMPLETE

Diff found on r280420 when running run-webkit-tests --debug -f --clobber-old-results --iterations 500 --exit-after-n-failures 1 fast/scrolling/mac/programmatic-scroll-overrides-rubberband.html is:
-PASS window.scrollY is 1000
+FAIL window.scrollY should be 1000. Was -4.
Comment 1 Radar WebKit Bug Importer 2021-07-29 10:39:01 PDT
<rdar://problem/81279177>
Comment 2 Eric Hutchison 2021-07-29 10:49:04 PDT
Updated test expectations at https://trac.webkit.org/changeset/280432/webkit.
Comment 3 Ben Schwartz 2023-11-03 09:38:06 PDT
REPRODUCIBILITY:

I was able to reproduce this issue on macOS Ventura (13.6, 22G120/arm64) ToT using the following command:

run-webkit-tests --clobber-old-results --verbose --iterations 100 --child-processes 10 -f --exit-after-n-failures 1 fast/scrolling/mac/programmatic-scroll-overrides-rubberband.html