https://pantsbuild.org/ logo
#general
Title
# general
c

crooked-gpu-88495

10/06/2020, 4:10 PM
Copy code
(py-3.7.4) ip-192-168-1-5:cr_python gisela.rossi$ ./pants test insights::
16:02:53 [INFO] Resolving new plugins...:
  boto3==1.12.39
  pantsbuild.pants.contrib.mypy==1.30.0
16:02:53 [ERROR] pid: 20059 -> /Users/gisela.rossi/.cache/pants/setup/bootstrap-Darwin-x86_64/pants.MObBZj/install/bin/python3.7 /Users/gisela.rossi/.pex/pip.pex/6bd62cbe8c9f1ae82b35f976967538908799cbd6 --disable-pip-version-check --isolated --no-python-version-warning -q --cache-dir /Users/gisela.rossi/.cache/pants/plugins download --dest /var/folders/bs/6rtnc7gx44g40tkjb5vc16xw0000gp/T/tmp7wp31t2k/cp37-cp37m --index-url <https://pypi.org/simple/> --header Cache-Control:max-age=3600 --retries 5 --timeout 15 boto3==1.12.39 pantsbuild.pants.contrib.mypy==1.30.0 raised Executing /Users/gisela.rossi/.cache/pants/setup/bootstrap-Darwin-x86_64/pants.MObBZj/install/bin/python3.7 /Users/gisela.rossi/.pex/pip.pex/6bd62cbe8c9f1ae82b35f976967538908799cbd6 --disable-pip-version-check --isolated --no-python-version-warning -q --cache-dir /Users/gisela.rossi/.cache/pants/plugins download --dest /var/folders/bs/6rtnc7gx44g40tkjb5vc16xw0000gp/T/tmp7wp31t2k/cp37-cp37m --index-url <https://pypi.org/simple/> --header Cache-Control:max-age=3600 --retries 5 --timeout 15 boto3==1.12.39 pantsbuild.pants.contrib.mypy==1.30.0 failed with -9
Traceback (most recent call last):
  File "/Users/gisela.rossi/.cache/pants/setup/bootstrap-Darwin-x86_64/1.30.0_py37/lib/python3.7/site-packages/pants/bin/daemon_pants_runner.py", line 144, in _run
    os.environ, options_bootstrapper, scheduler=scheduler
  File "/Users/gisela.rossi/.cache/pants/setup/bootstrap-Darwin-x86_64/1.30.0_py37/lib/python3.7/site-packages/pants/bin/local_pants_runner.py", line 137, in create
    options, build_config = LocalPantsRunner.parse_options(options_bootstrapper)
  File "/Users/gisela.rossi/.cache/pants/setup/bootstrap-Darwin-x86_64/1.30.0_py37/lib/python3.7/site-packages/pants/bin/local_pants_runner.py", line 72, in parse_options
    build_config = BuildConfigInitializer.get(options_bootstrapper)
  File "/Users/gisela.rossi/.cache/pants/setup/bootstrap-Darwin-x86_64/1.30.0_py37/lib/python3.7/site-packages/pants/init/options_initializer.py", line 40, in get
    cls._cached_build_config = cls(options_bootstrapper).setup()
  File "/Users/gisela.rossi/.cache/pants/setup/bootstrap-Darwin-x86_64/1.30.0_py37/lib/python3.7/site-packages/pants/init/options_initializer.py", line 50, in __init__
    self._working_set = PluginResolver(self._options_bootstrapper).resolve()
  File "/Users/gisela.rossi/.cache/pants/setup/bootstrap-Darwin-x86_64/1.30.0_py37/lib/python3.7/site-packages/pants/init/plugin_resolver.py", line 64, in resolve
    for resolved_plugin_location in self._resolve_plugin_locations():
  File "/Users/gisela.rossi/.cache/pants/setup/bootstrap-Darwin-x86_64/1.30.0_py37/lib/python3.7/site-packages/pants/init/plugin_resolver.py", line 89, in _resolve_plugin_locations
    for plugin in self._resolve_plugins():
  File "/Users/gisela.rossi/.cache/pants/setup/bootstrap-Darwin-x86_64/1.30.0_py37/lib/python3.7/site-packages/pants/init/plugin_resolver.py", line 107, in _resolve_plugins
    allow_prereleases=PANTS_SEMVER.is_prerelease,
  File "/Users/gisela.rossi/.cache/pants/setup/bootstrap-Darwin-x86_64/1.30.0_py37/lib/python3.7/site-packages/pex/resolver.py", line 741, in resolve
    ignore_errors=ignore_errors)
  File "/Users/gisela.rossi/.cache/pants/setup/bootstrap-Darwin-x86_64/1.30.0_py37/lib/python3.7/site-packages/pex/resolver.py", line 860, in resolve_multi
    max_parallel_jobs=max_parallel_jobs
  File "/Users/gisela.rossi/.cache/pants/setup/bootstrap-Darwin-x86_64/1.30.0_py37/lib/python3.7/site-packages/pex/resolver.py", line 948, in _download_internal
    max_parallel_jobs=max_parallel_jobs
  File "/Users/gisela.rossi/.cache/pants/setup/bootstrap-Darwin-x86_64/1.30.0_py37/lib/python3.7/site-packages/pex/resolver.py", line 202, in download_distributions
    max_jobs=max_parallel_jobs
  File "/Users/gisela.rossi/.cache/pants/setup/bootstrap-Darwin-x86_64/1.30.0_py37/lib/python3.7/site-packages/pex/jobs.py", line 219, in execute_parallel
    raise error
pex.resolver.Unsatisfiable: pid: 20059 -> /Users/gisela.rossi/.cache/pants/setup/bootstrap-Darwin-x86_64/pants.MObBZj/install/bin/python3.7 /Users/gisela.rossi/.pex/pip.pex/6bd62cbe8c9f1ae82b35f976967538908799cbd6 --disable-pip-version-check --isolated --no-python-version-warning -q --cache-dir /Users/gisela.rossi/.cache/pants/plugins download --dest /var/folders/bs/6rtnc7gx44g40tkjb5vc16xw0000gp/T/tmp7wp31t2k/cp37-cp37m --index-url <https://pypi.org/simple/> --header Cache-Control:max-age=3600 --retries 5 --timeout 15 boto3==1.12.39 pantsbuild.pants.contrib.mypy==1.30.0 raised Executing /Users/gisela.rossi/.cache/pants/setup/bootstrap-Darwin-x86_64/pants.MObBZj/install/bin/python3.7 /Users/gisela.rossi/.pex/pip.pex/6bd62cbe8c9f1ae82b35f976967538908799cbd6 --disable-pip-version-check --isolated --no-python-version-warning -q --cache-dir /Users/gisela.rossi/.cache/pants/plugins download --dest /var/folders/bs/6rtnc7gx44g40tkjb5vc16xw0000gp/T/tmp7wp31t2k/cp37-cp37m --index-url <https://pypi.org/simple/> --header Cache-Control:max-age=3600 --retries 5 --timeout 15 boto3==1.12.39 pantsbuild.pants.contrib.mypy==1.30.0 failed with -9
h

happy-kitchen-89482

10/06/2020, 4:25 PM
I'm not sure if this is relevant, but the Python that comes bundled with MacOS has all sorts of issues. Can you try installing Python 3.6 via pyenv (https://github.com/pyenv/pyenv) and make sure that Python is first on your PATH?
Kind of a stab in the dark
f

fast-nail-55400

10/06/2020, 4:36 PM
fyi also being discussed in thread on prior post: https://pantsbuild.slack.com/archives/C046T6T9U/p1602000657326500
👍 1
c

crooked-gpu-88495

10/06/2020, 4:36 PM
I'm on a pyenv with 3.7.4. And my PATH is
/Users/gisela.rossi/code/cr_python/ci/bin:/Users/gisela.rossi/.pyenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
e

enough-analyst-54434

10/06/2020, 4:49 PM
The -9 exit code indicates the process got a SIGKILL IIUC. I don't know much about macOS. On Linux I could imagine that sort of signal coming from the oomkiller when the system runs low on memory.