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

Issue 1236623002: Make get_syzygy_binaries.py resistant to cloud failures. (Closed)

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

Description

Make get_syzygy_binaries.py resistant to cloud failures. This now uses gsutil to perform downloads which ensures that the downloaded data is not corrupt and matches its stored checksum. It also tries repeatedly with an exponential backoff. BUG= Committed: https://crrev.com/3641d5ffaee287ab74c7a2c0270e28d5e9864a7d Cr-Commit-Position: refs/heads/master@{#338718}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add exponential backoff, use gsutil. #

Patch Set 3 : Cleanup. #

Total comments: 4

Patch Set 4 : Fix nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -49 lines) Patch
M build/get_syzygy_binaries.py View 1 2 3 8 chunks +85 lines, -49 lines 0 comments Download

Messages

Total messages: 16 (3 generated)
chrisha
This script failed on multiple bots over the last 24 hours due to flaky cloud ...
5 years, 5 months ago (2015-07-10 14:58:44 UTC) #2
Nico
Do any of the other downloading scripts do anything like this? Is this more likely ...
5 years, 5 months ago (2015-07-10 15:04:39 UTC) #3
chrisha
On 2015/07/10 15:04:39, Nico wrote: > Do any of the other downloading scripts do anything ...
5 years, 5 months ago (2015-07-10 15:20:02 UTC) #4
Nico
On 2015/07/10 15:20:02, chrisha wrote: > On 2015/07/10 15:04:39, Nico wrote: > > Do any ...
5 years, 5 months ago (2015-07-10 15:32:39 UTC) #5
chrisha
> (the clang downloader script also rolls its own thing since it predates > download_from_google_storage ...
5 years, 5 months ago (2015-07-10 15:47:34 UTC) #6
Nico
On 2015/07/10 15:47:34, chrisha wrote: > > (the clang downloader script also rolls its own ...
5 years, 5 months ago (2015-07-10 15:50:00 UTC) #7
chrisha
PTAL? https://codereview.chromium.org/1236623002/diff/1/build/get_syzygy_binaries.py File build/get_syzygy_binaries.py (right): https://codereview.chromium.org/1236623002/diff/1/build/get_syzygy_binaries.py#newcode267 build/get_syzygy_binaries.py:267: retries -= 1 On 2015/07/10 15:04:39, Nico wrote: ...
5 years, 5 months ago (2015-07-14 17:51:38 UTC) #8
Nico
lgtm (didn't you say that gsutil already does retries? if so, you probably don't need ...
5 years, 5 months ago (2015-07-14 17:58:41 UTC) #9
chrisha
On 2015/07/14 17:58:41, Nico wrote: > (didn't you say that gsutil already does retries? if ...
5 years, 5 months ago (2015-07-14 18:04:58 UTC) #10
chrisha
https://codereview.chromium.org/1236623002/diff/40001/build/get_syzygy_binaries.py File build/get_syzygy_binaries.py (right): https://codereview.chromium.org/1236623002/diff/40001/build/get_syzygy_binaries.py#newcode241 build/get_syzygy_binaries.py:241: for path in os.environ['PATH'].split(';'): On 2015/07/14 17:58:41, Nico wrote: ...
5 years, 5 months ago (2015-07-14 18:05:07 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1236623002/60001
5 years, 5 months ago (2015-07-14 18:24:28 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 5 months ago (2015-07-14 18:35:29 UTC) #15
commit-bot: I haz the power
5 years, 5 months ago (2015-07-14 18:36:28 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/3641d5ffaee287ab74c7a2c0270e28d5e9864a7d
Cr-Commit-Position: refs/heads/master@{#338718}

Powered by Google App Engine
This is Rietveld 408576698