-
Notifications
You must be signed in to change notification settings - Fork 667
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
Failed: DID NOT WARN && EOFError #4112
Comments
I can't reproduce this locally (nor did it show up on CI). This looks like it might be related to a permission error, could you tell me more about the platform you are running tests on?
|
Before I tried to install mdanalysis on server, I'd successfully installed mda on Ubuntu22.04-desktop on my local vitural computer(Hyper-V, amd64), with python3.10. I guess there's something wrong with the pre-installed python3.8 and pip. |
I would suspect this is an issue with the elastic cloud server? Possibly that the error type isn't being thrown isn't the way it would on a normal machine. The only way to know for this would be to manually reproduce the conditions of the test and see what gets thrown in a python shell. |
That's really a lot of work to do. I'll try my best to figure it out. |
Finally, I've installed mda successfully. But the problem remains unknown. I did following operations:
I've tried using python3.10 and python3.8, and I've tried reinstall them before. So it turns out that root cannot install mda in my case. I got this idea because not considering the problems caused by ECS, the only difference between two machines is root and normal user. Following are my assumptions:
|
Re-opening issue, I've been able to reproduce the issue on an aarch64 VM build using CirrusCI. See: https://cirrus-ci.com/task/6205116001288192?logs=ci#L639 |
So I can confirm that the issue here is related to running the tests as root - essentially you can't have a readonly file or a file that yields a PermissionError if you have root permissions (well at least, not using normal, and safe, chmod-like means). For the sake of sanity we probably can just skip those specific tests and assume that everything else passes then we're good. However in practice, you probably don't want to run MDAnalysis as |
I've installed
MDAnalysis[analysis]
andMDAnalysisTests
with pip3. When I was runningpytest --disable-pytest-warnings --pyargs MDAnalysisTests
, 3 failures occurred. Here is the short test summary info:I did the operations under MDAnalysis 2.4.2, Ubuntu 20.04, python 3.10.10, pip 23.0.1.
And the same problem just still happens under python3.8.1.
Following are detailed informations:
The text was updated successfully, but these errors were encountered: