salmon-barista-63163
07/15/2021, 8:47 PM1.30.4
yes i know it is an older version but we are stuck here for the time being
20:46:12 00:00 [main]
(To run a reporting server: ./pants server)
20:46:14 00:02 [setup]
20:46:14 00:02 [parse]
Executing tasks in goals: gen -> pyprep -> run20:46:14 [DEBUG] pants.process.lock:pid=16680: acquiring lock: <pants.process.lock.OwnerPrintingInterProcessFileLock object at 0x10e05e6a0>
20:46:14 00:02 [gen]
20:46:14 00:02 [thrift-py]
20:46:14 00:02 [py-thrift-namespace-clash-check]20:46:14 [DEBUG] engine::scheduler: Launching 0 roots (poll=false).
20:46:14 [DEBUG] pants.engine.internals.scheduler:pid=16680: computed 0 nodes in 0.000226 seconds. there are 74 total nodes.
20:46:14 00:02 [pyprep]
20:46:14 00:02 [interpreter]
pants_backend_python_tasks_select_interpreter_SelectInterpreter will read from local artifact cache at /Users/distiller/talos/.pants.d/.pantscache/b56378cd3458bce8ae082d0ed362f8bd7ab9795b
20:46:14 00:02 [cache]
No cached artifacts for 2 targets.
Invalidated 2 targets.20:46:14 [DEBUG] pants.backend.python.interpreter_cache:pid=16680: Initializing Python interpreter cache matching filters `CPython>=3.6,<3.7` from paths `/Users/distiller/.pyenv/versions/3.6.12/bin:~/.pyenv/versions/3.6.12/bin:/Users/distiller/.pyenv/shims:~/.pyenv/versions/3.6.12/bin:/Users/distiller/.pyenv/shims:/Users/distiller/.pyenv/shims:/Users/distiller/.gem/ruby/2.7.2/bin:/Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/bin:/Users/distiller/.rubies/ruby-2.7.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin`
20:46:14 [DEBUG] pants.process.lock:pid=16680: acquiring lock: <pants.process.lock.OwnerPrintingInterProcessFileLock object at 0x10e0c2908>
20:46:14 [DEBUG] pants.process.lock:pid=16680: releasing lock: <pants.process.lock.OwnerPrintingInterProcessFileLock object at 0x10e0c2908>
20:46:14 [DEBUG] pants.backend.python.interpreter_cache:pid=16680: No valid interpreters found for CPython>=3.6,<3.7!
20:46:14 [DEBUG] pants.backend.python.interpreter_cache:pid=16680: Found no valid interpreters!
20:46:14 [DEBUG] pants.backend.python.interpreter_cache:pid=16680: Initialized Python interpreter cache with
20:46:14 [DEBUG] pants.backend.python.interpreter_cache:pid=16680: Initializing Python interpreter cache matching filters `CPython<3:CPython>=3.3:PyPy` from paths `/Users/distiller/.pyenv/versions/3.6.12/bin:~/.pyenv/versions/3.6.12/bin:/Users/distiller/.pyenv/shims:~/.pyenv/versions/3.6.12/bin:/Users/distiller/.pyenv/shims:/Users/distiller/.pyenv/shims:/Users/distiller/.gem/ruby/2.7.2/bin:/Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/bin:/Users/distiller/.rubies/ruby-2.7.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin`
20:46:14 [DEBUG] pants.process.lock:pid=16680: acquiring lock: <pants.process.lock.OwnerPrintingInterProcessFileLock object at 0x10e0c2400>
20:46:15 [DEBUG] pants.process.lock:pid=16680: releasing lock: <pants.process.lock.OwnerPrintingInterProcessFileLock object at 0x10e0c2400>
20:46:15 [DEBUG] pants.backend.python.interpreter_cache:pid=16680: No valid interpreters found for CPython<3!
20:46:15 [DEBUG] pants.backend.python.interpreter_cache:pid=16680: No valid interpreters found for CPython>=3.3!
20:46:15 [DEBUG] pants.backend.python.interpreter_cache:pid=16680: No valid interpreters found for PyPy!
20:46:15 [DEBUG] pants.backend.python.interpreter_cache:pid=16680: Found no valid interpreters!
20:46:15 [DEBUG] pants.backend.python.interpreter_cache:pid=16680: Initialized Python interpreter cache with
20:46:15 [DEBUG] pants.process.lock:pid=16680: releasing lock: <pants.process.lock.OwnerPrintingInterProcessFileLock object at 0x10e05e6a0>
FAILURE: Unable to detect a suitable interpreter for compatibilities: CPython>=3.6,<3.7 (Conflicting targets: apps/cli_clouddev/src:clouddev)
Pants detected these interpreter versions on your system:
Possible ways to fix this:
* Modify your Python interpreter constraints by following <https://www.pantsbuild.org/python_readme.html#configure-the-python-version>.
* Ensure the targeted Python version is installed and discoverable.
* Modify Pants' interpreter search paths via --python-setup-interpreter-search-paths.
happy-kitchen-89482
07/15/2021, 9:28 PMglobal
, local
or shell
?salmon-barista-63163
07/15/2021, 9:47 PMsalmon-barista-63163
07/15/2021, 10:03 PM/usr/local/bin/pyenv
This is a little unique case because its pyenv running in a mac osx executor for circleci.
pyenv is installed with homebrew just like i have it on my local macbook.happy-kitchen-89482
07/15/2021, 10:06 PMsalmon-barista-63163
07/15/2021, 10:07 PMbrew install pyenv
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> $BASH_ENV
echo 'export PATH="$PYENV_ROOT/shims:$PATH"' >> $BASH_ENV
eval "$(pyenv init -)" &&
pyenv install 3.6.12 &&
pyenv global 3.6.12
salmon-barista-63163
07/15/2021, 10:07 PMhappy-kitchen-89482
07/15/2021, 10:07 PMsalmon-barista-63163
07/15/2021, 10:07 PMstatic:talos distiller$ echo $PATH
~/.pyenv/versions/3.6.12/bin:/Users/distiller/.pyenv/shims:/Users/distiller/.pyenv/shims:/Users/distiller/.gem/ruby/2.7.2/bin:/Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/bin:/Users/distiller/.rubies/ruby-2.7.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin
Here is my path and yeshappy-kitchen-89482
07/15/2021, 10:09 PM<PYENV>
on your interpreter search path?happy-kitchen-89482
07/15/2021, 10:09 PMsalmon-barista-63163
07/15/2021, 10:09 PM./pants --python-setup-interpreter-search-paths
and still same resultssalmon-barista-63163
07/15/2021, 10:10 PMhappy-kitchen-89482
07/15/2021, 10:11 PMsalmon-barista-63163
07/15/2021, 10:12 PMhappy-kitchen-89482
07/15/2021, 10:15 PM"$(pyenv root)/versions/3.6.6/bin/"
) onto your PATH?happy-kitchen-89482
07/15/2021, 10:16 PMhappy-kitchen-89482
07/15/2021, 10:16 PMsalmon-barista-63163
07/15/2021, 10:18 PM~/.pyenv
i could try giving the absolute path one secondsalmon-barista-63163
07/15/2021, 10:21 PMhappy-kitchen-89482
07/15/2021, 10:30 PMhappy-kitchen-89482
07/15/2021, 10:30 PMhappy-kitchen-89482
07/15/2021, 10:31 PM-ldebug
yield any insight?salmon-barista-63163
07/15/2021, 10:35 PMsalmon-barista-63163
07/15/2021, 10:35 PM22:34:39 [DEBUG] pants.backend.python.interpreter_cache:pid=16935: Initializing Python interpreter cache matching filters `CPython>=3.6,<3.7` from paths `/Users/distiller/.pyenv/versions/3.6.12/bin:~/.pyenv/versions/3.6.12/bin:/Users/distiller/.pyenv/shims:/Users/distiller/.pyenv/versions/3.6.12/bin/:/Users/distiller/.gem/ruby/2.7.2/bin:/Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/bin:/Users/distiller/.rubies/ruby-2.7.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin`
22:34:39 [DEBUG] pants.process.lock:pid=16935: acquiring lock: <pants.process.lock.OwnerPrintingInterProcessFileLock object at 0x104dc5dd8>
22:34:39 [DEBUG] pants.process.lock:pid=16935: releasing lock: <pants.process.lock.OwnerPrintingInterProcessFileLock object at 0x104dc5dd8>
22:34:39 [DEBUG] pants.backend.python.interpreter_cache:pid=16935: No valid interpreters found for CPython>=3.6,<3.7!
22:34:39 [DEBUG] pants.backend.python.interpreter_cache:pid=16935: Found no valid interpreters!
22:34:39 [DEBUG] pants.backend.python.interpreter_cache:pid=16935: Initialized Python interpreter cache with
22:34:39 [DEBUG] pants.backend.python.interpreter_cache:pid=16935: Initializing Python interpreter cache matching filters `CPython<3:CPython>=3.3:PyPy` from paths `/Users/distiller/.pyenv/versions/3.6.12/bin:~/.pyenv/versions/3.6.12/bin:/Users/distiller/.pyenv/shims:/Users/distiller/.pyenv/versions/3.6.12/bin/:/Users/distiller/.gem/ruby/2.7.2/bin:/Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/bin:/Users/distiller/.rubies/ruby-2.7.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin`
22:34:39 [DEBUG] pants.process.lock:pid=16935: acquiring lock: <pants.process.lock.OwnerPrintingInterProcessFileLock object at 0x104dc5eb8>
22:34:39 [DEBUG] pants.process.lock:pid=16935: releasing lock: <pants.process.lock.OwnerPrintingInterProcessFileLock object at 0x104dc5eb8>
22:34:39 [DEBUG] pants.backend.python.interpreter_cache:pid=16935: No valid interpreters found for CPython<3!
22:34:39 [DEBUG] pants.backend.python.interpreter_cache:pid=16935: No valid interpreters found for CPython>=3.3!
22:34:39 [DEBUG] pants.backend.python.interpreter_cache:pid=16935: No valid interpreters found for PyPy!
22:34:39 [DEBUG] pants.backend.python.interpreter_cache:pid=16935: Found no valid interpreters!
22:34:39 [DEBUG] pants.backend.python.interpreter_cache:pid=16935: Initialized Python interpreter cache with
22:34:39 [DEBUG] pants.process.lock:pid=16935: releasing lock: <pants.process.lock.OwnerPrintingInterProcessFileLock object at 0x104d54e10>
FAILURE: Unable to detect a suitable interpreter for compatibilities: CPython>=3.6,<3.7 (Conflicting targets: apps/cli_clouddev/src:clouddev)
Pants detected these interpreter versions on your system:
Possible ways to fix this:
* Modify your Python interpreter constraints by following <https://www.pantsbuild.org/python_readme.html#configure-the-python-version>.
* Ensure the targeted Python version is installed and discoverable.
* Modify Pants' interpreter search paths via --python-setup-interpreter-search-paths.
salmon-barista-63163
07/15/2021, 10:36 PMwhich python3
and which python
all lead to the pyenv shim for 3.6.12. I went as far as uninstalling python 3.9 which was brew installed. 3.8 comes preinstalled with this version of osxsalmon-barista-63163
07/15/2021, 10:39 PMcreated virtual environment CPython3.6.12.final.0-64 in 824ms
happy-kitchen-89482
07/16/2021, 1:43 AMsalmon-barista-63163
07/16/2021, 4:13 PMsalmon-barista-63163
07/16/2021, 4:28 PMhappy-kitchen-89482
07/16/2021, 5:48 PMhappy-kitchen-89482
07/16/2021, 5:49 PMsalmon-barista-63163
07/16/2021, 6:10 PMhappy-kitchen-89482
07/17/2021, 9:59 PMsalmon-barista-63163
07/19/2021, 11:57 PMhappy-kitchen-89482
07/20/2021, 1:00 AMhappy-kitchen-89482
07/20/2021, 1:34 AMsalmon-barista-63163
07/20/2021, 2:01 AMsalmon-barista-63163
07/20/2021, 2:02 AMsalmon-barista-63163
07/20/2021, 2:10 AMhappy-kitchen-89482
07/24/2021, 1:33 AMhappy-kitchen-89482
07/24/2021, 1:34 AMhappy-kitchen-89482
07/24/2021, 1:40 AMtraceroute
happy-kitchen-89482
07/24/2021, 1:43 AMhappy-kitchen-89482
07/24/2021, 2:41 PMhappy-kitchen-89482
07/24/2021, 2:50 PMhappy-kitchen-89482
07/24/2021, 2:53 PMPEX_VERBOSE=9
I see this error: Failed to spawn a job for /usr/bin/python3: OSError(24, 'Too many open files') while trying to execute ...
happy-kitchen-89482
07/24/2021, 2:53 PMhappy-kitchen-89482
07/24/2021, 2:54 PMhappy-kitchen-89482
07/24/2021, 2:54 PMulimit -n 10000
happy-kitchen-89482
07/24/2021, 2:54 PMhappy-kitchen-89482
07/24/2021, 2:55 PMulimit -n 10000
somewhere in CI bootstrappinghappy-kitchen-89482
07/24/2021, 2:55 PMhappy-kitchen-89482
07/24/2021, 2:55 PMsalmon-barista-63163
08/02/2021, 3:58 PMsalmon-barista-63163
08/02/2021, 3:58 PM