Bug 207859

Summary: [ macOS ] fast/images/slower-decoding-than-animation-image.html is flaky failing
Product: WebKit Reporter: Jacob Uphoff <jacob_uphoff>
Component: ImagesAssignee: Said Abou-Hallawa <sabouhallawa>
Status: RESOLVED FIXED    
Severity: Normal CC: jlewis3, sabouhallawa, simon.fraser, thorton, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Jacob Uphoff 2020-02-17 13:58:21 PST
fast/images/slower-decoding-than-animation-image.html

This test has been failing for all visible history. 

I was able to reproduce the failing by running it in iterations. Here is the command I used: 'run-webkit-tests --root debug-256764 fast/images/slower-decoding-than-animation-image.html -1 -f --iterations 5000 --debug' and it failed 32 times.

History:

https://results.webkit.org/?suite=layout-tests&test=fast%2Fimages%2Fslower-decoding-than-animation-image.html&limit=50000

Diff:

--- /Volumes/Data/slave/mojave-release-tests-wk2/build/layout-test-results/fast/images/slower-decoding-than-animation-image-expected.txt
+++ /Volumes/Data/slave/mojave-release-tests-wk2/build/layout-test-results/fast/images/slower-decoding-than-animation-image-actual.txt
@@ -3,7 +3,7 @@
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
-PASS internals.imageFrameIndex(image) is 1
+FAIL internals.imageFrameIndex(image) should be 1. Was 0.
 PASS successfullyParsed is true
 
 TEST COMPLETE
Comment 1 Jacob Uphoff 2020-02-17 14:02:13 PST
Set expectations here: https://trac.webkit.org/changeset/256771/webkit
Comment 2 Radar WebKit Bug Importer 2020-02-17 14:02:29 PST
<rdar://problem/59525103>
Comment 3 Said Abou-Hallawa 2020-03-23 21:02:19 PDT
*** Bug 172666 has been marked as a duplicate of this bug. ***
Comment 4 Said Abou-Hallawa 2020-03-23 21:02:58 PDT
Created attachment 394349 [details]
Patch
Comment 5 EWS 2020-03-24 12:40:29 PDT
Committed r258930: <https://trac.webkit.org/changeset/258930>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 394349 [details].
Comment 6 Said Abou-Hallawa 2020-03-24 19:13:31 PDT
A follow up patch which makes the test reliable on the slow bots: 

Committed r258960: <https://trac.webkit.org/changeset/258960>