Hm macOS jobs continue to fail today with ```./pa...
# development
h
Hm macOS jobs continue to fail today with
Copy code
./pants: line 64: /Users/runner/.cache/pants/pants_dev_deps/Darwin.x86_64.i386.py37.venv/bin/python: No such file or directory
303
I don't see any changes to the macOS runner in the GitHub changelog. And earlier in the CI run it is still showing that we're activating Python 3.7 correctly
I will try to dig into this now. I was hoping it would just fix itself 🙈
Uhhh any Linux wisdom on what's going on here?
Copy code
+ ls -l /Users/runner/.cache/pants/pants_dev_deps/Darwin.x86_64.i386.py37.venv/bin
...
lrwxr-xr-x  1 runner  staff     9 Apr 30 03:32 python -> python3.7
196
lrwxr-xr-x  1 runner  staff     9 Apr 30 03:32 python3 -> python3.7
197
lrwxr-xr-x  1 runner  staff    61 Apr 30 03:32 python3.7 -> /Users/runner/hostedtoolcache/Python/3.7.12/x64/bin/python3.7
198
-rwxr-xr-x  1 runner  staff   276 Apr 30 03:33 wheel
Copy code
+ /Users/runner/.cache/pants/pants_dev_deps/Darwin.x86_64.i386.py37.venv/bin/python --version
204
./pants: line 50: /Users/runner/.cache/pants/pants_dev_deps/Darwin.x86_64.i386.py37.venv/bin/python: No such file or directory
w
@hundreds-father-404: that shows a symlink, but is the destination alive?
h
Removing the cache action fixes this. I think we for some reason have a poisened cache
w
i.e. is
/Users/runner/hostedtoolcache/Python/3.7.12/x64/bin/python3.7
there?
👍 1
h
I do not see a way with you github action to purge caches ah so cache key should include
/Users/runner/hostedtoolcache/Python/**
maybe
w
thanks for looking at that.
❤️ 1
h
CI is fixed. Reminder to pull
main
. Please report if you still see the issue
Ugh some jobs keep failing. But then seem to work again after second run? Maybe lets see if this still happens tomorrow and turn off caching off venv if so. It shaves off about ~30 seconds from each job iiuc
Ugh. Restarting isn't working, and release branches like 2.11 are failing now. I'm gonna drop the cache 😕
@witty-crayon-22786 heading out to lunch. feel free t o merge https://github.com/pantsbuild/pants/pull/15342. NB i do not understood the problem
w
blargh. thanks Eric.