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

Issue 745793002: Add AMP support to test runner. (Closed)

Created:
6 years, 1 month ago by rnephew (Reviews Here)
Modified:
6 years ago
Reviewers:
klundberg, jbudorick
CC:
chromium-reviews, klundberg+watch_chromium.org, yfriedman+watch_chromium.org, jbudorick+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add AMP support to test runner. BUG= Committed: https://crrev.com/5c49978f095340a59c62faaafe02a9527ec7728b Cr-Commit-Position: refs/heads/master@{#308139}

Patch Set 1 #

Total comments: 53

Patch Set 2 : #

Patch Set 3 : Make config file live up to its name #

Patch Set 4 : work with Appurify third_party #

Patch Set 5 : get rid of old/done TODOs #

Total comments: 26

Patch Set 6 : address comments on previous patch set #

Total comments: 46

Patch Set 7 : fix gtest apk upload #

Patch Set 8 : address comments #

Patch Set 9 : seperate trigger and collect - still need to rebase #

Patch Set 10 : rebase #

Total comments: 38

Patch Set 11 : address comments #

Total comments: 34

Patch Set 12 : #

Total comments: 28

Patch Set 13 : #

Total comments: 10

Patch Set 14 : #

Total comments: 2

Patch Set 15 : #

Patch Set 16 : #

Patch Set 17 : fix pylint in pylib/instrumentation/t_r #

Unified diffs Side-by-side diffs Delta from patch set Stats (+610 lines, -17 lines) Patch
M build/android/pylib/base/environment_factory.py View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -2 lines 0 comments Download
M build/android/pylib/base/test_instance_factory.py View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -1 line 0 comments Download
M build/android/pylib/base/test_run.py View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M build/android/pylib/base/test_run_factory.py View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +11 lines, -3 lines 0 comments Download
M build/android/pylib/constants.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -2 lines 0 comments Download
M build/android/pylib/gtest/gtest_test_instance.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +5 lines, -2 lines 0 comments Download
M build/android/pylib/instrumentation/test_runner.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +2 lines, -2 lines 0 comments Download
A build/android/pylib/remote/__init__.py View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
A build/android/pylib/remote/device/__init__.py View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
A build/android/pylib/remote/device/remote_device_environment.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +142 lines, -0 lines 0 comments Download
A build/android/pylib/remote/device/remote_device_gtest_run.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +59 lines, -0 lines 0 comments Download
A build/android/pylib/remote/device/remote_device_helper.py View 1 2 3 4 5 1 chunk +21 lines, -0 lines 0 comments Download
A build/android/pylib/remote/device/remote_device_test_run.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +176 lines, -0 lines 0 comments Download
A build/android/pylib/remote/device/remote_device_uirobot_run.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +58 lines, -0 lines 0 comments Download
A build/android/pylib/uirobot/__init__.py View 1 1 chunk +4 lines, -0 lines 0 comments Download
A build/android/pylib/uirobot/uirobot_test_instance.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +51 lines, -0 lines 0 comments Download
M build/android/test_runner.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 9 chunks +62 lines, -4 lines 0 comments Download

Messages

Total messages: 35 (6 generated)
rnephew (Reviews Here)
6 years, 1 month ago (2014-11-20 21:59:23 UTC) #2
jbudorick
The big problem I see with this is doing the separate trigger & collection steps. ...
6 years, 1 month ago (2014-11-21 00:17:26 UTC) #3
rnephew (Reviews Here)
I am still working on making the config file more configurable, having chrome.apk not hardcoded ...
6 years, 1 month ago (2014-11-21 18:26:48 UTC) #4
rnephew (Reviews Here)
https://codereview.chromium.org/745793002/diff/1/build/android/pylib/base/remote_device_config.py File build/android/pylib/base/remote_device_config.py (right): https://codereview.chromium.org/745793002/diff/1/build/android/pylib/base/remote_device_config.py#newcode35 build/android/pylib/base/remote_device_config.py:35: config_data.append('[robotium]') On 2014/11/21 18:26:46, rnephew1 wrote: > On 2014/11/21 ...
6 years, 1 month ago (2014-11-21 22:37:01 UTC) #5
jbudorick
https://codereview.chromium.org/745793002/diff/80001/build/android/pylib/device/remote_device_environment.py File build/android/pylib/device/remote_device_environment.py (right): https://codereview.chromium.org/745793002/diff/80001/build/android/pylib/device/remote_device_environment.py#newcode1 build/android/pylib/device/remote_device_environment.py:1: # Copyright 2014 The Chromium Authors. All rights reserved. ...
6 years ago (2014-11-30 22:57:02 UTC) #6
jbudorick
https://codereview.chromium.org/745793002/diff/80001/build/android/test_runner.py File build/android/test_runner.py (right): https://codereview.chromium.org/745793002/diff/80001/build/android/test_runner.py#newcode125 build/android/test_runner.py:125: group.add_option('--api-key', default='', type='string', We may want --api-key and --api-secret ...
6 years ago (2014-12-01 17:38:40 UTC) #7
rnephew (Reviews Here)
I still need to make the appurify test results match the expected test results format. ...
6 years ago (2014-12-02 19:47:49 UTC) #8
jbudorick
needs to be rebased on the argparse patch + https://codereview.chromium.org/781573002/ (once it lands) https://codereview.chromium.org/745793002/diff/100001/build/android/pylib/base/test_run_factory.py File ...
6 years ago (2014-12-03 22:46:10 UTC) #9
rnephew (Reviews Here)
https://codereview.chromium.org/745793002/diff/100001/build/android/pylib/base/test_run_factory.py File build/android/pylib/base/test_run_factory.py (right): https://codereview.chromium.org/745793002/diff/100001/build/android/pylib/base/test_run_factory.py#newcode10 build/android/pylib/base/test_run_factory.py:10: def CreateTestRun(_options, _env, _test_instance, error_func): On 2014/12/03 22:46:09, jbudorick ...
6 years ago (2014-12-03 23:49:26 UTC) #10
jbudorick
gtest test instance has landed, so it's rebase time https://codereview.chromium.org/745793002/diff/100001/build/android/pylib/remote/device/remote_device_test_run.py File build/android/pylib/remote/device/remote_device_test_run.py (right): https://codereview.chromium.org/745793002/diff/100001/build/android/pylib/remote/device/remote_device_test_run.py#newcode45 build/android/pylib/remote/device/remote_device_test_run.py:45: ...
6 years ago (2014-12-03 23:54:40 UTC) #11
jbudorick
I've got a lot of comments, but this is generally looking pretty good. https://codereview.chromium.org/745793002/diff/180001/build/android/pylib/base/environment_factory.py File ...
6 years ago (2014-12-04 21:51:34 UTC) #12
rnephew (Reviews Here)
https://codereview.chromium.org/745793002/diff/180001/build/android/pylib/base/environment_factory.py File build/android/pylib/base/environment_factory.py (right): https://codereview.chromium.org/745793002/diff/180001/build/android/pylib/base/environment_factory.py#newcode7 build/android/pylib/base/environment_factory.py:7: def CreateEnvironment(_args, error_func): On 2014/12/04 21:51:33, jbudorick wrote: > ...
6 years ago (2014-12-04 23:16:51 UTC) #13
jbudorick
Very close. Mostly nits. https://codereview.chromium.org/745793002/diff/200001/build/android/pylib/base/test_run_factory.py File build/android/pylib/base/test_run_factory.py (right): https://codereview.chromium.org/745793002/diff/200001/build/android/pylib/base/test_run_factory.py#newcode14 build/android/pylib/base/test_run_factory.py:14: env,test_instance) nit: space after the ...
6 years ago (2014-12-05 01:01:46 UTC) #14
jbudorick
https://codereview.chromium.org/745793002/diff/200001/build/android/pylib/remote/device/remote_device_test_run.py File build/android/pylib/remote/device/remote_device_test_run.py (right): https://codereview.chromium.org/745793002/diff/200001/build/android/pylib/remote/device/remote_device_test_run.py#newcode57 build/android/pylib/remote/device/remote_device_test_run.py:57: with open(self._env.trigger, 'w') as test_run_id_file: similar to below w.r.t. ...
6 years ago (2014-12-05 01:03:37 UTC) #15
rnephew (Reviews Here)
https://codereview.chromium.org/745793002/diff/200001/build/android/pylib/base/test_run_factory.py File build/android/pylib/base/test_run_factory.py (right): https://codereview.chromium.org/745793002/diff/200001/build/android/pylib/base/test_run_factory.py#newcode14 build/android/pylib/base/test_run_factory.py:14: env,test_instance) On 2014/12/05 01:01:46, jbudorick wrote: > nit: space ...
6 years ago (2014-12-05 15:45:40 UTC) #16
jbudorick
https://codereview.chromium.org/745793002/diff/220001/build/android/pylib/remote/device/remote_device_environment.py File build/android/pylib/remote/device/remote_device_environment.py (right): https://codereview.chromium.org/745793002/diff/220001/build/android/pylib/remote/device/remote_device_environment.py#newcode91 build/android/pylib/remote/device/remote_device_environment.py:91: 'Unable to generate access token.') nit: one more space ...
6 years ago (2014-12-05 17:27:00 UTC) #17
rnephew (Reviews Here)
https://codereview.chromium.org/745793002/diff/220001/build/android/pylib/remote/device/remote_device_environment.py File build/android/pylib/remote/device/remote_device_environment.py (right): https://codereview.chromium.org/745793002/diff/220001/build/android/pylib/remote/device/remote_device_environment.py#newcode91 build/android/pylib/remote/device/remote_device_environment.py:91: 'Unable to generate access token.') On 2014/12/05 17:27:00, jbudorick ...
6 years ago (2014-12-05 21:01:39 UTC) #18
jbudorick
This should be the last round. https://codereview.chromium.org/745793002/diff/240001/build/android/pylib/gtest/gtest_test_instance.py File build/android/pylib/gtest/gtest_test_instance.py (right): https://codereview.chromium.org/745793002/diff/240001/build/android/pylib/gtest/gtest_test_instance.py#newcode47 build/android/pylib/gtest/gtest_test_instance.py:47: raise ValueError("Platform mode ...
6 years ago (2014-12-05 21:35:13 UTC) #19
rnephew (Reviews Here)
https://codereview.chromium.org/745793002/diff/240001/build/android/pylib/gtest/gtest_test_instance.py File build/android/pylib/gtest/gtest_test_instance.py (right): https://codereview.chromium.org/745793002/diff/240001/build/android/pylib/gtest/gtest_test_instance.py#newcode47 build/android/pylib/gtest/gtest_test_instance.py:47: raise ValueError("Platform mode currently supports only 1 gtest suite") ...
6 years ago (2014-12-05 21:46:29 UTC) #20
jbudorick
lgtm w/ nit https://codereview.chromium.org/745793002/diff/260001/build/android/pylib/remote/device/remote_device_test_run.py File build/android/pylib/remote/device/remote_device_test_run.py (right): https://codereview.chromium.org/745793002/diff/260001/build/android/pylib/remote/device/remote_device_test_run.py#newcode174 build/android/pylib/remote/device/remote_device_test_run.py:174: 'Unable to upload test config.') nit: ...
6 years ago (2014-12-05 21:53:15 UTC) #21
rnephew (Reviews Here)
https://codereview.chromium.org/745793002/diff/260001/build/android/pylib/remote/device/remote_device_test_run.py File build/android/pylib/remote/device/remote_device_test_run.py (right): https://codereview.chromium.org/745793002/diff/260001/build/android/pylib/remote/device/remote_device_test_run.py#newcode174 build/android/pylib/remote/device/remote_device_test_run.py:174: 'Unable to upload test config.') On 2014/12/05 21:53:15, jbudorick ...
6 years ago (2014-12-05 21:55:08 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/745793002/280001
6 years ago (2014-12-05 21:56:06 UTC) #24
rnephew (Reviews Here)
Added requests to path in r_d_environment.py, r_d_test_run.py, r_d_test_gtest_run, and r_d_uirobot_run. Commiting as soon as John ...
6 years ago (2014-12-12 16:02:14 UTC) #26
jbudorick
lgtm
6 years ago (2014-12-12 16:22:36 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/745793002/300001
6 years ago (2014-12-12 16:25:16 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/30060)
6 years ago (2014-12-12 16:32:21 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/745793002/320001
6 years ago (2014-12-12 17:59:28 UTC) #33
commit-bot: I haz the power
Committed patchset #17 (id:320001)
6 years ago (2014-12-12 19:09:10 UTC) #34
commit-bot: I haz the power
6 years ago (2014-12-12 19:10:01 UTC) #35
Message was sent while issue was closed.
Patchset 17 (id:??) landed as
https://crrev.com/5c49978f095340a59c62faaafe02a9527ec7728b
Cr-Commit-Position: refs/heads/master@{#308139}

Powered by Google App Engine
This is Rietveld 408576698