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

Issue 9249030: Android buildbot refactor. (Closed)

Created:
8 years, 11 months ago by John Grabowski
Modified:
8 years, 11 months ago
Reviewers:
Peter Mayo, M-A Ruel
CC:
chromium-reviews, Peter Beverloo, bulach, Nicolas Sylvain
Visibility:
Public.

Description

Android buildbot refactor. Add distinct entry points for each type of chromium android buildbot. Make it super-ez for a sheriff to disable (force green) any of them. BUG=None TEST= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=118471

Patch Set 1 #

Patch Set 2 : add clarity to force-disable step in buildbot output #

Patch Set 3 : remove extra whitespace #

Total comments: 12

Patch Set 4 : mayo feedback #

Patch Set 5 : mayo feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -82 lines) Patch
M build/android/buildbot.sh View 1 chunk +9 lines, -82 lines 0 comments Download
A build/android/buildbot_functions.sh View 1 2 3 4 1 chunk +105 lines, -0 lines 0 comments Download
A build/android/buildbot_fyi.sh View 1 chunk +20 lines, -0 lines 0 comments Download
A build/android/buildbot_main.sh View 1 1 chunk +18 lines, -0 lines 0 comments Download
A build/android/buildbot_try_compile.sh View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
A build/android/buildbot_try_compile_test.sh View 1 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
John Grabowski
Applying feedback from MA about using distinct entry points for bot types when using annotator ...
8 years, 11 months ago (2012-01-18 20:41:59 UTC) #1
Peter Mayo
Interesting - Have any of the other chromium trees gone to a script&annotator? (The chromium ...
8 years, 11 months ago (2012-01-19 02:26:03 UTC) #2
M-A Ruel
FTR, I'm seriously bash-illiterate, I'll leave it to Peter to review this.
8 years, 11 months ago (2012-01-19 02:33:58 UTC) #3
John Grabowski
Feedback applied. >> Interesting - Have any of the other chromium trees >> gone to ...
8 years, 11 months ago (2012-01-19 17:45:13 UTC) #4
Peter Mayo
Seriously consider replacing this in the future with a python script. There are many more ...
8 years, 11 months ago (2012-01-19 20:02:13 UTC) #5
John Grabowski
8 years, 11 months ago (2012-01-20 18:59:47 UTC) #6
Re: python.  Will keep an eye on this to be sure it doesn't become a beast.  For
now, it's pretty simple.

Thx for the review.

http://codereview.chromium.org/9249030/diff/1007/build/android/buildbot_funct...
File build/android/buildbot_functions.sh (right):

http://codereview.chromium.org/9249030/diff/1007/build/android/buildbot_funct...
build/android/buildbot_functions.sh:28: echo "$1 not specified as source root"
On 2012/01/19 20:02:13, Peter Mayo wrote:
> nit: Debugging would be easier if the error message pointed to all possible
> causes of the failure: e.g. the wrong path being passed, the expected
directory
> being missing, as well as the code not passing a value.
> 
> E.g. "a valid source"

clarified

http://codereview.chromium.org/9249030/diff/1007/build/android/buildbot_funct...
build/android/buildbot_functions.sh:32: cd $SRC_ROOT
On 2012/01/19 20:02:13, Peter Mayo wrote:
> I was thinking 
> cd $SRC_ROOT || { echo Unable to cd to "$SRC_ROOT" ; echo '@@@STEP_FAILURE@@@'
;
> exit 1 ; }
> 
> With some sensible line wrapping.

Given all buildbot scripts do a "set -ex", I think we get this implicitly.  E.g.
the script stops, we see the command, and we see an error message.

Powered by Google App Engine
This is Rietveld 408576698