-
Notifications
You must be signed in to change notification settings - Fork 49
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
tests failing in docker container #367
Comments
The docker container is released only for tagged releases. Can you make sure your local copy of the simsopt is matching with the release version? |
All latest version in container
on my own system:
|
Can you try this? git clone https://github.com/hiddenSymmetries/simsopt.git
cd simsopt
docker run --name=mycontainer -it -v $PWD:/my_mount hiddensymmetries/simsopt
... intermediate steps to install additional packages inside the container...
<container ###> cd /my_mount
<container ###> ./run_tests 2>&1 |tee testoutput.log |
Tried it, same happens when calling the tests from the simsopt repo on host system that is mounted into the docker: When I uncomment the crashing test, unittests show me the cause of the errors: do the above steps run sucessfully on your system? |
I am unable to get the tests to run successfully. This is annoying on my local build, but very puzzling that it even fails in the simsopt docker container.
Reproduce:
It consistently fails and kills the python kernel on the test
mhd/test_integrated_vmec_mpi.py
with the erroralso on my cluster and workstation installation.
This is quite frustrating as it complicates testing before pushing and the kernel killing prevents unittests from printing the error logs. It is also quite inconsistent, as calling that test directly does not error.
Can anyone try to reproduce? Know where to look? Do others run the tests sucessfully?
The failed tests fail along the line of:
which is also baffling to me. Both in docker container and in home system and on server.
how can
os.getcwd()
fail?!?!?!Test output with the offending test removed is attached here:
test_output.log
The text was updated successfully, but these errors were encountered: