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

Issue 949813002: download_sdk_extras: Catch the correct error. (Closed)

Created:
5 years, 10 months ago by dnj
Modified:
5 years, 10 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

download_sdk_extras: Catch the correct error. Catch the error raised by 'check_call' rather than the error emitted by the called process. BUG=chromium:460693, chromium:459681 TEST=local - Ran without fix, setting CHROME_HEADLESS=1. Script failed with the exception in the bug. - Ran with fix, 'gsutil' failed with AccessDeniedException output and the calling script successfully emitted a warning message. R=hinoka@chromium.org, navabi@chromium.org Committed: https://crrev.com/63ab4fead51b043cb1f21ae2b31f9e593cbdc3ca Cr-Commit-Position: refs/heads/master@{#317608}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M build/download_sdk_extras.py View 1 chunk +3 lines, -3 lines 3 comments Download

Messages

Total messages: 18 (6 generated)
dnj
The script is currently not executable on a bot. This is breaking CrOS PFQ and ...
5 years, 10 months ago (2015-02-23 02:12:09 UTC) #1
navabi
https://codereview.chromium.org/949813002/diff/1/build/download_sdk_extras.py File build/download_sdk_extras.py (right): https://codereview.chromium.org/949813002/diff/1/build/download_sdk_extras.py#newcode63 build/download_sdk_extras.py:63: print ('WARNING: Failed to download SDK packages. If this ...
5 years, 10 months ago (2015-02-23 17:40:49 UTC) #3
dnj
https://codereview.chromium.org/949813002/diff/1/build/download_sdk_extras.py File build/download_sdk_extras.py (right): https://codereview.chromium.org/949813002/diff/1/build/download_sdk_extras.py#newcode63 build/download_sdk_extras.py:63: print ('WARNING: Failed to download SDK packages. If this ...
5 years, 10 months ago (2015-02-23 17:43:17 UTC) #4
navabi
lgtm
5 years, 10 months ago (2015-02-23 17:46:54 UTC) #5
navabi1
lgtm
5 years, 10 months ago (2015-02-23 17:47:08 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/949813002/1
5 years, 10 months ago (2015-02-23 17:49:27 UTC) #11
dnj
+owners, can someone LGTM please :)
5 years, 10 months ago (2015-02-23 18:16:28 UTC) #13
cjhopman
lgtm
5 years, 10 months ago (2015-02-23 18:18:53 UTC) #14
scottmg
lgtm https://codereview.chromium.org/949813002/diff/1/build/download_sdk_extras.py File build/download_sdk_extras.py (right): https://codereview.chromium.org/949813002/diff/1/build/download_sdk_extras.py#newcode63 build/download_sdk_extras.py:63: print ('WARNING: Failed to download SDK packages. If ...
5 years, 10 months ago (2015-02-23 18:19:44 UTC) #15
dnj
On 2015/02/23 18:19:44, scottmg wrote: > lgtm > > https://codereview.chromium.org/949813002/diff/1/build/download_sdk_extras.py > File build/download_sdk_extras.py (right): > ...
5 years, 10 months ago (2015-02-23 18:22:03 UTC) #16
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 10 months ago (2015-02-23 18:22:04 UTC) #17
commit-bot: I haz the power
5 years, 10 months ago (2015-02-23 18:22:51 UTC) #18
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/63ab4fead51b043cb1f21ae2b31f9e593cbdc3ca
Cr-Commit-Position: refs/heads/master@{#317608}

Powered by Google App Engine
This is Rietveld 408576698