Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(5)

Issue 1161863003: Add an additional content_shell per worker for running virtual tests. (Closed)

Created:
4 years, 11 months ago by joelo
Modified:
4 years, 11 months ago
Reviewers:
Dirk Pranke, jsbell, ojan
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@virtual_reference_flags
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Add an additional content_shell per worker for running virtual tests. The secondary content_shell will only be used for rendering the virtual test's references, and only if the references use default flags. The secondary content_shell is lazily initialized and shutdown at the end of each test suite. BUG=471431 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196445

Patch Set 1 #

Patch Set 2 : Add integration test for virtual tests with default reference args #

Total comments: 6

Patch Set 3 : use extra content shell for references with default args instead #

Patch Set 4 : remove DriverHandler and driver preparation/reconstruction logic #

Patch Set 5 : fix docstring for Driver.run_test() #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -31 lines) Patch
M Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py View 1 2 3 8 chunks +22 lines, -22 lines 2 comments Download
M Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner.py View 1 2 4 chunks +18 lines, -5 lines 0 comments Download
M Tools/Scripts/webkitpy/layout_tests/port/driver.py View 1 2 3 4 1 chunk +4 lines, -3 lines 0 comments Download
M Tools/Scripts/webkitpy/layout_tests/port/test.py View 1 2 chunks +3 lines, -1 line 0 comments Download
M Tools/Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py View 1 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (3 generated)
joelo
dpranke@, ojan@, jsbell@: ptal?
4 years, 11 months ago (2015-06-01 11:24:54 UTC) #2
Dirk Pranke
I have some general comments on the approach in the CL first; once we get ...
4 years, 11 months ago (2015-06-01 22:06:20 UTC) #3
ojan
https://codereview.chromium.org/1161863003/diff/20001/Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner.py File Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner.py (right): https://codereview.chromium.org/1161863003/diff/20001/Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner.py#newcode83 Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:83: self._reference_driver = virtual_driver On 2015/06/01 at 22:06:20, Dirk Pranke ...
4 years, 11 months ago (2015-06-01 23:19:54 UTC) #4
Dirk Pranke
On 2015/06/01 23:19:54, ojan wrote: > https://codereview.chromium.org/1161863003/diff/20001/Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner.py > File Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner.py > (right): > > https://codereview.chromium.org/1161863003/diff/20001/Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner.py#newcode83 ...
4 years, 11 months ago (2015-06-01 23:27:14 UTC) #5
ojan
On 2015/06/01 at 23:27:14, dpranke wrote: > On 2015/06/01 23:19:54, ojan wrote: > > > ...
4 years, 11 months ago (2015-06-01 23:42:46 UTC) #6
joelo
On 2015/06/01 23:42:46, ojan wrote: > On 2015/06/01 at 23:27:14, dpranke wrote: > > On ...
4 years, 11 months ago (2015-06-02 00:06:21 UTC) #7
joelo
https://codereview.chromium.org/1161863003/diff/20001/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py File Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py (right): https://codereview.chromium.org/1161863003/diff/20001/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py#newcode355 Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:355: """Maintains the lifecycle of a driver for a given ...
4 years, 11 months ago (2015-06-02 00:07:04 UTC) #8
Dirk Pranke
On 2015/06/01 23:42:46, ojan wrote: > On 2015/06/01 at 23:27:14, dpranke wrote: > > On ...
4 years, 11 months ago (2015-06-02 18:57:48 UTC) #9
ojan
On 2015/06/02 at 18:57:48, dpranke wrote: > On 2015/06/01 23:42:46, ojan wrote: > > On ...
4 years, 11 months ago (2015-06-02 19:03:33 UTC) #10
Dirk Pranke
https://codereview.chromium.org/1161863003/diff/20001/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py File Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py (right): https://codereview.chromium.org/1161863003/diff/20001/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py#newcode355 Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:355: """Maintains the lifecycle of a driver for a given ...
4 years, 11 months ago (2015-06-02 19:06:04 UTC) #11
Dirk Pranke
On 2015/06/02 19:03:33, ojan wrote: > Do you want joel to try out all four ...
4 years, 11 months ago (2015-06-02 19:12:40 UTC) #12
ojan
On 2015/06/02 at 19:12:40, dpranke wrote: > On 2015/06/02 19:03:33, ojan wrote: > > Do ...
4 years, 11 months ago (2015-06-02 19:52:32 UTC) #13
joelo
On 2015/06/02 19:52:32, ojan wrote: > On 2015/06/02 at 19:12:40, dpranke wrote: > > On ...
4 years, 11 months ago (2015-06-02 23:42:30 UTC) #14
joelo
https://codereview.chromium.org/1161863003/diff/20001/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py File Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py (right): https://codereview.chromium.org/1161863003/diff/20001/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py#newcode355 Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:355: """Maintains the lifecycle of a driver for a given ...
4 years, 11 months ago (2015-06-02 23:49:18 UTC) #15
joelo
On 2015/06/02 23:42:30, joelo wrote: > On 2015/06/02 19:52:32, ojan wrote: > > On 2015/06/02 ...
4 years, 11 months ago (2015-06-02 23:58:26 UTC) #16
joelo
I did some testing locally, here are some numbers (8 workers, virtual tests only): Before: ...
4 years, 11 months ago (2015-06-03 05:18:03 UTC) #17
joelo
dpranke@, ojan@, ptal? Note that the drivers in Worker are no longer reconstructed after every ...
4 years, 11 months ago (2015-06-03 08:52:44 UTC) #18
Dirk Pranke
lgtm w/ one nit. https://codereview.chromium.org/1161863003/diff/80001/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py File Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py (right): https://codereview.chromium.org/1161863003/diff/80001/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py#newcode255 Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:255: self._kill_driver(self._secondary_driver, 'secondary') Do we need ...
4 years, 11 months ago (2015-06-03 19:03:40 UTC) #19
joelo
Thanks dpranke@! https://codereview.chromium.org/1161863003/diff/80001/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py File Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py (right): https://codereview.chromium.org/1161863003/diff/80001/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py#newcode255 Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:255: self._kill_driver(self._secondary_driver, 'secondary') On 2015/06/03 19:03:40, Dirk Pranke ...
4 years, 11 months ago (2015-06-04 00:53:26 UTC) #20
Dirk Pranke
On 2015/06/04 00:53:26, joelo wrote: > Thanks dpranke@! > > https://codereview.chromium.org/1161863003/diff/80001/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py > File Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py > ...
4 years, 11 months ago (2015-06-04 01:00:00 UTC) #21
joelo
On 2015/06/04 01:00:00, Dirk Pranke wrote: > On 2015/06/04 00:53:26, joelo wrote: > > Thanks ...
4 years, 11 months ago (2015-06-04 01:15:12 UTC) #22
Dirk Pranke
On 2015/06/04 01:15:12, joelo wrote: > On 2015/06/04 01:00:00, Dirk Pranke wrote: > > On ...
4 years, 11 months ago (2015-06-04 01:25:07 UTC) #23
joelo
On 2015/06/04 01:25:07, Dirk Pranke wrote: > On 2015/06/04 01:15:12, joelo wrote: > > On ...
4 years, 11 months ago (2015-06-04 01:45:15 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1161863003/80001
4 years, 11 months ago (2015-06-04 01:46:13 UTC) #26
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://src.chromium.org/viewvc/blink?view=rev&revision=196445
4 years, 11 months ago (2015-06-04 02:58:35 UTC) #27
leviw_travelin_and_unemployed
4 years, 11 months ago (2015-06-04 22:24:37 UTC) #28
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:80001) has been created in
https://codereview.chromium.org/1158323009/ by leviw@chromium.org.

The reason for reverting is: Causing issues on Android bots:
https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Android%20(Nex....

Powered by Google App Engine
This is Rietveld 408576698