Skip to content

Instantly share code, notes, and snippets.

@nickdiego
Created April 14, 2020 15:45
Show Gist options
  • Save nickdiego/d7ca22b6adc3de419696561a09bc9605 to your computer and use it in GitHub Desktop.
Save nickdiego/d7ca22b6adc3de419696561a09bc9605 to your computer and use it in GitHub Desktop.
➜ src git:(wayland-tab-drag) gclient sync -D
Syncing projects: 100% (125/125), done.
Running hooks: 52% (48/91) Fetch Android AFDO profile
________ running 'vpython src/tools/download_cros_provided_profile.py --newest_state=src/chrome/android/profiles/newest.txt --local_state=src/chrome/android/profiles/local.txt --output_name=src/chrome/android/profiles/afdo.prof --gs_url_base=chromeos-prebuilt/afdo-job/llvm' in '/home/nick/projects/chromium'
Traceback (most recent call last):
File "src/tools/download_cros_provided_profile.py", line 157, in <module>
sys.exit(main())
File "src/tools/download_cros_provided_profile.py", line 151, in main
RetrieveProfile(up_to_date_profile, new_tmpfile, args.gs_url_base)
File "src/tools/download_cros_provided_profile.py", line 80, in RetrieveProfile
with contextlib.closing(urllib2.urlopen(gs_url)) as u:
File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib64/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/usr/lib64/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/usr/lib64/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib64/python2.7/urllib2.py", line 1241, in https_open
context=self._context)
File "/usr/lib64/python2.7/urllib2.py", line 1198, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 104] Connection reset by peer>
Error: Command 'vpython src/tools/download_cros_provided_profile.py --newest_state=src/chrome/android/profiles/newest.txt --local_state=src/chrome/android/profiles/local.txt --output_name=src/chrome/android/profiles/afdo.prof --gs_url_base=chromeos-prebuilt/afdo-job/llvm' returned non-zero exit status 1 in /home/nick/projects/chromium
Hook 'vpython src/tools/download_cros_provided_profile.py --newest_state=src/chrome/android/profiles/newest.txt --local_state=src/chrome/android/profiles/local.txt --output_name=src/chrome/android/profiles/afdo.prof --gs_url_base=chromeos-prebuilt/afdo-job/llvm' took 93.52 secs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment