millions-tailor-16868
06/03/2025, 9:04 AMdocker_environment
millions-tailor-16868
06/03/2025, 9:04 AMmillions-tailor-16868
06/03/2025, 9:07 AMdocker_environment
is working successfully, however when using a docker environment and the following settings, it is failing.
pants.toml
...
[subprocess-environment]
env_vars.add = [
"SSH_AUTH_SOCK"
]
[docker]
env_vars = [
"SSH_AUTH_SOCK"
]
[environments-preview.names]
pytest_env = "//docker/base_emr_serverless:tests-env-base-emr-7.8.0-python-3.11"
docker/base_emr_serverless/BUILD
docker_environment(
name="tests-env-base-emr-7.8.0-python-3.11",
image="<http://851725234266.dkr.ecr.us-east-2.amazonaws.com/thirdparty/base-emr-7.8.0-python-3.11:tests-0.1.0-temp-pearl-api|851725234266.dkr.ecr.us-east-2.amazonaws.com/thirdparty/base-emr-7.8.0-python-3.11:tests-0.1.0-temp-pearl-api>"
)
error during pants test
pip: note: This error originates from a subprocess, and is likely not a problem with pip.
pip: Running command git clone --filter=blob:none --quiet 'ssh://****@github.com/PearlHealth/pearl-api.git' /pants-named-caches/pex_root/pip/1/24.2/pip_cache/.tmp/pip-download-uhu5q7ca/pearl-api_74caf017c29e4da7a7141277ba4d88d9
pip: Host key verification failed.
pip: fatal: Could not read from remote repository.
pip: Please make sure you have the correct access rights
pip: and the repository exists.
pip: ERROR: git clone --filter=blob:none --quiet 'ssh://****@github.com/PearlHealth/pearl-api.git' /pants-named-caches/pex_root/pip/1/24.2/pip_cache/.tmp/pip-download-uhu5q7ca/pearl-api_74caf017c29e4da7a7141277ba4d88d9 exited with 128
millions-tailor-16868
06/03/2025, 9:09 AMmillions-tailor-16868
06/03/2025, 9:10 AM