WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
216394
REGRESSION (
r266634
): fast/selectors/text-field-selection-stroke-color.html and fast/selectors/text-field-selection-window-inactive-stroke-color.html are flaky failures with pixel noise
https://bugs.webkit.org/show_bug.cgi?id=216394
Summary
REGRESSION (r266634): fast/selectors/text-field-selection-stroke-color.html a...
Hector Lopez
Reported
2020-09-10 18:56:57 PDT
fast/selectors/text-field-selection-stroke-color.html Test is a flaky failure according to history on macOS wk2 Release. First occurrence of failure is at
r266388
but could not determine change was cause. History:
https://results.webkit.org/?suite=layout-tests&test=fast%2Fselectors%2Ftext-field-selection-stroke-color.html&limit=50000&platform=mac
Diff:
https://build.webkit.org/results/Apple-Catalina-Release-WK2-Tests/r266899%20(8458)/fast/selectors/text-field-selection-stroke-color-diffs.html
or see attachments 8 pixel difference
Attachments
Expected Image
(66.61 KB, image/png)
2020-09-10 18:58 PDT
,
Hector Lopez
no flags
Details
Actual Image
(66.61 KB, image/png)
2020-09-10 18:58 PDT
,
Hector Lopez
no flags
Details
Diff Image
(2.23 KB, image/png)
2020-09-10 18:59 PDT
,
Hector Lopez
no flags
Details
Patch
(7.61 KB, patch)
2020-09-18 10:18 PDT
,
Sihui Liu
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Hector Lopez
Comment 1
2020-09-10 18:58:28 PDT
Created
attachment 408504
[details]
Expected Image
Hector Lopez
Comment 2
2020-09-10 18:58:59 PDT
Created
attachment 408505
[details]
Actual Image
Hector Lopez
Comment 3
2020-09-10 18:59:25 PDT
Created
attachment 408506
[details]
Diff Image
Hector Lopez
Comment 4
2020-09-10 19:04:27 PDT
Test expectation while investigated:
https://trac.webkit.org/changeset/266905/webkit
Radar WebKit Bug Importer
Comment 5
2020-09-10 19:04:47 PDT
<
rdar://problem/68679551
>
Alexey Proskuryakov
Comment 6
2020-09-13 10:27:01 PDT
There were failures with
r266388
and
r266392
, then a string of success, then it started again with
r266662
. This makes me suspect
bug 216012
. Internal bots tell a similar story, although there were some failures on macOS Mojave in early August too.
Bug 216012
may not be the root cause, but it looks like it exacerbated the problem.
Alexey Proskuryakov
Comment 7
2020-09-13 12:30:53 PDT
This is very easy to reproduce, and I confirmed that this is a regression from
r266634
. run-webkit-tests fast/selectors/text-field-selection-stroke-color.html --repeat 100 --child-processes=1 --no-retry This affects more tests that this one. I only checked fast/selectors, and found these: fast/selectors/selection-window-inactive-stroke-color.html fast/selectors/selection-window-inactive.html fast/selectors/text-field-selection-stroke-color.html fast/selectors/text-field-selection-window-inactive-stroke-color.html
Alexey Proskuryakov
Comment 8
2020-09-13 12:42:12 PDT
That test was with
r266634
archive. Follow-ups made a difference, it's only two tests on trunk: fast/selectors/text-field-selection-stroke-color.html fast/selectors/text-field-selection-window-inactive-stroke-color.html
Hector Lopez
Comment 9
2020-09-14 08:30:36 PDT
Correction for test expectation:
https://trac.webkit.org/changeset/267012/webkit
Sihui Liu
Comment 10
2020-09-14 11:50:33 PDT
(In reply to Alexey Proskuryakov from
comment #8
)
> That test was with
r266634
archive. Follow-ups made a difference, it's only > two tests on trunk: > > fast/selectors/text-field-selection-stroke-color.html > fast/selectors/text-field-selection-window-inactive-stroke-color.html
What config/revision did you use for reproducing the failure? I used your command on both release and debug build with
r267017
and cannot reproduce: run-webkit-tests fast/selectors/text-field-selection-stroke-color.html --repeat 100 --child-processes=1 --no-retry Are you on macOS Catalina?
Sihui Liu
Comment 11
2020-09-14 11:55:49 PDT
(In reply to Sihui Liu from
comment #10
)
> (In reply to Alexey Proskuryakov from
comment #8
) > > That test was with
r266634
archive. Follow-ups made a difference, it's only > > two tests on trunk: > > > > fast/selectors/text-field-selection-stroke-color.html > > fast/selectors/text-field-selection-window-inactive-stroke-color.html > > What config/revision did you use for reproducing the failure? > I used your command on both release and debug build with
r267017
and cannot > reproduce: > run-webkit-tests fast/selectors/text-field-selection-stroke-color.html > --repeat 100 --child-processes=1 --no-retry > > Are you on macOS Catalina?
Never mind. I didn't update the test expectations before running. Now I can reproduce.
Hector Lopez
Comment 12
2020-09-16 19:24:03 PDT
fast/selectors/selection-window-inactive-stroke-color.html Test exhibits the same behavior. Adding to bug and changing test expectations test expectation for fast/selectors/selection-window-inactive-stroke-color.html:
https://trac.webkit.org/changeset/267178/webkit
Sihui Liu
Comment 13
2020-09-18 10:18:48 PDT
Created
attachment 409141
[details]
Patch
Alexey Proskuryakov
Comment 14
2020-09-18 12:54:19 PDT
Impressive analysis! Makes me wonder if it would make sense for layout tests to dump tile size, so that we could catch such issues faster and more directly than through pixel noise.
EWS
Comment 15
2020-09-18 15:25:49 PDT
Committed
r267284
: <
https://trac.webkit.org/changeset/267284
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 409141
[details]
.
Sihui Liu
Comment 16
2020-09-18 15:48:39 PDT
(In reply to Alexey Proskuryakov from
comment #14
)
> Impressive analysis! > > Makes me wonder if it would make sense for layout tests to dump tile size, > so that we could catch such issues faster and more directly than through > pixel noise.
Yes, that may be useful! This kind of small flaky pixel difference could be hard to reason about. If we know the noise comes with with different tiling, at least we have some hint about what may go wrong. (It took me quite a while before noticing more PlatformCALayers were created when test failed :|)
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