GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 1.21.5: tests failures on some Debian architectures · Issue #20635 · numpy/numpy

1.21.5: tests failures on some Debian architectures #20635

New issue
Copy link
New issue
Copy link
Closed
Closed
1.21.5: tests failures on some Debian architectures#20635
Copy link
Labels
00 - Bugcomponent: numpy._core

Description

@sandrotosi
sandrotosi
opened on Dec 21, 2021
Issue body actions

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]

Activity

  1. seberg commented on Dec 21, 2021

    @seberg
    seberg
    on Dec 21, 2021
    Member
    More actions

    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.

  2. charris commented on Dec 21, 2021

    @charris
    charris
    on Dec 21, 2021
    Member
    More actions

    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).

  3. sandrotosi commented on Dec 21, 2021

    @sandrotosi
    sandrotosi
    on Dec 21, 2021
    ContributorAuthor
    More actions

    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

  4. WarrenWeckesser commented on Dec 22, 2021

    @WarrenWeckesser
    WarrenWeckesser
    on Dec 22, 2021
    Member
    More actions

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

  5. rgommers
    added
    00 - Bug
    component: numpy._core
    on Dec 28, 2021
  6. sandrotosi commented on Mar 19, 2024

    @sandrotosi
    sandrotosi
    on Mar 19, 2024
    ContributorAuthor
    More actions

    closing outdated issues i reported long ago

  7. sandrotosi
    closed this as completedon Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    00 - Bugcomponent: numpy._core

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.