|
|
DescriptionAdd retry logic to install-sysroot.py
BUG=587282
Committed: https://crrev.com/7b32e30f5c21ed36898e73eb332a9a2d0917bbd1
Cr-Commit-Position: refs/heads/master@{#376020}
Patch Set 1 #Patch Set 2 : #
Total comments: 3
Patch Set 3 : #Messages
Total messages: 24 (10 generated)
sbc@chromium.org changed reviewers: + thestig@chromium.org
The CQ bit was checked by sbc@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1708743002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1708743002/20001
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm https://codereview.chromium.org/1708743002/diff/20001/build/linux/sysroot_scr... File build/linux/sysroot_scripts/install-sysroot.py (right): https://codereview.chromium.org/1708743002/diff/20001/build/linux/sysroot_scr... build/linux/sysroot_scripts/install-sysroot.py:165: # Re-try download in order to mitigate network falkiness. typo https://codereview.chromium.org/1708743002/diff/20001/build/linux/sysroot_scr... build/linux/sysroot_scripts/install-sysroot.py:173: elif num_retries: no elif / else after a return. https://codereview.chromium.org/1708743002/diff/20001/build/linux/sysroot_scr... build/linux/sysroot_scripts/install-sysroot.py:180: raise Error('download command failed (%s): %s' % (rtn, cmd)) %s seems to work, but shouldn't it be %d since |rtn| is an int?
hans@chromium.org changed reviewers: + hans@chromium.org
Would it suffice to just add "--retry 5" to the curl invocation?
On 2016/02/17 21:21:05, hans wrote: > Would it suffice to just add "--retry 5" to the curl invocation? Ack.. didn't think of looking for such a feature in curl.
The CQ bit was checked by sbc@chromium.org to run a CQ dry run
Description was changed from ========== Add retry logic to install-sysroot.py BUG=587282 ========== to ========== Add retry logic to install-sysroot.py BUG=587282 ==========
Simplified to use curl --retry
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1708743002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1708743002/40001
still lgtm
The CQ bit was unchecked by sbc@chromium.org
The CQ bit was checked by sbc@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1708743002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1708743002/40001
Message was sent while issue was closed.
Description was changed from ========== Add retry logic to install-sysroot.py BUG=587282 ========== to ========== Add retry logic to install-sysroot.py BUG=587282 ==========
Message was sent while issue was closed.
Committed patchset #3 (id:40001)
Message was sent while issue was closed.
Description was changed from ========== Add retry logic to install-sysroot.py BUG=587282 ========== to ========== Add retry logic to install-sysroot.py BUG=587282 Committed: https://crrev.com/7b32e30f5c21ed36898e73eb332a9a2d0917bbd1 Cr-Commit-Position: refs/heads/master@{#376020} ==========
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/7b32e30f5c21ed36898e73eb332a9a2d0917bbd1 Cr-Commit-Position: refs/heads/master@{#376020} |