1.7.0b1 - Unittest errors building on Debian armel #413

Closed
sandrotosi opened this Issue Sep 1, 2012 · 6 comments

Comments

Projects
None yet
3 participants
Contributor

sandrotosi commented Sep 1, 2012

Hello,
when building 1.7.0b1 on Debian unstable armel the tests suite returns some error:

-- running tests for 2.7 plain --
....................................................................................................................................................................................................F..................F...................................................................................S.............................................................................................................................S....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K........................................................................F................................................................................................................SSS...............................................................................................................................................................................................................................................................................................................K....................................................................................................K......................K.F..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K....................................................
======================================================================
FAIL: test_invalid (test_errstate.TestErrstate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<string>", line 20, in test_invalid
AssertionError: Did not raise an invalid error

======================================================================
FAIL: Test that half raises the correct underflows and overflows
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/tests/test_half.py", line 407, in test_half_fpe
    assert_raises_fpe('invalid', np.divide, float16(np.inf), float16(np.inf))
  File "/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/tests/test_half.py", line 15, in assert_raises_fpe
    "Did not raise floating point %s error" % strmatch)
  File "/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 34, in assert_
    raise AssertionError(msg)
AssertionError: Did not raise floating point invalid error

======================================================================
FAIL: test_divide_err (test_numeric.TestSeterr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/tests/test_numeric.py", line 257, in test_divide_err
    self.fail()
AssertionError: None

======================================================================
FAIL: test_special_values (test_umath_complex.TestClog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.7/dist-packages/numpy/testing/decorators.py", line 146, in skipper_func
    return f(*args, **kwargs)
  File "/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/tests/test_umath_complex.py", line 168, in test_special_values
    self.assertRaises(FloatingPointError, np.log, x)
AssertionError: FloatingPointError not raised

----------------------------------------------------------------------
Ran 4792 tests in 267.196s

FAILED (KNOWNFAIL=5, SKIP=5, failures=4)
Running unit tests for numpy
NumPy version 1.7.0b1
NumPy is installed in /build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.7/dist-packages/numpy
Python version 2.7.3 (default, Aug 26 2012, 21:14:23) [GCC 4.6.3]
nose version 1.1.2
-- running tests for 2.7 debug --
....................................................................................................................................................................................................F..................F...................................................................................S.............................................................................................................................S....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K........................................................................F................................................................................................................SSS...............................................................................................................................................................................................................................................................................................................K....................................................................................................K......................K.F..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K....................................................
======================================================================
FAIL: test_invalid (test_errstate.TestErrstate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<string>", line 20, in test_invalid
AssertionError: Did not raise an invalid error

======================================================================
FAIL: Test that half raises the correct underflows and overflows
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/tests/test_half.py", line 407, in test_half_fpe
    assert_raises_fpe('invalid', np.divide, float16(np.inf), float16(np.inf))
  File "/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/tests/test_half.py", line 15, in assert_raises_fpe
    "Did not raise floating point %s error" % strmatch)
  File "/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 34, in assert_
    raise AssertionError(msg)
AssertionError: Did not raise floating point invalid error

======================================================================
FAIL: test_divide_err (test_numeric.TestSeterr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/tests/test_numeric.py", line 257, in test_divide_err
    self.fail()
AssertionError: None

======================================================================
FAIL: test_special_values (test_umath_complex.TestClog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.7/dist-packages/numpy/testing/decorators.py", line 146, in skipper_func
    return f(*args, **kwargs)
  File "/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/tests/test_umath_complex.py", line 168, in test_special_values
    self.assertRaises(FloatingPointError, np.log, x)
AssertionError: FloatingPointError not raised

----------------------------------------------------------------------
Ran 4792 tests in 534.189s

FAILED (KNOWNFAIL=5, SKIP=5, failures=4)
Running unit tests for numpy
NumPy version 1.7.0b1
NumPy is installed in /build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.7/dist-packages/numpy
Python version 2.7.3 (default, Aug 26 2012, 18:01:12) [GCC 4.6.3]
nose version 1.1.2
[1507906 refs]
-- running tests for 2.6 plain --
....................................................................................................................................................................................................F..................F...................................................................................S.............................................................................................................................S....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K........................................................................F................................................................................................................SSS...............................................................................................................................................................................................................................................................................................................K....................................................................................................K......................K.F..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K....................................................
======================================================================
FAIL: test_invalid (test_errstate.TestErrstate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<string>", line 20, in test_invalid
AssertionError: Did not raise an invalid error

======================================================================
FAIL: Test that half raises the correct underflows and overflows
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/tests/test_half.py", line 407, in test_half_fpe
    assert_raises_fpe('invalid', np.divide, float16(np.inf), float16(np.inf))
  File "/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/tests/test_half.py", line 15, in assert_raises_fpe
    "Did not raise floating point %s error" % strmatch)
  File "/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.6/dist-packages/numpy/testing/utils.py", line 34, in assert_
    raise AssertionError(msg)
AssertionError: Did not raise floating point invalid error

======================================================================
FAIL: test_divide_err (test_numeric.TestSeterr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/tests/test_numeric.py", line 257, in test_divide_err
    self.fail()
AssertionError

======================================================================
FAIL: test_special_values (test_umath_complex.TestClog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.6/dist-packages/numpy/testing/decorators.py", line 146, in skipper_func
    return f(*args, **kwargs)
  File "/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/tests/test_umath_complex.py", line 168, in test_special_values
    self.assertRaises(FloatingPointError, np.log, x)
AssertionError: FloatingPointError not raised

----------------------------------------------------------------------
Ran 4792 tests in 290.814s

FAILED (KNOWNFAIL=5, SKIP=5, failures=4)
Running unit tests for numpy
NumPy version 1.7.0b1
NumPy is installed in /build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.6/dist-packages/numpy
Python version 2.6.8 (unknown, Jun 28 2012, 19:17:01) [GCC 4.6.3]
nose version 1.1.2
-- running tests for 2.6 debug --
....................................................................................................................................................................................................F..................F...................................................................................S.............................................................................................................................S....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K........................................................................F................................................................................................................SSS...............................................................................................................................................................................................................................................................................................................K....................................................................................................K......................K.F..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K....................................................
======================================================================
FAIL: test_invalid (test_errstate.TestErrstate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<string>", line 20, in test_invalid
AssertionError: Did not raise an invalid error

======================================================================
FAIL: Test that half raises the correct underflows and overflows
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/tests/test_half.py", line 407, in test_half_fpe
    assert_raises_fpe('invalid', np.divide, float16(np.inf), float16(np.inf))
  File "/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/tests/test_half.py", line 15, in assert_raises_fpe
    "Did not raise floating point %s error" % strmatch)
  File "/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.6/dist-packages/numpy/testing/utils.py", line 34, in assert_
    raise AssertionError(msg)
AssertionError: Did not raise floating point invalid error

======================================================================
FAIL: test_divide_err (test_numeric.TestSeterr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/tests/test_numeric.py", line 257, in test_divide_err
    self.fail()
AssertionError

======================================================================
FAIL: test_special_values (test_umath_complex.TestClog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.6/dist-packages/numpy/testing/decorators.py", line 146, in skipper_func
    return f(*args, **kwargs)
  File "/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/tests/test_umath_complex.py", line 168, in test_special_values
    self.assertRaises(FloatingPointError, np.log, x)
AssertionError: FloatingPointError not raised

----------------------------------------------------------------------
Ran 4792 tests in 527.158s

FAILED (KNOWNFAIL=5, SKIP=5, failures=4)
Running unit tests for numpy
NumPy version 1.7.0b1
NumPy is installed in /build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.6/dist-packages/numpy
Python version 2.6.8 (unknown, Jun 28 2012, 22:22:11) [GCC 4.6.3]
nose version 1.1.2
[1491377 refs]
# Python 3.2 maps to python3/ dir alone? bah
for v in 3.2 ; do \
        echo "-- running tests for "$v" plain --" ; \
        python$v -c "import sys ; sys.path.insert(0, '/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python3/dist-packages/') ; import numpy; numpy.test()" ; \
        echo "-- running tests for "$v" debug --" ; \
        python$v-dbg -c "import sys ; sys.path.insert(0, '/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python3/dist-packages/') ; import numpy; numpy.test()" ; \
    done
-- running tests for 3.2 plain --
/usr/lib/python3/dist-packages/nose/core.py:247: ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/lib/python3/dist-packages/nose/usage.txt' mode='r' encoding='ANSI_X3.4-1968'>
  os.path.dirname(__file__), 'usage.txt'), 'r').read()
....................................................................................................................................................................................................F..................F...................................................................................S.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K........................................................................F................................................................................................................SSS..........................................................................................K....................................................................................................................................................................................................................K....................................................................................................K......................K.F............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................../usr/lib/python3.2/zipfile.py:1317: ResourceWarning: unclosed file <_io.BufferedReader name='/tmp/tmprwhr3v.npz'>
  self.fp = None
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K....................................................
======================================================================
FAIL: test_invalid (test_errstate.TestErrstate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<string>", line 20, in test_invalid
AssertionError: Did not raise an invalid error

======================================================================
FAIL: Test that half raises the correct underflows and overflows
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_half.py", line 407, in test_half_fpe
    assert_raises_fpe('invalid', np.divide, float16(np.inf), float16(np.inf))
  File "/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_half.py", line 15, in assert_raises_fpe
    "Did not raise floating point %s error" % strmatch)
  File "/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python3/dist-packages/numpy/testing/utils.py", line 34, in assert_
    raise AssertionError(msg)
AssertionError: Did not raise floating point invalid error

======================================================================
FAIL: test_divide_err (test_numeric.TestSeterr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_numeric.py", line 257, in test_divide_err
    self.fail()
AssertionError: None

======================================================================
FAIL: test_special_values (test_umath_complex.TestClog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python3/dist-packages/numpy/testing/decorators.py", line 147, in skipper_func
    return f(*args, **kwargs)
  File "/build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_umath_complex.py", line 168, in test_special_values
    self.assertRaises(FloatingPointError, np.log, x)
AssertionError: FloatingPointError not raised by log

----------------------------------------------------------------------
Ran 4791 tests in 326.607s

FAILED (KNOWNFAIL=6, SKIP=4, failures=4)
Running unit tests for numpy
NumPy version 1.7.0b1
NumPy is installed in /build/buildd-python-numpy_1.7.0~b1-1-armel-FrUYvh/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python3/dist-packages/numpy
Python version 3.2.3 (default, Aug 27 2012, 01:54:57) [GCC 4.6.3]
nose version 1.1.2
-- running tests for 3.2 debug --
/usr/lib/python3/dist-packages/nose/core.py:247: ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/lib/python3/dist-packages/nose/usage.txt' mode='r' encoding='ANSI_X3.4-1968'>
  os.path.dirname(__file__), 'usage.txt'), 'r').read()
..........................................................................................................................python3.2-dbg: numpy/core/src/multiarray/common.c:161: PyArray_DTypeFromObjectHelper: Assertion `((((((PyObject*)(temp))->ob_type))->tp_flags & ((1L<<27))) != 0)' failed.
Aborted

Full build log is available at: https://buildd.debian.org/status/fetch.php?pkg=python-numpy&arch=armel&ver=1%3A1.7.0~b1-1&stamp=1346468161

Regards,
Sandro

Contributor

sandrotosi commented Sep 30, 2012

With beta2 these are the tests failures on this architecture:

-- running tests for 2.7 plain --
.....................................................................................................................................................................................................F..................F...................................................................................S.............................................................................................................................S....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K........................................................................F................................................................................................................SSS....................................................................................................................................................................................................................................................................................................................K....................................................................................................K......................K.F............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K....................................................
======================================================================
FAIL: test_invalid (test_errstate.TestErrstate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<string>", line 20, in test_invalid
AssertionError: Did not raise an invalid error

======================================================================
FAIL: Test that half raises the correct underflows and overflows
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/tests/test_half.py", line 407, in test_half_fpe
    assert_raises_fpe('invalid', np.divide, float16(np.inf), float16(np.inf))
  File "/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/tests/test_half.py", line 15, in assert_raises_fpe
    "Did not raise floating point %s error" % strmatch)
  File "/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 34, in assert_
    raise AssertionError(msg)
AssertionError: Did not raise floating point invalid error

======================================================================
FAIL: test_divide_err (test_numeric.TestSeterr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/tests/test_numeric.py", line 257, in test_divide_err
    self.fail()
AssertionError: None

======================================================================
FAIL: test_special_values (test_umath_complex.TestClog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/testing/decorators.py", line 146, in skipper_func
    return f(*args, **kwargs)
  File "/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/tests/test_umath_complex.py", line 168, in test_special_values
    self.assertRaises(FloatingPointError, np.log, x)
AssertionError: FloatingPointError not raised

----------------------------------------------------------------------
Ran 4800 tests in 278.375s

FAILED (KNOWNFAIL=5, SKIP=5, failures=4)
Running unit tests for numpy
NumPy version 1.7.0b2
NumPy is installed in /build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy
Python version 2.7.3 (default, Sep 10 2012, 07:08:06) [GCC 4.6.3]
nose version 1.1.2
1
-- running tests for 2.7 debug --
.....................................................................................................................................................................................................F..................F...................................................................................S.............................................................................................................................S....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K........................................................................F................................................................................................................SSS....................................................................................................................................................................................................................................................................................................................K....................................................................................................K......................K.F............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K....................................................
======================================================================
FAIL: test_invalid (test_errstate.TestErrstate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<string>", line 20, in test_invalid
AssertionError: Did not raise an invalid error

======================================================================
FAIL: Test that half raises the correct underflows and overflows
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/tests/test_half.py", line 407, in test_half_fpe
    assert_raises_fpe('invalid', np.divide, float16(np.inf), float16(np.inf))
  File "/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/tests/test_half.py", line 15, in assert_raises_fpe
    "Did not raise floating point %s error" % strmatch)
  File "/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 34, in assert_
    raise AssertionError(msg)
AssertionError: Did not raise floating point invalid error

======================================================================
FAIL: test_divide_err (test_numeric.TestSeterr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/tests/test_numeric.py", line 257, in test_divide_err
    self.fail()
AssertionError: None

======================================================================
FAIL: test_special_values (test_umath_complex.TestClog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/testing/decorators.py", line 146, in skipper_func
    return f(*args, **kwargs)
  File "/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/tests/test_umath_complex.py", line 168, in test_special_values
    self.assertRaises(FloatingPointError, np.log, x)
AssertionError: FloatingPointError not raised

----------------------------------------------------------------------
Ran 4800 tests in 503.262s

FAILED (KNOWNFAIL=5, SKIP=5, failures=4)
Running unit tests for numpy
NumPy version 1.7.0b2
NumPy is installed in /build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy
Python version 2.7.3 (default, Sep 10 2012, 03:55:23) [GCC 4.6.3]
nose version 1.1.2
1
[1508508 refs]
-- running tests for 2.6 plain --
.....................................................................................................................................................................................................F..................F...................................................................................S.............................................................................................................................S....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K........................................................................F................................................................................................................SSS....................................................................................................................................................................................................................................................................................................................K....................................................................................................K......................K.F............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K....................................................
======================================================================
FAIL: test_invalid (test_errstate.TestErrstate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<string>", line 20, in test_invalid
AssertionError: Did not raise an invalid error

======================================================================
FAIL: Test that half raises the correct underflows and overflows
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/tests/test_half.py", line 407, in test_half_fpe
    assert_raises_fpe('invalid', np.divide, float16(np.inf), float16(np.inf))
  File "/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/tests/test_half.py", line 15, in assert_raises_fpe
    "Did not raise floating point %s error" % strmatch)
  File "/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/testing/utils.py", line 34, in assert_
    raise AssertionError(msg)
AssertionError: Did not raise floating point invalid error

======================================================================
FAIL: test_divide_err (test_numeric.TestSeterr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/tests/test_numeric.py", line 257, in test_divide_err
    self.fail()
AssertionError

======================================================================
FAIL: test_special_values (test_umath_complex.TestClog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/testing/decorators.py", line 146, in skipper_func
    return f(*args, **kwargs)
  File "/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/tests/test_umath_complex.py", line 168, in test_special_values
    self.assertRaises(FloatingPointError, np.log, x)
AssertionError: FloatingPointError not raised

----------------------------------------------------------------------
Ran 4800 tests in 296.214s

FAILED (KNOWNFAIL=5, SKIP=5, failures=4)
Running unit tests for numpy
NumPy version 1.7.0b2
NumPy is installed in /build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy
Python version 2.6.8 (unknown, Jun 28 2012, 19:17:01) [GCC 4.6.3]
nose version 1.1.2
1
-- running tests for 2.6 debug --
.....................................................................................................................................................................................................F..................F...................................................................................S.............................................................................................................................S....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K........................................................................F................................................................................................................SSS....................................................................................................................................................................................................................................................................................................................K....................................................................................................K......................K.F............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K....................................................
======================================================================
FAIL: test_invalid (test_errstate.TestErrstate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<string>", line 20, in test_invalid
AssertionError: Did not raise an invalid error

======================================================================
FAIL: Test that half raises the correct underflows and overflows
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/tests/test_half.py", line 407, in test_half_fpe
    assert_raises_fpe('invalid', np.divide, float16(np.inf), float16(np.inf))
  File "/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/tests/test_half.py", line 15, in assert_raises_fpe
    "Did not raise floating point %s error" % strmatch)
  File "/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/testing/utils.py", line 34, in assert_
    raise AssertionError(msg)
AssertionError: Did not raise floating point invalid error

======================================================================
FAIL: test_divide_err (test_numeric.TestSeterr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/tests/test_numeric.py", line 257, in test_divide_err
    self.fail()
AssertionError

======================================================================
FAIL: test_special_values (test_umath_complex.TestClog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/testing/decorators.py", line 146, in skipper_func
    return f(*args, **kwargs)
  File "/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/tests/test_umath_complex.py", line 168, in test_special_values
    self.assertRaises(FloatingPointError, np.log, x)
AssertionError: FloatingPointError not raised

----------------------------------------------------------------------
Ran 4800 tests in 453.875s

FAILED (KNOWNFAIL=5, SKIP=5, failures=4)
Running unit tests for numpy
NumPy version 1.7.0b2
NumPy is installed in /build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy
Python version 2.6.8 (unknown, Jun 28 2012, 22:22:11) [GCC 4.6.3]
nose version 1.1.2
1
[1491962 refs]
# Python 3.2 maps to python3/ dir alone? bah
for v in 3.2 ; do \
        echo "-- running tests for "$v" plain --" ; \
        python$v -c "import sys ; sys.path.insert(0, '/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/') ; import numpy; numpy.test()" ; \
        echo "-- running tests for "$v" debug --" ; \
        python$v-dbg -c "import sys ; sys.path.insert(0, '/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/') ; import numpy; numpy.test()" ; \
    done
-- running tests for 3.2 plain --
/usr/lib/python3/dist-packages/nose/core.py:247: ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/lib/python3/dist-packages/nose/usage.txt' mode='r' encoding='ANSI_X3.4-1968'>
  os.path.dirname(__file__), 'usage.txt'), 'r').read()
..........................................................................................................................................................................S..........................F..................F...................................................................................S.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K........................................................................F................................................................................................................SSS............................................................................................K.......................................................................................................................................................................................................................K....................................................................................................K......................K.F................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................/usr/lib/python3.2/zipfile.py:1317: ResourceWarning: unclosed file <_io.BufferedReader name='/tmp/tmpmfhtf1.npz'>
  self.fp = None
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K....................................................
======================================================================
FAIL: test_invalid (test_errstate.TestErrstate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<string>", line 20, in test_invalid
AssertionError: Did not raise an invalid error

======================================================================
FAIL: Test that half raises the correct underflows and overflows
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_half.py", line 407, in test_half_fpe
    assert_raises_fpe('invalid', np.divide, float16(np.inf), float16(np.inf))
  File "/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_half.py", line 15, in assert_raises_fpe
    "Did not raise floating point %s error" % strmatch)
  File "/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/testing/utils.py", line 34, in assert_
    raise AssertionError(msg)
AssertionError: Did not raise floating point invalid error

======================================================================
FAIL: test_divide_err (test_numeric.TestSeterr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_numeric.py", line 257, in test_divide_err
    self.fail()
AssertionError: None

======================================================================
FAIL: test_special_values (test_umath_complex.TestClog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/testing/decorators.py", line 147, in skipper_func
    return f(*args, **kwargs)
  File "/build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_umath_complex.py", line 168, in test_special_values
    self.assertRaises(FloatingPointError, np.log, x)
AssertionError: FloatingPointError not raised by log

----------------------------------------------------------------------
Ran 4799 tests in 326.846s

FAILED (KNOWNFAIL=6, SKIP=5, failures=4)
Running unit tests for numpy
NumPy version 1.7.0b2
NumPy is installed in /build/buildd-python-numpy_1.7.0~b2-1-armel-AJgkDB/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy
Python version 3.2.3 (default, Sep 10 2012, 16:32:59) [GCC 4.6.3]
nose version 1.1.2
1
-- running tests for 3.2 debug --
/usr/lib/python3/dist-packages/nose/core.py:247: ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/lib/python3/dist-packages/nose/usage.txt' mode='r' encoding='ANSI_X3.4-1968'>
  os.path.dirname(__file__), 'usage.txt'), 'r').read()
..........................................................................................................................python3.2-dbg: numpy/core/src/multiarray/common.c:161: PyArray_DTypeFromObjectHelper: Assertion `((((((PyObject*)(temp))->ob_type))->tp_flags & ((1L<<27))) != 0)' failed.
Aborted

Full log available at: https://buildd.debian.org/status/fetch.php?pkg=python-numpy&arch=armel&ver=1%3A1.7.0~b2-1&stamp=1348960430

Owner

rgommers commented Sep 30, 2012

The underflow/overflow issues on PPC have been a problem for a long time: http://projects.scipy.org/numpy/ticket/1755.

IIRC @charris was of the opinion that this couldn't be solved in numpy itself in a reasonable way.

Owner

rgommers commented Dec 16, 2012

Propose to skip these tests on this platform. @sandrotosi what's the output of sys.platform here?

Contributor

certik commented Dec 27, 2012

We need to release. I don't know how to properly skip the tests on the platform unless we know sys.platform. I'll just leave this issue open but I am removing the 1.7 milestone from it.

Contributor

sandrotosi commented Dec 30, 2012

Sorry for the late reply. Are you sure you want sys.platform? that would be

$ python -c "import sys ; print (sys.platform)"
linux2

which is the same as my amd64 laptop. What I'd suggest to check is:

$ python -c "import platform ; print (platform.machine())"
armv5tel

which represents better the machine type

Owner

rgommers commented Jan 2, 2013

This should be fixed by gh-2879.

@rgommers rgommers closed this in 9ff6aed Jan 3, 2013

njsmith added a commit that referenced this issue Jan 3, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment