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

Issue 2312413002: [Findit] Record error if swarming task completes with exit_code as 2. (Closed)

Created:
4 years, 3 months ago by chanli
Modified:
4 years, 3 months ago
CC:
chromium-reviews, infra-reviews+infra_chromium.org
Target Ref:
refs/heads/master
Project:
infra
Visibility:
Public.

Description

[Findit] Record error if swarming task completes with exit_code as 2. BUG=643864, 643821 Committed: https://chromium.googlesource.com/infra/infra/+/398a698ca5a548510db4c83f6b09659b4c5e0523

Patch Set 1 #

Total comments: 4

Patch Set 2 : address comments #

Patch Set 3 : Add None check to avoid keyvalue error (related change) #

Total comments: 4

Patch Set 4 : . #

Total comments: 5

Patch Set 5 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -4 lines) Patch
M appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py View 1 2 3 4 2 chunks +10 lines, -3 lines 0 comments Download
M appengine/findit/waterfall/swarming_util.py View 1 2 3 2 chunks +13 lines, -0 lines 0 comments Download
M appengine/findit/waterfall/test/process_flake_swarming_task_result_pipeline_test.py View 1 1 chunk +1 line, -0 lines 0 comments Download
M appengine/findit/waterfall/test/process_swarming_task_result_pipeline_test.py View 1 chunk +1 line, -0 lines 0 comments Download
M appengine/findit/waterfall/test/swarming_util_test.py View 1 2 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 19 (5 generated)
chanli
ptal
4 years, 3 months ago (2016-09-07 00:27:33 UTC) #2
lijeffrey
https://codereview.chromium.org/2312413002/diff/1/appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py File appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py (right): https://codereview.chromium.org/2312413002/diff/1/appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py#newcode90 appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py:90: else data['exit_code']) how about the opposite for readability? exit_code ...
4 years, 3 months ago (2016-09-07 20:41:38 UTC) #3
chanli
https://codereview.chromium.org/2312413002/diff/1/appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py File appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py (right): https://codereview.chromium.org/2312413002/diff/1/appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py#newcode90 appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py:90: else data['exit_code']) On 2016/09/07 20:41:38, lijeffrey wrote: > how ...
4 years, 3 months ago (2016-09-07 22:37:12 UTC) #4
chanli
4 years, 3 months ago (2016-09-08 00:02:46 UTC) #6
lijeffrey
https://codereview.chromium.org/2312413002/diff/40001/appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py File appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py (right): https://codereview.chromium.org/2312413002/diff/40001/appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py#newcode17 appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py:17: _ACCEPTED_EXIT_CODE = [0, 1] nit: _ACCEPTED_EXIT_CODES on that note, ...
4 years, 3 months ago (2016-09-08 03:41:00 UTC) #7
stgao
https://codereview.chromium.org/2312413002/diff/40001/appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py File appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py (right): https://codereview.chromium.org/2312413002/diff/40001/appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py#newcode17 appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py:17: _ACCEPTED_EXIT_CODE = [0, 1] On 2016/09/08 03:41:00, lijeffrey wrote: ...
4 years, 3 months ago (2016-09-08 04:16:00 UTC) #8
chanli
https://codereview.chromium.org/2312413002/diff/40001/appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py File appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py (right): https://codereview.chromium.org/2312413002/diff/40001/appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py#newcode17 appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py:17: _ACCEPTED_EXIT_CODE = [0, 1] On 2016/09/08 03:41:00, lijeffrey wrote: ...
4 years, 3 months ago (2016-09-08 21:16:56 UTC) #9
Sharu Jiang
https://codereview.chromium.org/2312413002/diff/60001/appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py File appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py (right): https://codereview.chromium.org/2312413002/diff/60001/appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py#newcode97 appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py:97: print exit_code Are these 2 prints intended?
4 years, 3 months ago (2016-09-08 21:41:55 UTC) #10
stgao
lgtm
4 years, 3 months ago (2016-09-08 22:02:50 UTC) #11
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/2312413002/80001
4 years, 3 months ago (2016-09-08 22:07:21 UTC) #14
chanli
https://codereview.chromium.org/2312413002/diff/60001/appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py File appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py (right): https://codereview.chromium.org/2312413002/diff/60001/appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py#newcode97 appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py:97: print exit_code On 2016/09/08 21:41:54, sharu jiang wrote: > ...
4 years, 3 months ago (2016-09-08 22:07:21 UTC) #15
Sharu Jiang
lgtm
4 years, 3 months ago (2016-09-08 22:10:34 UTC) #16
lijeffrey
https://codereview.chromium.org/2312413002/diff/60001/appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py File appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py (right): https://codereview.chromium.org/2312413002/diff/60001/appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py#newcode109 appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py:109: logging_str = 'Swarming task stopped with status: %s' % ...
4 years, 3 months ago (2016-09-08 22:14:05 UTC) #17
commit-bot: I haz the power
4 years, 3 months ago (2016-09-08 22:21:39 UTC) #19
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/infra/infra/+/398a698ca5a548510db4c83f6b096...

Powered by Google App Engine
This is Rietveld 408576698