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

Issue 2302453004: Add buildbot metadata to compiler_proxy log (Closed)

Created:
4 years, 3 months ago by shinyak
Modified:
4 years, 3 months ago
CC:
chromium-reviews, infra-reviews+build_chromium.org, kjellander-cc_chromium.org
Target Ref:
refs/heads/master
Project:
build
Visibility:
Public.

Description

Add buildbot metadata to compiler_proxy log We'd like to analyze compiler proxy log. However, buildbot metadata is missing, so sometimes hard to determine in which builder the compiler proxy log is generated. Append buildbot metadata to compiler_proxy log like ninja log. Committed: https://chromium.googlesource.com/chromium/tools/build/+/3d1cf68904cab7a23836940d3bdb1f43bee145b8

Patch Set 1 #

Total comments: 3

Patch Set 2 : Use cloud storage metadata #

Total comments: 5

Patch Set 3 : Save metadata with json #

Patch Set 4 : typo fix #

Patch Set 5 : Use bool for clobber field #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -6 lines) Patch
M scripts/slave/compile.py View 1 1 chunk +5 lines, -1 line 0 comments Download
M scripts/slave/goma_utils.py View 1 2 3 4 5 chunks +26 lines, -5 lines 0 comments Download

Messages

Total messages: 35 (16 generated)
shinyak
4 years, 3 months ago (2016-09-01 08:45:30 UTC) #2
tikuta
lgtm https://codereview.chromium.org/2302453004/diff/1/scripts/slave/goma_utils.py File scripts/slave/goma_utils.py (right): https://codereview.chromium.org/2302453004/diff/1/scripts/slave/goma_utils.py#newcode128 scripts/slave/goma_utils.py:128: 'env': {}, Why don't you use os.environ.clone()?
4 years, 3 months ago (2016-09-01 09:12:54 UTC) #3
shinyak
https://codereview.chromium.org/2302453004/diff/1/scripts/slave/goma_utils.py File scripts/slave/goma_utils.py (right): https://codereview.chromium.org/2302453004/diff/1/scripts/slave/goma_utils.py#newcode128 scripts/slave/goma_utils.py:128: 'env': {}, On 2016/09/01 09:12:54, tikuta wrote: > Why ...
4 years, 3 months ago (2016-09-01 09:25:38 UTC) #4
Paweł Hajdan Jr.
Isn't os.environ lead to exactly same problems you've hit before? Why not use api.properties instead?
4 years, 3 months ago (2016-09-01 09:42:28 UTC) #5
shinyak
Hmm, what problems? This is appending buildbot data (e.g. mastername, buildername, etc.) to compiler_proxy log ...
4 years, 3 months ago (2016-09-02 02:35:04 UTC) #6
shinyak
Ah, you're saying something like this patch? https://codereview.chromium.org/2306523002/
4 years, 3 months ago (2016-09-02 02:37:09 UTC) #7
ukai
lgtm https://codereview.chromium.org/2302453004/diff/1/scripts/slave/goma_utils.py File scripts/slave/goma_utils.py (right): https://codereview.chromium.org/2302453004/diff/1/scripts/slave/goma_utils.py#newcode129 scripts/slave/goma_utils.py:129: } sucproc info name?
4 years, 3 months ago (2016-09-02 05:06:32 UTC) #8
shinyak
PTAL? Instead of adding text in compiler_proxy log, I chose to use cloud storage metadata ...
4 years, 3 months ago (2016-09-05 07:05:57 UTC) #11
Yoshisato Yanagisawa
lgtm w/ comment.
4 years, 3 months ago (2016-09-05 08:01:27 UTC) #14
Yoshisato Yanagisawa
https://codereview.chromium.org/2302453004/diff/20001/scripts/slave/goma_utils.py File scripts/slave/goma_utils.py (right): https://codereview.chromium.org/2302453004/diff/20001/scripts/slave/goma_utils.py#newcode124 scripts/slave/goma_utils.py:124: metadata = { I thought you encode metadata with ...
4 years, 3 months ago (2016-09-05 08:01:39 UTC) #15
shinyak
https://codereview.chromium.org/2302453004/diff/20001/scripts/slave/goma_utils.py File scripts/slave/goma_utils.py (right): https://codereview.chromium.org/2302453004/diff/20001/scripts/slave/goma_utils.py#newcode124 scripts/slave/goma_utils.py:124: metadata = { On 2016/09/05 08:01:39, Yoshisato Yanagisawa wrote: ...
4 years, 3 months ago (2016-09-06 02:30:33 UTC) #16
shinyak
https://codereview.chromium.org/2302453004/diff/20001/scripts/slave/goma_utils.py File scripts/slave/goma_utils.py (right): https://codereview.chromium.org/2302453004/diff/20001/scripts/slave/goma_utils.py#newcode124 scripts/slave/goma_utils.py:124: metadata = { Since this is small, I feel ...
4 years, 3 months ago (2016-09-06 02:36:36 UTC) #17
Yoshisato Yanagisawa
https://codereview.chromium.org/2302453004/diff/20001/scripts/slave/goma_utils.py File scripts/slave/goma_utils.py (right): https://codereview.chromium.org/2302453004/diff/20001/scripts/slave/goma_utils.py#newcode124 scripts/slave/goma_utils.py:124: metadata = { Other reviewers may think the other ...
4 years, 3 months ago (2016-09-06 02:50:50 UTC) #18
shinyak
https://codereview.chromium.org/2302453004/diff/20001/scripts/slave/goma_utils.py File scripts/slave/goma_utils.py (right): https://codereview.chromium.org/2302453004/diff/20001/scripts/slave/goma_utils.py#newcode124 scripts/slave/goma_utils.py:124: metadata = { Since this runs with python subprocess.Popen ...
4 years, 3 months ago (2016-09-06 02:59:22 UTC) #21
shinyak
yyanagisawa-san, PTAL? If ok, I'd like to submit this.
4 years, 3 months ago (2016-09-06 05:20:24 UTC) #26
Yoshisato Yanagisawa
lgtm
4 years, 3 months ago (2016-09-06 05:23:25 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/2302453004/80001
4 years, 3 months ago (2016-09-06 06:53:01 UTC) #32
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://chromium.googlesource.com/chromium/tools/build/+/3d1cf68904cab7a23836940d3bdb1f43bee145b8
4 years, 3 months ago (2016-09-06 06:57:38 UTC) #34
shinyak
4 years, 3 months ago (2016-09-06 07:14:25 UTC) #35
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:80001) has been created in
https://codereview.chromium.org/2318493002/ by shinyak@chromium.org.

The reason for reverting is: gsutil.py -h shows help.
https://uberchromegw.corp.google.com/i/tryserver.chromium.linux/builders/linu....

Powered by Google App Engine
This is Rietveld 408576698