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

Issue 12324007: Android buildbot - halt build if subcommand returns error (Closed)

Created:
7 years, 10 months ago by Isaac (away)
Modified:
7 years, 10 months ago
Reviewers:
Yaron
CC:
chromium-reviews
Visibility:
Public.

Description

Android buildbot - halt build if subcommand returns error bb_run_bot is currently ORing the return codes of each subcommand but not early terminating. That means that if a command returns an error, it does not explicitly mark that step as failing. The quickest fix is to early terminate, which is correct for the current usage of bb_run_bot, where subcommands do not return non-zero status except on serious error. Example problematic build: http://build.chromium.org/p/chromium.linux/builders/Android%20Tests/builds/1479 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=183776

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M buildbot/bb_run_bot.py View 2 chunks +3 lines, -3 lines 1 comment Download

Messages

Total messages: 4 (0 generated)
Isaac (away)
7 years, 10 months ago (2013-02-20 22:54:36 UTC) #1
Yaron
https://chromiumcodereview.appspot.com/12324007/diff/1/buildbot/bb_run_bot.py File buildbot/bb_run_bot.py (right): https://chromiumcodereview.appspot.com/12324007/diff/1/buildbot/bb_run_bot.py#newcode198 buildbot/bb_run_bot.py:198: Shouldn't it return 0 at the end if we ...
7 years, 10 months ago (2013-02-21 02:02:49 UTC) #2
Isaac (away)
It could, but it is implicit. If it doesn't early terminate, main() will return None. ...
7 years, 10 months ago (2013-02-21 02:10:37 UTC) #3
Yaron
7 years, 10 months ago (2013-02-21 02:12:53 UTC) #4
lgtm

Powered by Google App Engine
This is Rietveld 408576698