RESOLVED FIXED 221359
[ Mac WK2 ] compositing/animation/keyframe-order.html is a flakey image failure
https://bugs.webkit.org/show_bug.cgi?id=221359
Summary [ Mac WK2 ] compositing/animation/keyframe-order.html is a flakey image failure
Attachments
Diff Images from Image Failing test (5.32 KB, application/zip)
2021-03-15 14:09 PDT, Robert Jenner
no flags
Patch (1.84 KB, patch)
2021-04-08 05:54 PDT, Antoine Quint
no flags
Patch for landing (1.93 KB, patch)
2021-04-09 01:18 PDT, Antoine Quint
graouts: commit-queue-
Patch for landing (2.17 KB, patch)
2021-04-09 01:43 PDT, Antoine Quint
no flags
Robert Jenner
Comment 1 2021-02-03 15:10:47 PST
Radar WebKit Bug Importer
Comment 2 2021-02-03 15:11:17 PST
Truitt Savell
Comment 3 2021-03-01 09:55:24 PST
I was able to reproduce this using command on tip of tree: run-webkit-tests --iterations 2000 --exit-after-n-failures 1 --exit-after-n-crashes-or-timeouts 1 --debug-rwt-logging --no-retry --force --no-build -f --root /Volumes/Data/tmp/MacRelease compositing/animation/keyframe-order.html
Robert Jenner
Comment 4 2021-03-15 14:09:58 PDT
Created attachment 423236 [details] Diff Images from Image Failing test Attaching DIFF images from flakey image failing test.
Antoine Quint
Comment 5 2021-04-08 05:45:13 PDT
Last two failures were April 2 and March 18.
Antoine Quint
Comment 6 2021-04-08 05:45:41 PDT
I can reproduce locally: rwt --debug --iterations=10000 --force --exit-after-n-failures=1 --no-build compositing/animation/keyframe-order.html
Antoine Quint
Comment 7 2021-04-08 05:54:58 PDT
Simon Fraser (smfr)
Comment 8 2021-04-08 09:49:54 PDT
Comment on attachment 425501 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=425501&action=review > LayoutTests/compositing/animation/keyframe-order.html:57 > + await UIHelper.ensurePresentationUpdate(); I think renderingUpdate() would be more appropriate.
Dean Jackson
Comment 9 2021-04-08 12:06:48 PDT
Comment on attachment 425501 [details] Patch r+ but listen to smfr
Antoine Quint
Comment 10 2021-04-08 12:13:49 PDT
(In reply to Simon Fraser (smfr) from comment #8) > Comment on attachment 425501 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=425501&action=review > > > LayoutTests/compositing/animation/keyframe-order.html:57 > > + await UIHelper.ensurePresentationUpdate(); > > I think renderingUpdate() would be more appropriate. I don't think it is actually, at least in my experience this will just ensure that animations have been updated in the Web Animations sense, but not that accelerated animations will have been committed. I will try that route though to check.
Simon Fraser (smfr)
Comment 11 2021-04-08 12:17:39 PDT
Go look at the implementations of doAfterPresentationUpdate(). They only do anything related to rendering on iOS.
Antoine Quint
Comment 12 2021-04-09 01:18:51 PDT
Created attachment 425596 [details] Patch for landing
Antoine Quint
Comment 13 2021-04-09 01:42:13 PDT
animation.ready + UIHelper.renderingUpdate() seem to improve things. Let's see the effect on the bots.
Antoine Quint
Comment 14 2021-04-09 01:43:11 PDT
Created attachment 425600 [details] Patch for landing
EWS
Comment 15 2021-04-09 02:11:34 PDT
Committed r275752 (236330@main): <https://commits.webkit.org/236330@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 425600 [details].
Note You need to log in before you can comment on or make changes to this bug.