-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test failures in Github Actions for Python 3.10 #7100
Comments
Actually I'm guessing the bug is in how we use |
The cache was cleared after GitHub's update from 3.10.4 to 3.10.5. In fact, that was the first thing I tried in order to resolve the issue. In order to do so, I changed the base storage/restore key, such that it wouldn't find the old caches. Given that we can't manually clear the caches for Github Actions, that's the primary way to invalidate the cache. In the past, I added a version number to the string, so that it would be easier to do so. Hmmm.... if the cache contains old data, which it appears it might, then the problem could be that GitHub is jumping back and forth as to which version of Python is being used (e.g. some of their servers are using the old version and some the new version). I'll check for that. |
Yep. That's what's happening. Some of the tests are being run with 3.10.4 and some with 3.10.5. |
What problem has occurred? What issues has it caused?
Many (but not all) test runs in the recent past has failed for 3.10 because the Python installed in .../SmokeDetector/Smokedetector/env/bin/python is a symlink to a version which does not exist.
In some more detail, test runs in my personal fork with
ls -l
interspersed before the failure reveal that .../env/bin/python3 (which python symlinks to) is a symlink to/opt/hostedtoolcache/Python/3.10.4/x64/bin/python3
which however does not exist;/opt/hostedtoolcache/Python
contains a directory for3.10.5
(sic) but not3.10.4
.What would you like to happen/not happen?
Ideally, I'm hoping this is a problem Github can solve without our involvement, but I'm creating a bug report for visibility and possible workarounds in the meantime.
The text was updated successfully, but these errors were encountered: