Your message dated Thu, 02 Apr 2020 20:24:41 +0000
with message-id <[email protected]>
and subject line Bug#955471: fixed in theano 1.0.4+dfsg-2
has caused the Debian Bug report #955471,
regarding theano: test failures
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
955471: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955471
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-theano
Version: 1.0.4-1
Severity: serious
Justification: at least one looks like a silently wrong answer

The tests passed (at least on amd64) when 1.0.4-1 was first uploaded, but 9 tests failed when it was rebuilt as 1.0.4-1+b1 (for Python 3.8, but I suspect the actual cause was numpy 1.17), and also fail in the 1.0.4-2 currently in salsa.

These failures don't fail the build (which is a bug in itself).

======================================================================
ERROR: test2 (theano.tensor.tests.test_sort.Test_sort)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/theano-1.0.4+dfsg/theano/compile/function_module.py", line 903, in __call__
    self.fn() if output_subset is None else\
  File "/build/theano-1.0.4+dfsg/theano/gof/op.py", line 892, in rval
    r = p(n, [x[0] for x in i], o)
File "/build/theano-1.0.4+dfsg/theano/tensor/sort.py", line 49, in perform
    z[0] = np.sort(a, axis, self.kind, self.order)
  File "<__array_function__ internals>", line 5, in sort
File "/usr/lib/python3/dist-packages/numpy/core/fromnumeric.py", line 970, in sort
    a.sort(axis=axis, kind=kind, order=order)
TypeError: only integer scalar arrays can be converted to a scalar index

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/build/theano-1.0.4+dfsg/theano/tensor/tests/test_sort.py", line 44, in test2
    gv = f(self.m_val, axis_val)
File "/build/theano-1.0.4+dfsg/theano/compile/function_module.py", line 914, in __call__
    gof.link.raise_with_op(
File "/build/theano-1.0.4+dfsg/theano/gof/link.py", line 325, in raise_with_op
    reraise(exc_type, exc_value, exc_trace)
  File "/usr/lib/python3/dist-packages/six.py", line 702, in reraise
    raise value.with_traceback(tb)
File "/build/theano-1.0.4+dfsg/theano/compile/function_module.py", line 903, in __call__
    self.fn() if output_subset is None else\
  File "/build/theano-1.0.4+dfsg/theano/gof/op.py", line 892, in rval
    r = p(n, [x[0] for x in i], o)
File "/build/theano-1.0.4+dfsg/theano/tensor/sort.py", line 49, in perform
    z[0] = np.sort(a, axis, self.kind, self.order)
  File "<__array_function__ internals>", line 5, in sort
File "/usr/lib/python3/dist-packages/numpy/core/fromnumeric.py", line 970, in sort
    a.sort(axis=axis, kind=kind, order=order)
TypeError: only integer scalar arrays can be converted to a scalar index
Apply node that caused the error: SortOp{quicksort, None}(<TensorType(float64, matrix)>, <TensorType(float64, scalar)>)
Toposort index: 0
Inputs types: [TensorType(float64, matrix), TensorType(float64, scalar)]
Inputs shapes: [(3, 2), ()]
Inputs strides: [(16, 8), ()]
Inputs values: ['not shown', array(0.)]
Outputs clients: [['output']]

Backtrace when the node is created(use Theano flag traceback.limit=N to make it longer):
  File "/usr/lib/python3/dist-packages/nose/suite.py", line 224, in run
    test(orig)
  File "/usr/lib/python3/dist-packages/nose/case.py", line 45, in __call__
    return self.run(*arg, **kwarg)
  File "/usr/lib/python3/dist-packages/nose/case.py", line 133, in run
    self.runTest(result)
  File "/usr/lib/python3/dist-packages/nose/case.py", line 151, in runTest
    test(result)
  File "/usr/lib/python3.8/unittest/case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/usr/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
File "/build/theano-1.0.4+dfsg/theano/tensor/tests/test_sort.py", line 41, in test2
    w = sort(a, axis)

HINT: Use the Theano flag 'exception_verbosity=high' for a debugprint and storage map footprint of this apply node.

======================================================================
ERROR: test4 (theano.tensor.tests.test_sort.Test_sort)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/theano-1.0.4+dfsg/theano/compile/function_module.py", line 903, in __call__
    self.fn() if output_subset is None else\
  File "/build/theano-1.0.4+dfsg/theano/gof/op.py", line 892, in rval
    r = p(n, [x[0] for x in i], o)
File "/build/theano-1.0.4+dfsg/theano/tensor/sort.py", line 49, in perform
    z[0] = np.sort(a, axis, self.kind, self.order)
  File "<__array_function__ internals>", line 5, in sort
File "/usr/lib/python3/dist-packages/numpy/core/fromnumeric.py", line 970, in sort
    a.sort(axis=axis, kind=kind, order=order)
TypeError: only integer scalar arrays can be converted to a scalar index

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/build/theano-1.0.4+dfsg/theano/tensor/tests/test_sort.py", line 62, in test4
    gv = f(self.m_val, axis_val)
File "/build/theano-1.0.4+dfsg/theano/compile/function_module.py", line 914, in __call__
    gof.link.raise_with_op(
File "/build/theano-1.0.4+dfsg/theano/gof/link.py", line 325, in raise_with_op
    reraise(exc_type, exc_value, exc_trace)
  File "/usr/lib/python3/dist-packages/six.py", line 702, in reraise
    raise value.with_traceback(tb)
File "/build/theano-1.0.4+dfsg/theano/compile/function_module.py", line 903, in __call__
    self.fn() if output_subset is None else\
  File "/build/theano-1.0.4+dfsg/theano/gof/op.py", line 892, in rval
    r = p(n, [x[0] for x in i], o)
File "/build/theano-1.0.4+dfsg/theano/tensor/sort.py", line 49, in perform
    z[0] = np.sort(a, axis, self.kind, self.order)
  File "<__array_function__ internals>", line 5, in sort
File "/usr/lib/python3/dist-packages/numpy/core/fromnumeric.py", line 970, in sort
    a.sort(axis=axis, kind=kind, order=order)
TypeError: only integer scalar arrays can be converted to a scalar index
Apply node that caused the error: SortOp{mergesort, None}(<TensorType(float64, matrix)>, <TensorType(float64, scalar)>)
Toposort index: 0
Inputs types: [TensorType(float64, matrix), TensorType(float64, scalar)]
Inputs shapes: [(3, 2), ()]
Inputs strides: [(16, 8), ()]
Inputs values: ['not shown', array(0.)]
Outputs clients: [['output']]

Backtrace when the node is created(use Theano flag traceback.limit=N to make it longer):
  File "/usr/lib/python3/dist-packages/nose/suite.py", line 224, in run
    test(orig)
  File "/usr/lib/python3/dist-packages/nose/case.py", line 45, in __call__
    return self.run(*arg, **kwarg)
  File "/usr/lib/python3/dist-packages/nose/case.py", line 133, in run
    self.runTest(result)
  File "/usr/lib/python3/dist-packages/nose/case.py", line 151, in runTest
    test(result)
  File "/usr/lib/python3.8/unittest/case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/usr/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
File "/build/theano-1.0.4+dfsg/theano/tensor/tests/test_sort.py", line 59, in test4
    l = sort(a, axis, "mergesort")

HINT: Use the Theano flag 'exception_verbosity=high' for a debugprint and storage map footprint of this apply node.

======================================================================
ERROR: theano.tensor.tests.test_var.test_numpy_method
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
File "/build/theano-1.0.4+dfsg/theano/tensor/tests/test_var.py", line 23, in test_numpy_method
    y = fct(x)
TypeError: must be real number, not TensorVariable

======================================================================
FAIL: test_good (theano.tensor.tests.test_basic.ClipTester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/theano-1.0.4+dfsg/theano/tensor/tests/test_basic.py", line 410, in test_good
    self.fail(("Test %s::%s: Output %s gave the wrong"
AssertionError: Test Elemwise{clip,no_inplace}::correct7: Output 0 gave the wrong value. With inputs [array([[-1.70586872, 2.46664369, -0.52189608, 4.84714482, 1.9208813 ],
       [ 1.28983643, -2.38914901, -1.67933224,  2.10808673,  3.58489085],
       [ 4.45900732, -3.70413992, -3.7683781 ,  1.87495988, -2.58993616],
       [-2.6853165 ,  2.19925062,  2.69281351,  1.39211517,  1.29298677],
[ 4.43245431, 3.63622689, -2.58812035, -3.32239248, 0.24149971]]), array(1.), array(-1.)], expected [[-1. -1. -1. -1. -1.]
 [-1. -1. -1. -1. -1.]
 [-1. -1. -1. -1. -1.]
 [-1. -1. -1. -1. -1.]
 [-1. -1. -1. -1. -1.]] (dtype float64), got [[ 1. -1.  1. -1. -1.]
 [-1.  1.  1. -1. -1.]
 [-1.  1.  1. -1.  1.]
 [ 1. -1. -1. -1. -1.]
[-1. -1. 1. 1. 1.]] (dtype float64). eps=0.000000 np.allclose returns False False

======================================================================
FAIL: test_scan_err1 (theano.gof.tests.test_compute_test_value.TestComputeTestValue)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/theano-1.0.4+dfsg/theano/gof/tests/test_compute_test_value.py", line 279, in test_scan_err1
    theano.scan(
ValueError: shapes (5,3) and (5,3) not aligned: 3 (dim 1) != 5 (dim 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/build/theano-1.0.4+dfsg/theano/gof/tests/test_compute_test_value.py", line 292, in test_scan_err1
    assert os.path.split(frame_info[0])[1] == expected, frame_info
AssertionError: <FrameSummary file /build/theano-1.0.4+dfsg/theano/tensor/basic.py, line 6105 in dot>

======================================================================
FAIL: test_vector_arguments (theano.tensor.tests.test_raw_random.T_random_function)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/theano-1.0.4+dfsg/theano/tensor/tests/test_raw_random.py", line 681, in test_vector_arguments
    self.assertRaises(ValueError, fc, post1c, [-4., -2], [-1, 0], [1])
AssertionError: ValueError not raised by <theano.compile.function_module.Function object at 0x7f13d9277fd0>

======================================================================
FAIL: test_vector_arguments (theano.tensor.tests.test_shared_randomstreams.T_SharedRandomStreams)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/theano-1.0.4+dfsg/theano/tensor/tests/test_shared_randomstreams.py", line 469, in test_vector_arguments
    self.assertRaises(ValueError, fc, [-4., -2], [-1, 0], [1])
AssertionError: ValueError not raised by <theano.compile.function_module.Function object at 0x7f13e5b898b0>

======================================================================
FAIL: test_remove0 (theano.sparse.tests.test_basic.Remove0Tester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/theano-1.0.4+dfsg/theano/sparse/tests/test_basic.py", line 2051, in test_remove0
    (x,), (mat,) = sparse_random_inputs(format, (6, 8),
File "/build/theano-1.0.4+dfsg/theano/sparse/tests/test_basic.py", line 164, in sparse_random_inputs
    assert not d.has_sorted_indices
AssertionError

======================================================================
FAIL: test_csm_unsorted (theano.sparse.tests.test_basic.test_csm)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/theano-1.0.4+dfsg/theano/sparse/tests/test_basic.py", line 1049, in test_csm_unsorted
    a = sparse_random_inputs(format, (8, 6), out_dtype=dtype,
File "/build/theano-1.0.4+dfsg/theano/sparse/tests/test_basic.py", line 164, in sparse_random_inputs
    assert not d.has_sorted_indices
AssertionError

----------------------------------------------------------------------
Ran 9 tests in 9.293s

FAILED (errors=3, failures=6)

--- End Message ---
--- Begin Message ---
Source: theano
Source-Version: 1.0.4+dfsg-2
Done: [email protected] (Rebecca N. Palmer)

We believe that the bug you reported is fixed in the latest version of
theano, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rebecca N. Palmer <[email protected]> (supplier of updated theano package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 02 Apr 2020 18:48:22 +0100
Source: theano
Architecture: source
Version: 1.0.4+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Rebecca N. Palmer <[email protected]>
Closes: 950463 955065 955471
Changes:
 theano (1.0.4+dfsg-2) unstable; urgency=medium
 .
   * Allow building with Sphinx 2.  (Closes: #955065)
   * Fix SyntaxWarnings.  (Closes: #950463)
   * Bump Standards-Version to 4.5.0 (no changes needed).
   * Fix exceptions / test failures with current numpy and scipy.
   * Fail the build on test failures.  With the above, Closes: #955471.
Checksums-Sha1:
 a26894967159a9841c2d55948038dd6f1d6fff6e 2726 theano_1.0.4+dfsg-2.dsc
 4591e355ebf6f029f5aa78ebb71e81d494b04586 100596 
theano_1.0.4+dfsg-2.debian.tar.xz
 67c34c6b8184fd3579f54a4def702fccb5381486 5645 
theano_1.0.4+dfsg-2_source.buildinfo
Checksums-Sha256:
 4fc48989a653c7de7f9aa729c76e3f21c3b206e92f0963d22bbedffb601dd2d4 2726 
theano_1.0.4+dfsg-2.dsc
 f2605620964eca89025b794e3ace2ea2e9c0f307cc9dd6d668bb8bd337e7f71e 100596 
theano_1.0.4+dfsg-2.debian.tar.xz
 0096e8866e04f8b3b00c62df4e5d32f1f2f70bc518d9cafe34432c1d6bb15302 5645 
theano_1.0.4+dfsg-2_source.buildinfo
Files:
 2ca069bd91646fce25a9970d5ab94da7 2726 science optional theano_1.0.4+dfsg-2.dsc
 3559349c957f7e97bde2f7a9425a0afd 100596 science optional 
theano_1.0.4+dfsg-2.debian.tar.xz
 eaee38defc719183946310bc178d6c28 5645 science optional 
theano_1.0.4+dfsg-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJMBAEBCgA2FiEEZ8sxEAXE7b4yF1MI3uUNDVZ+omYFAl6GN7YYHHJlYmVjY2Ff
cGFsbWVyQHpvaG8uY29tAAoJEN7lDQ1WfqJm1E0P/josMUDhKLd7rHQtcX4OJjZx
0GKFhoe4XYr4GH3lXvcUxLwrwmc4e1iIVvm4WwHH3DaA22IN3tycEy0rKOz56iE3
JJFIA6TWyeJz2stJ6ho23+YULMu8O3kZRZ7mcm0/FQpc5QtGM6bxUt/QkFG8A8v/
GDNIHA+ITDT6Xa8L7EKQi8fkJS00IRQOsmHFa47knX388SFPVQOP1FsetxfUwi+L
xIA+QHG7OBZTuabQ7ESvwKebcfkXdh0CF6wZASm7V+NYMKxYWIBV+RQzf+2I+qwr
78WiPwF+4quYMebND80Rxll4qhmbHb99PqkMB5V+6AvSH8voh7G4tVo4Iecj7zMD
pBaFuHQrn9r+Isa6GNQNfXoRNQqbCRREh/mdHqwnJ7vRfmkq3rma7BmnvO9nv6q0
2m6ZLa1davovfTHBBKgdc3fdb5jPvlopO5b48T3a+WYfg8vdR8FyeF/Zs1xSrBU1
LMFVlPfGsqBeGvc/qVGqw0h5n1SWKz3dM9Mi0VsRWlkCzZFIP6c83Y+0GrbMPAot
22TSXqo16d6Y4YScpEHjKRx1zWv277mhQzbjbb+SwfzvpOK//IxTz7v2z8u1ztKv
52PP3f0LhLubzTTGW2w/OFRRyt9u2zwuWIx2NYsTJQfHWZ5JJmPbSreBAA64clix
XqeaFIL6c7jK2CamFIsT
=a+G/
-----END PGP SIGNATURE-----

--- End Message ---
-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to