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

Issue 1949753003: Fail build if triggering fails (Closed)

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

Description

Fail build if triggering fails Introduce the concept of "fatal error" to AnnotatedCommand. In case of fatal errors, mark entire build as EXCEPTION and put the details in the fatal_errors log of the preamble. If 'critical' is True or absent in a triggering spec and triggering fails on the master side, it is a fatal error. R=vadimsh@chromium.org BUG=609166 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=300505

Patch Set 1 #

Total comments: 4

Patch Set 2 : addressed comments #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -11 lines) Patch
M scripts/master/chromium_step.py View 1 7 chunks +50 lines, -11 lines 4 comments Download
M scripts/slave/recipe_modules/trigger/api.py View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
nodir
PTAL Tested locally that it actually adds fatal_errors log under the first step with an ...
4 years, 7 months ago (2016-05-04 17:25:56 UTC) #1
nodir
cc related people
4 years, 7 months ago (2016-05-04 17:26:25 UTC) #2
Vadim Sh.
lgtm https://codereview.chromium.org/1949753003/diff/1/scripts/master/chromium_step.py File scripts/master/chromium_step.py (right): https://codereview.chromium.org/1949753003/diff/1/scripts/master/chromium_step.py#newcode883 scripts/master/chromium_step.py:883: # This might happen if the section was ...
4 years, 7 months ago (2016-05-04 19:24:44 UTC) #3
Dirk Pranke
It seems like we should just mark this step as purple; can't we do that ...
4 years, 7 months ago (2016-05-04 22:59:10 UTC) #5
martiniss
On 2016/05/04 at 22:59:10, dpranke wrote: > It seems like we should just mark this ...
4 years, 7 months ago (2016-05-04 23:15:13 UTC) #6
nodir
Dirk: marked purple (by using EXCEPTION instead of FAILURE) Verified the change with a local ...
4 years, 7 months ago (2016-05-05 00:03:12 UTC) #7
Dirk Pranke
I don't really know this code, so maybe my questions don't make any sense, but ...
4 years, 7 months ago (2016-05-05 02:16:07 UTC) #9
nodir
https://codereview.chromium.org/1949753003/diff/40001/scripts/master/chromium_step.py File scripts/master/chromium_step.py (left): https://codereview.chromium.org/1949753003/diff/40001/scripts/master/chromium_step.py#oldcode1251 scripts/master/chromium_step.py:1251: self.finishStep(self.cursor, builder.FAILURE, ex) On 2016/05/05 02:16:07, Dirk Pranke wrote: ...
4 years, 7 months ago (2016-05-05 16:45:32 UTC) #10
Dirk Pranke
well, I defer to the others here since I don't really know this code ...
4 years, 7 months ago (2016-05-05 16:56:10 UTC) #11
nodir
https://codereview.chromium.org/1949753003/diff/40001/scripts/master/chromium_step.py File scripts/master/chromium_step.py (left): https://codereview.chromium.org/1949753003/diff/40001/scripts/master/chromium_step.py#oldcode1251 scripts/master/chromium_step.py:1251: self.finishStep(self.cursor, builder.FAILURE, ex) On 2016/05/05 16:45:32, nodir wrote: > ...
4 years, 7 months ago (2016-05-05 16:58:20 UTC) #12
iannucci
There is an 'infra_step' concept though which will make a regular api.step turn purple if ...
4 years, 7 months ago (2016-05-05 17:00:08 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1949753003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1949753003/40001
4 years, 7 months ago (2016-05-09 15:39:52 UTC) #16
commit-bot: I haz the power
4 years, 7 months ago (2016-05-09 15:44:29 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
http://src.chromium.org/viewvc/chrome?view=rev&revision=300505

Powered by Google App Engine
This is Rietveld 408576698