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

Issue 2207273003: Implement upload_logs() in recipe_modules/goma (Closed)

Created:
4 years, 4 months ago by tikuta
Modified:
4 years, 4 months ago
CC:
chromium-reviews, infra-reviews+build_chromium.org, kjellander-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/build.git@master
Target Ref:
refs/heads/master
Project:
build
Visibility:
Public.

Description

Implement upload_logs() in recipe_modules/goma * upload_logs uploads goma stats, crash report and ninja log * add test for build_data_dir and ninja_log * add no cover for InfraFailure exception BUG=544330 Committed: https://chromium.googlesource.com/chromium/tools/build/+/dfd62794c4925e42fb06a493149683122f68a791

Patch Set 1 #

Total comments: 8

Patch Set 2 : add upload_logs() after start failure #

Total comments: 2

Patch Set 3 : catch goma stop exception after start failed #

Patch Set 4 : rebase #

Total comments: 10

Patch Set 5 : add build_data_dir property #

Patch Set 6 : 1 newline #

Patch Set 7 : rebase #

Patch Set 8 : change for coverage #

Unified diffs Side-by-side diffs Delta from patch set Stats (+234 lines, -14 lines) Patch
M scripts/slave/recipe_modules/goma/__init__.py View 1 1 chunk +1 line, -0 lines 0 comments Download
M scripts/slave/recipe_modules/goma/api.py View 1 2 3 4 5 6 7 4 chunks +87 lines, -11 lines 0 comments Download
M scripts/slave/recipe_modules/goma/example.py View 1 2 3 4 5 6 7 1 chunk +20 lines, -3 lines 0 comments Download
M scripts/slave/recipe_modules/goma/example.expected/linux.json View 1 1 chunk +12 lines, -0 lines 0 comments Download
A + scripts/slave/recipe_modules/goma/example.expected/linux_upload_logs.json View 1 2 3 4 5 6 7 2 chunks +30 lines, -0 lines 0 comments Download
M scripts/slave/recipe_modules/goma/example.expected/mac.json View 1 1 chunk +12 lines, -0 lines 0 comments Download
A + scripts/slave/recipe_modules/goma/example.expected/mac_upload_logs.json View 1 2 3 4 5 6 7 2 chunks +30 lines, -0 lines 0 comments Download
M scripts/slave/recipe_modules/goma/example.expected/win.json View 1 1 chunk +12 lines, -0 lines 0 comments Download
A + scripts/slave/recipe_modules/goma/example.expected/win_upload_logs.json View 1 2 3 4 5 6 7 2 chunks +30 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (14 generated)
tikuta
Please review this CL.
4 years, 4 months ago (2016-08-09 03:40:22 UTC) #3
Yoshisato Yanagisawa
Phajdan, will you review this code from recipe point of view? https://codereview.chromium.org/2207273003/diff/1/scripts/slave/recipe_modules/goma/api.py File scripts/slave/recipe_modules/goma/api.py (left): ...
4 years, 4 months ago (2016-08-09 04:01:49 UTC) #5
tikuta
https://codereview.chromium.org/2207273003/diff/1/scripts/slave/recipe_modules/goma/api.py File scripts/slave/recipe_modules/goma/api.py (left): https://codereview.chromium.org/2207273003/diff/1/scripts/slave/recipe_modules/goma/api.py#oldcode73 scripts/slave/recipe_modules/goma/api.py:73: self._goma_started = False On 2016/08/09 04:01:49, Yoshisato Yanagisawa wrote: ...
4 years, 4 months ago (2016-08-09 05:30:40 UTC) #6
ukai
lgtm https://codereview.chromium.org/2207273003/diff/20001/scripts/slave/recipe_modules/goma/api.py File scripts/slave/recipe_modules/goma/api.py (right): https://codereview.chromium.org/2207273003/diff/20001/scripts/slave/recipe_modules/goma/api.py#newcode89 scripts/slave/recipe_modules/goma/api.py:89: self.m.python( if stop failed, will it raise InfraFailure? ...
4 years, 4 months ago (2016-08-09 05:47:19 UTC) #7
tikuta
https://codereview.chromium.org/2207273003/diff/20001/scripts/slave/recipe_modules/goma/api.py File scripts/slave/recipe_modules/goma/api.py (right): https://codereview.chromium.org/2207273003/diff/20001/scripts/slave/recipe_modules/goma/api.py#newcode89 scripts/slave/recipe_modules/goma/api.py:89: self.m.python( On 2016/08/09 05:47:18, ukai wrote: > if stop ...
4 years, 4 months ago (2016-08-09 06:02:47 UTC) #8
Paweł Hajdan Jr.
https://codereview.chromium.org/2207273003/diff/60001/scripts/slave/recipe_modules/goma/api.py File scripts/slave/recipe_modules/goma/api.py (right): https://codereview.chromium.org/2207273003/diff/60001/scripts/slave/recipe_modules/goma/api.py#newcode18 scripts/slave/recipe_modules/goma/api.py:18: # TODO(tikuta) set these variables Why is this a ...
4 years, 4 months ago (2016-08-09 07:04:36 UTC) #9
tikuta
Thank you for review phajdan! https://codereview.chromium.org/2207273003/diff/60001/scripts/slave/recipe_modules/goma/api.py File scripts/slave/recipe_modules/goma/api.py (right): https://codereview.chromium.org/2207273003/diff/60001/scripts/slave/recipe_modules/goma/api.py#newcode18 scripts/slave/recipe_modules/goma/api.py:18: # TODO(tikuta) set these ...
4 years, 4 months ago (2016-08-09 07:58:10 UTC) #10
Paweł Hajdan Jr.
LGTM
4 years, 4 months ago (2016-08-09 16:16:54 UTC) #11
Yoshisato Yanagisawa
lgtm It is fine to be the other cl, but can we also have tests ...
4 years, 4 months ago (2016-08-10 05:13:09 UTC) #12
tikuta
On 2016/08/10 05:13:09, Yoshisato Yanagisawa wrote: > lgtm > > It is fine to be ...
4 years, 4 months ago (2016-08-10 06:29:22 UTC) #13
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/2207273003/120001
4 years, 4 months ago (2016-08-10 08:44:56 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: Build Presubmit on luci.infra.try (JOB_FAILED, https://luci-milo.appspot.com/swarming/task/308c71f59404cc10)
4 years, 4 months ago (2016-08-10 08:48:27 UTC) #18
tikuta
PTAL. I added test in this CL.
4 years, 4 months ago (2016-08-10 09:06:44 UTC) #20
shinyak
lgtm
4 years, 4 months ago (2016-08-10 11:17:58 UTC) #21
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/2207273003/140001
4 years, 4 months ago (2016-08-12 01:47:52 UTC) #28
commit-bot: I haz the power
4 years, 4 months ago (2016-08-12 01:51:32 UTC) #30
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/tools/build/+/dfd62794c4925e42fb06...

Powered by Google App Engine
This is Rietveld 408576698