WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
142325
run-webkit-tests and run-perf-tests should use WebKitTestRunner by default
https://bugs.webkit.org/show_bug.cgi?id=142325
Summary
run-webkit-tests and run-perf-tests should use WebKitTestRunner by default
Chris Dumez
Reported
2015-03-04 21:24:38 PST
run-webkit-tests and run-perf-tests should use WebKitTestRunner by default. As a result, "--webkit-test-runner / -2" parameters would be replaced by "--dump-render-tree / -1" so developers can run DumpRenderTree rather than WebKitTestRunner.
Attachments
Patch
(21.62 KB, patch)
2015-03-04 21:33 PST
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(30.01 KB, patch)
2015-03-05 10:48 PST
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2015-03-04 21:33:48 PST
Created
attachment 247929
[details]
Patch
Alexey Proskuryakov
Comment 2
2015-03-05 00:29:32 PST
Comment on
attachment 247929
[details]
Patch This patch fails EWS, gotta fix that too. run_webkit_tests.py: error: no such option: -2
Csaba Osztrogonác
Comment 3
2015-03-05 02:45:30 PST
(In reply to
comment #2
)
> Comment on
attachment 247929
[details]
> Patch > > This patch fails EWS, gotta fix that too. > > run_webkit_tests.py: error: no such option: -2
http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/ports.py#L132
"-2" argument should be removed from MacWK2Port and GtkWK2Port and --dump-render-tree should be passed to MacPort to run WK1 tests instead of WK2 tests.
Csaba Osztrogonác
Comment 4
2015-03-05 02:56:36 PST
Comment on
attachment 247929
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=247929&action=review
Please update the perf bot names in mastercfg_unittest.py in expected_build_steps variable. You can run mastercfg_unittest.py by hand in Tools/BuildSlaveSupport/build.webkit.org-config/ after you applied my fix from
bug142219
, it showed me all issues I commented here.
> Tools/BuildSlaveSupport/build.webkit.org-config/config.json:83 > + { "name": "Apple Mavericks Debug WK2 (Tests)", "type": "TestAllButJSCFactory", "builddir": "mavericks-debug-tests-wk2",
TestAllButJSCFactory -> TestAllButJSC
> Tools/BuildSlaveSupport/build.webkit.org-config/config.json:106 > + { "name": "Apple Mavericks Release WK2 (Tests)", "type": "TestAllButJSCFactory", "builddir": "mavericks-release-tests-wk2",
ditto
> Tools/BuildSlaveSupport/build.webkit.org-config/config.json:125 > + { "name": "Apple Yosemite Debug WK1 (Tests)", "type": "TestWebKit1AllButJSC", "builddir": "yosemite-debug-tests-wk1",
ditto
> Tools/BuildSlaveSupport/build.webkit.org-config/config.json:130 > + { "name": "Apple Yosemite Debug WK2 (Tests)", "type": "TestAllButJSCFactory", "builddir": "yosemite-debug-tests-wk2",
ditto
> Tools/BuildSlaveSupport/build.webkit.org-config/config.json:157 > + { "name": "Apple Yosemite Release WK2 (Tests)", "type": "TestAllButJSCFactory", "builddir": "yosemite-release-tests-wk2",
ditto
> Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg:780 > - LayoutTestClass = RunWebKitTests > + LayoutTestClass = RunWebKit2Tests
There is no RunWebKit2Tests anymore. It should be RunWebKitTests.
Csaba Osztrogonác
Comment 5
2015-03-05 02:57:55 PST
Just out of curiosity, is this change mean that WK1 will be obsolete soon?
Csaba Osztrogonác
Comment 6
2015-03-05 03:08:20 PST
It seems there will be no WK1 perf tester bot after this change, you can remove WK1 perf test related crufts too.
Csaba Osztrogonác
Comment 7
2015-03-05 03:14:14 PST
(In reply to
comment #4
)
> Please update the perf bot names in mastercfg_unittest.py in > expected_build_steps variable.
It should have been done in
http://trac.webkit.org/changeset/181050
.
Chris Dumez
Comment 8
2015-03-05 10:13:43 PST
(In reply to
comment #5
)
> Just out of curiosity, is this change mean that WK1 will be obsolete soon?
All this means is that WK2 is the focus nowadays and should become the default. Thanks the reviews, I'll rework the patch.
Chris Dumez
Comment 9
2015-03-05 10:48:22 PST
Created
attachment 247968
[details]
Patch
Csaba Osztrogonác
Comment 10
2015-03-05 12:05:11 PST
Comment on
attachment 247968
[details]
Patch LGTM, r=me.
Chris Dumez
Comment 11
2015-03-05 12:11:27 PST
Comment on
attachment 247968
[details]
Patch Clearing flags on attachment: 247968 Committed
r181093
: <
http://trac.webkit.org/changeset/181093
>
Chris Dumez
Comment 12
2015-03-05 12:11:31 PST
All reviewed patches have been landed. Closing bug.
Chris Dumez
Comment 13
2015-03-05 13:19:35 PST
The bots on build.webkit.org still try to pass --webkit-test-runner. I don't know why yet :(
Brent Fulgham
Comment 14
2015-03-05 13:22:40 PST
This broke the Windows test builder: 12:06:50.131 224 WebKitTestRunner was not found at /home/buildbot/slave/win-release-tests/build/WebKitBuild/release/bin32/WebKitTestRunner Windows (unfortunately) does not build WebKitTestRunner. Can you fix? Or should I roll this out now?
Chris Dumez
Comment 15
2015-03-05 13:24:09 PST
(In reply to
comment #14
)
> This broke the Windows test builder: > > 12:06:50.131 224 WebKitTestRunner was not found at > /home/buildbot/slave/win-release-tests/build/WebKitBuild/release/bin32/ > WebKitTestRunner > > > Windows (unfortunately) does not build WebKitTestRunner. > > Can you fix? Or should I roll this out now?
This is likely the same issue, some things are out of sync. Win is supposed to pass --dump-render-tree now but apparently doesn't on the bots. And the wk2 bots still pass --webkit-test-runner although they should no longer do this. I am still trying to figure this out.
Chris Dumez
Comment 16
2015-03-05 13:35:25 PST
Ok, the bots should hopefully come back up now.
Csaba Osztrogonác
Comment 17
2015-03-06 09:09:49 PST
It seems the bots should be renamed in perf.webkit.org too. Ryosuke could you possibly check it? Uploaded JSON to
https://perf.webkit.org/api/report
but got an error: { "status": "BuilderNotFound", "failureStored": false, "name": "Apple Yosemite Release WK2 (Perf)", "processedRuns": 0 } Uploaded JSON to
https://perf.webkit.org/api/report
but got an error: { "status": "BuilderNotFound", "failureStored": false, "name": "Apple Mavericks Release WK2 (Perf)", "processedRuns": 0 }
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