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

Issue 2308283002: Allow seeding the random layout test order and write out seed. (Closed)

Created:
4 years, 3 months ago by qyearsley
Modified:
4 years, 3 months ago
CC:
blink-reviews, chromium-reviews, Dirk Pranke, jeffcarp
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support specifying a seed for pseudo-random test order. This is a continuation of http://crrev.com/2082653004 with the following differences: - --order=random-seeded is removed - The seed is given in a separate flag. Once we find out which tests are order-dependent and will be flaky with random order, then this can be changed so that "random" is the default order instead of "natural". BUG=601332 Committed: https://crrev.com/fa5c50adb9b096701b9c0e1e9eee458665484bc5 Cr-Commit-Position: refs/heads/master@{#417968}

Patch Set 1 #

Total comments: 13

Patch Set 2 : Use fixed seed by default; move logging of random seed to Printer; remove writing of file. #

Patch Set 3 : Remove incomplete docstring change #

Total comments: 1

Patch Set 4 : Add random order seed to results file. #

Messages

Total messages: 30 (13 generated)
qyearsley
https://codereview.chromium.org/2308283002/diff/1/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/2308283002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py#newcode281 third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py:281: self._filesystem.write_text_file(path, contents) We could also potentially: - Not write ...
4 years, 3 months ago (2016-09-05 00:15:28 UTC) #5
Dirk Pranke
https://codereview.chromium.org/2308283002/diff/1/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/2308283002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py#newcode281 third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py:281: self._filesystem.write_text_file(path, contents) On 2016/09/05 00:15:28, qyearsley wrote: > We ...
4 years, 3 months ago (2016-09-06 01:19:57 UTC) #8
mithro
Thanks for picking up this CL Quinten. Definitely happy for someone else to get it ...
4 years, 3 months ago (2016-09-06 02:02:25 UTC) #9
ojan
https://codereview.chromium.org/2308283002/diff/1/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/2308283002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py#newcode262 third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py:262: self._random_seed = int(time.time()) I think we should do a ...
4 years, 3 months ago (2016-09-06 16:53:29 UTC) #10
qyearsley
https://codereview.chromium.org/2308283002/diff/1/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/2308283002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py#newcode262 third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py:262: self._random_seed = int(time.time()) On 2016/09/06 at 16:53:29, ojan wrote: ...
4 years, 3 months ago (2016-09-06 17:22:48 UTC) #11
jeffcarp
https://codereview.chromium.org/2308283002/diff/1/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/2308283002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py#newcode262 third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py:262: self._random_seed = int(time.time()) On 2016/09/06 at 16:53:29, ojan wrote: ...
4 years, 3 months ago (2016-09-06 17:22:51 UTC) #13
ojan
https://codereview.chromium.org/2308283002/diff/1/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/2308283002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py#newcode262 third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py:262: self._random_seed = int(time.time()) On 2016/09/06 at 17:22:48, qyearsley wrote: ...
4 years, 3 months ago (2016-09-06 21:27:11 UTC) #14
jeffcarp
https://codereview.chromium.org/2308283002/diff/1/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/2308283002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py#newcode262 third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py:262: self._random_seed = int(time.time()) On 2016/09/06 at 21:27:11, ojan wrote: ...
4 years, 3 months ago (2016-09-06 22:57:30 UTC) #15
ojan
https://codereview.chromium.org/2308283002/diff/1/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/2308283002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py#newcode262 third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py:262: self._random_seed = int(time.time()) On 2016/09/06 at 22:57:30, jeffcarp wrote: ...
4 years, 3 months ago (2016-09-06 23:07:43 UTC) #16
qyearsley
In the latest patch now, I've now changed it so that: - The seed is ...
4 years, 3 months ago (2016-09-07 18:07:12 UTC) #17
qyearsley
Ping - does the latest version of this CL look OK to commit?
4 years, 3 months ago (2016-09-09 15:54:51 UTC) #22
Dirk Pranke
lgtm, if you also change it so that we write the seed into the results.json ...
4 years, 3 months ago (2016-09-09 19:50:23 UTC) #23
qyearsley
On 2016/09/09 at 19:50:23, dpranke wrote: > lgtm, if you also change it so that ...
4 years, 3 months ago (2016-09-09 21:26:39 UTC) #24
Dirk Pranke
lgtm
4 years, 3 months ago (2016-09-10 16:38:58 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2308283002/60001
4 years, 3 months ago (2016-09-12 16:19:30 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-12 17:40:35 UTC) #28
commit-bot: I haz the power
4 years, 3 months ago (2016-09-12 17:42:47 UTC) #30
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/fa5c50adb9b096701b9c0e1e9eee458665484bc5
Cr-Commit-Position: refs/heads/master@{#417968}

Powered by Google App Engine
This is Rietveld 408576698