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

Issue 879983002: Add multiple device/os filtering and a config file. (Closed)

Created:
5 years, 11 months ago by rnephew (Reviews Here)
Modified:
5 years, 10 months ago
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
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add multiple device/os filtering and a config file. BUG= Committed: https://crrev.com/241e6870d1f5cb7e2f23a8b1edc33eb6db64ad24 Cr-Commit-Position: refs/heads/master@{#314151}

Patch Set 1 #

Total comments: 18

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Total comments: 34

Patch Set 4 : #

Total comments: 3

Patch Set 5 : Fix variables not being set #

Total comments: 10

Patch Set 6 : #

Total comments: 2

Patch Set 7 : fix logic #

Total comments: 13

Patch Set 8 : #

Total comments: 4

Patch Set 9 : #

Total comments: 1

Patch Set 10 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+179 lines, -56 lines) Patch
M build/android/pylib/remote/device/remote_device_environment.py View 1 2 3 4 5 6 7 8 3 chunks +135 lines, -39 lines 0 comments Download
M build/android/pylib/remote/device/remote_device_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/uirobot/uirobot_test_instance.py View 1 2 3 4 5 6 7 8 9 2 chunks +18 lines, -4 lines 1 comment Download
M build/android/test_runner.py View 1 2 3 4 5 6 7 8 9 2 chunks +25 lines, -12 lines 0 comments Download

Messages

Total messages: 33 (4 generated)
rnephew (Wrong account)
5 years, 11 months ago (2015-01-27 17:48:35 UTC) #2
jbudorick
https://codereview.chromium.org/879983002/diff/1/build/android/pylib/remote/device/example.config File build/android/pylib/remote/device/example.config (right): https://codereview.chromium.org/879983002/diff/1/build/android/pylib/remote/device/example.config#newcode1 build/android/pylib/remote/device/example.config:1: { - Why is this a separate file? - ...
5 years, 11 months ago (2015-01-27 17:58:55 UTC) #3
rnephew (Wrong account)
https://codereview.chromium.org/879983002/diff/1/build/android/pylib/remote/device/example.config File build/android/pylib/remote/device/example.config (right): https://codereview.chromium.org/879983002/diff/1/build/android/pylib/remote/device/example.config#newcode1 build/android/pylib/remote/device/example.config:1: { On 2015/01/27 17:58:55, jbudorick wrote: > - Why ...
5 years, 10 months ago (2015-01-27 18:46:22 UTC) #4
jbudorick
https://codereview.chromium.org/879983002/diff/1/build/android/pylib/remote/device/example.config File build/android/pylib/remote/device/example.config (right): https://codereview.chromium.org/879983002/diff/1/build/android/pylib/remote/device/example.config#newcode1 build/android/pylib/remote/device/example.config:1: { On 2015/01/27 18:46:21, rnephew wrote: > On 2015/01/27 ...
5 years, 10 months ago (2015-01-27 20:01:50 UTC) #5
rnephew (Wrong account)
https://codereview.chromium.org/879983002/diff/1/build/android/pylib/remote/device/example.config File build/android/pylib/remote/device/example.config (right): https://codereview.chromium.org/879983002/diff/1/build/android/pylib/remote/device/example.config#newcode1 build/android/pylib/remote/device/example.config:1: { On 2015/01/27 20:01:50, jbudorick wrote: > On 2015/01/27 ...
5 years, 10 months ago (2015-01-27 21:07:23 UTC) #6
jbudorick
https://codereview.chromium.org/879983002/diff/40001/build/android/pylib/remote/device/remote_device_environment.py File build/android/pylib/remote/device/remote_device_environment.py (right): https://codereview.chromium.org/879983002/diff/40001/build/android/pylib/remote/device/remote_device_environment.py#newcode55 build/android/pylib/remote/device/remote_device_environment.py:55: self._device_oem=args.device_oem nit: spaces around = https://codereview.chromium.org/879983002/diff/40001/build/android/pylib/remote/device/remote_device_environment.py#newcode69 build/android/pylib/remote/device/remote_device_environment.py:69: # "remote_device": ...
5 years, 10 months ago (2015-01-28 16:09:54 UTC) #7
rnephew (Wrong account)
https://codereview.chromium.org/879983002/diff/40001/build/android/pylib/remote/device/remote_device_environment.py File build/android/pylib/remote/device/remote_device_environment.py (right): https://codereview.chromium.org/879983002/diff/40001/build/android/pylib/remote/device/remote_device_environment.py#newcode55 build/android/pylib/remote/device/remote_device_environment.py:55: self._device_oem=args.device_oem On 2015/01/28 16:09:54, jbudorick wrote: > nit: spaces ...
5 years, 10 months ago (2015-01-28 16:47:54 UTC) #8
jbudorick
https://codereview.chromium.org/879983002/diff/40001/build/android/pylib/remote/device/remote_device_environment.py File build/android/pylib/remote/device/remote_device_environment.py (right): https://codereview.chromium.org/879983002/diff/40001/build/android/pylib/remote/device/remote_device_environment.py#newcode71 build/android/pylib/remote/device/remote_device_environment.py:71: # "remote_device_minimum_os": "4.4.2" comma at the end https://codereview.chromium.org/879983002/diff/40001/build/android/pylib/remote/device/remote_device_environment.py#newcode72 build/android/pylib/remote/device/remote_device_environment.py:72: ...
5 years, 10 months ago (2015-01-28 23:19:09 UTC) #9
rnephew (Wrong account)
https://codereview.chromium.org/879983002/diff/40001/build/android/pylib/remote/device/remote_device_environment.py File build/android/pylib/remote/device/remote_device_environment.py (right): https://codereview.chromium.org/879983002/diff/40001/build/android/pylib/remote/device/remote_device_environment.py#newcode71 build/android/pylib/remote/device/remote_device_environment.py:71: # "remote_device_minimum_os": "4.4.2" On 2015/01/28 23:19:09, jbudorick wrote: > ...
5 years, 10 months ago (2015-01-29 01:58:35 UTC) #10
rnephew (Wrong account)
https://codereview.chromium.org/879983002/diff/60001/build/android/pylib/remote/device/remote_device_environment.py File build/android/pylib/remote/device/remote_device_environment.py (right): https://codereview.chromium.org/879983002/diff/60001/build/android/pylib/remote/device/remote_device_environment.py#newcode34 build/android/pylib/remote/device/remote_device_environment.py:34: if (args.remote_device_file Since it now has command line options ...
5 years, 10 months ago (2015-01-29 15:44:26 UTC) #11
jbudorick
https://codereview.chromium.org/879983002/diff/60001/build/android/pylib/remote/device/remote_device_environment.py File build/android/pylib/remote/device/remote_device_environment.py (right): https://codereview.chromium.org/879983002/diff/60001/build/android/pylib/remote/device/remote_device_environment.py#newcode34 build/android/pylib/remote/device/remote_device_environment.py:34: if (args.remote_device_file On 2015/01/29 15:44:26, rnephew wrote: > Since ...
5 years, 10 months ago (2015-01-29 17:52:56 UTC) #12
rnephew (Wrong account)
https://codereview.chromium.org/879983002/diff/60001/build/android/pylib/remote/device/remote_device_environment.py File build/android/pylib/remote/device/remote_device_environment.py (right): https://codereview.chromium.org/879983002/diff/60001/build/android/pylib/remote/device/remote_device_environment.py#newcode34 build/android/pylib/remote/device/remote_device_environment.py:34: if (args.remote_device_file On 2015/01/29 17:52:56, jbudorick wrote: > On ...
5 years, 10 months ago (2015-01-29 22:10:27 UTC) #13
rnephew (Wrong account)
https://codereview.chromium.org/879983002/diff/100001/build/android/pylib/remote/device/remote_device_environment.py File build/android/pylib/remote/device/remote_device_environment.py (right): https://codereview.chromium.org/879983002/diff/100001/build/android/pylib/remote/device/remote_device_environment.py#newcode106 build/android/pylib/remote/device/remote_device_environment.py:106: if args.api_address: Fixing these to only be one if ...
5 years, 10 months ago (2015-01-29 22:12:00 UTC) #14
rnephew (Wrong account)
https://codereview.chromium.org/879983002/diff/100001/build/android/pylib/remote/device/remote_device_environment.py File build/android/pylib/remote/device/remote_device_environment.py (right): https://codereview.chromium.org/879983002/diff/100001/build/android/pylib/remote/device/remote_device_environment.py#newcode106 build/android/pylib/remote/device/remote_device_environment.py:106: if args.api_address: On 2015/01/29 22:12:00, rnephew wrote: > Fixing ...
5 years, 10 months ago (2015-01-29 22:52:49 UTC) #15
jbudorick
https://codereview.chromium.org/879983002/diff/120001/build/android/pylib/remote/device/remote_device_environment.py File build/android/pylib/remote/device/remote_device_environment.py (right): https://codereview.chromium.org/879983002/diff/120001/build/android/pylib/remote/device/remote_device_environment.py#newcode66 build/android/pylib/remote/device/remote_device_environment.py:66: self._api_address = device_json.get('api_address', None) Shouldn't we only do the ...
5 years, 10 months ago (2015-01-30 14:25:00 UTC) #16
jbudorick
https://codereview.chromium.org/879983002/diff/120001/build/android/pylib/remote/device/remote_device_environment.py File build/android/pylib/remote/device/remote_device_environment.py (right): https://codereview.chromium.org/879983002/diff/120001/build/android/pylib/remote/device/remote_device_environment.py#newcode107 build/android/pylib/remote/device/remote_device_environment.py:107: if self._api_address and self._api_address != args.api_address: On 2015/01/30 14:24:59, ...
5 years, 10 months ago (2015-01-30 14:26:32 UTC) #17
rnephew (Wrong account)
https://codereview.chromium.org/879983002/diff/120001/build/android/pylib/remote/device/remote_device_environment.py File build/android/pylib/remote/device/remote_device_environment.py (right): https://codereview.chromium.org/879983002/diff/120001/build/android/pylib/remote/device/remote_device_environment.py#newcode66 build/android/pylib/remote/device/remote_device_environment.py:66: self._api_address = device_json.get('api_address', None) On 2015/01/30 14:24:59, jbudorick wrote: ...
5 years, 10 months ago (2015-01-30 17:51:10 UTC) #18
jbudorick
lgtm w/ nits https://codereview.chromium.org/879983002/diff/140001/build/android/pylib/remote/device/remote_device_environment.py File build/android/pylib/remote/device/remote_device_environment.py (right): https://codereview.chromium.org/879983002/diff/140001/build/android/pylib/remote/device/remote_device_environment.py#newcode84 build/android/pylib/remote/device/remote_device_environment.py:84: def command_line_override(file_set, cmd_line_set, desc): nit: *_set ...
5 years, 10 months ago (2015-01-30 17:56:40 UTC) #19
rnephew (Wrong account)
https://codereview.chromium.org/879983002/diff/140001/build/android/pylib/remote/device/remote_device_environment.py File build/android/pylib/remote/device/remote_device_environment.py (right): https://codereview.chromium.org/879983002/diff/140001/build/android/pylib/remote/device/remote_device_environment.py#newcode84 build/android/pylib/remote/device/remote_device_environment.py:84: def command_line_override(file_set, cmd_line_set, desc): On 2015/01/30 17:56:40, jbudorick wrote: ...
5 years, 10 months ago (2015-01-31 00:19:36 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/879983002/160001
5 years, 10 months ago (2015-01-31 00:21:06 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_gn_rel on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_gn_rel/builds/3583)
5 years, 10 months ago (2015-01-31 06:23:04 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/879983002/160001
5 years, 10 months ago (2015-02-02 15:44:04 UTC) #26
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 10 months ago (2015-02-02 15:45:36 UTC) #27
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/241e6870d1f5cb7e2f23a8b1edc33eb6db64ad24 Cr-Commit-Position: refs/heads/master@{#314151}
5 years, 10 months ago (2015-02-02 15:47:41 UTC) #28
rnephew (Wrong account)
A revert of this CL (patchset #9 id:160001) has been created in https://codereview.chromium.org/890143004/ by rnephew@google.com. ...
5 years, 10 months ago (2015-02-02 19:03:23 UTC) #29
jbudorick
https://codereview.chromium.org/879983002/diff/160001/build/android/test_runner.py File build/android/test_runner.py (left): https://codereview.chromium.org/879983002/diff/160001/build/android/test_runner.py#oldcode124 build/android/test_runner.py:124: group.add_argument('--trigger', default='', This appears to be the problem: RemoteDeviceTestRun ...
5 years, 10 months ago (2015-02-02 19:14:30 UTC) #30
rnephew (Wrong account)
On 2015/02/02 19:14:30, jbudorick wrote: > https://codereview.chromium.org/879983002/diff/160001/build/android/test_runner.py > File build/android/test_runner.py (left): > > https://codereview.chromium.org/879983002/diff/160001/build/android/test_runner.py#oldcode124 > ...
5 years, 10 months ago (2015-02-02 20:01:19 UTC) #31
jbudorick
https://codereview.chromium.org/879983002/diff/180001/build/android/pylib/uirobot/uirobot_test_instance.py File build/android/pylib/uirobot/uirobot_test_instance.py (right): https://codereview.chromium.org/879983002/diff/180001/build/android/pylib/uirobot/uirobot_test_instance.py#newcode33 build/android/pylib/uirobot/uirobot_test_instance.py:33: device_type = device_json.get('device_type', 'Android') Perhaps we should either: - ...
5 years, 10 months ago (2015-02-02 20:28:06 UTC) #32
jbudorick
5 years, 10 months ago (2015-02-02 20:28:18 UTC) #33
Message was sent while issue was closed.
On 2015/02/02 20:28:06, jbudorick wrote:
>
https://codereview.chromium.org/879983002/diff/180001/build/android/pylib/uir...
> File build/android/pylib/uirobot/uirobot_test_instance.py (right):
> 
>
https://codereview.chromium.org/879983002/diff/180001/build/android/pylib/uir...
> build/android/pylib/uirobot/uirobot_test_instance.py:33: device_type =
> device_json.get('device_type', 'Android')
> Perhaps we should either:
>  - have the remote_device_file parsing logic elsewhere (i.e. outside both the
> environment and the test instance), or
>  - have this suite and package_name logic in the test run s.t. it has access
to
> the environment

ah, wrong review.

Powered by Google App Engine
This is Rietveld 408576698