Skip to content
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 on openSUSE #1487

Closed
susnux opened this issue Jul 11, 2021 · 4 comments
Closed

Tests failing on openSUSE #1487

susnux opened this issue Jul 11, 2021 · 4 comments

Comments

@susnux
Copy link

susnux commented Jul 11, 2021

I try to build mathics on openSUSE (for packaging), building works fine, but when running the test suite I see this two tests failing:

test/test_importexport.py::test_export - AssertionError: assert False
test/test_nintegrate.py::test_nintegrate[NIntegrate[x^2 y^(-.5), {x,0,1},{y,0,1}]-1.-]

Here is the log of the failing tests: fail-log.txt

I already tried to track down the issue, I tried to set CI env variable (the server building this package only has minimal software installed), but that only skips the first failing test, the second still fails. Is it known to fail, or does it indicate something does not work in my setup?

It does not matter which python version (tried 3.6, 3.7, 3.8 and 3.9) I use nor which version of the dependencies.
Here is a full log of a build on openSUSE Tumbleweed: build-log.txt

@rocky
Copy link
Member

rocky commented Jul 11, 2021

Thanks for undertaking to package on SUSE.

I think these are known flaky tests. I'll try to load up SuSE and see if I can fix some of these long-standing problems.

@rocky
Copy link
Member

rocky commented Jul 26, 2021

@susnux I spend some time today to try to understand more. The NIntegrate failure is triggered when scipy is not installed. I have opened issue #1501 to track this separately. (Obviously this has nothing to do with failing on openSUSE).

As for the importexport test what is happening is that this test is trying to write something to the filesystem and that can fail. It is hard to tell all the conditions under which this can happen, but I have adjusted that test to skip for some reason it can't read the that it supposedly wrote (but may have not actually done so).

FYI, things are currently in flux but we hope to have a release of Mathics core and Mathics Django out in a couple of weeks or so.

@rocky
Copy link
Member

rocky commented Aug 8, 2021

@susnux I think this has been addressed in the 4.0.1 release. Would you please confirm?

@rocky
Copy link
Member

rocky commented Mar 14, 2022

@susnux Haven't heard back from you so I am closing. If it is still a problem open an issue in https://github.com/Mathics3/mathics-core/issues

@rocky rocky closed this as completed Aug 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants