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

Issue 1104533002: Add recipe for split AMP/local CQ. (Closed)

Created:
5 years, 8 months ago by navabi1
Modified:
5 years, 6 months ago
CC:
chromium-reviews, kjellander-cc_chromium.org, stip+watch_chromium.org
Target Ref:
refs/heads/master
Project:
build
Visibility:
Public.

Description

Add recipe for split AMP/local CQ. Add a new recipe that triggers AMP test suites, runs local non-AMP tests, and then collects AMP test results. BUG=481657 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=295808

Patch Set 1 #

Total comments: 14

Patch Set 2 : Make AMPGTestTest more like swarming tests. #

Total comments: 12

Patch Set 3 : Initialize AMPGTest explicitly and generate expectations. #

Patch Set 4 : Pass the correct arguments to AMPGTestTest #

Total comments: 1

Patch Set 5 : Peer programing sesh with luqui round 1. #

Patch Set 6 : Fixed coverage for expectations. #

Patch Set 7 : nit: remove extra line in chromium/example.py #

Total comments: 6

Patch Set 8 : Remove device_os 4.4.3 and device_timeout. #

Total comments: 7

Patch Set 9 : Address phajdan.jr comments. #

Total comments: 4

Patch Set 10 : Move call to locally run test into run method. #

Patch Set 11 : Add master.cfg/slave.cfg to fyi bot to use new recipe. #

Total comments: 1

Patch Set 12 : Parent builder Android Builder (dbg) and expectation changes. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+2761 lines, -1483 lines) Patch
M masters/master.chromium.fyi/master.cfg View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -2 lines 0 comments Download
M masters/master.chromium.fyi/slaves.cfg View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M scripts/slave/recipe_modules/amp/api.py View 1 2 3 4 1 chunk +5 lines, -9 lines 0 comments Download
M scripts/slave/recipe_modules/amp/example.py View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -26 lines 0 comments Download
D scripts/slave/recipe_modules/amp/example.expected/device_os_and_minimum_device_os_basic.json View 1 2 3 4 1 chunk +0 lines, -7 lines 0 comments Download
D scripts/slave/recipe_modules/amp/example.expected/no_api_address_basic.json View 1 2 3 4 1 chunk +0 lines, -7 lines 0 comments Download
D scripts/slave/recipe_modules/amp/example.expected/no_api_port_basic.json View 1 2 3 4 1 chunk +0 lines, -7 lines 0 comments Download
D scripts/slave/recipe_modules/amp/example.expected/no_api_protocol_basic.json View 1 2 3 4 1 chunk +0 lines, -7 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_tests/chromium_fyi.py View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +85 lines, -0 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_tests/steps.py View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +68 lines, -0 lines 1 comment Download
M scripts/slave/recipes/chromium.py View 1 2 3 4 5 6 7 8 3 chunks +39 lines, -1 line 0 comments Download
A + scripts/slave/recipes/chromium.expected/amp_split_recipe_collect_failure.json View 1 2 3 4 5 6 7 8 46 chunks +640 lines, -327 lines 0 comments Download
A + scripts/slave/recipes/chromium.expected/amp_split_recipe_trigger_failure.json View 1 2 3 4 5 6 7 8 9 41 chunks +626 lines, -381 lines 0 comments Download
A + scripts/slave/recipes/chromium.expected/amp_split_recipe_trigger_local_failure.json View 1 2 3 4 5 6 7 8 9 42 chunks +635 lines, -381 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_Android_Builder__dbg_.json View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +28 lines, -1 line 2 comments Download
A + scripts/slave/recipes/chromium.expected/full_chromium_fyi_Android_Tests__amp_split_.json View 1 2 3 4 5 6 7 8 9 10 11 45 chunks +632 lines, -326 lines 0 comments Download

Messages

Total messages: 34 (4 generated)
navabi
This is an initial and incomplete patch illustrating the approach to adding split amp testing ...
5 years, 8 months ago (2015-04-22 16:16:48 UTC) #2
Paweł Hajdan Jr.
I'm glad this is using the chromium and chromium_trybot recipes. https://codereview.chromium.org/1104533002/diff/1/scripts/slave/recipe_modules/chromium/chromium_linux.py File scripts/slave/recipe_modules/chromium/chromium_linux.py (right): https://codereview.chromium.org/1104533002/diff/1/scripts/slave/recipe_modules/chromium/chromium_linux.py#newcode291 ...
5 years, 8 months ago (2015-04-22 16:25:10 UTC) #4
jbudorick
I had more comments, but they basically boiled down to "this should more closely mirror ...
5 years, 8 months ago (2015-04-22 16:35:40 UTC) #5
navabi
https://codereview.chromium.org/1104533002/diff/1/scripts/slave/recipe_modules/chromium/chromium_linux.py File scripts/slave/recipe_modules/chromium/chromium_linux.py (right): https://codereview.chromium.org/1104533002/diff/1/scripts/slave/recipe_modules/chromium/chromium_linux.py#newcode291 scripts/slave/recipe_modules/chromium/chromium_linux.py:291: 'Android Tests (amp split)': { On 2015/04/22 16:25:09, Paweł ...
5 years, 7 months ago (2015-05-07 19:21:59 UTC) #6
navabi
This does not pass the recipe_simulation_tests.py: File "/usr/local/google/code/buildbot/build/scripts/slave/recipe_modules/chromium/steps.py", line 727, in pre_run return self._test.pre_run(api, suffix) ...
5 years, 7 months ago (2015-05-07 20:02:50 UTC) #7
navabi
https://codereview.chromium.org/1104533002/diff/20001/scripts/slave/recipe_modules/chromium/steps.py File scripts/slave/recipe_modules/chromium/steps.py (right): https://codereview.chromium.org/1104533002/diff/20001/scripts/slave/recipe_modules/chromium/steps.py#newcode656 scripts/slave/recipe_modules/chromium/steps.py:656: amp_arguments = api.amp.amp_arguments( this is one reason i need ...
5 years, 7 months ago (2015-05-07 20:16:49 UTC) #8
jbudorick
https://codereview.chromium.org/1104533002/diff/20001/scripts/slave/recipe_modules/chromium/steps.py File scripts/slave/recipe_modules/chromium/steps.py (right): https://codereview.chromium.org/1104533002/diff/20001/scripts/slave/recipe_modules/chromium/steps.py#newcode287 scripts/slave/recipe_modules/chromium/steps.py:287: api.chromium_android.run_test_suite(self.target_name, **kwargs) chromium.steps already uses chromium_android, which also depends ...
5 years, 7 months ago (2015-05-07 20:31:47 UTC) #9
Paweł Hajdan Jr.
Please generate recipe expectations for this change. https://codereview.chromium.org/1104533002/diff/20001/scripts/slave/recipe_modules/chromium/steps.py File scripts/slave/recipe_modules/chromium/steps.py (right): https://codereview.chromium.org/1104533002/diff/20001/scripts/slave/recipe_modules/chromium/steps.py#newcode675 scripts/slave/recipe_modules/chromium/steps.py:675: # If ...
5 years, 7 months ago (2015-05-08 08:55:11 UTC) #10
navabi
The reason I did not generate expectations is because of the recipe module dependency problem ...
5 years, 7 months ago (2015-05-18 15:51:49 UTC) #11
navabi
Luke, can you PTAL and let me know if you can tell why recipe_simulation_test.py is ...
5 years, 6 months ago (2015-06-05 01:36:22 UTC) #12
navabi
PTAL luqui@ helped me get the expectations right (thanks luqui@). The expectation looks good (i.e. ...
5 years, 6 months ago (2015-06-06 00:14:01 UTC) #13
jbudorick
Really like how this looks. https://codereview.chromium.org/1104533002/diff/120001/scripts/slave/recipe_modules/chromium/chromium_fyi.py File scripts/slave/recipe_modules/chromium/chromium_fyi.py (right): https://codereview.chromium.org/1104533002/diff/120001/scripts/slave/recipe_modules/chromium/chromium_fyi.py#newcode1525 scripts/slave/recipe_modules/chromium/chromium_fyi.py:1525: device_name=['Nexus 5'], device_os=['4.4.2', '4.4.3'], ...
5 years, 6 months ago (2015-06-06 00:39:20 UTC) #14
navabi
https://codereview.chromium.org/1104533002/diff/120001/scripts/slave/recipe_modules/chromium/chromium_fyi.py File scripts/slave/recipe_modules/chromium/chromium_fyi.py (right): https://codereview.chromium.org/1104533002/diff/120001/scripts/slave/recipe_modules/chromium/chromium_fyi.py#newcode1525 scripts/slave/recipe_modules/chromium/chromium_fyi.py:1525: device_name=['Nexus 5'], device_os=['4.4.2', '4.4.3'], On 2015/06/06 00:39:20, jbudorick wrote: ...
5 years, 6 months ago (2015-06-06 01:39:08 UTC) #15
navabi
https://codereview.chromium.org/1104533002/diff/140001/scripts/slave/recipe_modules/chromium/steps.py File scripts/slave/recipe_modules/chromium/steps.py (right): https://codereview.chromium.org/1104533002/diff/140001/scripts/slave/recipe_modules/chromium/steps.py#newcode654 scripts/slave/recipe_modules/chromium/steps.py:654: device_name=self._device_name, is it cool if device_timeout is missing from ...
5 years, 6 months ago (2015-06-06 01:56:53 UTC) #16
Paweł Hajdan Jr.
https://codereview.chromium.org/1104533002/diff/20001/scripts/slave/recipe_modules/chromium/steps.py File scripts/slave/recipe_modules/chromium/steps.py (right): https://codereview.chromium.org/1104533002/diff/20001/scripts/slave/recipe_modules/chromium/steps.py#newcode675 scripts/slave/recipe_modules/chromium/steps.py:675: # If we were unable to successfully trigger the ...
5 years, 6 months ago (2015-06-08 09:33:21 UTC) #17
jbudorick
https://codereview.chromium.org/1104533002/diff/120001/scripts/slave/recipe_modules/chromium/chromium_fyi.py File scripts/slave/recipe_modules/chromium/chromium_fyi.py (right): https://codereview.chromium.org/1104533002/diff/120001/scripts/slave/recipe_modules/chromium/chromium_fyi.py#newcode1526 scripts/slave/recipe_modules/chromium/chromium_fyi.py:1526: device_timeout=60), On 2015/06/06 at 01:39:07, navabi wrote: > On ...
5 years, 6 months ago (2015-06-08 13:17:35 UTC) #18
navabi
https://codereview.chromium.org/1104533002/diff/20001/scripts/slave/recipe_modules/chromium/steps.py File scripts/slave/recipe_modules/chromium/steps.py (right): https://codereview.chromium.org/1104533002/diff/20001/scripts/slave/recipe_modules/chromium/steps.py#newcode675 scripts/slave/recipe_modules/chromium/steps.py:675: # If we were unable to successfully trigger the ...
5 years, 6 months ago (2015-06-18 19:47:48 UTC) #19
navabi
PTAL. Comments are getting confused. Here is a summary of how I addressed Pawel's comments: ...
5 years, 6 months ago (2015-06-18 21:20:58 UTC) #20
Paweł Hajdan Jr.
https://codereview.chromium.org/1104533002/diff/20001/scripts/slave/recipe_modules/chromium/steps.py File scripts/slave/recipe_modules/chromium/steps.py (right): https://codereview.chromium.org/1104533002/diff/20001/scripts/slave/recipe_modules/chromium/steps.py#newcode675 scripts/slave/recipe_modules/chromium/steps.py:675: # If we were unable to successfully trigger the ...
5 years, 6 months ago (2015-06-19 10:46:09 UTC) #21
navabi
> > That's correct, the order of calls is like you said above. I don't ...
5 years, 6 months ago (2015-06-19 19:43:56 UTC) #22
navabi
https://codereview.chromium.org/1104533002/diff/140001/scripts/slave/recipe_modules/chromium/steps.py File scripts/slave/recipe_modules/chromium/steps.py (right): https://codereview.chromium.org/1104533002/diff/140001/scripts/slave/recipe_modules/chromium/steps.py#newcode641 scripts/slave/recipe_modules/chromium/steps.py:641: def name(self): On 2015/06/19 10:46:09, Paweł Hajdan Jr. wrote: ...
5 years, 6 months ago (2015-06-19 19:49:29 UTC) #23
Paweł Hajdan Jr.
On 2015/06/19 at 19:43:56, navabi wrote: > I'm not really sure how else to explain ...
5 years, 6 months ago (2015-06-22 14:31:41 UTC) #24
navabi
> I'm confused why post_run would call run. I didn't intend to suggest anything > ...
5 years, 6 months ago (2015-06-22 21:47:07 UTC) #25
navabi
I moved the call to run local tests into the run method. Since we know ...
5 years, 6 months ago (2015-06-23 07:44:10 UTC) #26
Paweł Hajdan Jr.
LGTM!
5 years, 6 months ago (2015-06-23 08:33:23 UTC) #27
jbudorick
https://codereview.chromium.org/1104533002/diff/200001/scripts/slave/recipe_modules/chromium_tests/chromium_fyi.py File scripts/slave/recipe_modules/chromium_tests/chromium_fyi.py (right): https://codereview.chromium.org/1104533002/diff/200001/scripts/slave/recipe_modules/chromium_tests/chromium_fyi.py#newcode1506 scripts/slave/recipe_modules/chromium_tests/chromium_fyi.py:1506: 'parent_buildername': 'Android Builder', This should be 'Android Builder (dbg)', ...
5 years, 6 months ago (2015-06-23 21:04:30 UTC) #28
navabi
PTAL https://codereview.chromium.org/1104533002/diff/220001/scripts/slave/recipe_modules/chromium_tests/steps.py File scripts/slave/recipe_modules/chromium_tests/steps.py (right): https://codereview.chromium.org/1104533002/diff/220001/scripts/slave/recipe_modules/chromium_tests/steps.py#newcode643 scripts/slave/recipe_modules/chromium_tests/steps.py:643: def compile_targets(self, api): had to add this for ...
5 years, 6 months ago (2015-06-23 21:38:30 UTC) #29
jbudorick
lgtm https://codereview.chromium.org/1104533002/diff/220001/scripts/slave/recipes/chromium.expected/full_chromium_fyi_Android_Builder__dbg_.json File scripts/slave/recipes/chromium.expected/full_chromium_fyi_Android_Builder__dbg_.json (right): https://codereview.chromium.org/1104533002/diff/220001/scripts/slave/recipes/chromium.expected/full_chromium_fyi_Android_Builder__dbg_.json#newcode202 scripts/slave/recipes/chromium.expected/full_chromium_fyi_Android_Builder__dbg_.json:202: "net_unittests_apk", On 2015/06/23 at 21:38:30, navabi wrote: > ...
5 years, 6 months ago (2015-06-23 21:39:57 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1104533002/220001
5 years, 6 months ago (2015-06-23 22:02:58 UTC) #33
commit-bot: I haz the power
5 years, 6 months ago (2015-06-23 22:06:59 UTC) #34
Message was sent while issue was closed.
Committed patchset #12 (id:220001) as
http://src.chromium.org/viewvc/chrome?view=rev&revision=295808

Powered by Google App Engine
This is Rietveld 408576698