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

Issue 950893004: Add exit code for infra failures to testrunner script. (Closed)

Created:
5 years, 10 months ago by mikecase (-- gone --)
Modified:
5 years, 10 months ago
Reviewers:
jbudorick
CC:
chromium-reviews, klundberg+watch_chromium.org, yfriedman+watch_chromium.org, jbudorick+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add exit code for infra failures to testrunner script. For recipes to know a failure in the testrunner was caused by an infrastructure failure, we are adding a specific exit code. BUG=451993 Committed: https://crrev.com/e740510219de4a3d7b0f7d1bf8a21bd86366e00a Cr-Commit-Position: refs/heads/master@{#318341}

Patch Set 1 #

Patch Set 2 : Made CL more general. BaseError now has is_infra_error property. #

Total comments: 7

Patch Set 3 : Addressed comments. #

Total comments: 3

Patch Set 4 : Updated base.base_error to util.base_error in test_runner.py. #

Patch Set 5 : Make AMP timeouts infra failures. #

Total comments: 4

Patch Set 6 : Fixed nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -17 lines) Patch
M build/android/pylib/constants.py View 1 chunk +1 line, -0 lines 0 comments Download
M build/android/pylib/device/device_errors.py View 1 2 2 chunks +5 lines, -10 lines 0 comments Download
M build/android/pylib/device/device_utils.py View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M build/android/pylib/remote/device/remote_device_environment.py View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M build/android/pylib/remote/device/remote_device_helper.py View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M build/android/pylib/remote/device/remote_device_test_run.py View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M build/android/pylib/remote/device/remote_device_uirobot_test_run.py View 1 chunk +1 line, -1 line 0 comments Download
A build/android/pylib/utils/base_error.py View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
M build/android/test_runner.py View 1 2 3 4 5 3 chunks +14 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (3 generated)
mikecase (-- gone --)
5 years, 10 months ago (2015-02-23 18:23:01 UTC) #2
mikecase (-- gone --)
Addressed your feedback. Made everything more general. Any exception that inherits from base_error.BaseError can set ...
5 years, 10 months ago (2015-02-23 22:06:10 UTC) #3
jbudorick
https://codereview.chromium.org/950893004/diff/20001/build/android/pylib/base/base_error.py File build/android/pylib/base/base_error.py (right): https://codereview.chromium.org/950893004/diff/20001/build/android/pylib/base/base_error.py#newcode1 build/android/pylib/base/base_error.py:1: # Copyright 2015 The Chromium Authors. All rights reserved. ...
5 years, 10 months ago (2015-02-23 22:13:01 UTC) #4
jbudorick
https://codereview.chromium.org/950893004/diff/20001/build/android/pylib/base/base_error.py File build/android/pylib/base/base_error.py (right): https://codereview.chromium.org/950893004/diff/20001/build/android/pylib/base/base_error.py#newcode1 build/android/pylib/base/base_error.py:1: # Copyright 2015 The Chromium Authors. All rights reserved. ...
5 years, 10 months ago (2015-02-23 22:16:03 UTC) #5
mikecase (-- gone --)
https://codereview.chromium.org/950893004/diff/20001/build/android/pylib/base/base_error.py File build/android/pylib/base/base_error.py (right): https://codereview.chromium.org/950893004/diff/20001/build/android/pylib/base/base_error.py#newcode1 build/android/pylib/base/base_error.py:1: # Copyright 2015 The Chromium Authors. All rights reserved. ...
5 years, 10 months ago (2015-02-23 22:29:27 UTC) #6
jbudorick
https://codereview.chromium.org/950893004/diff/40001/build/android/test_runner.py File build/android/test_runner.py (right): https://codereview.chromium.org/950893004/diff/40001/build/android/test_runner.py#newcode1021 build/android/test_runner.py:1021: logging.exception('An error occured.') On 2015/02/23 22:29:27, mikecase wrote: > ...
5 years, 10 months ago (2015-02-23 22:31:29 UTC) #7
mikecase (-- gone --)
https://codereview.chromium.org/950893004/diff/40001/build/android/test_runner.py File build/android/test_runner.py (right): https://codereview.chromium.org/950893004/diff/40001/build/android/test_runner.py#newcode1021 build/android/test_runner.py:1021: logging.exception('An error occured.') On 2015/02/23 22:31:29, jbudorick wrote: > ...
5 years, 10 months ago (2015-02-23 22:48:23 UTC) #8
mikecase (-- gone --)
I never really understood what you wanted me to check for this CL. You said ...
5 years, 10 months ago (2015-02-25 19:51:21 UTC) #9
jbudorick
On 2015/02/25 19:51:21, mikecase wrote: > I never really understood what you wanted me to ...
5 years, 10 months ago (2015-02-25 20:29:30 UTC) #10
mikecase (-- gone --)
On 2015/02/25 20:29:30, jbudorick wrote: > On 2015/02/25 19:51:21, mikecase wrote: > > I never ...
5 years, 10 months ago (2015-02-26 19:56:28 UTC) #11
jbudorick
lgtm w/ nits https://codereview.chromium.org/950893004/diff/80001/build/android/test_runner.py File build/android/test_runner.py (right): https://codereview.chromium.org/950893004/diff/80001/build/android/test_runner.py#newcode1021 build/android/test_runner.py:1021: logging.exception('An error occured.') nit: occured -> ...
5 years, 10 months ago (2015-02-26 20:07:43 UTC) #12
mikecase (-- gone --)
https://codereview.chromium.org/950893004/diff/80001/build/android/test_runner.py File build/android/test_runner.py (right): https://codereview.chromium.org/950893004/diff/80001/build/android/test_runner.py#newcode1021 build/android/test_runner.py:1021: logging.exception('An error occured.') On 2015/02/26 20:07:43, jbudorick wrote: > ...
5 years, 10 months ago (2015-02-26 21:51:39 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/950893004/100001
5 years, 10 months ago (2015-02-26 21:53:56 UTC) #16
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 10 months ago (2015-02-26 23:08:31 UTC) #17
commit-bot: I haz the power
5 years, 10 months ago (2015-02-26 23:09:21 UTC) #18
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/e740510219de4a3d7b0f7d1bf8a21bd86366e00a
Cr-Commit-Position: refs/heads/master@{#318341}

Powered by Google App Engine
This is Rietveld 408576698