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

Issue 2753993002: (Reland) Use logdog butler subcommand to run tests. (Closed)

Created:
3 years, 9 months ago by BigBossZhiling
Modified:
3 years, 9 months ago
Reviewers:
Dirk Pranke, jbudorick
CC:
chromium-reviews, mikecase+watch_chromium.org, jbudorick+watch_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

(Reland) Use logdog butler subcommand to run tests. Previously we ran tests, without setting butler environment variables. This will run into NotBootstrappedError when we try to upload test results through logdog. In this cl, we use logdog butler subcommand to run tests, which will set butler environment variables before hand. BUG=692287 Review-Url: https://codereview.chromium.org/2695963003 Cr-Commit-Position: refs/heads/master@{#456976} Committed: https://chromium.googlesource.com/chromium/src/+/de2df28c86b13227040aba5f9f5a1d1f869b81eb patch from issue 2695963003 at patchset 820001 (http://crrev.com/2695963003#ps820001) Review-Url: https://codereview.chromium.org/2753993002 Cr-Commit-Position: refs/heads/master@{#458264} Committed: https://chromium.googlesource.com/chromium/src/+/1ad3437632699fb98fdd46a3ba6ad8d63cf10ee5

Patch Set 1 #

Patch Set 2 : add logcat_filter_specs #

Patch Set 3 : add trace #

Patch Set 4 : add logging for logdog lag #

Patch Set 5 : add adb iter_timeout #

Patch Set 6 : change iter timeout #

Patch Set 7 : change iter_timeout and add none check #

Patch Set 8 : when see none, don't return immediately #

Total comments: 6

Patch Set 9 : change iter timeout from 0.05 to 0.08 #

Patch Set 10 : 0.08 with one more stop_recording_event check #

Patch Set 11 : 0.08 and removed recording_event is set check before write data #

Patch Set 12 : patch 10 but instead of 0.08 use 0.1 #

Patch Set 13 : patch 10 instead of 0.08 use 0.06 #

Patch Set 14 : patch 10 instead of 0.08 use 0.04 #

Patch Set 15 : patch 10 + address john's comments #

Patch Set 16 : change to 0.1 again #

Patch Set 17 : change back to 0.08 #

Total comments: 2

Patch Set 18 : address John's comments on logdog filter #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+295 lines, -243 lines) Patch
M PRESUBMIT.py View 1 chunk +1 line, -0 lines 0 comments Download
M build/android/BUILD.gn View 1 chunk +10 lines, -0 lines 0 comments Download
M build/android/pylib/android/logdog_logcat_monitor.py View 1 2 3 4 5 6 7 8 9 11 12 13 14 16 1 chunk +6 lines, -2 lines 0 comments Download
M build/android/pylib/local/device/local_device_instrumentation_test_run.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +3 lines, -1 line 0 comments Download
M build/android/test_runner.py View 5 chunks +27 lines, -1 line 0 comments Download
M build/android/test_wrapper/logdog_wrapper.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +56 lines, -59 lines 0 comments Download
A build/android/test_wrapper/logdog_wrapper.pydeps View 1 chunk +11 lines, -0 lines 0 comments Download
M build/config/android/internal_rules.gni View 1 chunk +5 lines, -1 line 0 comments Download
M testing/buildbot/chromium.android.json View 100 chunks +100 lines, -100 lines 0 comments Download
M testing/buildbot/chromium.linux.json View 73 chunks +73 lines, -73 lines 0 comments Download
M tools/mb/mb.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -6 lines 1 comment Download

Messages

Total messages: 34 (11 generated)
BigBossZhiling
3 years, 9 months ago (2017-03-17 19:01:50 UTC) #7
jbudorick
https://codereview.chromium.org/2753993002/diff/140001/build/android/pylib/android/logdog_logcat_monitor.py File build/android/pylib/android/logdog_logcat_monitor.py (right): https://codereview.chromium.org/2753993002/diff/140001/build/android/pylib/android/logdog_logcat_monitor.py#newcode63 build/android/pylib/android/logdog_logcat_monitor.py:63: iter_timeout=0.05): This *might* be spinning too much. How's the ...
3 years, 9 months ago (2017-03-17 19:20:21 UTC) #8
BigBossZhiling
On 2017/03/17 19:20:21, jbudorick wrote: > https://codereview.chromium.org/2753993002/diff/140001/build/android/pylib/android/logdog_logcat_monitor.py > File build/android/pylib/android/logdog_logcat_monitor.py (right): > > https://codereview.chromium.org/2753993002/diff/140001/build/android/pylib/android/logdog_logcat_monitor.py#newcode63 > ...
3 years, 9 months ago (2017-03-20 03:38:52 UTC) #9
BigBossZhiling
On 2017/03/20 03:38:52, BigBossZhiling wrote: > On 2017/03/17 19:20:21, jbudorick wrote: > > > https://codereview.chromium.org/2753993002/diff/140001/build/android/pylib/android/logdog_logcat_monitor.py ...
3 years, 9 months ago (2017-03-20 04:19:02 UTC) #10
BigBossZhiling
On 2017/03/20 04:19:02, BigBossZhiling wrote: > On 2017/03/20 03:38:52, BigBossZhiling wrote: > > On 2017/03/17 ...
3 years, 9 months ago (2017-03-20 06:39:11 UTC) #11
BigBossZhiling
On 2017/03/20 06:39:11, BigBossZhiling wrote: > On 2017/03/20 04:19:02, BigBossZhiling wrote: > > On 2017/03/20 ...
3 years, 9 months ago (2017-03-20 07:23:14 UTC) #12
jbudorick
It'd be worthwhile to try a number lower than 0.05, too, especially given the results ...
3 years, 9 months ago (2017-03-20 13:25:58 UTC) #13
BigBossZhiling
patch 13 is 13:26
3 years, 9 months ago (2017-03-20 17:24:42 UTC) #14
BigBossZhiling
On 2017/03/20 17:24:42, BigBossZhiling wrote: > patch 13 is 13:26 patch 14 is 15:27
3 years, 9 months ago (2017-03-20 19:25:22 UTC) #15
BigBossZhiling
On 2017/03/20 19:25:22, BigBossZhiling wrote: > On 2017/03/20 17:24:42, BigBossZhiling wrote: > > patch 13 ...
3 years, 9 months ago (2017-03-20 22:05:38 UTC) #16
BigBossZhiling
On 2017/03/20 19:25:22, BigBossZhiling wrote: > On 2017/03/20 17:24:42, BigBossZhiling wrote: > > patch 13 ...
3 years, 9 months ago (2017-03-20 22:05:39 UTC) #17
BigBossZhiling
After the fix, we should not see a ridiculous bump in time any more. However ...
3 years, 9 months ago (2017-03-20 22:09:50 UTC) #18
jbudorick
lgtm w/ nit +dpranke for //tools/mb https://codereview.chromium.org/2753993002/diff/320001/build/android/pylib/local/device/local_device_instrumentation_test_run.py File build/android/pylib/local/device/local_device_instrumentation_test_run.py (right): https://codereview.chromium.org/2753993002/diff/320001/build/android/pylib/local/device/local_device_instrumentation_test_run.py#newcode38 build/android/pylib/local/device/local_device_instrumentation_test_run.py:38: LOGCAT_FILTERS = ['*:e', ...
3 years, 9 months ago (2017-03-20 22:31:19 UTC) #20
BigBossZhiling
https://codereview.chromium.org/2753993002/diff/320001/build/android/pylib/local/device/local_device_instrumentation_test_run.py File build/android/pylib/local/device/local_device_instrumentation_test_run.py (right): https://codereview.chromium.org/2753993002/diff/320001/build/android/pylib/local/device/local_device_instrumentation_test_run.py#newcode38 build/android/pylib/local/device/local_device_instrumentation_test_run.py:38: LOGCAT_FILTERS = ['*:e', 'chromium:v', 'cr_chromium:v', On 2017/03/20 22:31:19, jbudorick ...
3 years, 9 months ago (2017-03-20 22:37:13 UTC) #21
Dirk Pranke
https://codereview.chromium.org/2753993002/diff/340001/tools/mb/mb.py File tools/mb/mb.py (right): https://codereview.chromium.org/2753993002/diff/340001/tools/mb/mb.py#newcode1093 tools/mb/mb.py:1093: '--logdog-bin-cmd', '../../bin/logdog_butler'] is this path right? what directory is ...
3 years, 9 months ago (2017-03-20 23:12:48 UTC) #22
BigBossZhiling
On 2017/03/20 23:12:48, Dirk Pranke wrote: > https://codereview.chromium.org/2753993002/diff/340001/tools/mb/mb.py > File tools/mb/mb.py (right): > > https://codereview.chromium.org/2753993002/diff/340001/tools/mb/mb.py#newcode1093 ...
3 years, 9 months ago (2017-03-20 23:30:51 UTC) #23
BigBossZhiling
On 2017/03/20 23:12:48, Dirk Pranke wrote: > https://codereview.chromium.org/2753993002/diff/340001/tools/mb/mb.py > File tools/mb/mb.py (right): > > https://codereview.chromium.org/2753993002/diff/340001/tools/mb/mb.py#newcode1093 ...
3 years, 9 months ago (2017-03-20 23:30:52 UTC) #24
Dirk Pranke
On 2017/03/20 23:30:52, BigBossZhiling wrote: > On 2017/03/20 23:12:48, Dirk Pranke wrote: > > https://codereview.chromium.org/2753993002/diff/340001/tools/mb/mb.py ...
3 years, 9 months ago (2017-03-20 23:38:54 UTC) #25
BigBossZhiling
On 2017/03/20 23:38:54, Dirk Pranke wrote: > On 2017/03/20 23:30:52, BigBossZhiling wrote: > > On ...
3 years, 9 months ago (2017-03-20 23:41:33 UTC) #26
Dirk Pranke
On 2017/03/20 23:41:33, BigBossZhiling wrote: > https://codesearch.chromium.org/chromium/src/testing/buildbot/chromium.linux.json?q=chromium.linux.json+package:%5Echromium$&dr&l=257 > We create the new bin directory for ...
3 years, 9 months ago (2017-03-20 23:50:37 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2753993002/340001
3 years, 9 months ago (2017-03-20 23:52:02 UTC) #30
commit-bot: I haz the power
Committed patchset #18 (id:340001) as https://chromium.googlesource.com/chromium/src/+/1ad3437632699fb98fdd46a3ba6ad8d63cf10ee5
3 years, 9 months ago (2017-03-21 00:59:19 UTC) #33
jbudorick
3 years, 9 months ago (2017-03-22 00:12:07 UTC) #34
Message was sent while issue was closed.
A revert of this CL (patchset #18 id:340001) has been created in
https://codereview.chromium.org/2767633003/ by jbudorick@chromium.org.

The reason for reverting is:
https://build.chromium.org/p/chromium.android/builders/Marshmallow%2064%20bit....

Powered by Google App Engine
This is Rietveld 408576698