Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(373)

Issue 2082653004: blink/run-webkit-tests: Allow seeding the random test run order and write out value. (Closed)

Created:
4 years, 6 months ago by mithro
Modified:
4 years, 3 months ago
Reviewers:
Dirk Pranke, qyearsley, ojan
CC:
blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

blink/run-webkit-tests: Allow seeding the random test run order and write out value. Add "--order=random-seeded=10" to provide a seed to the random order. If no seed is provided, then the default value of 4 continues to be used. As the seed value can now be changed, it is written to a "random-seed.txt" file in the output directory. The order the tests should be run is also written in the "tests-run-order.txt" file. BUG=601332, 524758

Patch Set 1 #

Patch Set 2 : Fixing the test_run_order output. #

Patch Set 3 : Fixing tests. #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -17 lines) Patch
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py View 1 2 4 chunks +28 lines, -4 lines 6 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py View 1 2 10 chunks +27 lines, -13 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 21 (5 generated)
mithro
Hi, This CL adds support for controlling the seed value used in `--order=random-seeded`. It also ...
4 years, 6 months ago (2016-06-21 04:55:59 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2082653004/40001
4 years, 6 months ago (2016-06-21 04:56:22 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-21 07:33:02 UTC) #6
Dirk Pranke
https://codereview.chromium.org/2082653004/diff/40001/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py File third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py (right): https://codereview.chromium.org/2082653004/diff/40001/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py#newcode132 third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py:132: "\n".join(tests_to_run)) How does this relate to your "write a ...
4 years, 6 months ago (2016-06-21 23:47:14 UTC) #7
mithro
Hi Dirk, Thanks for the quick review. I've tried to keep this change independent of ...
4 years, 6 months ago (2016-06-22 08:40:08 UTC) #8
qyearsley
Thanks for uploading this :-) Along with this, the options help in run_webkit_tests.py should also ...
4 years, 6 months ago (2016-06-22 17:30:16 UTC) #9
Dirk Pranke
https://codereview.chromium.org/2082653004/diff/40001/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py File third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py (right): https://codereview.chromium.org/2082653004/diff/40001/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py#newcode270 third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py:270: groups = re.match('random-seeded(=([0-9]+))?', self._options.order) On 2016/06/22 17:30:16, qyearsley wrote: ...
4 years, 6 months ago (2016-06-24 01:53:40 UTC) #10
qyearsley
On 2016/06/24 at 01:53:40, dpranke wrote: > https://codereview.chromium.org/2082653004/diff/40001/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py > File third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py (right): > > https://codereview.chromium.org/2082653004/diff/40001/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py#newcode270 ...
4 years, 5 months ago (2016-07-20 23:24:16 UTC) #11
mithro
On 2016/07/20 23:24:16, qyearsley wrote: > On 2016/06/24 at 01:53:40, dpranke wrote: > > > ...
4 years, 5 months ago (2016-07-21 05:34:30 UTC) #12
mithro
I somehow missed your mention of the fact that we should just get rid of ...
4 years, 5 months ago (2016-07-21 07:27:08 UTC) #14
ojan
Yes, that makes sense. On Thu, Jul 21, 2016, 12:27 AM <tansell@chromium.org> wrote: > I ...
4 years, 5 months ago (2016-07-21 16:18:36 UTC) #15
ojan
Yes, that makes sense. On Thu, Jul 21, 2016, 12:27 AM <tansell@chromium.org> wrote: > I ...
4 years, 5 months ago (2016-07-21 16:18:40 UTC) #16
Dirk Pranke
On 2016/07/21 16:18:40, ojan wrote: > Yes, that makes sense. Works for me, too.
4 years, 5 months ago (2016-07-21 17:00:00 UTC) #17
qyearsley
On 2016/07/21 at 16:18:40, ojan wrote: > Yes, that makes sense. > > On Thu, ...
4 years, 4 months ago (2016-08-18 21:45:36 UTC) #18
jeffcarp
On 2016/08/18 at 21:45:36, qyearsley wrote: > On 2016/07/21 at 16:18:40, ojan wrote: > > ...
4 years, 3 months ago (2016-08-31 17:16:07 UTC) #20
qyearsley
4 years, 3 months ago (2016-09-05 00:16:46 UTC) #21
On 2016/08/31 at 17:16:07, jeffcarp wrote:
> On 2016/08/18 at 21:45:36, qyearsley wrote:
> > On 2016/07/21 at 16:18:40, ojan wrote:
> > > Yes, that makes sense.
> > > 
> > > On Thu, Jul 21, 2016, 12:27 AM <tansell@chromium.org> wrote:
> > > 
> > > > I somehow missed your mention of the fact that we should just get rid of
> > > > the
> > > > static random option.
> > > >
> > > > Dirk + Ojan, are you happy with removing "--order=random-seeded" and
having
> > > > "--order=random" be the seeded version which uses the "--seed" argument
> > > > (and
> > > > when not provided it uses the current time)?
> > > >
> > > > I'm assuming that nobody actually uses these arguments at the moment so
> > > > won't
> > > > complain if we change them?
> > > >
> > > > Tim 'mithro' Ansell
> > 
> > Hi Tim, sounds like nobody would complain if you removed those options; if
you have time, could you finish up and commit this CL?
> 
> Hi, this looks useful for finding tests with order dependencies. Are you
planning to finish this CL soon or would you mind if qyearsley and I picked it
up?

Made a continuation of this CL that removes --random-seeded and makes --seed a
separate option: http://crrev.com/2308283002

Powered by Google App Engine
This is Rietveld 408576698