Debian Bug report logs - #758022
test_interpolate.TestPPoly.test_roots test fails on i386

version graph

Package: python-scipy; Maintainer for python-scipy is Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>; Source for python-scipy is src:python-scipy (PTS, buildd, popcon).

Reported by: Matthias Klose <doko@debian.org>

Date: Wed, 13 Aug 2014 12:33:01 UTC

Severity: important

Found in version python-scipy/0.14.0-1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#758022; Package python-scipy. (Wed, 13 Aug 2014 12:33:06 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <doko@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>. (Wed, 13 Aug 2014 12:33:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Matthias Klose <doko@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: test_interpolate.TestPPoly.test_roots test fails on i386
Date: Wed, 13 Aug 2014 14:29:31 +0200
Package: python-scipy
Version: 0.14.0-1
Severity: important

this test fails when the package is rebuilt on today's sid.  The error then is
ignored during the test build, however it fails hard in the autopkg test.

======================================================================
FAIL: test_roots (test_interpolate.TestPPoly)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/scratch/packages/python-scipy-0.14.0/debian/python-scipy/usr/lib/python2.7/dist-packages
/scipy/interpolate/tests/test_interpolate.py", line 749, in test_roots
    assert_allclose(r, sproot(spl), atol=1e-15)
  File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 1183, in
assert_allclose
    verbose=verbose, header=header)
  File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 599, in
assert_array_compa
re
    raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=1e-07, atol=1e-15

(shapes (9,), (10,) mismatch)
 x: array([ 0.1047157 ,  0.20941655,  0.31410118,  0.41890546,  0.52334966,
        0.62790802,  0.73244579,  0.83763035,  0.94434654])
 y: array([  1.57758919e-19,   1.04715696e-01,   2.09416552e-01,
         3.14101183e-01,   4.18905456e-01,   5.23349664e-01,
         6.27908024e-01,   7.32445794e-01,   8.37630351e-01,
         9.44346543e-01])

----------------------------------------------------------------------
Ran 16583 tests in 124.158s

FAILED (KNOWNFAIL=277, SKIP=1177, failures=1)
Running unit tests for scipy
NumPy version 1.8.1
NumPy is installed in /usr/lib/python2.7/dist-packages/numpy
SciPy version 0.14.0
SciPy is installed in
/scratch/packages/python-scipy-0.14.0/debian/python-scipy/usr/lib/python2.7/dist-packages/scipy
Python version 2.7.8 (default, Aug 10 2014, 12:56:47) [GCC 4.9.1]
nose version 1.3.3
failed: test_interpolate.TestPPoly.test_roots
#errors: 1



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#758022; Package python-scipy. (Sun, 17 Sep 2017 07:42:03 GMT) (full text, mbox, link).


Acknowledgement sent to Graham Inggs <ginggs@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>. (Sun, 17 Sep 2017 07:42:03 GMT) (full text, mbox, link).


Message #10 received at 758022@bugs.debian.org (full text, mbox, reply):

From: Graham Inggs <ginggs@debian.org>
To: 758022@bugs.debian.org, Matthias Klose <doko@debian.org>
Subject: test_interpolate.TestPPoly.test_roots test fails on i386
Date: Sun, 17 Sep 2017 09:38:08 +0200
Ignoring the test failures during the build has also allowed the i386
failure of test_orthogonal.test_j_roots in 0.18.1 to propagate, and
most recently, the failure of test_orthogonal.test_roots_jacobi in
0.19.1 (presumably the same test renamed):


======================================================================
FAIL: test_orthogonal.test_roots_jacobi
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/<<PKGBUILDDIR>>/debian/python3-scipy/usr/lib/python3/dist-packages/scipy/special/tests/test_orthogonal.py",
line 321, in test_roots_jacobi
    vgq(rf(0.9, 2), ef(0.9, 2), wf(0.9, 2), -1., 1., 100, atol=2e-13)
  File "/<<PKGBUILDDIR>>/debian/python3-scipy/usr/lib/python3/dist-packages/scipy/special/tests/test_orthogonal.py",
line 287, in verify_gauss_quad
    assert_allclose(vv, np.eye(N), rtol, atol)
  File "/usr/lib/python3/dist-packages/numpy/testing/utils.py", line
1395, in assert_allclose
    verbose=verbose, header=header, equal_nan=equal_nan)
  File "/usr/lib/python3/dist-packages/numpy/testing/utils.py", line
778, in assert_array_compare
    raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=1e-15, atol=2e-13

(mismatch 0.37999999999999545%)
 x: array([[  1.000000e+00,   3.099016e-16,  -1.339924e-15, ...,
          1.060805e-16,   7.590133e-16,  -4.425680e-17],
       [  3.055861e-16,   1.000000e+00,   5.293052e-16, ...,...
 y: array([[ 1.,  0.,  0., ...,  0.,  0.,  0.],
       [ 0.,  1.,  0., ...,  0.,  0.,  0.],
       [ 0.,  0.,  1., ...,  0.,  0.,  0.],...

----------------------------------------------------------------------
Ran 24210 tests in 389.473s

FAILED (KNOWNFAIL=92, SKIP=1923, failures=1)
Running unit tests for scipy
NumPy version 1.13.1
NumPy relaxed strides checking option: True
NumPy is installed in /usr/lib/python3/dist-packages/numpy
SciPy version 0.19.1
SciPy is installed in
/<<PKGBUILDDIR>>/debian/python3-scipy/usr/lib/python3/dist-packages/scipy
Python version 3.6.2 (default, Sep  5 2017, 20:23:28) [GCC 7.2.0]
nose version 1.3.7
Optimization terminated successfully.    (Exit mode 0)
            Current function value: 0.0
            Iterations: 1
            Function evaluations: 5
            Gradient evaluations: 1
failed: test_orthogonal.test_roots_jacobi
#errors: 1



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jan 10 12:13:57 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.