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

Issue 313693003: Swarming: conditionally run tests on swarming in chromium_trybot recipe. (Closed)

Created:
6 years, 6 months ago by Vadim Sh.
Modified:
6 years, 6 months ago
CC:
chromium-reviews, kjellander-cc_chromium.org, cmp-cc_chromium.org, ilevy-cc_chromium.org, stip+watch_chromium.org
Visibility:
Public.

Description

Swarming: conditionally run tests on swarming in chromium_trybot recipe. Test spec now can contain optional 'swarming' section in test definition that describes conditions for running the test on Swarming. If this section is not present, swarming support is completely disabled (as indicated by unchanged expectation files). R=maruel@chromium.org,phajdan.jr@chromium.org BUG=354057 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=277077

Patch Set 1 #

Total comments: 29

Patch Set 2 : #

Total comments: 13

Patch Set 3 : #

Total comments: 10

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1073 lines, -631 lines) Patch
M scripts/slave/recipe_modules/isolate/api.py View 1 2 3 4 5 4 chunks +10 lines, -3 lines 0 comments Download
M scripts/slave/recipe_modules/isolate/test_api.py View 1 chunk +2 lines, -2 lines 0 comments Download
M scripts/slave/recipe_modules/swarming/api.py View 1 8 chunks +22 lines, -17 lines 0 comments Download
M scripts/slave/recipe_modules/test_utils/api.py View 1 2 3 4 4 chunks +18 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.py View 1 2 3 4 5 12 chunks +305 lines, -51 lines 0 comments Download
A + scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_chromium_rel_swarming.json View 1 2 3 4 5 7 chunks +17 lines, -17 lines 0 comments Download
A + scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_mac_chromium_rel_swarming.json View 1 2 3 4 5 9 chunks +18 lines, -59 lines 0 comments Download
A + scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_win_chromium_rel_swarming.json View 1 2 3 4 5 12 chunks +36 lines, -104 lines 0 comments Download
A + scripts/slave/recipes/chromium_trybot.expected/swarming_basic.json View 1 2 3 4 5 7 chunks +204 lines, -129 lines 0 comments Download
A + scripts/slave/recipes/chromium_trybot.expected/swarming_deapply_patch.json View 1 2 3 4 5 14 chunks +249 lines, -124 lines 0 comments Download
A + scripts/slave/recipes/chromium_trybot.expected/swarming_missing_isolated.json View 1 2 3 4 5 6 chunks +192 lines, -123 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Vadim Sh.
PTAL Expectations for non swarming tests do not change -> when committed should be NOOP ...
6 years, 6 months ago (2014-06-04 00:03:56 UTC) #1
M-A Ruel
Some comments but mostly questions, nothing huge. https://codereview.chromium.org/313693003/diff/1/scripts/slave/recipe_modules/isolate/api.py File scripts/slave/recipe_modules/isolate/api.py (right): https://codereview.chromium.org/313693003/diff/1/scripts/slave/recipe_modules/isolate/api.py#newcode41 scripts/slave/recipe_modules/isolate/api.py:41: def find_isolated_tests(self, ...
6 years, 6 months ago (2014-06-04 00:52:53 UTC) #2
Vadim Sh.
https://codereview.chromium.org/313693003/diff/1/scripts/slave/recipe_modules/isolate/api.py File scripts/slave/recipe_modules/isolate/api.py (right): https://codereview.chromium.org/313693003/diff/1/scripts/slave/recipe_modules/isolate/api.py#newcode41 scripts/slave/recipe_modules/isolate/api.py:41: def find_isolated_tests(self, build_dir, targets=None, **kwargs): On 2014/06/04 00:52:53, M-A ...
6 years, 6 months ago (2014-06-04 02:58:27 UTC) #3
Paweł Hajdan Jr.
Nice work, glad to see this! Please wait for my final review, and don't commit ...
6 years, 6 months ago (2014-06-04 10:50:31 UTC) #4
M-A Ruel
Personally lgtm, assuming granular switchability comes one day.
6 years, 6 months ago (2014-06-05 15:05:10 UTC) #5
Vadim Sh.
Pawel, please take another look. The plan: 1. Get this submitted. 2. Add (linux|mac|win)_chromium_rel_swarming builders ...
6 years, 6 months ago (2014-06-09 20:27:16 UTC) #6
Paweł Hajdan Jr.
I consider the remaining comments minor - I'd still like to take another look before ...
6 years, 6 months ago (2014-06-10 08:36:56 UTC) #7
Vadim Sh.
https://codereview.chromium.org/313693003/diff/20001/scripts/slave/recipes/chromium_trybot.py File scripts/slave/recipes/chromium_trybot.py (right): https://codereview.chromium.org/313693003/diff/20001/scripts/slave/recipes/chromium_trybot.py#newcode523 scripts/slave/recipes/chromium_trybot.py:523: can_fail_build=False, On 2014/06/10 08:36:55, Paweł Hajdan Jr. wrote: > ...
6 years, 6 months ago (2014-06-12 01:00:09 UTC) #8
Paweł Hajdan Jr.
https://codereview.chromium.org/313693003/diff/40001/scripts/slave/recipe_modules/test_utils/api.py File scripts/slave/recipe_modules/test_utils/api.py (right): https://codereview.chromium.org/313693003/diff/40001/scripts/slave/recipe_modules/test_utils/api.py#newcode116 scripts/slave/recipe_modules/test_utils/api.py:116: # Trigger all async tests first, so that they ...
6 years, 6 months ago (2014-06-12 11:16:10 UTC) #9
M-A Ruel
On 2014/06/12 11:16:10, Paweł Hajdan Jr. wrote: > This is the last concern I have, ...
6 years, 6 months ago (2014-06-12 12:19:23 UTC) #10
Vadim Sh.
I give up, you won. https://codereview.chromium.org/313693003/diff/40001/scripts/slave/recipe_modules/test_utils/api.py File scripts/slave/recipe_modules/test_utils/api.py (right): https://codereview.chromium.org/313693003/diff/40001/scripts/slave/recipe_modules/test_utils/api.py#newcode116 scripts/slave/recipe_modules/test_utils/api.py:116: # Trigger all async ...
6 years, 6 months ago (2014-06-12 18:34:10 UTC) #11
Paweł Hajdan Jr.
LGTM, thanks!
6 years, 6 months ago (2014-06-13 13:41:38 UTC) #12
Vadim Sh.
The CQ bit was checked by vadimsh@chromium.org
6 years, 6 months ago (2014-06-13 20:51:10 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vadimsh@chromium.org/313693003/100001
6 years, 6 months ago (2014-06-13 20:51:49 UTC) #14
commit-bot: I haz the power
6 years, 6 months ago (2014-06-13 20:53:13 UTC) #15
Message was sent while issue was closed.
Change committed as 277077

Powered by Google App Engine
This is Rietveld 408576698