Skip to content

Instantly share code, notes, and snippets.

@seibert
Created March 16, 2018 14:00
Show Gist options
  • Save seibert/92c8001bc506928f47f0866d95e2a64c to your computer and use it in GitHub Desktop.
Save seibert/92c8001bc506928f47f0866d95e2a64c to your computer and use it in GitHub Desktop.
Failing tests from numba + llvm5 on ARMv7 (using Berryconda builds of numpy and scipy):
======================================================================
ERROR: test_dot_vm (numba.tests.test_linalg.TestProduct)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 196, in test_dot_vm
self.check_dot_vm(dot2, dot3, "np.dot()")
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 165, in check_dot_vm
self.check_func_out(pyfunc3, cfunc3, (a, b), out)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 89, in check_func_out
self.assertIs(pyfunc(*args, out=expected), expected)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 33, in dot3
return np.dot(a, b, out=out)
ValueError: output array is not acceptable (must have the right datatype, number of dimensions, and be a C-Array)
======================================================================
ERROR: test_dot_mm (numba.tests.test_linalg.TestProduct)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 261, in test_dot_mm
self.check_dot_mm(dot2, dot3, "np.dot()")
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 232, in check_dot_mm
self.check_func_out(pyfunc3, cfunc3, (b.T, a.T), out)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 89, in check_func_out
self.assertIs(pyfunc(*args, out=expected), expected)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 33, in dot3
return np.dot(a, b, out=out)
ValueError: output array is not acceptable (must have the right datatype, number of dimensions, and be a C-Array)
======================================================================
FAIL: test_mul (numba.tests.test_npdatetime.TestTimedeltaArithmeticNoPython)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_npdatetime.py", line 328, in test_mul
check(TD(7, 'ps'), float('nan'), TD('NaT', 'ps'))
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_npdatetime.py", line 313, in check
self.assertPreciseEqual(f(a, b), expected)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/support.py", line 257, in assertPreciseEqual
self.fail("when comparing %s and %s: %s" % (first, second, failure_msg))
AssertionError: when comparing 0 picoseconds and NaT: numpy.timedelta64(0,'ps') != numpy.timedelta64('NaT','ps')
Stderr:
/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/unittest/case.py:819: FutureWarning: In the future, 'NAT == x' and 'x == NAT' will always be False.
if not first == second:
/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/unittest/case.py:819: FutureWarning: In the future, 'NAT == x' and 'x == NAT' will always be False.
if not first == second:
======================================================================
FAIL: test_multiply_dm_m (numba.tests.test_ufuncs.TestLoopTypesDatetimeNoPython)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_ufuncs.py", line 1515, in test_template
self._check_loop(fn, ufunc, loop)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_ufuncs.py", line 1472, in _check_loop
self._check_ufunc_with_dtypes(fn, ufunc, letter_types)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_ufuncs.py", line 1501, in _check_ufunc_with_dtypes
ulps=ulps)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/support.py", line 257, in assertPreciseEqual
self.fail("when comparing %s and %s: %s" % (first, second, failure_msg))
AssertionError: when comparing [ -4 0 3 'NaT' 'NaT' 0 -7 'NaT'] and [ -4 0 3 'NaT' 'NaT' 0 -7 0]: numpy.timedelta64('NaT','D') != numpy.timedelta64(0,'D') : ufunc 'multiply' arrays differ ([array([ 1.5, 0. , 1.5, nan, -3.5, 0. , -3.5, nan]), array([ -3, 0, 2, 'NaT', 'NaT', -3, 2, 0],
dtype='timedelta64[D]'), array([ -4, 0, 3, 'NaT', 'NaT', 0, -7, 0],
dtype='timedelta64[D]')]):
args: exact
expected [ -4 0 3 'NaT' 'NaT' 0 -7 'NaT']
got [ -4 0 3 'NaT' 'NaT' 0 -7 0]
Stderr:
/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/unittest/case.py:819: FutureWarning: In the future, 'NAT == x' and 'x == NAT' will always be False.
if not first == second:
======================================================================
FAIL: test_multiply_md_m (numba.tests.test_ufuncs.TestLoopTypesDatetimeNoPython)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_ufuncs.py", line 1515, in test_template
self._check_loop(fn, ufunc, loop)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_ufuncs.py", line 1472, in _check_loop
self._check_ufunc_with_dtypes(fn, ufunc, letter_types)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_ufuncs.py", line 1501, in _check_ufunc_with_dtypes
ulps=ulps)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/support.py", line 257, in assertPreciseEqual
self.fail("when comparing %s and %s: %s" % (first, second, failure_msg))
AssertionError: when comparing [ -7 'NaT' 3 0 0 'NaT' -4 'NaT'] and [ -7 'NaT' 3 0 0 'NaT' -4 0]: numpy.timedelta64('NaT','D') != numpy.timedelta64(0,'D') : ufunc 'multiply' arrays differ ([array([ 2, 'NaT', 2, 0, -3, 'NaT', -3, 0],
dtype='timedelta64[D]'), array([-3.5, nan, 1.5, 0. , 0. , -3.5, 1.5, nan]), array([ -7, 'NaT', 3, 0, 0, 'NaT', -4, 0],
dtype='timedelta64[D]')]):
args: exact
expected [ -7 'NaT' 3 0 0 'NaT' -4 'NaT']
got [ -7 'NaT' 3 0 0 'NaT' -4 0]
Stderr:
/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/unittest/case.py:819: FutureWarning: In the future, 'NAT == x' and 'x == NAT' will always be False.
if not first == second:
======================================================================
FAIL: test_linalg_eig (numba.tests.test_linalg.TestLinalgEigenSystems)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 1037, in test_linalg_eig
self.checker_for_linalg_eig("eig", eig_matrix, 2, True)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 1026, in checker_for_linalg_eig
check(A.astype(np.complex128))
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 958, in check
atol=resolution
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numpy/testing/nose_tools/utils.py", line 1396, in assert_allclose
verbose=verbose, header=header, equal_nan=equal_nan)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numpy/testing/nose_tools/utils.py", line 779, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=5e-15, atol=5e-15
(mismatch 50.0%)
x: array([[0.707107, 0.707107],
[1.414214, 1.414214]])
y: array([[ 0.707107, 0.707107],
[-1.414214, -1.414214]])
======================================================================
FAIL: test_linalg_cond (numba.tests.test_linalg.TestLinalgCond)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 2023, in test_linalg_cond
check(a)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 2003, in check
np.testing.assert_allclose(got, expected, rtol=resolution)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numpy/testing/nose_tools/utils.py", line 1396, in assert_allclose
verbose=verbose, header=header, equal_nan=equal_nan)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numpy/testing/nose_tools/utils.py", line 779, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=5e-15, atol=0
(mismatch 100.0%)
x: array(3.937083)
y: array(1.)
======================================================================
FAIL: test_linalg_matrix_power (numba.tests.test_linalg.TestLinalgMatrixPower)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 2204, in test_linalg_matrix_power
check(a, pwr)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 2192, in check
np.testing.assert_allclose(got, expected, rtol=res, atol=res)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numpy/testing/nose_tools/utils.py", line 1396, in assert_allclose
verbose=verbose, header=header, equal_nan=equal_nan)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numpy/testing/nose_tools/utils.py", line 779, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=5e-15, atol=5e-15
(mismatch 80.0%)
x: array([[ 0.039339+0.298858j, 0.041032+0.148797j, 0.122711+0.028555j,
-0.138753-0.558254j, 0.681703-0.271698j],
[-0.061698-0.148141j, 0.160576+0.084937j, -0.091332+0.127402j,...
y: array([[ 0.039339+0.298858j, -0.061698-0.148141j, 0.130265+0.124375j,
-0.13592 -0.076769j, 0.483797-0.769752j],
[ 0.041032+0.148797j, 0.160576+0.084937j, -0.308357-0.234036j,...
======================================================================
FAIL: test_linalg_matrix_rank (numba.tests.test_linalg.TestLinalgMatrixRank)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 2101, in test_linalg_matrix_rank
self.assertEqual(cfunc(a), k)
AssertionError: 5 != 1
======================================================================
FAIL: test_linalg_norm (numba.tests.test_linalg.TestLinalgNorm)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 1917, in test_linalg_norm
check(a, ord=nrm_type)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 1897, in check
np.testing.assert_allclose(got, expected, rtol=resolution)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numpy/testing/nose_tools/utils.py", line 1396, in assert_allclose
verbose=verbose, header=header, equal_nan=equal_nan)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numpy/testing/nose_tools/utils.py", line 779, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=5e-15, atol=0
(mismatch 100.0%)
x: array(3.041381)
y: array(9.340771)
======================================================================
FAIL: test_linalg_qr (numba.tests.test_linalg.TestLinalgQr)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 1225, in test_linalg_qr
check(a)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 1207, in check
atol=100 * resolution # zeros tend to be fuzzy
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numpy/testing/nose_tools/utils.py", line 1396, in assert_allclose
verbose=verbose, header=header, equal_nan=equal_nan)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numpy/testing/nose_tools/utils.py", line 779, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=1e-14, atol=1e-13
(mismatch 94.54545454545455%)
x: array([[-0.040051-0.100447j, 0.425109-0.040353j, -0.163838-0.090356j,
-0.132044+0.053146j, 0.278189-0.070176j, -0.129158+0.037101j,
-0.223313+0.179235j, 0.059808+0.19035 j, -0.146272+0.278971j,...
y: array([[-0.040051-0.100447j, -0.129158+0.037101j, -0.193146+0.447486j,
-0.106042+0.149893j, 0.032154+0.232117j, 0.433995-0.120041j,
0.191847+0.065701j, -0.14521 -0.202701j, 0.191431-0.118986j,...
======================================================================
FAIL: test_linalg_pinv (numba.tests.test_linalg.TestLinalgPinv)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 1685, in check
self.assert_is_identity_matrix(rec)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 593, in assert_is_identity_matrix
np.testing.assert_allclose(got, eye, rtol, atol)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numpy/testing/nose_tools/utils.py", line 1396, in assert_allclose
verbose=verbose, header=header, equal_nan=equal_nan)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numpy/testing/nose_tools/utils.py", line 779, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=5e-14, atol=5e-13
(mismatch 100.0%)
x: array([[ 0.255666+0.080643j, -0.154096+0.060022j, -0.127261-0.21399 j,
-0.053005-0.251257j, 0.13813 +0.196356j],
[-0.043606+0.447158j, 0.329503-0.318628j, -0.396453-0.701453j,...
y: array([[1.+0.j, 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j],
[0.+0.j, 1.+0.j, 0.+0.j, 0.+0.j, 0.+0.j],
[0.+0.j, 0.+0.j, 1.+0.j, 0.+0.j, 0.+0.j],...
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 1740, in test_linalg_pinv
check(a, rcond=approx_half_rank_rcond)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 1694, in check
atol=100 * resolution # zeros tend to be fuzzy
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numpy/testing/nose_tools/utils.py", line 1396, in assert_allclose
verbose=verbose, header=header, equal_nan=equal_nan)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numpy/testing/nose_tools/utils.py", line 779, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=5e-14, atol=5e-13
(mismatch 94.54545454545455%)
x: array([[-2.329673-1.081673j, -0.995651+0.082297j, -0.191067-1.861633j,
-0.814555+1.033382j, 0.794056-2.076568j],
[ 2.780286+0.976755j, 0.359427-0.618271j, -0.15099 -0.285444j,...
y: array([[-2.329673-1.081673j, 2.780286+0.976755j, 0.140556+1.391437j,
0.495559+0.015536j, 0.040966-2.850003j],
[ 0.726239+1.527949j, -0.569636-0.438145j, -1.317653-1.7217 j,...
======================================================================
FAIL: test_linalg_svd (numba.tests.test_linalg.TestLinalgSvd)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 1130, in test_linalg_svd
check(a, full_matrices=fmat)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 1111, in check
atol=100 * resolution # zeros tend to be fuzzy
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numpy/testing/nose_tools/utils.py", line 1396, in assert_allclose
verbose=verbose, header=header, equal_nan=equal_nan)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numpy/testing/nose_tools/utils.py", line 779, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=1e-14, atol=1e-13
(mismatch 91.42857142857143%)
x: array([[-0.0993 -9.539769e-02j, 0.539337-1.685472e-01j,
-0.095018-4.443318e-04j, -0.207551+1.325932e-01j,
-0.327733+2.536214e-01j, -0.006937+3.775311e-01j,...
y: array([[-0.0993 -9.539769e-02j, -0.006937+3.775311e-01j,
0.248369+9.259429e-02j, -0.157542-1.815409e-01j,
-0.205501+2.030505e-01j, -0.295819-7.752702e-02j,...
======================================================================
FAIL: test_dot_vv (numba.tests.test_linalg.TestProduct)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 132, in test_dot_vv
self.check_dot_vv(dot2, "np.dot()")
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 117, in check_dot_vv
self.check_func(pyfunc, cfunc, (a[::-1], b[::-1]))
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 82, in check_func
self.assertPreciseEqual(got, expected, ignore_sign_on_zero=True)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/support.py", line 257, in assertPreciseEqual
self.fail("when comparing %s and %s: %s" % (first, second, failure_msg))
AssertionError: when comparing (3+4j) and (-2.25+7j): 3.0 != -2.25
======================================================================
FAIL: test_linalg_solve (numba.tests.test_linalg.TestLinalgSolve)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 1580, in test_linalg_solve
check(A, B)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 1559, in check
atol=100 * resolution # zeros tend to be fuzzy
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numpy/testing/nose_tools/utils.py", line 1396, in assert_allclose
verbose=verbose, header=header, equal_nan=equal_nan)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numpy/testing/nose_tools/utils.py", line 779, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=1e-14, atol=1e-13
(mismatch 100.0%)
x: array([[0.+2. j],
[1.+1.5j],
[2.+1. j]])
y: array([[0.556728-0.022012j],
[0.835935+1.405207j],
[1.115142+2.832426j]])
======================================================================
FAIL: test_matmul_vv (numba.tests.test_linalg.TestProduct)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 268, in test_matmul_vv
self.check_dot_vv(matmul_usecase, "'@'")
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 117, in check_dot_vv
self.check_func(pyfunc, cfunc, (a[::-1], b[::-1]))
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 82, in check_func
self.assertPreciseEqual(got, expected, ignore_sign_on_zero=True)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/support.py", line 257, in assertPreciseEqual
self.fail("when comparing %s and %s: %s" % (first, second, failure_msg))
AssertionError: when comparing (3+4j) and (-2.25+7j): 3.0 != -2.25
======================================================================
FAIL: test_vdot (numba.tests.test_linalg.TestProduct)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 138, in test_vdot
self.check_dot_vv(vdot, "np.vdot()")
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 117, in check_dot_vv
self.check_func(pyfunc, cfunc, (a[::-1], b[::-1]))
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 82, in check_func
self.assertPreciseEqual(got, expected, ignore_sign_on_zero=True)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/support.py", line 257, in assertPreciseEqual
self.fail("when comparing %s and %s: %s" % (first, second, failure_msg))
AssertionError: when comparing (5+0j) and (12.25+0j): 5.0 != 12.25
======================================================================
FAIL: test_trace (numba.tests.test_linalg.TestTrace)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 2281, in test_trace
check(a, offset=offset)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_linalg.py", line 2265, in check
np.testing.assert_allclose(got, expected, rtol=res, atol=res)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numpy/testing/nose_tools/utils.py", line 1396, in assert_allclose
verbose=verbose, header=header, equal_nan=equal_nan)
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numpy/testing/nose_tools/utils.py", line 779, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=5e-15, atol=5e-15
(mismatch 100.0%)
x: array(-0.199383-1.0479j)
y: array(-0.159542-0.701766j)
======================================================================
FAIL: test_unsigned_refusal_to_vectorize (numba.tests.test_parfors.TestParforsVectorizer)
This checks that if fastmath is set and the underlying hardware
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_parfors.py", line 1660, in test_unsigned_refusal_to_vectorize
self.assertTrue('vsqrtsd' in v)
AssertionError: False is not true
======================================================================
FAIL: test_vectorizer_fastmath_asm (numba.tests.test_parfors.TestParforsVectorizer)
This checks that if fastmath is set and the underlying hardware
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pi/berryconda3/conda-bld/numba_1521205147395/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/numba/tests/test_parfors.py", line 1613, in test_vectorizer_fastmath_asm
self.assertTrue('vaddpd' in v)
AssertionError: False is not true
----------------------------------------------------------------------
Ran 6766 tests in 2277.867s
FAILED (failures=18, errors=2, skipped=246, expected failures=6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment