[Numpy-discussion] Test failures r7300

lukshuntim@gmai... lukshuntim@gmai...
Sat Aug 8 07:38:06 CDT 2009


Hi,

I got 16 test failures after building r7300 from svn on debian/sid/i386.
Seems all related to complex linear algebra modules.

Here's the error messages:
<quote>
Running unit tests for numpy
NumPy version 1.4.0.dev7300
NumPy is installed in /var/opt/py/lib/python2.5/site-packages/numpy
Python version 2.5.4 (r254:67916, Feb 17 2009, 20:16:45) [GCC 4.3.3]
nose version 0.11.1

...

FAIL: test_cdouble (test_linalg.TestCond2)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 44, in test_cdouble
    self.do(a, b)
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 114, in do
    old_assert_almost_equal(s[0]/s[-1], linalg.cond(a,2), decimal=5)
  File "/var/opt/py/lib/python2.5/site-packages/numpy/testing/utils.py",
line 421, in assert_almost_equal
    raise AssertionError(msg)
AssertionError:
Arrays are not almost equal
 ACTUAL: 9.4348091510413177
 DESIRED: 22.757141876814547

======================================================================
FAIL: test_csingle (test_linalg.TestCond2)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 39, in test_csingle
    self.do(a, b)
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 114, in do
    old_assert_almost_equal(s[0]/s[-1], linalg.cond(a,2), decimal=5)
  File "/var/opt/py/lib/python2.5/site-packages/numpy/testing/utils.py",
line 421, in assert_almost_equal
    raise AssertionError(msg)
AssertionError:
Arrays are not almost equal
 ACTUAL: 9.4348097
 DESIRED: 22.757143

======================================================================
FAIL: test_cdouble (test_linalg.TestDet)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 44, in test_cdouble
    self.do(a, b)
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 135, in do
    assert_almost_equal(d, multiply.reduce(ev))
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 23, in assert_almost_equal
    old_assert_almost_equal(a, b, decimal=decimal, **kw)
  File "/var/opt/py/lib/python2.5/site-packages/numpy/testing/utils.py",
line 400, in assert_almost_equal
    "DESIRED: %s\n" % (str(actual), str(desired)))
AssertionError: Items are not equal:
ACTUAL: (8.881784197e-16-4j)
DESIRED: (5.28-11.04j)


======================================================================
FAIL: test_csingle (test_linalg.TestDet)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 39, in test_csingle
    self.do(a, b)
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 135, in do
    assert_almost_equal(d, multiply.reduce(ev))
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 23, in assert_almost_equal
    old_assert_almost_equal(a, b, decimal=decimal, **kw)
  File "/var/opt/py/lib/python2.5/site-packages/numpy/testing/utils.py",
line 400, in assert_almost_equal
    "DESIRED: %s\n" % (str(actual), str(desired)))
AssertionError: Items are not equal:
ACTUAL: (8.881784197e-16-4j)
DESIRED: (5.28-11.04j)


======================================================================
FAIL: test_cdouble (test_linalg.TestEig)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 44, in test_cdouble
    self.do(a, b)
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 94, in do
    assert_almost_equal(dot(a, evectors), multiply(evectors, evalues))
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 23, in assert_almost_equal
    old_assert_almost_equal(a, b, decimal=decimal, **kw)
  File "/var/opt/py/lib/python2.5/site-packages/numpy/testing/utils.py",
line 400, in assert_almost_equal
    "DESIRED: %s\n" % (str(actual), str(desired)))
AssertionError: Items are not equal:
ACTUAL: [[ 2.72530404+2.67511327j  1.91551601+1.28537403j]
 [ 5.95809316+4.79684551j  3.39598770+1.39546789j]]
DESIRED: [[ 2.01388405+1.03693361j -1.39855180+1.88751398j]
 [ 1.78601662+0.01838201j -0.10378837-3.53101635j]]


======================================================================
FAIL: test_csingle (test_linalg.TestEig)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 39, in test_csingle
    self.do(a, b)
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 94, in do
    assert_almost_equal(dot(a, evectors), multiply(evectors, evalues))
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 23, in assert_almost_equal
    old_assert_almost_equal(a, b, decimal=decimal, **kw)
  File "/var/opt/py/lib/python2.5/site-packages/numpy/testing/utils.py",
line 400, in assert_almost_equal
    "DESIRED: %s\n" % (str(actual), str(desired)))
AssertionError: Items are not equal:
ACTUAL: [[ 2.72530413+2.6751132j   1.91551602+1.28537405j]
 [ 5.95809317+4.79684544j  3.39598775+1.39546788j]]
DESIRED: [[ 2.01388407+1.03693354j -1.39855182+1.887514j  ]
 [ 1.78601658+0.01838197j -0.10378837-3.53101635j]]


======================================================================
FAIL: test_cdouble (test_linalg.TestEigh)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 221, in test_cdouble
    self.do(a)
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 259, in do
    assert_almost_equal(ev, evalues)
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 23, in assert_almost_equal
    old_assert_almost_equal(a, b, decimal=decimal, **kw)
  File "/var/opt/py/lib/python2.5/site-packages/numpy/testing/utils.py",
line 400, in assert_almost_equal
    "DESIRED: %s\n" % (str(actual), str(desired)))
AssertionError: Items are not equal:
ACTUAL: [-2.60555128  4.60555128]
DESIRED: [-1.71080202-1.00413682j  3.01849433+1.46567528j]


======================================================================
FAIL: test_csingle (test_linalg.TestEigh)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 217, in test_csingle
    self.do(a)
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 259, in do
    assert_almost_equal(ev, evalues)
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 23, in assert_almost_equal
    old_assert_almost_equal(a, b, decimal=decimal, **kw)
  File "/var/opt/py/lib/python2.5/site-packages/numpy/testing/utils.py",
line 400, in assert_almost_equal
    "DESIRED: %s\n" % (str(actual), str(desired)))
AssertionError: Items are not equal:
ACTUAL: [-2.60555124  4.60555124]
DESIRED: [-1.71080208-1.0041368j   3.01849437+1.46567523j]


======================================================================
FAIL: test_cdouble (test_linalg.TestEigvalsh)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 221, in test_cdouble
    self.do(a)
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 249, in do
    assert_almost_equal(ev, evalues)
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 23, in assert_almost_equal
    old_assert_almost_equal(a, b, decimal=decimal, **kw)
  File "/var/opt/py/lib/python2.5/site-packages/numpy/testing/utils.py",
line 400, in assert_almost_equal
    "DESIRED: %s\n" % (str(actual), str(desired)))
AssertionError: Items are not equal:
ACTUAL: [-2.60555128+0.j  4.60555128+0.j]
DESIRED: [-1.71080202-1.00413682j  3.01849433+1.46567528j]


======================================================================
FAIL: test_csingle (test_linalg.TestEigvalsh)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 217, in test_csingle
    self.do(a)
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 249, in do
    assert_almost_equal(ev, evalues)
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 23, in assert_almost_equal
    old_assert_almost_equal(a, b, decimal=decimal, **kw)
  File "/var/opt/py/lib/python2.5/site-packages/numpy/testing/utils.py",
line 400, in assert_almost_equal
    "DESIRED: %s\n" % (str(actual), str(desired)))
AssertionError: Items are not equal:
ACTUAL: [-2.60555124+0.j  4.60555124+0.j]
DESIRED: [-1.71080208-1.0041368j   3.01849437+1.46567523j]


======================================================================
FAIL: test_cdouble (test_linalg.TestLstsq)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 44, in test_cdouble
    self.do(a, b)
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 141, in do
    assert_almost_equal(b, dot(a, x))
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 23, in assert_almost_equal
    old_assert_almost_equal(a, b, decimal=decimal, **kw)
  File "/var/opt/py/lib/python2.5/site-packages/numpy/testing/utils.py",
line 400, in assert_almost_equal
    "DESIRED: %s\n" % (str(actual), str(desired)))
AssertionError: Items are not equal:
ACTUAL: [ 2.+1.j  1.+2.j]
DESIRED: [ 0.95920929+0.98311952j  1.23494444+0.67346351j]


======================================================================
FAIL: test_csingle (test_linalg.TestLstsq)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 39, in test_csingle
    self.do(a, b)
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 141, in do
    assert_almost_equal(b, dot(a, x))
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 23, in assert_almost_equal
    old_assert_almost_equal(a, b, decimal=decimal, **kw)
  File "/var/opt/py/lib/python2.5/site-packages/numpy/testing/utils.py",
line 400, in assert_almost_equal
    "DESIRED: %s\n" % (str(actual), str(desired)))
AssertionError: Items are not equal:
ACTUAL: [ 2.+1.j  1.+2.j]
DESIRED: [ 0.95920926+0.98311943j  1.23494434+0.67346334j]


======================================================================
FAIL: test_cdouble (test_linalg.TestPinv)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 44, in test_cdouble
    self.do(a, b)
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 124, in do
    assert_almost_equal(dot(a, a_ginv), identity(asarray(a).shape[0]))
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 23, in assert_almost_equal
    old_assert_almost_equal(a, b, decimal=decimal, **kw)
  File "/var/opt/py/lib/python2.5/site-packages/numpy/testing/utils.py",
line 400, in assert_almost_equal
    "DESIRED: %s\n" % (str(actual), str(desired)))
AssertionError: Items are not equal:
ACTUAL: [[ 0.29169056-0.07799046j  0.17767375-0.01332484j]
 [ 0.04125021-0.38255608j  0.73402869+0.62377356j]]
DESIRED: [[ 1.  0.]
 [ 0.  1.]]


======================================================================
FAIL: test_csingle (test_linalg.TestPinv)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 39, in test_csingle
    self.do(a, b)
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 124, in do
    assert_almost_equal(dot(a, a_ginv), identity(asarray(a).shape[0]))
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 23, in assert_almost_equal
    old_assert_almost_equal(a, b, decimal=decimal, **kw)
  File "/var/opt/py/lib/python2.5/site-packages/numpy/testing/utils.py",
line 400, in assert_almost_equal
    "DESIRED: %s\n" % (str(actual), str(desired)))
AssertionError: Items are not equal:
ACTUAL: [[ 0.29169053-0.07799049j  0.17767370-0.0133248j ]
 [ 0.04125014-0.38255614j  0.73402858+0.62377363j]]
DESIRED: [[ 1.  0.]
 [ 0.  1.]]


======================================================================
FAIL: test_cdouble (test_linalg.TestSVD)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 44, in test_cdouble
    self.do(a, b)
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 100, in do
    assert_almost_equal(a, dot(multiply(u, s), vt))
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 23, in assert_almost_equal
    old_assert_almost_equal(a, b, decimal=decimal, **kw)
  File "/var/opt/py/lib/python2.5/site-packages/numpy/testing/utils.py",
line 400, in assert_almost_equal
    "DESIRED: %s\n" % (str(actual), str(desired)))
AssertionError: Items are not equal:
ACTUAL: [[ 1.+2.j  2.+3.j]
 [ 3.+4.j  4.+5.j]]
DESIRED: [[ 1.00000000+2.j          2.36670415+2.98574489j]
 [ 3.00000000+4.j          2.80882652+6.25521741j]]


======================================================================
FAIL: test_csingle (test_linalg.TestSVD)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 39, in test_csingle
    self.do(a, b)
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 100, in do
    assert_almost_equal(a, dot(multiply(u, s), vt))
  File
"/var/opt/py/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py",
line 23, in assert_almost_equal
    old_assert_almost_equal(a, b, decimal=decimal, **kw)
  File "/var/opt/py/lib/python2.5/site-packages/numpy/testing/utils.py",
line 400, in assert_almost_equal
    "DESIRED: %s\n" % (str(actual), str(desired)))
AssertionError: Items are not equal:
ACTUAL: [[ 1.+2.j  2.+3.j]
 [ 3.+4.j  4.+5.j]]
DESIRED: [[ 0.99999994+2.j          2.36670423+2.98574495j]
 [ 3.00000000+4.j          2.80882668+6.25521755j]]


----------------------------------------------------------------------
Ran 2186 tests in 10.594s

FAILED (KNOWNFAIL=1, SKIP=11, failures=16)
</quote>

Regards,
ST
--




More information about the NumPy-Discussion mailing list