8000 1.21.5: tests failures on some Debian architectures · Issue #20635 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

1.21.5: tests failures on some Debian architectures #20635

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

Closed
sandrotosi opened this issue Dec 21, 2021 · 5 comments
Closed

1.21.5: tests failures on some Debian architectures #20635

sandrotosi opened this issue Dec 21, 2021 · 5 comments

Comments

@sandrotosi
Copy link
Contributor

Hello,
i've just uploaded numpy/1.21.5 and the test suite produced some failures on a few architectures we support. Please note you're going to find 2 sets of test results, because we're building for both Python 3.9.9 and Python 3.10.1.

armel

full build log

failures summary:

FAILED tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_half.py::TestHalf::test_half_fpe
FAILED tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_numeric.py::TestBoolCmp::test_float
FAILED tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_numeric.py::TestSeterr::test_divide_err
FAILED tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_numeric.py::TestSeterr::test_errobj
FAILED tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_numeric.py::TestFloatExceptions::test_floating_exceptions
FAILED tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_numeric.py::TestFloatExceptions::test_warnings
FAILED tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_ufunc.py::TestUfuncGenericLoops::test_unary_PyUFunc_O_O_method_full[arccosh]
FAILED tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_umath.py::TestRemainder::test_float_remainder_overflow
FAILED tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_umath.py::TestLog2::test_log2_special
FAILED tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_umath.py::TestSpecialFloats::test_exp_exceptions
FAILED tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_umath.py::TestSpecialFloats::test_log_values
FAILED tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_umath.py::TestSpecialFloats::test_sincos_values
FAILED tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_umath.py::TestSpecialFloats::test_square_values
FAILED tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_umath.py::TestSpecialFloats::test_reciprocal_values
FAILED tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_umath.py::TestFPClass::test_fpclass[-4]
FAILED tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_umath.py::TestFPClass::test_fpclass[-2]
FAILED tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_umath.py::TestFPClass::test_fpclass[-1]
FAILED tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_umath.py::TestFPClass::test_fpclass[1]
FAILED tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_umath_complex.py::TestClog::test_special_values
FAILED tmp/usr/lib/python3/dist-packages/numpy/lib/tests/test_function_base.py::TestMedian::test_empty

i386

full build log

FAILED tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_umath.py::TestRemainder::test_float_remainder_overflow
FAILED tmp/usr/lib/python3/dist-packages/numpy/random/tests/test_generator_mt19937.py::TestRandomDist::test_pareto

mipsel

full build log

FAILED tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_numeric.py::TestBoolCmp::test_float
FAILED tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_umath.py::TestFPClass::test_fpclass[-4]
FAILED tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_umath.py::TestFPClass::test_fpclass[-2]
FAILED tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_umath.py::TestFPClass::test_fpclass[-1]
FAILED tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_umath.py::TestFPClass::test_fpclass[1]
@seberg
Copy link
Member
seberg commented Dec 21, 2021

Hmmm, quick scan, most failures seem to be related to floating point errors and I am not sure how much trouble we should go to try and get those right...

This one worries me a bit more:

FAILED tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_numeric.py::TestBoolCmp::test_float

It happens in the line:

assert_array_equal(np.signbit(self.signf[i:]), self.ef[i:])

But I wonder if it is something weird to do with -NaN being incorrectly handles as well? I would guess at vectorization, but I doubt that makes sense for mipsel or armel.

@charris
Copy link
Member
charris commented Dec 21, 2021

Armel doesn't have an FPU, correct? Are the instructions trapped and emulated, or is it library based? I'm trying to see how much can be attributed to the library (if used) and the reporting of exceptions (if available).

@sandrotosi
Copy link
Contributor Author

i must admit i'm not really knowledgable on all the specs and quirks of these "uncommon" archs. there's a main debian archs list here which contains references to each of them, here's the one for armel

@WarrenWeckesser
Copy link
Member

FYI (cross-reference): The i386 failure of test_pareto looks like the same issue as #18387

@sandrotosi
Copy link
Contributor Author

closing outdated issues i reported long ago

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants
0