[Numpy-discussion] Unit Tests failing daily for 2 months

Charles R Harris charlesr.harris at gmail.com
Wed Feb 17 10:46:38 EST 2010


On Wed, Feb 17, 2010 at 8:33 AM, Christopher Hanley <chanley at stsci.edu>wrote:

> Hi,
>
> I've been informed by our build/installation person that 3 unit tests
> have been failing in the daily numpy svn installation for the last 2
> months.  The most recent output from the tests is as follows:
>
>
I don't see these here. What architecture/compiler/os ?


> ======================================================================
> FAIL: Test generic loops.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/usr/stsci/pyssgdev/2.5.4/numpy/core/tests/test_ufunc.py",
> line 86, in test_generic_loops
>    assert_almost_equal(fone(x), fone_val, err_msg=msg)
>  File "/usr/stsci/pyssgdev/2.5.4/numpy/testing/utils.py", line 435,
> in assert_almost_equal
>    raise AssertionError(msg)
> AssertionError:
> Arrays are not almost equal PyUFunc_F_F
>  ACTUAL: array([ 0.+0.j,  0.+0.j,  0.+0.j,  0.+0.j,  0.+0.j],
> dtype=complex64)
>  DESIRED: 1
>
>
That's new to me.


> ======================================================================
> FAIL: test_umath.TestComplexFunctions.test_loss_of_precision(<type
> 'numpy.complex64'>,)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/usr/stsci/pyssgdev/2.5.4/nose/case.py", line 183, in runTest
>    self.test(*self.arg)
>  File "/usr/stsci/pyssgdev/2.5.4/numpy/core/tests/test_umath.py",
> line 721, in check_loss_of_precision
>    check(x_basic, 2*eps/1e-3)
>  File "/usr/stsci/pyssgdev/2.5.4/numpy/core/tests/test_umath.py",
> line 691, in check
>    'arcsinh')
> AssertionError: (0, 0.0010023052, 0.9987238, 'arcsinh')
>
> ======================================================================
> FAIL: test_umath.TestComplexFunctions.test_precisions_consistent
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/usr/stsci/pyssgdev/2.5.4/nose/case.py", line 183, in runTest
>    self.test(*self.arg)
>  File "/usr/stsci/pyssgdev/2.5.4/numpy/core/tests/test_umath.py",
> line 602, in test_precisions_consistent
>    assert_almost_equal(fcf, fcd, decimal=6, err_msg='fch-fcd %s'%f)
>  File "/usr/stsci/pyssgdev/2.5.4/numpy/testing/utils.py", line 435,
> in assert_almost_equal
>    raise AssertionError(msg)
> AssertionError:
> Arrays are not almost equal fch-fcd <ufunc 'arcsin'>
>  ACTUAL: 2.3561945j
>  DESIRED: (0.66623943249251527+1.0612750619050355j)
>
> ----------------------------------------------------------------------
>

These two also fail on the buildbot Mac and have for some time. If you are
able to reproduce them on an available machine that will be helpful in
tracking them down.

<snip>

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20100217/3141123d/attachment.html>


More information about the NumPy-Discussion mailing list