WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
207038
Regression: fast/hidpi/image-srcset-svg-canvas-2x.html is failing consistently on iOS EWS
https://bugs.webkit.org/show_bug.cgi?id=207038
Summary
Regression: fast/hidpi/image-srcset-svg-canvas-2x.html is failing consistentl...
Aakash Jain
Reported
2020-01-31 04:12:46 PST
Regression: fast/hidpi/image-srcset-svg-canvas-2x.html is failing consistently on iOS EWS. This test was passing earlier on iOS, since yesterday (Jan 29) it started failing consistently on iOS EWS. First failure in: - Build:
https://ews-build.webkit.org/#/builders/24/builds/9662
- Result:
https://ews-build.webkit.org/results/iOS-13-Simulator-WK2-Tests-EWS/r389296-9662/results.html
Recent examples:
https://ews-build.webkit.org/#/builders/24/builds/9680
https://ews-build.webkit.org/#/builders/24/builds/9678
https://ews-build.webkit.org/#/builders/24/builds/9675
This issue doesn't seems to be happening on build.webkit.org bots:
https://results.webkit.org/?suite=layout-tests&test=fast%2Fhidpi%2Fimage-srcset-svg-canvas-2x.html
Attachments
Test list from bot
(60.91 KB, text/plain)
2020-02-07 08:37 PST
,
Truitt Savell
no flags
Details
Patch
(3.67 KB, patch)
2020-03-27 17:17 PDT
,
Said Abou-Hallawa
no flags
Details
Formatted Diff
Diff
Patch
(3.67 KB, patch)
2020-03-27 19:11 PDT
,
Said Abou-Hallawa
no flags
Details
Formatted Diff
Diff
Patch
(4.20 KB, patch)
2020-03-28 00:55 PDT
,
Said Abou-Hallawa
no flags
Details
Formatted Diff
Diff
Patch
(4.20 KB, patch)
2020-03-28 03:26 PDT
,
Said Abou-Hallawa
no flags
Details
Formatted Diff
Diff
Patch
(4.20 KB, patch)
2020-03-28 03:26 PDT
,
Said Abou-Hallawa
no flags
Details
Formatted Diff
Diff
Patch
(4.20 KB, patch)
2020-03-28 03:27 PDT
,
Said Abou-Hallawa
no flags
Details
Formatted Diff
Diff
Patch
(4.20 KB, patch)
2020-03-28 03:28 PDT
,
Said Abou-Hallawa
no flags
Details
Formatted Diff
Diff
Patch
(4.20 KB, patch)
2020-03-28 03:28 PDT
,
Said Abou-Hallawa
no flags
Details
Formatted Diff
Diff
Patch
(4.24 KB, patch)
2020-03-28 09:15 PDT
,
Said Abou-Hallawa
no flags
Details
Formatted Diff
Diff
Show Obsolete
(8)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2020-01-31 04:13:09 PST
<
rdar://problem/59058757
>
Aakash Jain
Comment 2
2020-02-03 06:41:50 PST
This test seems extremely flaky. This test is slowing down EWS ios-wk2 queue and sometimes causes EWS to blame random patches for this test failure.
https://ews-build.webkit.org/#/builders/24/builds/9793
- "Found 1 pre-existing test failure: fast/hidpi/image-srcset-svg-canvas-2x.html"
https://ews-build.webkit.org/#/builders/24/builds/9786
- "Found flaky test: fast/hidpi/image-srcset-svg-canvas-2x.html"
https://ews-build.webkit.org/#/builders/24/builds/9779
- "Found 1 new test failure: fast/hidpi/image-srcset-svg-canvas-2x.html" We should consider updating test expectations meanwhile while it is being investigated.
Truitt Savell
Comment 3
2020-02-05 08:41:45 PST
I am working on reproducing this failure with test lists.
Truitt Savell
Comment 4
2020-02-05 09:08:52 PST
This is not easily reproducing with a test list
Truitt Savell
Comment 5
2020-02-06 15:07:57 PST
Marked as failing in
https://trac.webkit.org/changeset/255985/webkit
Sense this will end up skipping the test on EWS I expect another test to begin failing in its place.
Truitt Savell
Comment 6
2020-02-07 08:36:46 PST
The next test in line did end up failing. Now fast/hidpi/image-srcset-svg-canvas.html is failing on iOS-ews
Truitt Savell
Comment 7
2020-02-07 08:37:35 PST
Created
attachment 390086
[details]
Test list from bot This is the list of tests that run before the failing test on the test runner. most likely one of these tests is setting a bad state
Truitt Savell
Comment 8
2020-02-07 11:22:52 PST
I am able to reproduce the failure by using this command on the news bot: run-webkit-tests --no-build --no-show-results --no-new-test-results --clobber-old-results --release --ios-simulator --child-processes 1 compositing/webgl/webgl-reflection.html fast/hidpi/image-srcset-svg2.html fast/hidpi/image-srcset-svg-canvas.html remove either of the first two tests and it will no longer fail. So something in the interaction of these three tests is causing this cascading failure: compositing/webgl/webgl-reflection.html fast/hidpi/image-srcset-svg2.html fast/hidpi/image-srcset-svg-canvas.html
Truitt Savell
Comment 9
2020-02-07 13:03:20 PST
This is the first news run that shows the original test failure from fast/hidpi/image-srcset-relative-svg-canvas-2x.html
https://ews-build.webkit.org/#/builders/24/builds/9513
Aakash Jain
Comment 10
2020-02-17 12:26:21 PST
(In reply to Truitt Savell from
comment #6
)
> The next test in line did end up failing. Now fast/hidpi/image-srcset-svg-canvas.html is failing on iOS-ews
Filed
https://bugs.webkit.org/show_bug.cgi?id=207851
to track that.
Truitt Savell
Comment 11
2020-02-20 14:33:48 PST
Changed expectations to force a skip of compositing/webgl/webgl-reflection.html on EWS instead of the two test fast/hidpi/image-srcset-relative-svg-canvas-2x.html and fast/hidpi/image-srcset-svg-canvas-2x.html.
https://trac.webkit.org/changeset/257091/webkit
Alexey Proskuryakov
Comment 12
2020-02-22 16:56:50 PST
***
Bug 207851
has been marked as a duplicate of this bug. ***
Said Abou-Hallawa
Comment 13
2020-03-27 17:17:36 PDT
Created
attachment 394772
[details]
Patch
Said Abou-Hallawa
Comment 14
2020-03-27 19:10:22 PDT
With disabling the canvas accelerated drawing, the iOS EWS passed the all the tests from the first time. I will resubmit the patch one more time and see how the bots behave.
Said Abou-Hallawa
Comment 15
2020-03-27 19:11:00 PDT
Created
attachment 394779
[details]
Patch
Aakash Jain
Comment 16
2020-03-27 19:54:49 PDT
(In reply to Said Abou-Hallawa from
comment #14
)
> I will resubmit the patch one more time and see how the bots behave.
Thanks for the patch. I have pressed the 'Rebuild' button 5 times on one of the successful ios-wk2 build (
https://ews-build.webkit.org/#/builders/24/builds/14055
). Let's see the results in following ones:
https://ews-build.webkit.org/#/buildrequests/411396
https://ews-build.webkit.org/#/buildrequests/411397
https://ews-build.webkit.org/#/buildrequests/411398
https://ews-build.webkit.org/#/buildrequests/411399
https://ews-build.webkit.org/#/buildrequests/411400
Said Abou-Hallawa
Comment 17
2020-03-28 00:55:54 PDT
Created
attachment 394795
[details]
Patch
Said Abou-Hallawa
Comment 18
2020-03-28 03:26:26 PDT
Created
attachment 394804
[details]
Patch
Said Abou-Hallawa
Comment 19
2020-03-28 03:26:59 PDT
Created
attachment 394805
[details]
Patch
Said Abou-Hallawa
Comment 20
2020-03-28 03:27:37 PDT
Created
attachment 394806
[details]
Patch
Said Abou-Hallawa
Comment 21
2020-03-28 03:28:00 PDT
Created
attachment 394807
[details]
Patch
Said Abou-Hallawa
Comment 22
2020-03-28 03:28:40 PDT
Created
attachment 394808
[details]
Patch
Aakash Jain
Comment 23
2020-03-28 05:34:51 PDT
I have again pressed 'Rebuild' button 6 times on one of the recent successful ios-wk2 build (
https://ews-build.webkit.org/#/builders/24/builds/14091
) for patch 394808. Let's see result in following builds:
https://ews-build.webkit.org/#/builders/24/builds/14094
https://ews-build.webkit.org/#/builders/24/builds/14095
https://ews-build.webkit.org/#/builders/24/builds/14096
https://ews-build.webkit.org/#/builders/24/builds/14097
https://ews-build.webkit.org/#/builders/24/builds/14098
https://ews-build.webkit.org/#/builders/24/builds/14099
Said Abou-Hallawa
Comment 24
2020-03-28 09:11:02 PDT
iOS EWS bots succeeded in processing the latest patch from the first time with the 6 uploads I did and with the 6 retries that Aakash did.
Said Abou-Hallawa
Comment 25
2020-03-28 09:15:11 PDT
Created
attachment 394820
[details]
Patch
Alexey Proskuryakov
Comment 26
2020-03-28 10:03:29 PDT
Comment on
attachment 394820
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=394820&action=review
> LayoutTests/ChangeLog:9 > + Disable the canvas scaling anti-aliasing by applying the CSS property > + "image-rendering: pixelated;" to the <img> and the <canvas> elements.
Did you figure out what the state leaking form compositing/webgl/webgl-reflection.html is? With the root cause not fixed, it seems very likely that other tests will be affected.
Said Abou-Hallawa
Comment 27
2020-03-28 18:32:17 PDT
Comment on
attachment 394820
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=394820&action=review
>> LayoutTests/ChangeLog:9 >> + "image-rendering: pixelated;" to the <img> and the <canvas> elements. > > Did you figure out what the state leaking form compositing/webgl/webgl-reflection.html is? With the root cause not fixed, it seems very likely that other tests will be affected.
No I have not. But I looked at the canvas drawing code carefully and I did not see anything that can be leaked from a previous page. Most likely the leaking in underlaying simulator frameworks. I think we should avoid testing the antialiasing in all the hidpi tests. So I think this patch is worthy landing. We can keep the bug open and continue investigating but let's land this patch and see the results. And hopefully this will shorten iOS EWS bots processing time.
Darin Adler
Comment 28
2020-03-28 19:59:04 PDT
Comment on
attachment 394820
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=394820&action=review
>>> LayoutTests/ChangeLog:9 >>> + "image-rendering: pixelated;" to the <img> and the <canvas> elements. >> >> Did you figure out what the state leaking form compositing/webgl/webgl-reflection.html is? With the root cause not fixed, it seems very likely that other tests will be affected. > > No I have not. But I looked at the canvas drawing code carefully and I did not see anything that can be leaked from a previous page. Most likely the leaking in underlaying simulator frameworks. > > I think we should avoid testing the antialiasing in all the hidpi tests. So I think this patch is worthy landing. We can keep the bug open and continue investigating but let's land this patch and see the results. And hopefully this will shorten iOS EWS bots processing time.
I am convinced.
EWS
Comment 29
2020-03-28 21:43:13 PDT
Committed
r259174
: <
https://trac.webkit.org/changeset/259174
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 394820
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug