-
Notifications
You must be signed in to change notification settings - Fork 55
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
Bug in CircleCI tests for python 3.6: caching issue #397
Comments
Please take a look at the current config file in |
The issue is not due to addition of 3.10 to the testing regime, nor is it a race condition. See, for example, these tests from two weeks ago which include 3.10. The addition of 3.10 did not affect the caches or cause tests to fail. This error shows up in the output of the failing
which shows that the caching information for I have removed the fallback option in CircleCI (which allows the pickup of non-specific caches that match the wildcard) with commit 6656761. This prevents reuse of any other than the exactly matching cache ID. The Python 3.6 tests now pass - as do the other test runs. The documentation for CircleCI dependency caching can be found here. |
To answer this question:
I think there is a misunderstanding about the meaning of that field. The |
Hopefully the comments above are clear enough, but to answer directly: no. CircelCI uses |
Problem Overview
The CircleCI tests for PR #338, adding ANIb(lastall) are now failing on python 3.6 (which is new), with this output:
which looks like the addition of python 3.10 is affecting the cache.
Looking at the cache that is loaded:
Unarchiving cache... Skipping writing "home/circleci/.pyenv/bin/pyenv" - symlink ../libexec/pyenv /home/circleci/.pyenv/bin/pyenv: file exists update apt-get 53s
it becomes clear that this is the case. The same is seen in the test runs for other versions of python. I would guess that this might also represent a race condition—whichever version is loaded first is the one that is cached, but this is currently just a hunch.
Lines 84–86 of
.circleci/config.yml
are where this is saved; is there a reason for this (perhaps the package takes a long time to load/install)?Question
@widdowquinn Should we be using a different version of
pyenv
for each python installation, or do we only want to change this for the point of failure?The text was updated successfully, but these errors were encountered: