Ticket #17635: giva.log

File giva.log, 3.6 KB (added by dimpase, 4 years ago)

miniaes error log (gcc 6.1.1)

Line 
1Running doctests with ID 2016-08-26-16-21-02-59e9b2ee.
2Git branch: givaroupd
3Using --optional=mpir,python2,sage
4Doctesting 1 file.
5sage -t --long --warn-long 79.7 src/sage/crypto/block_cipher/miniaes.py
6**********************************************************************
7File "src/sage/crypto/block_cipher/miniaes.py", line 1762, in sage.crypto.block_cipher.miniaes.MiniAES.GF_to_integer
8Failed example:
9    maes.GF_to_integer(G)
10Expected:
11    Traceback (most recent call last):
12    ...
13    TypeError: input G must be an element of GF(16), a list of elements of GF(16), or a matrix over GF(16)
14Got:
15    <BLANKLINE>
16    Traceback (most recent call last):
17      File "/home/dima/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 498, in _run
18        self.compile_and_execute(example, compiler, test.globs)
19      File "/home/dima/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 861, in compile_and_execute
20        exec(compiled, globs)
21      File "<doctest sage.crypto.block_cipher.miniaes.MiniAES.GF_to_integer[23]>", line 1, in <module>
22        maes.GF_to_integer(G)
23      File "/home/dima/sage/local/lib/python2.7/site-packages/sage/crypto/block_cipher/miniaes.py", line 1789, in GF_to_integer
24        if G in K:
25      File "sage/structure/parent.pyx", line 1298, in sage.structure.parent.Parent.__contains__ (/home/dima/sage/src/build/cythonized/sage/structure/parent.c:10679)
26        x2 = self(x)
27      File "sage/structure/parent.pyx", line 1107, in sage.structure.parent.Parent.__call__ (/home/dima/sage/src/build/cythonized/sage/structure/parent.c:10003)
28        return mor._call_(x)
29      File "sage/structure/coerce_maps.pyx", line 110, in sage.structure.coerce_maps.DefaultConvertMap_unique._call_ (/home/dima/sage/src/build/cythonized/sage/structure/coerce_maps.c:4754)
30        raise
31      File "sage/structure/coerce_maps.pyx", line 105, in sage.structure.coerce_maps.DefaultConvertMap_unique._call_ (/home/dima/sage/src/build/cythonized/sage/structure/coerce_maps.c:4642)
32        return C._element_constructor(x)
33      File "/home/dima/sage/local/lib/python2.7/site-packages/sage/rings/finite_rings/finite_field_givaro.py", line 388, in _element_constructor_
34        return self._cache.element_from_data(e)
35      File "sage/rings/finite_rings/element_givaro.pyx", line 315, in sage.rings.finite_rings.element_givaro.Cache_givaro.element_from_data (/home/dima/sage/src/build/cythonized/sage/rings/finite_rings/element_givaro.cpp:7363)
36        cpdef FiniteField_givaroElement element_from_data(self, e):
37      File "sage/rings/finite_rings/element_givaro.pyx", line 378, in sage.rings.finite_rings.element_givaro.Cache_givaro.element_from_data (/home/dima/sage/src/build/cythonized/sage/rings/finite_rings/element_givaro.cpp:5585)
38        e_int = e % self.characteristic()
39      File "sage/rings/finite_rings/integer_mod.pyx", line 395, in sage.rings.finite_rings.integer_mod.IntegerMod_abstract.__mod__ (/home/dima/sage/src/build/cythonized/sage/rings/finite_rings/integer_mod.c:6323)
40        raise ArithmeticError(f"reduction modulo {modulus!r} not defined")
41    ArithmeticError: reduction modulo 2 not defined
42**********************************************************************
431 item had failures:
44   1 of  30 in sage.crypto.block_cipher.miniaes.MiniAES.GF_to_integer
45    [408 tests, 1 failure, 0.82 s]
46----------------------------------------------------------------------
47sage -t --long --warn-long 79.7 src/sage/crypto/block_cipher/miniaes.py  # 1 doctest failed
48----------------------------------------------------------------------
49Total time for all tests: 0.9 seconds
50    cpu time: 0.8 seconds
51    cumulative wall time: 0.8 seconds