-
Notifications
You must be signed in to change notification settings - Fork 590
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 teardown fails with ERROR .hypothesis/tmp - FileNotFoundError: [Errno 2]
#4200
Comments
Can you provide a minimal reproducing example? GitHub code spaces can be good for multi-file setups. |
I'm not really sure how to produce a MRE - my first hypothesis (no pun intended) is that this happens when the GHA Caches are reaching the 10GB limit, and are saturated - perhaps the runner is not having enough space to keep the tmp files? |
The error message
suggests that the error is in
what is this |
As the name suggests, it's a temporary directory; probably this one as we're writing the unicode cache at startup. We might be able to work around that, though there are tricky race conditions on various platforms - I don't think it's worth changing. I'd actually describe this as a pytest bug; the Furthermore, to hit this you must be (attempting to) collect tests under the |
In our CI Job in which we use
pytest
andhypothesis
, we run our tests with uv run pytest -n logical --junitxml=junit.xml -o junit_family=legacyAfter 100% of tests are run, the process fails with error:
I'm not sure exactly where this could come from, as it isn't always systematic.
The text was updated successfully, but these errors were encountered: