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

Issue 2835203004: Fix logdog_wrapper to not upload if logdog binary does not exist. (Closed)

Created:
3 years, 8 months ago by BigBossZhiling
Modified:
3 years, 8 months ago
CC:
agrieve+watch_chromium.org, chromium-reviews, jbudorick+watch_chromium.org, mikecase+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix logdog_wrapper to not upload if logdog binary does not exist. Currently when logdog binary doesn not exist, we are still trying to upload logcats. Without logdog binary setting up, trying to upload logcats will result in NotBootstrappedError. This error will then output a stack which is confusing to engineers. BUG=675666 Review-Url: https://codereview.chromium.org/2835203004 Cr-Commit-Position: refs/heads/master@{#467505} Committed: https://chromium.googlesource.com/chromium/src/+/9efa729c382c00ae0746a4abf98e4358d9f12ff4

Patch Set 1 #

Total comments: 1

Patch Set 2 : add a one liner to exception logging #

Total comments: 3

Patch Set 3 : changed the message #

Total comments: 2

Patch Set 4 : move the message around #

Total comments: 2

Patch Set 5 : linking bug #

Patch Set 6 : fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -6 lines) Patch
M build/android/pylib/utils/logdog_helper.py View 1 2 3 4 5 4 chunks +12 lines, -4 lines 0 comments Download
M build/android/test_wrapper/logdog_wrapper.py View 1 3 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
BigBossZhiling
3 years, 8 months ago (2017-04-24 21:08:52 UTC) #3
jbudorick
https://codereview.chromium.org/2835203004/diff/1/build/android/test_wrapper/logdog_wrapper.py File build/android/test_wrapper/logdog_wrapper.py (right): https://codereview.chromium.org/2835203004/diff/1/build/android/test_wrapper/logdog_wrapper.py#newcode69 build/android/test_wrapper/logdog_wrapper.py:69: test_cmd += extra_cmd_args Can we move this below the ...
3 years, 8 months ago (2017-04-24 22:02:51 UTC) #4
BigBossZhiling
3 years, 8 months ago (2017-04-24 22:24:38 UTC) #5
jbudorick
lgtm w/ nit https://codereview.chromium.org/2835203004/diff/20001/build/android/pylib/utils/decorators.py File build/android/pylib/utils/decorators.py (right): https://codereview.chromium.org/2835203004/diff/20001/build/android/pylib/utils/decorators.py#newcode35 build/android/pylib/utils/decorators.py:35: logging.exception('The above exception is suppressed on ...
3 years, 8 months ago (2017-04-24 22:26:29 UTC) #6
mikecase (-- gone --)
https://codereview.chromium.org/2835203004/diff/20001/build/android/pylib/utils/decorators.py File build/android/pylib/utils/decorators.py (right): https://codereview.chromium.org/2835203004/diff/20001/build/android/pylib/utils/decorators.py#newcode35 build/android/pylib/utils/decorators.py:35: logging.exception('The above exception is suppressed on purpose. ' On ...
3 years, 8 months ago (2017-04-24 22:33:41 UTC) #8
BigBossZhiling
https://codereview.chromium.org/2835203004/diff/20001/build/android/pylib/utils/decorators.py File build/android/pylib/utils/decorators.py (right): https://codereview.chromium.org/2835203004/diff/20001/build/android/pylib/utils/decorators.py#newcode35 build/android/pylib/utils/decorators.py:35: logging.exception('The above exception is suppressed on purpose. ' On ...
3 years, 8 months ago (2017-04-25 18:13:47 UTC) #9
jbudorick
https://codereview.chromium.org/2835203004/diff/40001/build/android/pylib/utils/decorators.py File build/android/pylib/utils/decorators.py (right): https://codereview.chromium.org/2835203004/diff/40001/build/android/pylib/utils/decorators.py#newcode34 build/android/pylib/utils/decorators.py:34: logging.exception('Ignore the following exception.') This will log the exception ...
3 years, 8 months ago (2017-04-25 18:14:48 UTC) #10
BigBossZhiling
https://codereview.chromium.org/2835203004/diff/40001/build/android/pylib/utils/decorators.py File build/android/pylib/utils/decorators.py (right): https://codereview.chromium.org/2835203004/diff/40001/build/android/pylib/utils/decorators.py#newcode34 build/android/pylib/utils/decorators.py:34: logging.exception('Ignore the following exception.') On 2017/04/25 18:14:48, jbudorick wrote: ...
3 years, 8 months ago (2017-04-26 20:55:47 UTC) #11
mikecase (-- gone --)
lgtm https://codereview.chromium.org/2835203004/diff/60001/build/android/pylib/utils/logdog_helper.py File build/android/pylib/utils/logdog_helper.py (right): https://codereview.chromium.org/2835203004/diff/60001/build/android/pylib/utils/logdog_helper.py#newcode20 build/android/pylib/utils/logdog_helper.py:20: exception_message='Ignore this exception.') nit: I would link a ...
3 years, 8 months ago (2017-04-26 20:59:49 UTC) #12
BigBossZhiling
https://codereview.chromium.org/2835203004/diff/60001/build/android/pylib/utils/logdog_helper.py File build/android/pylib/utils/logdog_helper.py (right): https://codereview.chromium.org/2835203004/diff/60001/build/android/pylib/utils/logdog_helper.py#newcode20 build/android/pylib/utils/logdog_helper.py:20: exception_message='Ignore this exception.') On 2017/04/26 20:59:49, mikecase wrote: > ...
3 years, 8 months ago (2017-04-26 21:24:07 UTC) #13
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/2835203004/100001
3 years, 8 months ago (2017-04-26 21:25:49 UTC) #16
commit-bot: I haz the power
3 years, 8 months ago (2017-04-26 23:23:51 UTC) #19
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/9efa729c382c00ae0746a4abf98e...

Powered by Google App Engine
This is Rietveld 408576698