<#16902 docker runner: cannot access parent direct...
# github-notifications
q
#16902 docker runner: cannot access parent directories Issue created by tdyas
./pants test src/python/pants/util:tests --no-python-infer-conftests
with Docker command runner enabled by setting`_environment="docker"` on the applicable
python_tests
target:
Copy code
13:23:56.36 [WARN] Failed to generate JUnit XML data for src/python/pants/util/memo_test.py:tests.
13:23:56.37 [ERROR] Completed: Run Pytest - src/python/pants/util/memo_test.py:tests failed (exit code 1).
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
sh_makepath: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Error in sitecustomize; set PYTHONVERBOSE for traceback:
FileNotFoundError: [Errno 2] No such file or directory
Traceback (most recent call last):
  File "./.cache/pex_root/venvs/65bd42ef78647e68a8ec3afda1114d4bcdb7b089/49d24feb03f9c839fd12105a3c2be09eec1e88dc/pex", line 7, in <module>
    venv_dir = os.path.abspath(os.path.dirname(__file__))
  File "/usr/local/lib/python3.9/posixpath.py", line 380, in abspath
    cwd = os.getcwd()
FileNotFoundError: [Errno 2] No such file or directory


13:23:56.37 [INFO] Completed: Run Pytest - src/python/pants/util/osutil_test.py:tests succeeded.
13:23:56.65 [WARN] Failed to generate JUnit XML data for src/python/pants/util/contextutil_test.py:tests.
13:23:56.65 [ERROR] Completed: Run Pytest - src/python/pants/util/contextutil_test.py:tests failed (exit code 1).
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
sh_makepath: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Error in sitecustomize; set PYTHONVERBOSE for traceback:
FileNotFoundError: [Errno 2] No such file or directory
Traceback (most recent call last):
  File "./.cache/pex_root/venvs/65bd42ef78647e68a8ec3afda1114d4bcdb7b089/de8824516bbdaa1ff182504f9a62b1c960ae50b7/pex", line 7, in <module>
    venv_dir = os.path.abspath(os.path.dirname(__file__))
  File "/usr/local/lib/python3.9/posixpath.py", line 380, in abspath
    cwd = os.getcwd()
FileNotFoundError: [Errno 2] No such file or directory
pantsbuild/pants
u