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

Issue 1342563002: Clean up logging in MB. (Closed)

Created:
5 years, 3 months ago by Dirk Pranke
Modified:
5 years, 3 months ago
Reviewers:
Nico
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clean up logging in MB. By default, the bots run `mb -v`, which dumps a lot of output, especially when generating isolates for GN. This patch cleans up a lot of the output so that we log a minimal subset most of the time and more on errors (but -v will still dump everything). In the common (non-error) case, this means that we'll get only 1-2 lines of output per MB invocation. In addition, this patch removes the --quiet flag (which was never used) and the RunGNIsolate() function, which was never called, and fixes a minor but annoying issue where we would list the same dependency multiple times in the analyze results. R=thakis@chromium.org BUG= Committed: https://crrev.com/e0547cd084409dd5f6c336a2babb47ca28a66d1f Cr-Commit-Position: refs/heads/master@{#348806}

Patch Set 1 : patch for review #

Total comments: 3

Patch Set 2 : make verbosity a bool #

Total comments: 1

Patch Set 3 : s/verbose_only/force_verbose #

Patch Set 4 : catch gn gen failure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -72 lines) Patch
M tools/mb/mb.py View 1 2 3 12 chunks +23 lines, -71 lines 0 comments Download
M tools/mb/mb_unittest.py View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 24 (11 generated)
Dirk Pranke
With this change and a change to the recipes to not pass -v, things should ...
5 years, 3 months ago (2015-09-11 23:27:52 UTC) #4
Nico
(somewhat stampy) lgtm, thanks! https://codereview.chromium.org/1342563002/diff/80001/tools/mb/mb.py File tools/mb/mb.py (right): https://codereview.chromium.org/1342563002/diff/80001/tools/mb/mb.py#newcode706 tools/mb/mb.py:706: def WriteJSON(self, obj, path, verbosity=1): ...
5 years, 3 months ago (2015-09-11 23:31:16 UTC) #6
Dirk Pranke
On 2015/09/11 23:31:16, Nico wrote: > (somewhat stampy) lgtm, thanks! > > https://codereview.chromium.org/1342563002/diff/80001/tools/mb/mb.py > File ...
5 years, 3 months ago (2015-09-11 23:33:03 UTC) #7
Dirk Pranke
On 2015/09/11 23:33:03, Dirk Pranke wrote: > On 2015/09/11 23:31:16, Nico wrote: > https://codereview.chromium.org/1342563002/diff/80001/tools/mb/mb.py#newcode706 > ...
5 years, 3 months ago (2015-09-11 23:42:28 UTC) #8
Nico
naming suggestion below, but if you prefer what you have it's cool as-is too https://codereview.chromium.org/1342563002/diff/100001/tools/mb/mb.py ...
5 years, 3 months ago (2015-09-12 00:09:40 UTC) #9
Dirk Pranke
On 2015/09/12 00:09:40, Nico wrote: > naming suggestion below, but if you prefer what you ...
5 years, 3 months ago (2015-09-12 00:16:18 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1342563002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1342563002/120001
5 years, 3 months ago (2015-09-12 00:56:27 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/52105) linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 3 months ago (2015-09-12 03:58:18 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1342563002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1342563002/120001
5 years, 3 months ago (2015-09-14 19:40:52 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1342563002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1342563002/140001
5 years, 3 months ago (2015-09-14 21:08:17 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:140001)
5 years, 3 months ago (2015-09-15 01:27:45 UTC) #22
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/e0547cd084409dd5f6c336a2babb47ca28a66d1f Cr-Commit-Position: refs/heads/master@{#348806}
5 years, 3 months ago (2015-09-15 01:28:25 UTC) #23
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 12:40:59 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e0547cd084409dd5f6c336a2babb47ca28a66d1f
Cr-Commit-Position: refs/heads/master@{#348806}

Powered by Google App Engine
This is Rietveld 408576698