Ticket #815 (closed defect: fixed)

Opened 21 months ago

Last modified 21 months ago

self test failuers on RHE 4/32-bit, version 1.2.0.dev5255

Reported by: chanley Owned by: somebody
Priority: normal Milestone: 1.2.0
Component: numpy.core Version: devel
Keywords: Cc:

Description

Numpy is installed in /usr/stsci/pyssgdev/2.5.1/numpy
Numpy version 1.2.0.dev5255
Python version 2.5.1 (r251:54863, Jan 16 2008, 14:28:22) [GCC 3.4.6 20060404 (Red Hat 3.4.6-9)]
  Found 3/3 tests for numpy.core.tests.test_ufunc
  Found 145/145 tests for numpy.core.tests.test_regression
  Found 63/63 tests for numpy.core.tests.test_unicode
  Found 36/36 tests for numpy.core.tests.test_numerictypes
  Found 16/16 tests for numpy.core.tests.test_umath
  Found 289/289 tests for numpy.core.tests.test_multiarray
  Found 12/12 tests for numpy.core.tests.test_records
  Found 70/70 tests for numpy.core.tests.test_numeric
  Found 18/18 tests for numpy.core.tests.test_defmatrix
  Found 3/3 tests for numpy.core.tests.test_errstate
  Found 7/7 tests for numpy.core.tests.test_scalarmath
  Found 3/3 tests for numpy.core.tests.test_memmap
  Found 4/4 tests for numpy.distutils.tests.test_fcompiler_gnu
  Found 5/5 tests for numpy.distutils.tests.test_misc_util
  Found 2/2 tests for numpy.fft.tests.test_fftpack
  Found 3/3 tests for numpy.fft.tests.test_helper
  Found 15/15 tests for numpy.lib.tests.test_twodim_base
  Found 1/1 tests for numpy.lib.tests.test_regression
  Found 4/4 tests for numpy.lib.tests.test_polynomial
  Found 43/43 tests for numpy.lib.tests.test_type_check
  Found 6/6 tests for numpy.lib.tests.test_index_tricks
  Found 1/1 tests for numpy.lib.tests.test_financial
  Found 1/1 tests for numpy.lib.tests.test_machar
  Found 53/53 tests for numpy.lib.tests.test_function_base
  Found 24/24 tests for numpy.lib.tests.test__datasource
  Found 15/15 tests for numpy.lib.tests.test_io
  Found 10/10 tests for numpy.lib.tests.test_arraysetops
  Found 1/1 tests for numpy.lib.tests.test_ufunclike
  Found 6/6 tests for numpy.lib.tests.test_getlimits
  Found 49/49 tests for numpy.lib.tests.test_shape_base
  Found 3/3 tests for numpy.linalg.tests.test_regression
  Found 89/89 tests for numpy.linalg.tests.test_linalg
  Found 36/36 tests for numpy.ma.tests.test_old_ma
  Found 99/99 tests for numpy.ma.tests.test_core
  Found 15/15 tests for numpy.ma.tests.test_extras
  Found 4/4 tests for numpy.ma.tests.test_subclassing
  Found 18/18 tests for numpy.ma.tests.test_mrecords
  Found 7/7 tests for numpy.tests.test_random
  Found 16/16 tests for numpy.testing.tests.test_utils
  Found 6/6 tests for numpy.tests.test_ctypeslib
.E..............................................................................................E.EE......................................................................................................................................................................................................................................................................................................................................................................E.EE.....................................................................................E..................................................................................E............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E.....EE......................................................
======================================================================
ERROR: Test generic loops.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/stsci/pyssgdev/2.5.1/numpy/core/tests/test_ufunc.py", line 131, in check_generic_loops
    x = np.zeros(10, dtype=np.object)[0::2]
SystemError: NULL result without error in PyObject_Call

======================================================================
ERROR: Ticket #86
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/stsci/pyssgdev/2.5.1/numpy/core/tests/test_regression.py", line 174, in check_object_array_fill
    x = np.zeros(1, 'O')
SystemError: error return without exception set

======================================================================
ERROR: Ticket #711
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/stsci/pyssgdev/2.5.1/numpy/core/tests/test_regression.py", line 961, in check_object_array_refcount_self_assign
    arr = np.zeros(5, dtype=np.object_)
SystemError: NULL result without error in PyObject_Call

======================================================================
ERROR: Ticket #633
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/stsci/pyssgdev/2.5.1/numpy/core/tests/test_regression.py", line 863, in check_object_array_refcounting
    arr = np.zeros(5, dtype=np.object_)
SystemError: NULL result without error in PyObject_Call

======================================================================
ERROR: Ticket #86
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/stsci/pyssgdev/2.5.1/numpy/core/tests/test_regression.py", line 174, in check_object_array_fill
    x = np.zeros(1, 'O')
SystemError: error return without exception set

======================================================================
ERROR: Ticket #711
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/stsci/pyssgdev/2.5.1/numpy/core/tests/test_regression.py", line 961, in check_object_array_refcount_self_assign
    arr = np.zeros(5, dtype=np.object_)
SystemError: NULL result without error in PyObject_Call

======================================================================
ERROR: Ticket #633
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/stsci/pyssgdev/2.5.1/numpy/core/tests/test_regression.py", line 863, in check_object_array_refcounting
    arr = np.zeros(5, dtype=np.object_)
SystemError: NULL result without error in PyObject_Call

======================================================================
ERROR: Test generic loops.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/stsci/pyssgdev/2.5.1/numpy/core/tests/test_ufunc.py", line 131, in check_generic_loops
    x = np.zeros(10, dtype=np.object)[0::2]
SystemError: NULL result without error in PyObject_Call

======================================================================
ERROR: check_recarray_from_obj (numpy.core.tests.test_records.TestFromrecords)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/stsci/pyssgdev/2.5.1/numpy/core/tests/test_records.py", line 44, in check_recarray_from_obj
    a = zeros(count, dtype='O')
SystemError: NULL result without error in PyObject_Call

======================================================================
ERROR: check_3d (numpy.ma.tests.test_extras.TestApplyAlongAxis)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/stsci/pyssgdev/2.5.1/numpy/ma/tests/test_extras.py", line 325, in check_3d
    xa = apply_along_axis(myfunc,2,a)
  File "/usr/stsci/pyssgdev/2.5.1/numpy/ma/extras.py", line 176, in apply_along_axis
    i = np.zeros(nd,'O')
SystemError: error return without exception set

======================================================================
ERROR: Tests median w/ 2D
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/stsci/pyssgdev/2.5.1/numpy/ma/tests/test_extras.py", line 343, in test_2d
    assert_equal(median(z[:,0]), 0)
  File "/usr/stsci/pyssgdev/2.5.1/numpy/ma/extras.py", line 430, in median
    result = apply_along_axis(_median1D, axis, asorted)
  File "/usr/stsci/pyssgdev/2.5.1/numpy/ma/extras.py", line 176, in apply_along_axis
    i = np.zeros(nd,'O')
SystemError: error return without exception set

======================================================================
ERROR: Tests median w/ 3D
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/stsci/pyssgdev/2.5.1/numpy/ma/tests/test_extras.py", line 350, in test_3d
    assert_equal(median(x,0), [[12,9],[6,15],[12,9],[18,15]])
  File "/usr/stsci/pyssgdev/2.5.1/numpy/ma/extras.py", line 430, in median
    result = apply_along_axis(_median1D, axis, asorted)
  File "/usr/stsci/pyssgdev/2.5.1/numpy/ma/extras.py", line 176, in apply_along_axis
    i = np.zeros(nd,'O')
SystemError: error return without exception set

----------------------------------------------------------------------
Ran 1297 tests in 5.435s

FAILED (errors=12)
errors: 
	(<numpy.core.tests.test_ufunc.TestUfunc testMethod=check_generic_loops>, 'Traceback (most recent call last):\n  File "/usr/stsci/pyssgdev/2.5.1/numpy/core/tests/test_ufunc.py", line 131, in check_generic_loops\n    x = np.zeros(10, dtype=np.object)[0::2]\nSystemError: NULL result without error in PyObject_Call\n')
	(<numpy.core.tests.test_regression.TestRegression testMethod=check_object_array_fill>, 'Traceback (most recent call last):\n  File "/usr/stsci/pyssgdev/2.5.1/numpy/core/tests/test_regression.py", line 174, in check_object_array_fill\n    x = np.zeros(1, \'O\')\nSystemError: error return without exception set\n')
	(<numpy.core.tests.test_regression.TestRegression testMethod=check_object_array_refcount_self_assign>, 'Traceback (most recent call last):\n  File "/usr/stsci/pyssgdev/2.5.1/numpy/core/tests/test_regression.py", line 961, in check_object_array_refcount_self_assign\n    arr = np.zeros(5, dtype=np.object_)\nSystemError: NULL result without error in PyObject_Call\n')
	(<numpy.core.tests.test_regression.TestRegression testMethod=check_object_array_refcounting>, 'Traceback (most recent call last):\n  File "/usr/stsci/pyssgdev/2.5.1/numpy/core/tests/test_regression.py", line 863, in check_object_array_refcounting\n    arr = np.zeros(5, dtype=np.object_)\nSystemError: NULL result without error in PyObject_Call\n')
	(<numpy.core.tests.test_regression.TestRegression testMethod=check_object_array_fill>, 'Traceback (most recent call last):\n  File "/usr/stsci/pyssgdev/2.5.1/numpy/core/tests/test_regression.py", line 174, in check_object_array_fill\n    x = np.zeros(1, \'O\')\nSystemError: error return without exception set\n')
	(<numpy.core.tests.test_regression.TestRegression testMethod=check_object_array_refcount_self_assign>, 'Traceback (most recent call last):\n  File "/usr/stsci/pyssgdev/2.5.1/numpy/core/tests/test_regression.py", line 961, in check_object_array_refcount_self_assign\n    arr = np.zeros(5, dtype=np.object_)\nSystemError: NULL result without error in PyObject_Call\n')
	(<numpy.core.tests.test_regression.TestRegression testMethod=check_object_array_refcounting>, 'Traceback (most recent call last):\n  File "/usr/stsci/pyssgdev/2.5.1/numpy/core/tests/test_regression.py", line 863, in check_object_array_refcounting\n    arr = np.zeros(5, dtype=np.object_)\nSystemError: NULL result without error in PyObject_Call\n')
	(<numpy.core.tests.test_ufunc.TestUfunc testMethod=check_generic_loops>, 'Traceback (most recent call last):\n  File "/usr/stsci/pyssgdev/2.5.1/numpy/core/tests/test_ufunc.py", line 131, in check_generic_loops\n    x = np.zeros(10, dtype=np.object)[0::2]\nSystemError: NULL result without error in PyObject_Call\n')
	(<numpy.core.tests.test_records.TestFromrecords testMethod=check_recarray_from_obj>, 'Traceback (most recent call last):\n  File "/usr/stsci/pyssgdev/2.5.1/numpy/core/tests/test_records.py", line 44, in check_recarray_from_obj\n    a = zeros(count, dtype=\'O\')\nSystemError: NULL result without error in PyObject_Call\n')
	(<numpy.ma.tests.test_extras.TestApplyAlongAxis testMethod=check_3d>, 'Traceback (most recent call last):\n  File "/usr/stsci/pyssgdev/2.5.1/numpy/ma/tests/test_extras.py", line 325, in check_3d\n    xa = apply_along_axis(myfunc,2,a)\n  File "/usr/stsci/pyssgdev/2.5.1/numpy/ma/extras.py", line 176, in apply_along_axis\n    i = np.zeros(nd,\'O\')\nSystemError: error return without exception set\n')
	(<numpy.ma.tests.test_extras.TestMedian testMethod=test_2d>, 'Traceback (most recent call last):\n  File "/usr/stsci/pyssgdev/2.5.1/numpy/ma/tests/test_extras.py", line 343, in test_2d\n    assert_equal(median(z[:,0]), 0)\n  File "/usr/stsci/pyssgdev/2.5.1/numpy/ma/extras.py", line 430, in median\n    result = apply_along_axis(_median1D, axis, asorted)\n  File "/usr/stsci/pyssgdev/2.5.1/numpy/ma/extras.py", line 176, in apply_along_axis\n    i = np.zeros(nd,\'O\')\nSystemError: error return without exception set\n')
	(<numpy.ma.tests.test_extras.TestMedian testMethod=test_3d>, 'Traceback (most recent call last):\n  File "/usr/stsci/pyssgdev/2.5.1/numpy/ma/tests/test_extras.py", line 350, in test_3d\n    assert_equal(median(x,0), [[12,9],[6,15],[12,9],[18,15]])\n  File "/usr/stsci/pyssgdev/2.5.1/numpy/ma/extras.py", line 430, in median\n    result = apply_along_axis(_median1D, axis, asorted)\n  File "/usr/stsci/pyssgdev/2.5.1/numpy/ma/extras.py", line 176, in apply_along_axis\n    i = np.zeros(nd,\'O\')\nSystemError: error return without exception set\n')
failures: 
if ( 1 != 0 ) then
echo <font color=orange>selftest</font>
exit 0

Change History

Changed 21 months ago by chanley

Changed 21 months ago by charris

Can you check if this is fixed in the latest versions?

Changed 21 months ago by chanley

There is only one test failing now:

======================================================================
FAIL: Tests mask_rowcols.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/stsci/pyssgdev/2.5.1/numpy/ma/tests/test_extras.py", line 211, in check_mask_rowcols
    assert(mask_rowcols(x).all())
AssertionError

----------------------------------------------------------------------
Ran 1307 tests in 5.518s

The entire build and test log can be found at: http://stsdas.stsci.edu/lore/log/build/motoko/numpy/06-07.21.47.log

This particular test failure occurs on all our platforms: Solaris 10, Mac OS X(PPC/Intel), and RHE4(32/64).

Changed 21 months ago by chanley

  • status changed from new to closed
  • resolution set to fixed

The self tests now pass on all platforms as of version 1.2.0.dev5264.

Note: See TracTickets for help on using tickets.