1.7.0b2 - Unittest errors building on Debian mipsel #468

Closed
sandrotosi opened this Issue Sep 30, 2012 · 3 comments

Comments

Projects
None yet
2 participants
Contributor

sandrotosi commented Sep 30, 2012

Hello,
when building 1.7.0b2 on Debian unstable mipsel the tests suite returns some RuntimeWarning:

-- running tests for 2.7 plain --
............................................................................................................................................................................................................................................................................................................S..../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/testing/utils.py:610: RuntimeWarning: invalid value encountered in equal
  chk_same_position(x == +inf, y == +inf, hasval='+inf')
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/testing/utils.py:611: RuntimeWarning: invalid value encountered in equal
  chk_same_position(x == -inf, y == -inf, hasval='-inf')
................./build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/tests/test_multiarray.py:800: RuntimeWarning: invalid value encountered in add
  a.real += [0, 0, 1, 1, 0, 1, np.nan, np.nan, np.nan]
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/tests/test_multiarray.py:801: RuntimeWarning: invalid value encountered in add
  a.imag += [0, 1, 0, 1, np.nan, np.nan, 0, 1, np.nan]
.../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/tests/test_multiarray.py:493: RuntimeWarning: invalid value encountered in add
  a.real += [np.nan, np.nan, np.nan, 1, 0, 1, 1, 0, 0]
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/tests/test_multiarray.py:494: RuntimeWarning: invalid value encountered in add
  a.imag += [np.nan, 1, 0, np.nan, np.nan, 1, 0, 1, 0]
.....................................................................................................S....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K...../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/numeric.py:2069: RuntimeWarning: invalid value encountered in multiply
  x = x * ones_like(cond)
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/numeric.py:2070: RuntimeWarning: invalid value encountered in multiply
  y = y * ones_like(cond)
.................................../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/numeric.py:1986: RuntimeWarning: invalid value encountered in subtract
  return all(less_equal(abs(x-y), atol + rtol * abs(y)))
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/numeric.py:1986: RuntimeWarning: invalid value encountered in absolute
  return all(less_equal(abs(x-y), atol + rtol * abs(y)))
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/numeric.py:1986: RuntimeWarning: invalid value encountered in less_equal
  return all(less_equal(abs(x-y), atol + rtol * abs(y)))
............../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/ma/core.py:950: RuntimeWarning: invalid value encountered in multiply
  result += m * da
...................................................................................................................................SSS......................................................................................................................................................................................................................................................................................../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/tests/test_umath.py:328: RuntimeWarning: invalid value encountered in arctan2
  assert_(np.isnan(ncu.arctan2(x, y)), "arctan(%s, %s) is %s, not nan" % (x, y, ncu.arctan2(x, y)))
............................K................................................................/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/tests/test_umath.py:1118: RuntimeWarning: invalid value encountered in nextafter
  assert_(np.isnan(np.nextafter(np.nan, one)))
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/tests/test_umath.py:1119: RuntimeWarning: invalid value encountered in nextafter
  assert_(np.isnan(np.nextafter(one, np.nan)))
.............../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/tests/test_umath_complex.py:477: RuntimeWarning: invalid value encountered in absolute
  return np.abs(np.complex(a, b))
................./build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/tests/test_umath_complex.py:556: RuntimeWarning: invalid value encountered in _arg
  assert_almost_equal(f(z1), x)
....K......................K........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................./build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/lib/npyio.py:1760: RuntimeWarning: invalid value encountered in equal
  outputmask[name] |= (output[name] == mval)
...................................................................................................................../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/lib/polynomial.py:224: RuntimeWarning: invalid value encountered in divide
  A[0, :] = -p[1:] / p[0]
...................................................................................................................................................................................................................................................................................................................................................................................................................................................../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/ma/core.py:801: RuntimeWarning: invalid value encountered in less
  return umath.less(x, self.critical_value)
.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/testing/utils.py:540: RuntimeWarning: invalid value encountered in double_scalars
  sc_desired = desired/scale
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/testing/utils.py:544: RuntimeWarning: invalid value encountered in double_scalars
  sc_actual = actual/scale
................K....................................................
----------------------------------------------------------------------
Ran 4800 tests in 188.140s

OK (KNOWNFAIL=5, SKIP=5)
Running unit tests for numpy
NumPy version 1.7.0b2
NumPy is installed in /build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy
Python version 2.7.3 (default, Sep 10 2012, 09:45:47) [GCC 4.6.3]
nose version 1.1.2
1
-- running tests for 2.7 debug --
............................................................................................................................................................................................................................................................................................................S.............................................................................................................................S....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K......................................../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/numeric.py:1986: RuntimeWarning: invalid value encountered in absolute
  return all(less_equal(abs(x-y), atol + rtol * abs(y)))
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/numeric.py:1986: RuntimeWarning: invalid value encountered in less_equal
  return all(less_equal(abs(x-y), atol + rtol * abs(y)))
.................................................................................................................................................SSS....................................................................................................................................................................................................................................................................................................................K................................................./build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/tests/test_umath.py:139: RuntimeWarning: invalid value encountered in power
  assert_complex_equal(np.power(zero, 0+1j), cnan)
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/tests/test_umath.py:143: RuntimeWarning: invalid value encountered in power
  assert_complex_equal(np.power(zero, -p), cnan)
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/core/tests/test_umath.py:144: RuntimeWarning: invalid value encountered in power
  assert_complex_equal(np.power(zero, -1+0.2j), cnan)
...................................................K......................K.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/ma/core.py:801: RuntimeWarning: invalid value encountered in less
  return umath.less(x, self.critical_value)
.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/testing/utils.py:540: RuntimeWarning: invalid value encountered in double_scalars
  sc_desired = desired/scale
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.7/dist-packages/numpy/testing/utils.py:544: RuntimeWarning: invalid value encountered in double_scalars
  sc_actual = actual/scale
................K....................................................
----------------------------------------------------------------------
Ran 4800 tests in 412.150s

OK (KNOWNFAIL=5, SKIP=5)
Running unit tests for numpy
NumPy version 1.7.0b2
NumPy is installed in /build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/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:05:32) [GCC 4.6.3]
nose version 1.1.2
1
[1520746 refs]
-- running tests for 2.6 plain --
............................................................................................................................................................................................................................................................................................................S..../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/testing/utils.py:610: RuntimeWarning: invalid value encountered in equal
  chk_same_position(x == +inf, y == +inf, hasval='+inf')
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/testing/utils.py:611: RuntimeWarning: invalid value encountered in equal
  chk_same_position(x == -inf, y == -inf, hasval='-inf')
................./build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/tests/test_multiarray.py:800: RuntimeWarning: invalid value encountered in add
  a.real += [0, 0, 1, 1, 0, 1, np.nan, np.nan, np.nan]
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/tests/test_multiarray.py:801: RuntimeWarning: invalid value encountered in add
  a.imag += [0, 1, 0, 1, np.nan, np.nan, 0, 1, np.nan]
.../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/tests/test_multiarray.py:493: RuntimeWarning: invalid value encountered in add
  a.real += [np.nan, np.nan, np.nan, 1, 0, 1, 1, 0, 0]
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/tests/test_multiarray.py:494: RuntimeWarning: invalid value encountered in add
  a.imag += [np.nan, 1, 0, np.nan, np.nan, 1, 0, 1, 0]
.....................................................................................................S....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K...../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/numeric.py:2069: RuntimeWarning: invalid value encountered in multiply
  x = x * ones_like(cond)
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/numeric.py:2070: RuntimeWarning: invalid value encountered in multiply
  y = y * ones_like(cond)
.................................../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/numeric.py:1986: RuntimeWarning: invalid value encountered in subtract
  return all(less_equal(abs(x-y), atol + rtol * abs(y)))
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/numeric.py:1986: RuntimeWarning: invalid value encountered in absolute
  return all(less_equal(abs(x-y), atol + rtol * abs(y)))
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/numeric.py:1986: RuntimeWarning: invalid value encountered in less_equal
  return all(less_equal(abs(x-y), atol + rtol * abs(y)))
............../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/ma/core.py:950: RuntimeWarning: invalid value encountered in multiply
  result += m * da
...................................................................................................................................SSS......................................................................................................................................................................................................................................................................................../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/tests/test_umath.py:328: RuntimeWarning: invalid value encountered in arctan2
  assert_(np.isnan(ncu.arctan2(x, y)), "arctan(%s, %s) is %s, not nan" % (x, y, ncu.arctan2(x, y)))
............................K................................................................/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/tests/test_umath.py:1118: RuntimeWarning: invalid value encountered in nextafter
  assert_(np.isnan(np.nextafter(np.nan, one)))
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/tests/test_umath.py:1119: RuntimeWarning: invalid value encountered in nextafter
  assert_(np.isnan(np.nextafter(one, np.nan)))
.............../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/tests/test_umath_complex.py:477: RuntimeWarning: invalid value encountered in absolute
  return np.abs(np.complex(a, b))
................./build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/tests/test_umath_complex.py:556: RuntimeWarning: invalid value encountered in _arg
  assert_almost_equal(f(z1), x)
....K......................K........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................./build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/lib/npyio.py:1760: RuntimeWarning: invalid value encountered in equal
  outputmask[name] |= (output[name] == mval)
...................................................................................................................../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/lib/polynomial.py:224: RuntimeWarning: invalid value encountered in divide
  A[0, :] = -p[1:] / p[0]
...................................................................................................................................................................................................................................................................................................................................................................................................................................................../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/ma/core.py:801: RuntimeWarning: invalid value encountered in less
  return umath.less(x, self.critical_value)
.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/testing/utils.py:540: RuntimeWarning: invalid value encountered in double_scalars
  sc_desired = desired/scale
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/testing/utils.py:544: RuntimeWarning: invalid value encountered in double_scalars
  sc_actual = actual/scale
................K....................................................
----------------------------------------------------------------------
Ran 4800 tests in 174.057s

OK (KNOWNFAIL=5, SKIP=5)
Running unit tests for numpy
NumPy version 1.7.0b2
NumPy is installed in /build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy
Python version 2.6.8 (unknown, Jun 26 2012, 07:20:45) [GCC 4.6.3]
nose version 1.1.2
1
-- running tests for 2.6 debug --
............................................................................................................................................................................................................................................................................................................S.............................................................................................................................S....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K......................................../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/numeric.py:1986: RuntimeWarning: invalid value encountered in absolute
  return all(less_equal(abs(x-y), atol + rtol * abs(y)))
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/numeric.py:1986: RuntimeWarning: invalid value encountered in less_equal
  return all(less_equal(abs(x-y), atol + rtol * abs(y)))
.................................................................................................................................................SSS....................................................................................................................................................................................................................................................................................................................K................................................./build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/tests/test_umath.py:139: RuntimeWarning: invalid value encountered in power
  assert_complex_equal(np.power(zero, 0+1j), cnan)
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/tests/test_umath.py:143: RuntimeWarning: invalid value encountered in power
  assert_complex_equal(np.power(zero, -p), cnan)
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/tests/test_umath.py:144: RuntimeWarning: invalid value encountered in power
  assert_complex_equal(np.power(zero, -1+0.2j), cnan)
...................................................K......................K.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/ma/core.py:801: RuntimeWarning: invalid value encountered in less
  return umath.less(x, self.critical_value)
.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/testing/utils.py:540: RuntimeWarning: invalid value encountered in double_scalars
  sc_desired = desired/scale
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy/testing/utils.py:544: RuntimeWarning: invalid value encountered in double_scalars
  sc_actual = actual/scale
................K....................................................
----------------------------------------------------------------------
Ran 4800 tests in 377.219s

OK (KNOWNFAIL=5, SKIP=5)
Running unit tests for numpy
NumPy version 1.7.0b2
NumPy is installed in /build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python2.6/dist-packages/numpy
Python version 2.6.8 (unknown, Jun 26 2012, 07:23:21) [GCC 4.6.3]
nose version 1.1.2
1
[1504200 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-mipsel-7uNwCe/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-mipsel-7uNwCe/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.................................................................................................................................S..../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/testing/utils.py:610: RuntimeWarning: invalid value encountered in equal
  chk_same_position(x == +inf, y == +inf, hasval='+inf')
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/testing/utils.py:611: RuntimeWarning: invalid value encountered in equal
  chk_same_position(x == -inf, y == -inf, hasval='-inf')
................./build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_multiarray.py:800: RuntimeWarning: invalid value encountered in add
  a.real += [0, 0, 1, 1, 0, 1, np.nan, np.nan, np.nan]
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_multiarray.py:801: RuntimeWarning: invalid value encountered in add
  a.imag += [0, 1, 0, 1, np.nan, np.nan, 0, 1, np.nan]
.../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_multiarray.py:493: RuntimeWarning: invalid value encountered in add
  a.real += [np.nan, np.nan, np.nan, 1, 0, 1, 1, 0, 0]
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_multiarray.py:494: RuntimeWarning: invalid value encountered in add
  a.imag += [np.nan, 1, 0, np.nan, np.nan, 1, 0, 1, 0]
.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K...../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/core/numeric.py:2070: RuntimeWarning: invalid value encountered in multiply
  x = x * ones_like(cond)
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/core/numeric.py:2071: RuntimeWarning: invalid value encountered in multiply
  y = y * ones_like(cond)
.................................../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/core/numeric.py:1987: RuntimeWarning: invalid value encountered in subtract
  return all(less_equal(abs(x-y), atol + rtol * abs(y)))
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/core/numeric.py:1987: RuntimeWarning: invalid value encountered in absolute
  return all(less_equal(abs(x-y), atol + rtol * abs(y)))
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/core/numeric.py:1987: RuntimeWarning: invalid value encountered in less_equal
  return all(less_equal(abs(x-y), atol + rtol * abs(y)))
............../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/ma/core.py:950: RuntimeWarning: invalid value encountered in multiply
  result += m * da
...................................................................................................................................SSS............................................................................................K.........................................................................................................................................................................................../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_umath.py:328: RuntimeWarning: invalid value encountered in arctan2
  assert_(np.isnan(ncu.arctan2(x, y)), "arctan(%s, %s) is %s, not nan" % (x, y, ncu.arctan2(x, y)))
............................K................................................................/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_umath.py:1118: RuntimeWarning: invalid value encountered in nextafter
  assert_(np.isnan(np.nextafter(np.nan, one)))
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_umath.py:1119: RuntimeWarning: invalid value encountered in nextafter
  assert_(np.isnan(np.nextafter(one, np.nan)))
.............../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_umath_complex.py:477: RuntimeWarning: invalid value encountered in absolute
  return np.abs(np.complex(a, b))
................./build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_umath_complex.py:556: RuntimeWarning: invalid value encountered in _arg
  assert_almost_equal(f(z1), x)
....K......................K........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................./build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/lib/npyio.py:1760: RuntimeWarning: invalid value encountered in equal
  outputmask[name] |= (output[name] == mval)
........................................./usr/lib/python3.2/zipfile.py:1317: ResourceWarning: unclosed file <_io.BufferedReader name='/tmp/tmpg13j_e.npz'>
  self.fp = None
............................................................................/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/lib/polynomial.py:224: RuntimeWarning: invalid value encountered in true_divide
  A[0, :] = -p[1:] / p[0]
...................................................................................................................................................................................................................................................................................................................................................................................................................................................../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/ma/core.py:801: RuntimeWarning: invalid value encountered in less
  return umath.less(x, self.critical_value)
.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................../build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/testing/utils.py:540: RuntimeWarning: invalid value encountered in double_scalars
  sc_desired = desired/scale
/build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/testing/utils.py:544: RuntimeWarning: invalid value encountered in double_scalars
  sc_actual = actual/scale
................K....................................................
----------------------------------------------------------------------
Ran 4799 tests in 214.874s

OK (KNOWNFAIL=6, SKIP=5)
Running unit tests for numpy
NumPy version 1.7.0b2
NumPy is installed in /build/buildd-python-numpy_1.7.0~b2-1-mipsel-7uNwCe/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy
Python version 3.2.3 (default, Sep 10 2012, 13:31:51) [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 builld log at: https://buildd.debian.org/status/fetch.php?pkg=python-numpy&arch=mipsel&ver=1%3A1.7.0~b2-1&stamp=1348958298

Contributor

sandrotosi commented Dec 30, 2012

Just to confirm those ResourceWarnings are still present in RC1

Owner

charris commented Feb 16, 2014

@sandrotosi What is the state of this.

Owner

charris commented Feb 17, 2014

Closing for lack of information.

charris closed this Feb 17, 2014

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