v1.2.1 test_scalar_minimizers (test_nose.py) fails on i386 #891
Replies: 2 comments 1 reply
-
@drew-parsons This sort of thing ("lmfit tests fail when run on system and/or architecture") has been brought up at various times in the past (#502, #686, #692, #802, and more recently #861, #879, and then the series of #880). My response is generally the same "shrug". The thing is, we have a test suite and a CI system in place (https://dev.azure.com/lmfit/lmfit-py/) so that every PR and commit gets run on the systems, architectures, and software stacks that we choose to test. These tests tell us that the code is "working" and point out what changes cause problems. The tests are designed to be run with our CI system. We literally do not test on other systems and architectures. You might say that we do not care about these. The lmfit code is pure Python. It will not change between architectures or OSes: for a particular version on Python, all code using lmfit will generate identical Python bytecode. Lmfit does depend on compiled extension code from numpy and scipy that very well may vary between architectures and OSes. We cannot do anything about such differences. We test of a range of OSes to make sure that subtle numerical differences are not too problematic. If you are only getting one failure on i386, I would say, "Great, it mostly works". Is this test failure a problem for you? Like, why are you running the lmfit CI test suite on a bunch of different architectures? What do you think that is going to reveal? |
Beta Was this translation helpful? Give feedback.
-
@drew-parsons Well, why are you using the lmfit test suite as part of your CI process for including lmfit in ubuntu? You can run our tests anywhere you want. We know they pass on the systems and environments we test with. If you get a failure, that is telling you that there is a failure on your system/platform/architecture/choice of environment. Honestly, one failure out of 600+ tests of a 32-bit architecture seems pretty good to me. We do not support, endorse, or even suggest that a 32-bit architecture is at all useful or interesting for numerical analysis. |
Beta Was this translation helpful? Give feedback.
-
Debian tests of lmfit-py 1.2.1 fail in test_scalar_minimizers (tests/test_nose.py) on i386. Test log here. Other tests pass, and all tests pass on other arches, full set of test logs here.
The error message is
It's not simply a 32 bit issue. The test evidently passed on armel, armhf.
Has anyone got this test passing on i386? Perhaps it's an Issue that should be reported.
Beta Was this translation helpful? Give feedback.
All reactions