-
Notifications
You must be signed in to change notification settings - Fork 91
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
GitHub Actions get stuck when using fs fixture and importing torch #693
Comments
Thanks for the report! No, I don't know of this issue, and I have no idea what causes this so far. |
- have been made in version 3.3.0, apparently cause hanging tests with torch import - no performance degradation detected - see pytest-dev#693
- have been made in version 3.3.0, apparently cause hanging tests with torch import - no performance degradation detected - see #693
….0, apparently cause hanging tests with torch import - no performance degradation detected - see #693
@mniebisch - Can you check if it is fixed with master? |
@mrbean-bremen - I checked with pyfakefs 3.6.3. Unfortunately, it doesn't work. |
@mniebisch - it is not integrated into a release yet - can you please check with master?
|
@mrbean-bremen Ah, my bad :D Seems like I need a coffee. Your fix works like a charm. Thanks a lot for the fast support :) What caused the problem |
That's good! I'm not completely sure what caused it as I could not reproduce it locally - I just found the commit and the specific changes that caused this in CI. It seems that accessing |
Hey,
I'm using pyfakefs for a project. While writing tests locally, everything worked like a charm.
At some point, I pushed my code and applied it to GitHub Action. During the test phase of my workflow, the tests just got stuck, and the workflow didn't terminate.
I tracked the problem down to a conflict between the fs fixture and the import of torch.
If torch is imported, all tests are executed until a test uses the fs fixture for the first time.
I reproduced the problem. You can find it here https://github.com/mniebisch/check_pyfakefs_github_action/runs/7429852799?check_suite_focus=true
Additionally, here's a screenshot showing that everything works just fine locally.
I hope this isn't a known issue. My Google search didn't turn up any help. If so, I'm sorry :)
The text was updated successfully, but these errors were encountered: