Bug 170203 - LayoutTest fast/images/animated-image-different-dest-size.html is a flaky failure
Summary: LayoutTest fast/images/animated-image-different-dest-size.html is a flaky fai...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Said Abou-Hallawa
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-03-28 14:33 PDT by Ryan Haddad
Modified: 2017-06-09 14:53 PDT (History)
7 users (show)

See Also:


Attachments
Patch (4.42 KB, patch)
2017-06-07 16:46 PDT, Said Abou-Hallawa
no flags Details | Formatted Diff | Diff
Patch (5.39 KB, patch)
2017-06-08 08:51 PDT, Said Abou-Hallawa
simon.fraser: review-
Details | Formatted Diff | Diff
Patch (3.83 KB, patch)
2017-06-08 17:35 PDT, Said Abou-Hallawa
simon.fraser: review+
Details | Formatted Diff | Diff
Patch (3.83 KB, patch)
2017-06-08 17:46 PDT, Said Abou-Hallawa
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews125 for ios-simulator-wk2 (13.30 MB, application/zip)
2017-06-08 19:16 PDT, Build Bot
no flags Details
Patch (3.99 KB, patch)
2017-06-09 12:45 PDT, Said Abou-Hallawa
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Haddad 2017-03-28 14:33:07 PDT
LayoutTest fast/images/animated-image-different-dest-size.html is a flaky failure

https://build.webkit.org/results/Apple%20Sierra%20Release%20WK2%20(Tests)/r214487%20(231)/results.html

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=fast%2Fimages%2Fanimated-image-different-dest-size.html

The image diff shows the two rightmost squares are green, but the expected color is blue.
Comment 1 Ryan Haddad 2017-03-28 14:53:02 PDT
This test was just added with http://trac.webkit.org/changeset/214450
Comment 2 Alexey Proskuryakov 2017-03-31 10:29:28 PDT
Flaky on Mac WK2 bots.

We should have rolled back the change, but it's probably too late now. Marked as flaky in http://trac.webkit.org/r214673
Comment 3 Alexey Proskuryakov 2017-03-31 10:40:51 PDT
rdar://problem/31373038
Comment 4 Alexey Proskuryakov 2017-03-31 10:42:26 PDT
Corrected TestExpectations entry in http://trac.webkit.org/r214675 (forgot that image failures need to be marked as ImageOnlyFailure).
Comment 5 Said Abou-Hallawa 2017-06-07 16:46:35 PDT
Created attachment 312253 [details]
Patch
Comment 6 Said Abou-Hallawa 2017-06-08 08:51:28 PDT
Created attachment 312307 [details]
Patch
Comment 7 Said Abou-Hallawa 2017-06-08 16:53:16 PDT
I verified the fix by removing the test form TestExpectations and running the command:

run-webkit-tests --debug --repeat-each=200 LayoutTests/fast/images/animated-image-different-dest-size.html -gf --child-processes=10
Comment 8 Simon Fraser (smfr) 2017-06-08 17:02:17 PDT
Comment on attachment 312307 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=312307&action=review

> LayoutTests/fast/images/animated-image-different-dest-size.html:50
> +        function loadImage(element, src, canvasIds, frameCount) {
>              return new Promise((resolve) => {
>                  let image = new Image;
>                  image.onload = (() => {

Now you have an image and an image element. That doesn't make much sense.
Comment 9 Said Abou-Hallawa 2017-06-08 17:35:06 PDT
Created attachment 312363 [details]
Patch
Comment 10 Said Abou-Hallawa 2017-06-08 17:46:58 PDT
Created attachment 312364 [details]
Patch
Comment 11 Build Bot 2017-06-08 19:16:09 PDT
Comment on attachment 312364 [details]
Patch

Attachment 312364 [details] did not pass ios-sim-ews (ios-simulator-wk2):
Output: http://webkit-queues.webkit.org/results/3897035

New failing tests:
svg/animations/svglength-element-removed-crash.svg
Comment 12 Build Bot 2017-06-08 19:16:11 PDT
Created attachment 312371 [details]
Archive of layout-test-results from ews125 for ios-simulator-wk2

The attached test failures were seen while running run-webkit-tests on the ios-sim-ews.
Bot: ews125  Port: ios-simulator-wk2  Platform: Mac OS X 10.12.5
Comment 13 Said Abou-Hallawa 2017-06-09 12:45:20 PDT
Created attachment 312473 [details]
Patch
Comment 14 Said Abou-Hallawa 2017-06-09 12:48:02 PDT
Comment on attachment 312371 [details]
Archive of layout-test-results from ews125 for ios-simulator-wk2

The iOS-sim bot failed because svg/animations/svglength-element-removed-crash.svg is flaky. It confuses the EWS by failing consistently with the attached patch and pass without it although it should not have any effect on the result of this test.
Comment 15 WebKit Commit Bot 2017-06-09 14:53:38 PDT
Comment on attachment 312473 [details]
Patch

Clearing flags on attachment: 312473

Committed r218019: <http://trac.webkit.org/changeset/218019>
Comment 16 WebKit Commit Bot 2017-06-09 14:53:39 PDT
All reviewed patches have been landed.  Closing bug.