WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
192515
webkitpy: Ref tests don't respect platform specific expectations
https://bugs.webkit.org/show_bug.cgi?id=192515
Summary
webkitpy: Ref tests don't respect platform specific expectations
Jonathan Bedard
Reported
2018-12-07 14:21:57 PST
Working with webkitpy/port/base.py, it looks like we have two different implementations for finding ref tests, there doesn't seem to be a great reason why.
Attachments
Patch
(6.24 KB, patch)
2018-12-07 16:44 PST
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Patch
(7.61 KB, patch)
2018-12-07 17:30 PST
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews102 for mac-sierra
(2.55 MB, application/zip)
2018-12-07 18:28 PST
,
EWS Watchlist
no flags
Details
Archive of layout-test-results from ews106 for mac-sierra-wk2
(2.96 MB, application/zip)
2018-12-07 18:44 PST
,
EWS Watchlist
no flags
Details
Archive of layout-test-results from ews117 for mac-sierra
(1.97 MB, application/zip)
2018-12-07 19:21 PST
,
EWS Watchlist
no flags
Details
Archive of layout-test-results from ews205 for win-future
(12.82 MB, application/zip)
2018-12-07 19:27 PST
,
EWS Watchlist
no flags
Details
Patch
(7.62 KB, patch)
2018-12-07 22:23 PST
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2018-12-07 14:22:27 PST
<
rdar://problem/46564839
>
Jonathan Bedard
Comment 2
2018-12-07 14:45:10 PST
Actually, it seems to be even worse than this: Ref tests use a parallel scheme when compared with all the other layout tests, this scheme doesn't take into consideration platform test expectations.
Jonathan Bedard
Comment 3
2018-12-07 16:39:47 PST
Ok, digging through this code, there is really only one problem: ref tests don't respect platform specific expected results. Apparently we have also have 2 directories which use 'reftest.list' to define what the ref-test mapping is. Thats where my confusion was coming from.
Jonathan Bedard
Comment 4
2018-12-07 16:44:38 PST
Created
attachment 356851
[details]
Patch
Jonathan Bedard
Comment 5
2018-12-07 16:46:07 PST
Comment on
attachment 356851
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=356851&action=review
> Tools/Scripts/webkitpy/port/base.py:568 > + return result
I still need to add a test for using ref test expectations from platform specific directories. Existing unit tests cover everything else quite well.
Jonathan Bedard
Comment 6
2018-12-07 17:30:23 PST
Created
attachment 356856
[details]
Patch
EWS Watchlist
Comment 7
2018-12-07 18:28:04 PST
Comment on
attachment 356856
[details]
Patch
Attachment 356856
[details]
did not pass mac-ews (mac): Output:
https://webkit-queues.webkit.org/results/10312299
New failing tests: imported/blink/svg/animations/animateTransform-to-mismatched-types.html
EWS Watchlist
Comment 8
2018-12-07 18:28:05 PST
Created
attachment 356857
[details]
Archive of layout-test-results from ews102 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews102 Port: mac-sierra Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 9
2018-12-07 18:44:57 PST
Comment on
attachment 356856
[details]
Patch
Attachment 356856
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
https://webkit-queues.webkit.org/results/10312337
New failing tests: imported/blink/svg/animations/animateTransform-to-mismatched-types.html
EWS Watchlist
Comment 10
2018-12-07 18:44:59 PST
Created
attachment 356859
[details]
Archive of layout-test-results from ews106 for mac-sierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-sierra-wk2 Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 11
2018-12-07 19:21:29 PST
Comment on
attachment 356856
[details]
Patch
Attachment 356856
[details]
did not pass mac-debug-ews (mac): Output:
https://webkit-queues.webkit.org/results/10312388
New failing tests: imported/blink/svg/animations/animateTransform-to-mismatched-types.html
EWS Watchlist
Comment 12
2018-12-07 19:21:31 PST
Created
attachment 356860
[details]
Archive of layout-test-results from ews117 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews117 Port: mac-sierra Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 13
2018-12-07 19:26:51 PST
Comment on
attachment 356856
[details]
Patch
Attachment 356856
[details]
did not pass win-ews (win): Output:
https://webkit-queues.webkit.org/results/10312507
New failing tests: imported/blink/svg/animations/animateTransform-to-mismatched-types.html
EWS Watchlist
Comment 14
2018-12-07 19:27:03 PST
Created
attachment 356861
[details]
Archive of layout-test-results from ews205 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews205 Port: win-future Platform: CYGWIN_NT-6.1-2.9.0-0.318-5-3-x86_64-64bit
Jonathan Bedard
Comment 15
2018-12-07 22:23:30 PST
Created
attachment 356864
[details]
Patch
Alexey Proskuryakov
Comment 16
2018-12-10 09:52:35 PST
This behavior almost sounds like it may have been intentional - reftests just don't need platform specific results. It seems acceptable to make it possible if that simplifies the code, but allowing from complexity that we don't need feels a little wrong.
Jonathan Bedard
Comment 17
2018-12-10 10:14:09 PST
(In reply to Alexey Proskuryakov from
comment #16
)
> This behavior almost sounds like it may have been intentional - reftests > just don't need platform specific results. > > It seems acceptable to make it possible if that simplifies the code, but > allowing from complexity that we don't need feels a little wrong.
This change makes <
https://bugs.webkit.org/show_bug.cgi?id=192162
> easier (Since device-specific expectations share logic with platform specific expectations). I'm also not convinced this was deliberate, Ryosuke was surprised to hear that ref tests did not respect platform expectations, as were the bot watchers. Not to mention, while it isn't very common, we actually DO have platform specific ref tests in the tree at the moment <
https://trac.webkit.org/changeset/186001/webkit
> (just one example, there are a few more).
WebKit Commit Bot
Comment 18
2018-12-10 13:48:23 PST
Comment on
attachment 356864
[details]
Patch Clearing flags on attachment: 356864 Committed
r239048
: <
https://trac.webkit.org/changeset/239048
>
WebKit Commit Bot
Comment 19
2018-12-10 13:48:25 PST
All reviewed patches have been landed. Closing bug.
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