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

damp-easter-17791

03/26/2020, 9:22 AM
Hi all! đź‘‹ Our CI jobs that test Pants with Metals (Scala language server) started failing with the following error
Copy code
/usr/bin/python3.6: can't open file '/home/runner/.cache/pants/setup/bootstrap-Linux-x86_64/virtualenv-16.4.3/virtualenv.py': [Errno 2] No such file or directory
Any idea what might cause this issue? I think it was working OK a week ago
we're using 1.24.0rc1 since that was the only version we could use with
export-dep-as-jar
a few weeks ago, maybe we can upgrade to a more recent version?
a

average-vr-56795

03/26/2020, 11:08 AM
It looks like it’s trying to download a .tar.gz file with curl, the file it’s downloading wasn’t a gzip’d file (maybe it was interrupted, or was a 503 page or something), and so it couldn’t unzip?
d

damp-easter-17791

03/26/2020, 11:10 AM
Looks like the following curl failed in the
pants
script
Copy code
curl -LO "<https://pypi.io/packages/source/v/virtualenv/${VENV_TARBALL}>"
a

average-vr-56795

03/26/2020, 11:11 AM
Version numbers look different, so it’s possible you’re overriding some of those env vaars?
d

damp-easter-17791

03/26/2020, 11:11 AM
Maybe the GitHub CI machines changed those variables in a recent update. I will take a look, thanks!
a

average-vr-56795

03/26/2020, 11:11 AM
Good luck!
c

curved-vase-73456

03/26/2020, 7:34 PM
we had similar issue on installation we changed it to
Copy code
VENV_PACKAGE_URL=$(curl <https://pypi.org/pypi/virtualenv/json> | jq -r ".releases[\"$VENV_VERSION\"][1].url")
      curl -LO $VENV_PACKAGE_URL
lmk if this helps
and also updated venv
VENV_VERSION=${VENV_VERSION:-16.7.10}
a

astonishing-jelly-60479

03/26/2020, 9:44 PM
we saw similar problems, i think pypi was having issues early this morning
h

happy-kitchen-89482

03/26/2020, 10:47 PM
We saw pypi issues this morning as well (different manifestation, but due to 500s from pypi)
d

damp-easter-17791

03/27/2020, 12:22 PM
I looks like pypi was indeed having issues. Our CI is green again now without any changes to our build
a

average-vr-56795

03/27/2020, 12:24 PM
Hurrah!
Ish!
d

damp-easter-17791

03/27/2020, 12:25 PM
Thank you for helping investigate this issue!
3 Views