Hi, my company uses Pants in the CI/CD pipeline an...
# general
r
Hi, my company uses Pants in the CI/CD pipeline and it is installed in a docker image with
Copy code
FROM amazonlinux:2
...other steps
RUN curl --proto '=https' --tlsv1.2 -fsSL <https://static.pantsbuild.org/setup/get-pants.sh> | bash
ENV PATH="${PATH}:/root/.local/bin"
Until recently, Pants has been working well, but after rebuilding the docker image yesterday, Pants is now giving an error when being run:
Copy code
Failed to determine release URL for Pants: 2.17.0: pants.2.17.0-cp39-linux_x86_64.pex: URL check failed: <https://github.com/pantsbuild/pants/releases/download/release_2.17.0/pants.2.17.0-cp39-linux_x86_64.pex>: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)>

If this is unexpected (you are using a known good Pants version), try upgrading scie-pants first.
It may also be that the platform linux_x86_64 isn't supported for this version of Pants, or some other intermittent network/service issue.
To get help, please visit: <https://www.pantsbuild.org/community/getting-help>


Error: Failed to establish atomic directory /root/.cache/nce/830340ce637c599fc91aa9134dedaf6fcc4aa28cff14aaee2d17a9fb389f3788/locks/configure-31eba9fa867f9b5e5a8532d3147446f167f04fe2bc67c207845700c50fc37f13. Population of work directory failed: Boot binding command failed: exit status: 1

Isolates your Pants from the elements.

Please select from the following boot commands:

<default> (when SCIE_BOOT is not set in the environment)  Detects the current Pants installation and launches it.
bootstrap-tools                                           Introspection tools for the Pants bootstrap process.
update                                                    Update scie-pants.

You can select a boot command by setting the SCIE_BOOT environment variable.
Does anyone know how to fix this issue?
c
• Does this occur with the latest stable version of Pants (2.23) • Does your docker image pin a specific version of scie-pants? If so, which one?