WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
210115
EWS should skip mac-wk1 and mac-debug-wk1 tests for patches that only change WebKit2 sources
https://bugs.webkit.org/show_bug.cgi?id=210115
Summary
EWS should skip mac-wk1 and mac-debug-wk1 tests for patches that only change ...
David Kilzer (:ddkilzer)
Reported
2020-04-07 08:53:24 PDT
EWS should skip mac-wk1 and mac-debug-wk1 tests for patches that only change WebKit2 sources. The patches attached to
Bug 210094
only changed files in the Source/WebKit folder. Running mac-wk1 and mac-debug-wk1 tests doesn't seem useful in that case.
Attachments
Patch
(8.19 KB, patch)
2020-04-08 07:44 PDT
,
Aakash Jain
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
David Kilzer (:ddkilzer)
Comment 1
2020-04-07 08:57:04 PDT
(In reply to David Kilzer (:ddkilzer) from
comment #0
)
> Running mac-wk1 and mac-debug-wk1 tests doesn't seem useful in that case.
The only thing it would provide is more evidence of flakey WK1 tests on those bots, I guess. I'm not sure if folks use EWS test results such a specific way, though. (I suspect there are plenty of patches that would run the WK1 tests to discover flakey tests, though.)
Radar WebKit Bug Importer
Comment 2
2020-04-07 09:29:28 PDT
<
rdar://problem/61395869
>
Aakash Jain
Comment 3
2020-04-07 09:32:02 PDT
> I'm not sure if folks use EWS test results such a specific way, though.
We don't currently use the flakiness information from EWS in any meaningful manner, apart from checking manually when a test becomes too much flaky.
Aakash Jain
Comment 4
2020-04-07 09:35:10 PDT
(In reply to David Kilzer (:ddkilzer) from
comment #0
)
> EWS should skip mac-wk1 and mac-debug-wk1 tests for patches that only change WebKit2 sources.
I like the idea. Can we come up with a list of folders for which wk1 tests should be run? e.g.: 'Source/WebKitLegacy', 'LayoutTests' The tests will be skipped if the patch doesn't touch any of those. We have similar logic in ews for various queues like jsc/webkitpy/service/bindings in
https://trac.webkit.org/browser/webkit/trunk/Tools/BuildSlaveSupport/ews-build/steps.py#L250
David Kilzer (:ddkilzer)
Comment 5
2020-04-07 10:20:06 PDT
(In reply to Aakash Jain from
comment #4
)
> (In reply to David Kilzer (:ddkilzer) from
comment #0
) > > EWS should skip mac-wk1 and mac-debug-wk1 tests for patches that only change WebKit2 sources. > I like the idea. > Can we come up with a list of folders for which wk1 tests should be run? > e.g.: 'Source/WebKitLegacy', 'LayoutTests'
Basically anything in WebKitLegacy or "above", including tests: Source/bmalloc Source/WTF Source/JavaScriptCore Source/ThirdParty/{ANGLE,libwebrtc,gtest} Source/WebCore Source/WebDriver (?) Source/WebInspectorUI (?) Source/WebKitLegacy LayoutTests Tools I think it would be easier to say "if the patch only changes files under Source/WebKit, then skip wk1 EWS tests"; rather than "if the patch changes these directories, run wk1 EWS tests". Maybe it's easier to do the latter, though?
Aakash Jain
Comment 6
2020-04-08 07:44:12 PDT
Created
attachment 395807
[details]
Patch
Aakash Jain
Comment 7
2020-04-08 08:00:31 PDT
(In reply to David Kilzer (:ddkilzer) from
comment #5
)
> I think it would be easier to say "if the patch only changes files under Source/WebKit, then skip wk1 EWS tests"; rather than "if the patch changes these directories, run wk1 EWS tests". > > Maybe it's easier to do the latter, though?
Yes, we already have the code for that. I can look into adding support for the former if we realize that current approach isn't working well.
Aakash Jain
Comment 8
2020-04-08 08:01:11 PDT
Sample runs: Patch without relevant change:
https://ews-build.webkit-uat.org/#/builders/32/builds/4
Patch with relevant change:
https://ews-build.webkit-uat.org/#/builders/32/builds/3
EWS
Comment 9
2020-04-08 08:42:04 PDT
Committed
r259718
: <
https://trac.webkit.org/changeset/259718
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 395807
[details]
.
Aakash Jain
Comment 10
2020-04-09 04:09:03 PDT
Deployed on the server. Seems to be working fine. e.g.:
https://bugs.webkit.org/show_bug.cgi?id=210229
Please let me know if you notice wk1 tests being skipped on any patch on which it shouldn't be skipped, or if you have further ideas to skip build/test on other queues.
David Kilzer (:ddkilzer)
Comment 11
2020-04-09 13:10:08 PDT
(In reply to Aakash Jain from
comment #10
)
> Deployed on the server. Seems to be working fine. e.g.: >
https://bugs.webkit.org/show_bug.cgi?id=210229
> > Please let me know if you notice wk1 tests being skipped on any patch on > which it shouldn't be skipped, or if you have further ideas to skip > build/test on other queues.
Awesome! Will do.
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