8000 1.7.0b1 - Unittest errors building on Debian kfreebsd-i386 · Issue #409 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

1.7.0b1 - Unittest errors building on Debian kfreebsd-i386 #409

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ou 8000 r terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sandrotosi opened this issue Sep 1, 2012 · 2 comments
Closed

1.7.0b1 - Unittest errors building on Debian kfreebsd-i386 #409

sandrotosi opened this issue Sep 1, 2012 · 2 comments
Milestone

Comments

@sandrotosi
Copy link
Contributor

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

-- running tests for 2.7 plain --
...........................................................................................................................................................................................................................................................................................................S...................................................................................................................................S......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K.........................................................................................................................................................................................SSS...............................................................................................................................................................................................................................................................................................................K....................................................................................................K...SK.S.......S.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K....................................................
----------------------------------------------------------------------
Ran 4764 tests in 25.392s

OK (KNOWNFAIL=5, SKIP=9)
Running unit tests for numpy
NumPy version 1.7.0b1
NumPy is installed in /build/buildd-python-numpy_1.7.0~b1-1-kfreebsd-i386-T39GUN/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.7/dist-packages/numpy
Python version 2.7.3 (default, Aug 26 2012, 13:49:11) [GCC 4.7.1]
nose version 1.1.2
-- running tests for 2.7 debug --
...........................................................................................................................................................................................................................................................................................................S...................................................................................................................................S......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K.........................................................................................................................................................................................SSS...............................................................................................................................................................................................................................................................................................................K.................................................E..................................................K...SK.S.......S.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K....................................................
======================================================================
ERROR: test_power_zero (test_umath.TestPower)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b1-1-kfreebsd-i386-T39GUN/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/tests/test_umath.py", line 139, in test_power_zero
    assert_complex_equal(np.power(zero, 0+1j), cnan)
RuntimeWarning: invalid value encountered in power

----------------------------------------------------------------------
Ran 4764 tests in 50.646s

FAILED (KNOWNFAIL=5, SKIP=9, errors=1)
Running unit tests for numpy
NumPy version 1.7.0b1
NumPy is installed in /build/buildd-python-numpy_1.7.0~b1-1-kfreebsd-i386-T39GUN/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.7/dist-packages/numpy
Python version 2.7.3 (default, Aug 26 2012, 13:52:04) [GCC 4.7.1]
nose version 1.1.2
[1658923 refs]
-- running tests for 2.6 plain --
...........................................................................................................................................................................................................................................................................................................S...................................................................................................................................S......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K.........................................................................................................................................................................................SSS...............................................................................................................................................................................................................................................................................................................K....................................................................................................K...SK.S.......S.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K....................................................
----------------------------------------------------------------------
Ran 4764 tests in 23.868s

OK (KNOWNFAIL=5, SKIP=9)
Running unit tests for numpy
NumPy version 1.7.0b1
NumPy is installed in /build/buildd-python-numpy_1.7.0~b1-1-kfreebsd-i386-T39GUN/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.6/dist-packages/numpy
Python version 2.6.8 (unknown, Jun 25 2012, 22:48:16) [GCC 4.7.0]
nose version 1.1.2
-- running tests for 2.6 debug --
...........................................................................................................................................................................................................................................................................................................S...................................................................................................................................S......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K.........................................................................................................................................................................................SSS...............................................................................................................................................................................................................................................................................................................K.................................................E..................................................K...SK.S.......S.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K....................................................
======================================================================
ERROR: test_power_zero (test_umath.TestPower)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b1-1-kfreebsd-i386-T39GUN/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/tests/test_umath.py", line 139, in test_power_zero
    assert_complex_equal(np.power(zero, 0+1j), cnan)
RuntimeWarning: invalid value encountered in power

----------------------------------------------------------------------
Ran 4764 tests in 45.545s

FAILED (KNOWNFAIL=5, SKIP=9, errors=1)
Running unit tests for numpy
NumPy version 1.7.0b1
NumPy is installed in /build/buildd-python-numpy_1.7.0~b1-1-kfreebsd-i386-T39GUN/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python2.6/dist-packages/numpy
Python version 2.6.8 (unknown, Jun 25 2012, 23:35:49) [GCC 4.7.0]
nose version 1.1.2
[1642465 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-kfreebsd-i386-T39GUN/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-kfreebsd-i386-T39GUN/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()
...........................................................................................................................................................................................................................................................................................................S.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K.........................................................................................................................................................................................SSS......................................................................
8000
....................K....................................................................................................................................................................................................................K....................................................................................................K...SK.S.......S..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................../usr/lib/python3.2/zipfile.py:1317: ResourceWarning: unclosed file <_io.BufferedReader name='/tmp/tmphc84d1.npz'>
  self.fp = None
.................................................................................................................................................................................................................S.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F................................................................K....................................................
======================================================================
FAIL: test_pareto (test_random.TestRandomDist)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b1-1-kfreebsd-i386-T39GUN/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python3/dist-packages/numpy/random/tests/test_random.py", line 363, in test_pareto
    np.testing.assert_array_almost_equal(actual, desired, decimal=15)
  File "/build/buildd-python-numpy_1.7.0~b1-1-kfreebsd-i386-T39GUN/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python3/dist-packages/numpy/testing/utils.py", line 811, in assert_array_almost_equal
    header=('Arrays are not almost equal to %d decimals' % decimal))
  File "/build/buildd-python-numpy_1.7.0~b1-1-kfreebsd-i386-T39GUN/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python3/dist-packages/numpy/testing/utils.py", line 644, in assert_array_compare
    raise AssertionError(msg)
AssertionError: 
Arrays are not almost equal to 15 decimals

(mismatch 100.0%)
 x: array([[  2.46852460e+03,   1.41286881e+03],
       [  5.28287797e+07,   6.57720981e+07],
       [  1.40840323e+02,   1.98390255e+05]])
 y: array([[  2.46852460e+03,   1.41286881e+03],
       [  5.28287797e+07,   6.57720981e+07],
       [  1.40840323e+02,   1.98390255e+05]])

----------------------------------------------------------------------
Ran 4763 tests in 38.711s

FAILED (KNOWNFAIL=6, SKIP=8, failures=1)
Running unit tests for numpy
NumPy version 1.7.0b1
NumPy is installed in /build/buildd-python-numpy_1.7.0~b1-1-kfreebsd-i386-T39GUN/python-numpy-1.7.0~b1/debian/tmp/usr/lib/python3/dist-packages/numpy
Python version 3.2.3 (default, Aug 27 2012, 11:15:49) [GCC 4.7.1]
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=kfreebsd-i386&ver=1%3A1.7.0~b1-1&stamp=1346418853

Regards,
Sandro

@sandrotosi
Copy link
Contributor Author

With beta2, the only failure is with 3.2 debug:

Running unit tests for numpy
NumPy version 1.7.0b2
NumPy is installed in /build/buildd-python-numpy_1.7.0~b2-1-kfreebsd-i386-1Xr1X2/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy
Python version 3.2.3 (default, Sep 10 2012, 12:22:38) [GCC 4.7.1]
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 build log at: https://buildd.debian.org/status/fetch.php?pkg=python-numpy&arch=kfreebsd-i386&ver=1%3A1.7.0~b2-1&stamp=1348947112

@certik
Copy link
Contributor
certik commented Nov 14, 2012

The last failure was fixed by 5ae12ea, so I am closing this.

@certik certik closed this as completed Nov 14, 2012
Sign up for free to join this conversation on GitHub. 4481 Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0