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

modern-wolf-36228

11/19/2021, 1:25 PM
What can I debug this? 😗
Copy code
13:56:41.19 [INFO] Completed: Building src.python.deep_inference/bin.pex with 6 requirements: aiofiles==0.5.0, detectron2==0.4, fastapi==0.63.0, torch==1.8.0+cu111, transformers==4.10.2, tritonclient[http]==2.9.0
13:56:41.19 [ERROR] 1 Exception encountered:

  ProcessExecutionFailure: Process 'Building src.python.deep_inference/bin.pex with 6 requirements: aiofiles==0.5.0, detectron2==0.4, fastapi==0.63.0, torch==1.8.0+cu111, transformers==4.10.2, tritonclient[http]==2.9.0' failed with exit code 1.
stdout:

stderr:
pid 202552 -> /home/marcelo/.cache/pants/named_caches/pex_root/venvs/a2165d3f6719b079b1c03853efddd88f871936b7/624fc382ea9d2957658d79aa06c6f6fdd35f7a29/pex --disable-pip-version-check --no-python-version-warning --exists-action a --isolated -q --cache-dir /home/marcelo/.cache/pants/named_caches/pex_root --log /tmp/process-executionPLvrEj/.tmp/tmp9bx7lq25/pip.log download --dest /tmp/process-executionPLvrEj/.tmp/tmp2uh7yi3y/home.marcelo.anaconda3.envs.extract-monorepo.bin.python3.8 aiofiles==0.5.0 detectron2==0.4 fastapi==0.63.0 torch==1.8.0+cu111 transformers==4.10.2 tritonclient[http]==2.9.0 --index-url <https://pypi.org/simple/> --find-links <https://download.pytorch.org/whl/torch_stable.html> --find-links <https://dl.fbaipublicfiles.com/detectron2/wheels/cu111/torch1.8/index.html> --find-links <https://download.openmmlab.com/mmcv/dist/cu111/torch1.8.0/index.html> --retries 5 --timeout 15 exited with -9 and STDERR:
None
w

witty-crayon-22786

11/19/2021, 5:05 PM
m

modern-wolf-36228

11/22/2021, 11:20 AM
Thanks!
Copy code
pex: Constraints on interpreters: ['CPython<4,>=3.6'], Matching Interpreter: /usr/bin/python3.8
pex: Resolving interpreters: 44.0ms
pex: Building pex
pex: Building pex :: Resolving distributions (aiofiles==0.5.0 detectron2==0.4 fastapi==0.63.0 torch==1.8.0+cu111 transformers==4.10.2 tritonclient[http]==2.9.0)
pex: Building pex :: Resolving distributions (aiofiles==0.5.0 detectron2==0.4 fastapi==0.63.0 torch==1.8.0+cu111 transformers==4.10.2 tritonclient[http]==2.9.0) :: Resolving requirements.
pex: Building pex :: Resolving distributions (aiofiles==0.5.0 detectron2==0.4 fastapi==0.63.0 torch==1.8.0+cu111 transformers==4.10.2 tritonclient[http]==2.9.0) :: Resolving requirements. :: Resolving for:
  DistributionTarget(interpreter=PythonInterpreter('/home/marcelo/anaconda3/envs/extract-monorepo/bin/python3.8', PythonIdentity('/home/marcelo/anaconda3/envs/extract-monorepo/bin/python', 'cp38', 'cp38', 'manylinux_2_31_x86_64', (3, 8, 12))))
  DistributionTarget(interpreter=PythonInterpreter('/usr/bin/python3.8', PythonIdentity('/usr/bin/python3.8', 'cp38', 'cp38', 'manylinux_2_31_x86_64', (3, 8, 10))))
pex: Spawning a maximum of 4 parallel jobs to process:
  DistributionTarget(interpreter=PythonInterpreter('/home/marcelo/anaconda3/envs/extract-monorepo/bin/python3.8', PythonIdentity('/home/marcelo/anaconda3/envs/extract-monorepo/bin/python', 'cp38', 'cp38', 'manylinux_2_31_x86_64', (3, 8, 12))))
  DistributionTarget(interpreter=PythonInterpreter('/usr/bin/python3.8', PythonIdentity('/usr/bin/python3.8', 'cp38', 'cp38', 'manylinux_2_31_x86_64', (3, 8, 10))))
pex: Hashing pex
pex: Hashing pex: 162.6ms
pex: Isolating pex
pex: Isolating pex: 0.9ms
pid 18730 -> /home/marcelo/.cache/pants/named_caches/pex_root/venvs/a2165d3f6719b079b1c03853efddd88f871936b7/624fc382ea9d2957658d79aa06c6f6fdd35f7a29/pex --disable-pip-version-check --no-python-version-warning --exists-action a --isolated -vvv --cache-dir /home/marcelo/.cache/pants/named_caches/pex_root --log /tmp/process-executionUgrMkx/.tmp/tmpl7np6jan/pip.log download --dest /tmp/process-executionUgrMkx/.tmp/tmpzmu3gqq3/home.marcelo.anaconda3.envs.extract-monorepo.bin.python3.8 aiofiles==0.5.0 detectron2==0.4 fastapi==0.63.0 torch==1.8.0+cu111 transformers==4.10.2 tritonclient[http]==2.9.0 --index-url <https://pypi.org/simple/> --find-links <https://download.pytorch.org/whl/torch_stable.html> --find-links <https://dl.fbaipublicfiles.com/detectron2/wheels/cu111/torch1.8/index.html> --find-links <https://download.openmmlab.com/mmcv/dist/cu111/torch1.8.0/index.html> --retries 5 --timeout 15 exited with -9 and STDERR:
None
Not sure if I'm supposed to understand the issue now 🤔 Is there something in this log that is helpful to me?
w

witty-crayon-22786

11/29/2021, 5:15 PM
oh, shoot. i should have seen in the first place that it is exiting with
-9
that’s
SIGKILL
. and Pants isn’t doing it, so most likely you are getting killed by whichever container you’re running in
6 Views