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

Issue 814653003: Clean up logging and add device randomization. (Closed)

Created:
6 years ago by rnephew (Reviews Here)
Modified:
5 years, 11 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

Clean up logging and add device randomization. If no device_name is picked and os_version is, will pick random device with given os; and vice versa. If neither is picked, both are randomly picked. Clean up logging. Disable appurify/requests logging if verbosity is less than 2. BUG=428729 Committed: https://crrev.com/b74dd0630e0b7b24bc83eb27c9945e1c819c3550 Cr-Commit-Position: refs/heads/master@{#310337}

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Patch Set 3 : fix an indent #

Total comments: 5

Patch Set 4 : fix context manager #

Patch Set 5 : Rebase #

Total comments: 8

Patch Set 6 : fix nits #

Total comments: 2

Patch Set 7 : get rid of import #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -33 lines) Patch
M build/android/pylib/remote/device/appurify_sanitized.py View 1 2 3 4 5 2 chunks +13 lines, -0 lines 0 comments Download
M build/android/pylib/remote/device/remote_device_environment.py View 1 2 3 4 5 6 chunks +31 lines, -11 lines 0 comments Download
M build/android/pylib/remote/device/remote_device_helper.py View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M build/android/pylib/remote/device/remote_device_test_run.py View 1 2 3 4 5 8 chunks +38 lines, -19 lines 0 comments Download
M build/android/test_runner.py View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (3 generated)
rnephew (Reviews Here)
I know the disabling of the logging might look a little hacky, but I think ...
6 years ago (2014-12-19 22:30:35 UTC) #2
jbudorick
https://codereview.chromium.org/814653003/diff/1/build/android/pylib/remote/device/remote_device_environment.py File build/android/pylib/remote/device/remote_device_environment.py (right): https://codereview.chromium.org/814653003/diff/1/build/android/pylib/remote/device/remote_device_environment.py#newcode102 build/android/pylib/remote/device/remote_device_environment.py:102: remote_device_helper.SetLogging(self._verbose_count, logging.WARNING) Could we have remote_device_helper provide this functionality ...
5 years, 11 months ago (2015-01-05 16:52:30 UTC) #3
rnephew (Wrong account)
https://codereview.chromium.org/814653003/diff/1/build/android/pylib/remote/device/remote_device_environment.py File build/android/pylib/remote/device/remote_device_environment.py (right): https://codereview.chromium.org/814653003/diff/1/build/android/pylib/remote/device/remote_device_environment.py#newcode102 build/android/pylib/remote/device/remote_device_environment.py:102: remote_device_helper.SetLogging(self._verbose_count, logging.WARNING) On 2015/01/05 16:52:29, jbudorick wrote: > Could ...
5 years, 11 months ago (2015-01-05 19:31:54 UTC) #5
jbudorick
https://codereview.chromium.org/814653003/diff/40001/build/android/pylib/remote/device/appurify_sanitized.py File build/android/pylib/remote/device/appurify_sanitized.py (right): https://codereview.chromium.org/814653003/diff/40001/build/android/pylib/remote/device/appurify_sanitized.py#newcode34 build/android/pylib/remote/device/appurify_sanitized.py:34: try: do you need the try/finally in here? can ...
5 years, 11 months ago (2015-01-06 18:02:17 UTC) #6
rnephew (Wrong account)
https://codereview.chromium.org/814653003/diff/40001/build/android/pylib/remote/device/appurify_sanitized.py File build/android/pylib/remote/device/appurify_sanitized.py (right): https://codereview.chromium.org/814653003/diff/40001/build/android/pylib/remote/device/appurify_sanitized.py#newcode34 build/android/pylib/remote/device/appurify_sanitized.py:34: try: On 2015/01/06 18:02:17, jbudorick wrote: > do you ...
5 years, 11 months ago (2015-01-06 18:15:46 UTC) #7
jbudorick
https://codereview.chromium.org/814653003/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/814653003/diff/40001/build/android/pylib/remote/device/remote_device_environment.py#newcode104 build/android/pylib/remote/device/remote_device_environment.py:104: access_token_results = appurify_sanitized.api.access_token_generate( On 2015/01/06 18:15:45, rnephew wrote: > ...
5 years, 11 months ago (2015-01-06 23:47:43 UTC) #8
rnephew (Wrong account)
On 2015/01/06 23:47:43, jbudorick wrote: > https://codereview.chromium.org/814653003/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/814653003/diff/40001/build/android/pylib/remote/device/remote_device_environment.py#newcode104 > ...
5 years, 11 months ago (2015-01-06 23:48:47 UTC) #9
jbudorick
Style nits https://codereview.chromium.org/814653003/diff/80001/build/android/pylib/remote/device/appurify_sanitized.py File build/android/pylib/remote/device/appurify_sanitized.py (right): https://codereview.chromium.org/814653003/diff/80001/build/android/pylib/remote/device/appurify_sanitized.py#newcode34 build/android/pylib/remote/device/appurify_sanitized.py:34: if verbose_count < 2: nit: this whole ...
5 years, 11 months ago (2015-01-07 18:02:37 UTC) #10
rnephew (Wrong account)
https://codereview.chromium.org/814653003/diff/80001/build/android/pylib/remote/device/appurify_sanitized.py File build/android/pylib/remote/device/appurify_sanitized.py (right): https://codereview.chromium.org/814653003/diff/80001/build/android/pylib/remote/device/appurify_sanitized.py#newcode34 build/android/pylib/remote/device/appurify_sanitized.py:34: if verbose_count < 2: On 2015/01/07 18:02:37, jbudorick wrote: ...
5 years, 11 months ago (2015-01-07 18:11:25 UTC) #11
jbudorick
lgtm w/ one last nit https://codereview.chromium.org/814653003/diff/100001/build/android/pylib/remote/device/remote_device_helper.py File build/android/pylib/remote/device/remote_device_helper.py (right): https://codereview.chromium.org/814653003/diff/100001/build/android/pylib/remote/device/remote_device_helper.py#newcode7 build/android/pylib/remote/device/remote_device_helper.py:7: import logging nit: remove ...
5 years, 11 months ago (2015-01-07 18:15:30 UTC) #12
rnephew (Wrong account)
https://codereview.chromium.org/814653003/diff/100001/build/android/pylib/remote/device/remote_device_helper.py File build/android/pylib/remote/device/remote_device_helper.py (right): https://codereview.chromium.org/814653003/diff/100001/build/android/pylib/remote/device/remote_device_helper.py#newcode7 build/android/pylib/remote/device/remote_device_helper.py:7: import logging On 2015/01/07 18:15:30, jbudorick wrote: > nit: ...
5 years, 11 months ago (2015-01-07 18:18:42 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/814653003/120001
5 years, 11 months ago (2015-01-07 18:20:15 UTC) #15
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 11 months ago (2015-01-07 19:35:27 UTC) #16
commit-bot: I haz the power
5 years, 11 months ago (2015-01-07 19:36:24 UTC) #17
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/b74dd0630e0b7b24bc83eb27c9945e1c819c3550
Cr-Commit-Position: refs/heads/master@{#310337}

Powered by Google App Engine
This is Rietveld 408576698