Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daleharvey/2b62732c1a36448dc998fcd22b3bdf76 to your computer and use it in GitHub Desktop.
Save daleharvey/2b62732c1a36448dc998fcd22b3bdf76 to your computer and use it in GitHub Desktop.
requests.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1076)
File "/Users/dale/src/gecko/python/mozbuild/mozbuild/artifact_commands.py", line 335, in artifact_toolchain
task, {}, task.optimization.get('index-search', []))
File "/Users/dale/src/gecko/taskcluster/taskgraph/optimize/strategies.py", line 37, in should_replace_task
task_id = find_task_id(index_path)
File "/Users/dale/src/gecko/taskcluster/taskgraph/util/taskcluster.py", line 181, in find_task_id
response = _do_request(get_index_url(index_path))
File "/Users/dale/src/gecko/taskcluster/taskgraph/util/taskcluster.py", line 104, in _do_request
response = session.get(url, stream=True, **kwargs)
File "/Users/dale/src/gecko/third_party/python/requests/requests/sessions.py", line 480, in get
return self.request('GET', url, **kwargs)
File "/Users/dale/src/gecko/third_party/python/requests/requests/sessions.py", line 468, in request
resp = self.send(prep, **send_kwargs)
File "/Users/dale/src/gecko/third_party/python/requests/requests/sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "/Users/dale/src/gecko/third_party/python/requests/requests/adapters.py", line 447, in send
raise SSLError(e, request=request)
Error running mach:
['bootstrap']
The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file bootstrap| to report it. If |./mach busted| is
misbehaving, you can also inspect the dependencies of bug 1543241.
If filing a bug, please include the full output of mach, including this error
message.
The details of the failure are as follows:
subprocess.CalledProcessError: Command '['/usr/local/opt/python/bin/python3.7', '/Users/dale/src/gecko/mach', 'artifact', 'toolchain', '--from-build', 'macosx64-clang']' returned non-zero exit status 1.
File "/Users/dale/src/gecko/python/mozboot/mozboot/mach_commands.py", line 44, in bootstrap
bootstrapper.bootstrap()
File "/Users/dale/src/gecko/python/mozboot/mozboot/bootstrap.py", line 547, in bootstrap
checkout_root)
File "/Users/dale/src/gecko/python/mozboot/mozboot/bootstrap.py", line 405, in maybe_install_private_packages_or_exit
self.instance.ensure_stylo_packages(state_dir, checkout_root)
File "/Users/dale/src/gecko/python/mozboot/mozboot/osx.py", line 563, in ensure_stylo_packages
self.install_toolchain_artifact(state_dir, checkout_root, stylo.MACOS_CLANG)
File "/Users/dale/src/gecko/python/mozboot/mozboot/base.py", line 358, in install_toolchain_artifact
subprocess.check_call(cmd, cwd=state_dir)
File "/usr/local/Cellar/python/3.7.7/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment