Chromium Code Reviews
Descriptionensure_goma: use git retry for clone and fetch
sometimes, git clone failed like
Cloning into '/b/build/slave/linux_chromium_gn_chromeos/build/src/build/goma/client'...
error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Traceback (most recent call last):
File "/b/build/scripts/slave/recipe_modules/goma/resources/ensure_goma.py", line 70, in <module>
sys.exit(main(sys.argv[1:]))
File "/b/build/scripts/slave/recipe_modules/goma/resources/ensure_goma.py", line 47, in main
subprocess.check_call(['git', 'clone', config['repo'], client_dir])
File "/usr/lib/python2.7/subprocess.py", line 511, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['git', 'clone', 'https://chrome-internal.googlesource.com/chrome/tools/goma/linux.git', '/b/build/slave/linux_chromium_gn_chromeos/build/src/build/goma/client']' returned non-zero exit status 128
step returned non-zero exit code: 1
use git-retry in depot_tools to retry for such failures.
R=phajdan.jr@chromium.org, dnj@chromium.org
BUG=597878
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=299523
Patch Set 1 #
Messages
Total messages: 9 (5 generated)
|
|||||||||||||||||||