Sage 8.3.beta3 released

179 views
Skip to first unread message

Volker Braun

unread,
May 27, 2018, 1:43:34 PM5/27/18
to sage-release
As always, you can get the latest beta version from the "develop" git branch. Alternatively, the self-contained source tarball is at http://www.sagemath.org/download-latest.html


a1ec95954a (tag: 8.3.beta3, trac/develop) Updated SageMath version to 8.3.beta3
2734afca1c Trac #25417: Better restrictions on manifolds
bc425ff9c1 Trac #25209: Raise power/Laurent series to fractional powers
80fca0c029 Trac #25032: Upgrade to MathJax 2.7.4
f7f1575566 Trac #25159: Fix connected sum of knots
42f0758aea Trac #25234: Fix punctuations in headings of schemes modules
5ee20d6ff1 Trac #25424: Graphs: distance matrix and wrong error message
746f20abe1 Trac #25377: Let number_field_elements_from_algebraics() return result using same field as input
9439884f5c Trac #25429: Posets: Optimize connected_components()
aceee6e4b7 Trac #25428: Faster without_bounds()
9437333066 Trac #25427: Faster subposet()
1caba62983 Trac #25422: Posets: Optimize is_series_parallel()
f609753483 Trac #25417: Better restrictions on manifolds
3dd196d3a6 Trac #25414: 1/CIF(RIF(-1,1),0) results in infinite recursion
2b9bbc2f1d Trac #24994: convert mandelbrot/julia interact to jupyter notebook
6d1a6ea727 Trac #24984: py3: get rid of some filter in classical geometries
2ba42e7c14 Trac #10091: FAQ: Where is the source code for <function>?
5896c1214d Trac #17272: Use pivoting for Gaussian elimination on matrices over p-adics
8d6d25e704 Trac #25418: py3: collection of minor fixes where map/filter were expected to return lists
3534f1e479 Trac #25162: Implement orbit basis for partition algebras
86540c0939 Trac #25420: Posets: Optimize ordinal_summands()
37629d13b7 Trac #25415: pyflakes for sandpiles
8c058f5335 Trac #25413: the usual typo ticket
89acab5608 Trac #25412: py3 remove __cmp__ and cmp in the doc of modules
d8d3aa9a6a Trac #25411: pyflakes cleanup in databases, monoids and sets
7262a823fc Trac #25402: L-series for modular form has incorrectly shifted Taylor expansion
8590404949 Trac #25352: Biconnected components Boost interface
e11355fc66 Trac #25266: LatticePoset: Add is_sublattice_dismantlable
c17c3b8bdd Trac #25222: has_internet is broken
92306526f3 Trac #25151: Implement Q-basis and fundamental basis of WQSym
8891f050a0 Trac #25139: Add sage-spkg-uninstall script and use it when possible to remove packages
6a9966370e Trac #25123: Addition of Random Sampling method for closeness centrality to centrality.pyx
0e5328a1ed Trac #25106: Don't require matplotlib or sympy to run doctests
08981a1130 Trac #25048: Add DESTDIR support for tachyon, and other cleanup
76b74053cc Trac #24269: py3: first pass at getting pexpect interfaces working (gap + maxima)
7f1ce2551f Trac #22450: Improve README.md
ddf4b1e08f Trac #25409: pyflakes cleanup in clusters and crystals
a71886fc1b Trac #25407: pyflakes cleanup in misc
4d7c44b0cf Trac #25406: small pyflakes clean-up in coding and crypto
841c389eb9 Trac #25136: Add monomial basis to FQSym
997a92b879 Trac #23768: 4 octave test failures with -optional=sage,external
df6b9d3bf5 Trac #25398: Feature doctest for plantri broken
c81b255f60 Trac #25394: py3: detail of script to run notebook
c5525b3d84 Trac #25369: L-series values for certain modular forms computed incorrectly
faa6ed819e Trac #25353: fflas and linbox broken with gcc 8.1.0
e08eab21d5 Trac #25259: py3: buffet of minor fixes involving dict iterators
67d964e2d8 Trac #25172: Implement the Young quasi-Schur basis of QSym and dual
8bccf7c57a Trac #25141: Homomorphisms around FQSym, WQSym
df30ddb60b Trac #25086: Add DESTDIR support for nauty
fb52758ba6 Trac #24086: Atkin-Lehner normalisation issue
dd47cbf54a Trac #25370: prime_to_m_part function : Wrong docstring examples
e84235a8f1 Trac #25364: Fix pyflakes warnings in function_field_valuation
e605666053 Trac #25392: using https for www.win.tue.nl
9d3cfa69ce Trac #25160: Do not mangle Python stack traces in sphinx-build
6c84dcbe5b Trac #25155: Implement global options for WQSym
5ccb0a295f Trac #16511: Fix solve_right for matrices over IntegerModRing
cbcdabc1e3 Trac #25386: py3: correct one division in repr of givaro finite field element
d1c9fb9227 Trac #25381: py3: adding .items iterator to vectors
ea92ee7a6b Trac #25104: Multiplicative_order is broken over ramified extensions of Qp
6ef087bd3f Trac #25040: Update additional packages to use sdh_install
b4a14f9782 (tag: 8.3.beta2) Updated SageMath version to 8.3.beta2

Emmanuel Charpentier

unread,
May 28, 2018, 5:58:00 AM5/28/18
to sage-release
FWIW, on Debian testing running on core i7 ° 16 GB RAM, passes testlong with one timeout :
sage -t --long src/sage/rings/padics/padic_lattice_element.py  # Timed out
which passes with no  failure when ran standalone.

HTH,

--
Emmanuel Charpentier

David Loeffler

unread,
May 28, 2018, 12:30:09 PM5/28/18
to sage-r...@googlegroups.com
On 28 May 2018 at 10:58, Emmanuel Charpentier <emanuel.c...@gmail.com> wrote:
FWIW, on Debian testing running on core i7 ° 16 GB RAM, passes testlong with one timeout :
sage -t --long src/sage/rings/padics/padic_lattice_element.py  # Timed out
which passes with no  failure when ran standalone.

See #25431.

Sébastien Labbé

unread,
May 29, 2018, 4:17:31 AM5/29/18
to sage-release


On Sunday, May 27, 2018 at 7:43:34 PM UTC+2, Volker Braun wrote:

c17c3b8bdd Trac #25222: has_internet is broken

Now that has_internet is fixed, we can see a lot of broken doctests with tag internet (especially findstat, oeis and stock) :

----------------------------------------------------------------------
sage -t --long src/sage/databases/findstat.py  # 9 doctests failed
sage -t --long src/sage/geometry/lattice_polytope.py  # 1 doctest failed
sage -t --long src/sage/symbolic/integration/integral.py  # 1 doctest failed
sage -t --long src/sage/combinat/tutorial.py  # 2 doctests failed
sage -t --long src/sage/geometry/triangulation/point_configuration.py  # 1 doctest failed
sage -t --long src/sage/finance/stock.py  # 20 doctests failed
sage -t --long src/sage/combinat/designs/bibd.py  # 1 doctest failed
sage -t --long src/sage/combinat/words/paths.py  # 1 doctest failed
sage -t --long src/sage/structure/sage_object.pyx  # 2 doctests failed
sage -t --long src/sage/symbolic/integration/external.py  # 3 doctests failed
sage -t --long src/sage/geometry/polyhedron/ppl_lattice_polytope.py  # 5 doctests failed
sage -t --long src/sage/combinat/designs/ext_rep.py  # 1 doctest failed
sage -t --long src/doc/en/developer/coding_basics.rst  # 1 doctest failed
sage -t --long src/sage/repl/load.py  # 1 doctest failed
sage -t --long src/sage/geometry/fan_isomorphism.py  # 1 doctest failed
sage -t --long src/sage/combinat/integer_lists/invlex.pyx  # 1 doctest failed
sage -t --long src/sage/coding/databases.py  # 2 doctests failed
sage -t --long src/sage/geometry/polyhedron/base.py  # 4 doctests failed
sage -t --long src/sage/tests/cmdline.py  # 2 doctests failed
sage -t --long src/sage/databases/oeis.py  # 34 doctests failed
----------------------------------------------------------------------

It can be reproduced with the following command:

sage -tp --long --optional=sage,optional,external --logfile=logs/has_internet.log src/sage/tests/cmdline.py src/sage/geometry/polyhedron/base.py src/sage/geometry/lattice_polytope.py src/sage/geometry/triangulation/point_configuration.py src/sage/symbolic/integration/integral.py src/sage/combinat/tutorial.py src/sage/combinat/words/paths.py src/sage/geometry/polyhedron/ppl_lattice_polytope.py src/sage/combinat/designs/bibd.py src/sage/structure/sage_object.pyx src/sage/symbolic/integration/external.py src/sage/databases/oeis.py src/doc/en/developer/coding_basics.rst src/sage/coding/databases.py src/sage/geometry/fan_isomorphism.py src/sage/repl/load.py src/sage/combinat/integer_lists/invlex.pyx src/sage/databases/findstat.py src/sage/combinat/designs/ext_rep.py src/sage/finance/stock.py

Log is pasted here:

tsc...@ucdavis.edu

unread,
May 30, 2018, 12:02:11 PM5/30/18
to sage-release
I am getting consistent build failures on matrix/matrix2.pyx on two separate builds (both were incremental upgrades).

Best,
Travis

---------------------------------------

Using --optional=bliss,coxeter3,database_gap,database_mutation_class,dot2tex,gap_packages,libbraiding,libhomfly,meataxe,mpir,normaliz,pynormaliz,python2,sage
Doctesting 1 file using 8 threads.
sage -t ../matrix/matrix2.pyx
**********************************************************************
File "../matrix/matrix2.pyx", line 2112, in sage.matrix.matrix2.Matrix.minpoly
Failed example:
    factor(A.minpoly())
Exception raised:
    Traceback (most recent call last):
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 572, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 982, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.matrix.matrix2.Matrix.minpoly[1]>", line 1, in <module>
        factor(A.minpoly())
      File "sage/matrix/matrix2.pyx", line 2145, in sage.matrix.matrix2.Matrix.minpoly (build/cythonized/sage/matrix/matrix2.c:21087)
        while C.kernel().dimension() < e*h.degree():
      File "sage/matrix/matrix2.pyx", line 4348, in sage.matrix.matrix2.Matrix.left_kernel (build/cythonized/sage/matrix/matrix2.c:32459)
        K = self.transpose().right_kernel(*args, **kwds)
      File "sage/matrix/matrix2.pyx", line 4189, in sage.matrix.matrix2.Matrix.right_kernel (build/cythonized/sage/matrix/matrix2.c:31900)
        M = self.right_kernel_matrix(*args, **kwds)
      File "sage/matrix/matrix2.pyx", line 3801, in sage.matrix.matrix2.Matrix.right_kernel_matrix (build/cythonized/sage/matrix/matrix2.c:30749)
        format, M = self._right_kernel_matrix_over_field()
      File "sage/matrix/matrix2.pyx", line 3129, in sage.matrix.matrix2.Matrix._right_kernel_matrix_over_field (build/cythonized/sage/matrix/matrix2.c:27783)
        E = self.echelon_form(*args, **kwds)
      File "sage/matrix/matrix2.pyx", line 6819, in sage.matrix.matrix2.Matrix.echelon_form (build/cythonized/sage/matrix/matrix2.c:53817)
        v = E.echelonize(cutoff=cutoff, **kwds)
      File "sage/matrix/matrix2.pyx", line 6719, in sage.matrix.matrix2.Matrix.echelonize (build/cythonized/sage/matrix/matrix2.c:53217)
        self._echelon_in_place(algorithm)
      File "sage/matrix/matrix2.pyx", line 6984, in sage.matrix.matrix2.Matrix._echelon_in_place (build/cythonized/sage/matrix/matrix2.c:54854)
        A.rescale_row(r, a_inverse, c)
      File "sage/matrix/matrix0.pyx", line 3005, in sage.matrix.matrix0.Matrix.rescale_row (build/cythonized/sage/matrix/matrix0.c:21880)
        self.rescale_row_c(i, s, start_col)
      File "sage/matrix/matrix_gfpn_dense.pyx", line 944, in sage.matrix.matrix_gfpn_dense.Matrix_gfpn_dense.rescale_row_c (build/cythonized/sage/matrix/matrix_gfpn_dense.c:9339)
        raise ValueError("We can only rescale a full row of a non-empty matrix")
    ValueError: We can only rescale a full row of a non-empty matrix
**********************************************************************
File "../matrix/matrix2.pyx", line 2114, in sage.matrix.matrix2.Matrix.minpoly
Failed example:
    A.minpoly()(A) == 0
Exception raised:
    Traceback (most recent call last):
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 572, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 982, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.matrix.matrix2.Matrix.minpoly[2]>", line 1, in <module>
        A.minpoly()(A) == Integer(0)
      File "sage/matrix/matrix2.pyx", line 2145, in sage.matrix.matrix2.Matrix.minpoly (build/cythonized/sage/matrix/matrix2.c:21087)
        while C.kernel().dimension() < e*h.degree():
      File "sage/matrix/matrix2.pyx", line 4348, in sage.matrix.matrix2.Matrix.left_kernel (build/cythonized/sage/matrix/matrix2.c:32459)
        K = self.transpose().right_kernel(*args, **kwds)
      File "sage/matrix/matrix2.pyx", line 4189, in sage.matrix.matrix2.Matrix.right_kernel (build/cythonized/sage/matrix/matrix2.c:31900)
        M = self.right_kernel_matrix(*args, **kwds)
      File "sage/matrix/matrix2.pyx", line 3801, in sage.matrix.matrix2.Matrix.right_kernel_matrix (build/cythonized/sage/matrix/matrix2.c:30749)
        format, M = self._right_kernel_matrix_over_field()
      File "sage/matrix/matrix2.pyx", line 3129, in sage.matrix.matrix2.Matrix._right_kernel_matrix_over_field (build/cythonized/sage/matrix/matrix2.c:27783)
        E = self.echelon_form(*args, **kwds)
      File "sage/matrix/matrix2.pyx", line 6819, in sage.matrix.matrix2.Matrix.echelon_form (build/cythonized/sage/matrix/matrix2.c:53817)
        v = E.echelonize(cutoff=cutoff, **kwds)
      File "sage/matrix/matrix2.pyx", line 6719, in sage.matrix.matrix2.Matrix.echelonize (build/cythonized/sage/matrix/matrix2.c:53217)
        self._echelon_in_place(algorithm)
      File "sage/matrix/matrix2.pyx", line 6984, in sage.matrix.matrix2.Matrix._echelon_in_place (build/cythonized/sage/matrix/matrix2.c:54854)
        A.rescale_row(r, a_inverse, c)
      File "sage/matrix/matrix0.pyx", line 3005, in sage.matrix.matrix0.Matrix.rescale_row (build/cythonized/sage/matrix/matrix0.c:21880)
        self.rescale_row_c(i, s, start_col)
      File "sage/matrix/matrix_gfpn_dense.pyx", line 944, in sage.matrix.matrix_gfpn_dense.Matrix_gfpn_dense.rescale_row_c (build/cythonized/sage/matrix/matrix_gfpn_dense.c:9339)
        raise ValueError("We can only rescale a full row of a non-empty matrix")
    ValueError: We can only rescale a full row of a non-empty matrix
**********************************************************************
File "../matrix/matrix2.pyx", line 2122, in sage.matrix.matrix2.Matrix.minpoly
Failed example:
    factor(A.minpoly('y'))
Exception raised:
    Traceback (most recent call last):
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 572, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 982, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.matrix.matrix2.Matrix.minpoly[4]>", line 1, in <module>
        factor(A.minpoly('y'))
      File "sage/matrix/matrix2.pyx", line 2145, in sage.matrix.matrix2.Matrix.minpoly (build/cythonized/sage/matrix/matrix2.c:21087)
        while C.kernel().dimension() < e*h.degree():
      File "sage/matrix/matrix2.pyx", line 4348, in sage.matrix.matrix2.Matrix.left_kernel (build/cythonized/sage/matrix/matrix2.c:32459)
        K = self.transpose().right_kernel(*args, **kwds)
      File "sage/matrix/matrix2.pyx", line 4189, in sage.matrix.matrix2.Matrix.right_kernel (build/cythonized/sage/matrix/matrix2.c:31900)
        M = self.right_kernel_matrix(*args, **kwds)
      File "sage/matrix/matrix2.pyx", line 3801, in sage.matrix.matrix2.Matrix.right_kernel_matrix (build/cythonized/sage/matrix/matrix2.c:30749)
        format, M = self._right_kernel_matrix_over_field()
      File "sage/matrix/matrix2.pyx", line 3129, in sage.matrix.matrix2.Matrix._right_kernel_matrix_over_field (build/cythonized/sage/matrix/matrix2.c:27783)
        E = self.echelon_form(*args, **kwds)
      File "sage/matrix/matrix2.pyx", line 6819, in sage.matrix.matrix2.Matrix.echelon_form (build/cythonized/sage/matrix/matrix2.c:53817)
        v = E.echelonize(cutoff=cutoff, **kwds)
      File "sage/matrix/matrix2.pyx", line 6719, in sage.matrix.matrix2.Matrix.echelonize (build/cythonized/sage/matrix/matrix2.c:53217)
        self._echelon_in_place(algorithm)
      File "sage/matrix/matrix2.pyx", line 6984, in sage.matrix.matrix2.Matrix._echelon_in_place (build/cythonized/sage/matrix/matrix2.c:54854)
        A.rescale_row(r, a_inverse, c)
      File "sage/matrix/matrix0.pyx", line 3005, in sage.matrix.matrix0.Matrix.rescale_row (build/cythonized/sage/matrix/matrix0.c:21880)
        self.rescale_row_c(i, s, start_col)
      File "sage/matrix/matrix_gfpn_dense.pyx", line 944, in sage.matrix.matrix_gfpn_dense.Matrix_gfpn_dense.rescale_row_c (build/cythonized/sage/matrix/matrix_gfpn_dense.c:9339)
        raise ValueError("We can only rescale a full row of a non-empty matrix")
    ValueError: We can only rescale a full row of a non-empty matrix
**********************************************************************
File "../matrix/matrix2.pyx", line 3477, in sage.matrix.matrix2.Matrix.diagonal.right_kernel_matrix
Failed example:
    P = A.right_kernel_matrix(algorithm='default', basis='pivot'); P
Exception raised:
    Traceback (most recent call last):
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 572, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 982, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.matrix.matrix2.Matrix.diagonal.right_kernel_matrix[53]>", line 1, in <module>
        P = A.right_kernel_matrix(algorithm='default', basis='pivot'); P
      File "sage/matrix/matrix2.pyx", line 3801, in sage.matrix.matrix2.Matrix.right_kernel_matrix (build/cythonized/sage/matrix/matrix2.c:30749)
        format, M = self._right_kernel_matrix_over_field()
      File "sage/matrix/matrix2.pyx", line 3129, in sage.matrix.matrix2.Matrix._right_kernel_matrix_over_field (build/cythonized/sage/matrix/matrix2.c:27783)
        E = self.echelon_form(*args, **kwds)
      File "sage/matrix/matrix2.pyx", line 6819, in sage.matrix.matrix2.Matrix.echelon_form (build/cythonized/sage/matrix/matrix2.c:53817)
        v = E.echelonize(cutoff=cutoff, **kwds)
      File "sage/matrix/matrix2.pyx", line 6719, in sage.matrix.matrix2.Matrix.echelonize (build/cythonized/sage/matrix/matrix2.c:53217)
        self._echelon_in_place(algorithm)
      File "sage/matrix/matrix2.pyx", line 6984, in sage.matrix.matrix2.Matrix._echelon_in_place (build/cythonized/sage/matrix/matrix2.c:54854)
        A.rescale_row(r, a_inverse, c)
      File "sage/matrix/matrix0.pyx", line 3005, in sage.matrix.matrix0.Matrix.rescale_row (build/cythonized/sage/matrix/matrix0.c:21880)
        self.rescale_row_c(i, s, start_col)
      File "sage/matrix/matrix_gfpn_dense.pyx", line 944, in sage.matrix.matrix_gfpn_dense.Matrix_gfpn_dense.rescale_row_c (build/cythonized/sage/matrix/matrix_gfpn_dense.c:9339)
        raise ValueError("We can only rescale a full row of a non-empty matrix")
    ValueError: We can only rescale a full row of a non-empty matrix
**********************************************************************
File "../matrix/matrix2.pyx", line 3480, in sage.matrix.matrix2.Matrix.diagonal.right_kernel_matrix
Failed example:
    A*P.transpose() == zero_matrix(F, 3, 2)
Exception raised:
    Traceback (most recent call last):
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 572, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 982, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.matrix.matrix2.Matrix.diagonal.right_kernel_matrix[54]>", line 1, in <module>
        A*P.transpose() == zero_matrix(F, Integer(3), Integer(2))
      File "sage/structure/element.pyx", line 3676, in sage.structure.element.Matrix.__mul__ (build/cythonized/sage/structure/element.c:23479)
        return coercion_model.bin_op(left, right, mul)
      File "sage/structure/coerce.pyx", line 1227, in sage.structure.coerce.CoercionModel_cache_maps.bin_op (build/cythonized/sage/structure/coerce.c:10875)
        raise bin_op_exception(op, x, y)
    TypeError: unsupported operand parent(s) for *: 'Full MatrixSpace of 3 by 4 dense matrices over Finite Field in a of size 5^2' and 'Full MatrixSpace of 6 by 4 dense matrices over Finite Field of size 2'
**********************************************************************
File "../matrix/matrix2.pyx", line 3482, in sage.matrix.matrix2.Matrix.diagonal.right_kernel_matrix
Failed example:
    E = A.right_kernel_matrix(algorithm='default', basis='echelon'); E
Exception raised:
    Traceback (most recent call last):
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 572, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 982, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.matrix.matrix2.Matrix.diagonal.right_kernel_matrix[55]>", line 1, in <module>
        E = A.right_kernel_matrix(algorithm='default', basis='echelon'); E
      File "sage/matrix/matrix2.pyx", line 3801, in sage.matrix.matrix2.Matrix.right_kernel_matrix (build/cythonized/sage/matrix/matrix2.c:30749)
        format, M = self._right_kernel_matrix_over_field()
      File "sage/matrix/matrix2.pyx", line 3129, in sage.matrix.matrix2.Matrix._right_kernel_matrix_over_field (build/cythonized/sage/matrix/matrix2.c:27783)
        E = self.echelon_form(*args, **kwds)
      File "sage/matrix/matrix2.pyx", line 6819, in sage.matrix.matrix2.Matrix.echelon_form (build/cythonized/sage/matrix/matrix2.c:53817)
        v = E.echelonize(cutoff=cutoff, **kwds)
      File "sage/matrix/matrix2.pyx", line 6719, in sage.matrix.matrix2.Matrix.echelonize (build/cythonized/sage/matrix/matrix2.c:53217)
        self._echelon_in_place(algorithm)
      File "sage/matrix/matrix2.pyx", line 6984, in sage.matrix.matrix2.Matrix._echelon_in_place (build/cythonized/sage/matrix/matrix2.c:54854)
        A.rescale_row(r, a_inverse, c)
      File "sage/matrix/matrix0.pyx", line 3005, in sage.matrix.matrix0.Matrix.rescale_row (build/cythonized/sage/matrix/matrix0.c:21880)
        self.rescale_row_c(i, s, start_col)
      File "sage/matrix/matrix_gfpn_dense.pyx", line 944, in sage.matrix.matrix_gfpn_dense.Matrix_gfpn_dense.rescale_row_c (build/cythonized/sage/matrix/matrix_gfpn_dense.c:9339)
        raise ValueError("We can only rescale a full row of a non-empty matrix")
    ValueError: We can only rescale a full row of a non-empty matrix
**********************************************************************
File "../matrix/matrix2.pyx", line 3485, in sage.matrix.matrix2.Matrix.diagonal.right_kernel_matrix
Failed example:
    A*E.transpose() == zero_matrix(F, 3, 2)
Exception raised:
    Traceback (most recent call last):
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 572, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 982, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.matrix.matrix2.Matrix.diagonal.right_kernel_matrix[56]>", line 1, in <module>
        A*E.transpose() == zero_matrix(F, Integer(3), Integer(2))
      File "sage/structure/element.pyx", line 3676, in sage.structure.element.Matrix.__mul__ (build/cythonized/sage/structure/element.c:23479)
        return coercion_model.bin_op(left, right, mul)
      File "sage/structure/coerce.pyx", line 1227, in sage.structure.coerce.CoercionModel_cache_maps.bin_op (build/cythonized/sage/structure/coerce.c:10875)
        raise bin_op_exception(op, x, y)
    TypeError: unsupported operand parent(s) for *: 'Full MatrixSpace of 3 by 4 dense matrices over Finite Field in a of size 5^2' and 'Full MatrixSpace of 6 by 4 dense matrices over Finite Field of size 2'
**********************************************************************
File "../matrix/matrix2.pyx", line 3517, in sage.matrix.matrix2.Matrix.diagonal.right_kernel_matrix
Failed example:
    A.right_kernel(algorithm='default')
Exception raised:
    Traceback (most recent call last):
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 572, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 982, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.matrix.matrix2.Matrix.diagonal.right_kernel_matrix[65]>", line 1, in <module>
        A.right_kernel(algorithm='default')
      File "sage/matrix/matrix2.pyx", line 4189, in sage.matrix.matrix2.Matrix.right_kernel (build/cythonized/sage/matrix/matrix2.c:31900)
        M = self.right_kernel_matrix(*args, **kwds)
      File "sage/matrix/matrix2.pyx", line 3801, in sage.matrix.matrix2.Matrix.right_kernel_matrix (build/cythonized/sage/matrix/matrix2.c:30749)
        format, M = self._right_kernel_matrix_over_field()
      File "sage/matrix/matrix2.pyx", line 3129, in sage.matrix.matrix2.Matrix._right_kernel_matrix_over_field (build/cythonized/sage/matrix/matrix2.c:27783)
        E = self.echelon_form(*args, **kwds)
      File "sage/matrix/matrix2.pyx", line 6819, in sage.matrix.matrix2.Matrix.echelon_form (build/cythonized/sage/matrix/matrix2.c:53817)
        v = E.echelonize(cutoff=cutoff, **kwds)
      File "sage/matrix/matrix2.pyx", line 6719, in sage.matrix.matrix2.Matrix.echelonize (build/cythonized/sage/matrix/matrix2.c:53217)
        self._echelon_in_place(algorithm)
      File "sage/matrix/matrix2.pyx", line 6984, in sage.matrix.matrix2.Matrix._echelon_in_place (build/cythonized/sage/matrix/matrix2.c:54854)
        A.rescale_row(r, a_inverse, c)
      File "sage/matrix/matrix0.pyx", line 3005, in sage.matrix.matrix0.Matrix.rescale_row (build/cythonized/sage/matrix/matrix0.c:21880)
        self.rescale_row_c(i, s, start_col)
      File "sage/matrix/matrix_gfpn_dense.pyx", line 944, in sage.matrix.matrix_gfpn_dense.Matrix_gfpn_dense.rescale_row_c (build/cythonized/sage/matrix/matrix_gfpn_dense.c:9339)
        raise ValueError("We can only rescale a full row of a non-empty matrix")
    ValueError: We can only rescale a full row of a non-empty matrix
**********************************************************************
File "../matrix/matrix2.pyx", line 3960, in sage.matrix.matrix2.Matrix.diagonal.right_kernel
Failed example:
    K = A.right_kernel(); K
Exception raised:
    Traceback (most recent call last):
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 572, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 982, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.matrix.matrix2.Matrix.diagonal.right_kernel[10]>", line 1, in <module>
        K = A.right_kernel(); K
      File "sage/matrix/matrix2.pyx", line 4189, in sage.matrix.matrix2.Matrix.right_kernel (build/cythonized/sage/matrix/matrix2.c:31900)
        M = self.right_kernel_matrix(*args, **kwds)
      File "sage/matrix/matrix2.pyx", line 3801, in sage.matrix.matrix2.Matrix.right_kernel_matrix (build/cythonized/sage/matrix/matrix2.c:30749)
        format, M = self._right_kernel_matrix_over_field()
      File "sage/matrix/matrix2.pyx", line 3129, in sage.matrix.matrix2.Matrix._right_kernel_matrix_over_field (build/cythonized/sage/matrix/matrix2.c:27783)
        E = self.echelon_form(*args, **kwds)
      File "sage/matrix/matrix2.pyx", line 6819, in sage.matrix.matrix2.Matrix.echelon_form (build/cythonized/sage/matrix/matrix2.c:53817)
        v = E.echelonize(cutoff=cutoff, **kwds)
      File "sage/matrix/matrix2.pyx", line 6719, in sage.matrix.matrix2.Matrix.echelonize (build/cythonized/sage/matrix/matrix2.c:53217)
        self._echelon_in_place(algorithm)
      File "sage/matrix/matrix2.pyx", line 6984, in sage.matrix.matrix2.Matrix._echelon_in_place (build/cythonized/sage/matrix/matrix2.c:54854)
        A.rescale_row(r, a_inverse, c)
      File "sage/matrix/matrix0.pyx", line 3005, in sage.matrix.matrix0.Matrix.rescale_row (build/cythonized/sage/matrix/matrix0.c:21880)
        self.rescale_row_c(i, s, start_col)
      File "sage/matrix/matrix_gfpn_dense.pyx", line 944, in sage.matrix.matrix_gfpn_dense.Matrix_gfpn_dense.rescale_row_c (build/cythonized/sage/matrix/matrix_gfpn_dense.c:9339)
        raise ValueError("We can only rescale a full row of a non-empty matrix")
    ValueError: We can only rescale a full row of a non-empty matrix
**********************************************************************
File "../matrix/matrix2.pyx", line 3965, in sage.matrix.matrix2.Matrix.diagonal.right_kernel
Failed example:
    A*K.basis_matrix().transpose() == zero_matrix(F, 3, 2)
Exception raised:
    Traceback (most recent call last):
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 572, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 982, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.matrix.matrix2.Matrix.diagonal.right_kernel[11]>", line 1, in <module>
        A*K.basis_matrix().transpose() == zero_matrix(F, Integer(3), Integer(2))
      File "sage/structure/element.pyx", line 3676, in sage.structure.element.Matrix.__mul__ (build/cythonized/sage/structure/element.c:23479)
        return coercion_model.bin_op(left, right, mul)
      File "sage/structure/coerce.pyx", line 1227, in sage.structure.coerce.CoercionModel_cache_maps.bin_op (build/cythonized/sage/structure/coerce.c:10875)
        raise bin_op_exception(op, x, y)
    TypeError: unsupported operand parent(s) for *: 'Full MatrixSpace of 3 by 4 dense matrices over Finite Field in a of size 5^2' and 'Full MatrixSpace of 7 by 4 dense matrices over Rational Field'
**********************************************************************
File "../matrix/matrix2.pyx", line 3976, in sage.matrix.matrix2.Matrix.diagonal.right_kernel
Failed example:
    P = B.right_kernel(basis = 'pivot'); P
Exception raised:
    Traceback (most recent call last):
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 572, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 982, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.matrix.matrix2.Matrix.diagonal.right_kernel[14]>", line 1, in <module>
        P = B.right_kernel(basis = 'pivot'); P
      File "sage/matrix/matrix2.pyx", line 4195, in sage.matrix.matrix2.Matrix.right_kernel (build/cythonized/sage/matrix/matrix2.c:32044)
        K = ambient.submodule_with_basis(M.rows(), already_echelonized=False, check=False)
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/modules/free_module.py", line 3375, in submodule_with_basis
        V = self.span_of_basis(basis=basis, check=check, already_echelonized=already_echelonized)
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/modules/free_module.py", line 3906, in span_of_basis
        self.ambient_module(), basis=basis, check=check, already_echelonized=already_echelonized)
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/modules/free_module.py", line 6763, in __init__
        echelonized_basis=echelonized_basis, already_echelonized=already_echelonized)
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/modules/free_module.py", line 5706, in __init__
        echelonized_basis = self._echelonized_basis(ambient, basis)
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/modules/free_module.py", line 6894, in _echelonized_basis
        E = A.echelon_form()
      File "sage/matrix/matrix2.pyx", line 6819, in sage.matrix.matrix2.Matrix.echelon_form (build/cythonized/sage/matrix/matrix2.c:53817)
        v = E.echelonize(cutoff=cutoff, **kwds)
      File "sage/matrix/matrix2.pyx", line 6719, in sage.matrix.matrix2.Matrix.echelonize (build/cythonized/sage/matrix/matrix2.c:53217)
        self._echelon_in_place(algorithm)
      File "sage/matrix/matrix2.pyx", line 6984, in sage.matrix.matrix2.Matrix._echelon_in_place (build/cythonized/sage/matrix/matrix2.c:54854)
        A.rescale_row(r, a_inverse, c)
      File "sage/matrix/matrix0.pyx", line 3005, in sage.matrix.matrix0.Matrix.rescale_row (build/cythonized/sage/matrix/matrix0.c:21880)
        self.rescale_row_c(i, s, start_col)
      File "sage/matrix/matrix_gfpn_dense.pyx", line 944, in sage.matrix.matrix_gfpn_dense.Matrix_gfpn_dense.rescale_row_c (build/cythonized/sage/matrix/matrix_gfpn_dense.c:9339)
        raise ValueError("We can only rescale a full row of a non-empty matrix")
    ValueError: We can only rescale a full row of a non-empty matrix
**********************************************************************
File "../matrix/matrix2.pyx", line 3985, in sage.matrix.matrix2.Matrix.diagonal.right_kernel
Failed example:
    B.parent()(B.list())*P.basis_matrix().transpose() == zero_matrix(F, 3, 2)
Exception raised:
    Traceback (most recent call last):
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 572, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 982, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.matrix.matrix2.Matrix.diagonal.right_kernel[15]>", line 1, in <module>
        B.parent()(B.list())*P.basis_matrix().transpose() == zero_matrix(F, Integer(3), Integer(2))
    NameError: name 'P' is not defined
**********************************************************************
File "../matrix/matrix2.pyx", line 3987, in sage.matrix.matrix2.Matrix.diagonal.right_kernel
Failed example:
    K == P
Exception raised:
    Traceback (most recent call last):
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 572, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 982, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.matrix.matrix2.Matrix.diagonal.right_kernel[16]>", line 1, in <module>
        K == P
    NameError: name 'P' is not defined
^[[6~^[[6**********************************************************************
File "../matrix/matrix2.pyx", line 10418, in sage.matrix.matrix2.Matrix.diagonal.is_diagonalizable
Failed example:
    A.jordan_form()
Exception raised:
    Traceback (most recent call last):
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 572, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 982, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.matrix.matrix2.Matrix.diagonal.is_diagonalizable[13]>", line 1, in <module>
        A.jordan_form()
      File "sage/matrix/matrix2.pyx", line 10239, in sage.matrix.matrix2.Matrix.jordan_form (build/cythonized/sage/matrix/matrix2.c:78021)
        ranks = [n, C.rank()]
      File "sage/matrix/matrix0.pyx", line 4343, in sage.matrix.matrix0.Matrix.rank (build/cythonized/sage/matrix/matrix0.c:30234)
        r = len(self.pivots())
      File "sage/matrix/matrix0.pyx", line 4300, in sage.matrix.matrix0.Matrix.pivots (build/cythonized/sage/matrix/matrix0.c:29923)
        self.echelon_form()
      File "sage/matrix/matrix2.pyx", line 6819, in sage.matrix.matrix2.Matrix.echelon_form (build/cythonized/sage/matrix/matrix2.c:53817)
        v = E.echelonize(cutoff=cutoff, **kwds)
      File "sage/matrix/matrix2.pyx", line 6719, in sage.matrix.matrix2.Matrix.echelonize (build/cythonized/sage/matrix/matrix2.c:53217)
        self._echelon_in_place(algorithm)
      File "sage/matrix/matrix2.pyx", line 6984, in sage.matrix.matrix2.Matrix._echelon_in_place (build/cythonized/sage/matrix/matrix2.c:54854)
        A.rescale_row(r, a_inverse, c)
      File "sage/matrix/matrix0.pyx", line 3005, in sage.matrix.matrix0.Matrix.rescale_row (build/cythonized/sage/matrix/matrix0.c:21880)
        self.rescale_row_c(i, s, start_col)
      File "sage/matrix/matrix_gfpn_dense.pyx", line 944, in sage.matrix.matrix_gfpn_dense.Matrix_gfpn_dense.rescale_row_c (build/cythonized/sage/matrix/matrix_gfpn_dense.c:9339)
        raise ValueError("We can only rescale a full row of a non-empty matrix")
    ValueError: We can only rescale a full row of a non-empty matrix
**********************************************************************
File "../matrix/matrix2.pyx", line 10424, in sage.matrix.matrix2.Matrix.diagonal.is_diagonalizable
Failed example:
    A.is_diagonalizable()
Exception raised:
    Traceback (most recent call last):
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 572, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 982, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.matrix.matrix2.Matrix.diagonal.is_diagonalizable[14]>", line 1, in <module>
        A.is_diagonalizable()
      File "sage/matrix/matrix2.pyx", line 10491, in sage.matrix.matrix2.Matrix.is_diagonalizable (build/cythonized/sage/matrix/matrix2.c:80817)
        gm = (self - e).right_kernel().dimension()
      File "sage/matrix/matrix2.pyx", line 4189, in sage.matrix.matrix2.Matrix.right_kernel (build/cythonized/sage/matrix/matrix2.c:31900)
        M = self.right_kernel_matrix(*args, **kwds)
      File "sage/matrix/matrix2.pyx", line 3801, in sage.matrix.matrix2.Matrix.right_kernel_matrix (build/cythonized/sage/matrix/matrix2.c:30749)
        format, M = self._right_kernel_matrix_over_field()
      File "sage/matrix/matrix2.pyx", line 3129, in sage.matrix.matrix2.Matrix._right_kernel_matrix_over_field (build/cythonized/sage/matrix/matrix2.c:27783)
        E = self.echelon_form(*args, **kwds)
      File "sage/matrix/matrix2.pyx", line 6819, in sage.matrix.matrix2.Matrix.echelon_form (build/cythonized/sage/matrix/matrix2.c:53817)
        v = E.echelonize(cutoff=cutoff, **kwds)
      File "sage/matrix/matrix2.pyx", line 6719, in sage.matrix.matrix2.Matrix.echelonize (build/cythonized/sage/matrix/matrix2.c:53217)
        self._echelon_in_place(algorithm)
      File "sage/matrix/matrix2.pyx", line 6984, in sage.matrix.matrix2.Matrix._echelon_in_place (build/cythonized/sage/matrix/matrix2.c:54854)
        A.rescale_row(r, a_inverse, c)
      File "sage/matrix/matrix0.pyx", line 3005, in sage.matrix.matrix0.Matrix.rescale_row (build/cythonized/sage/matrix/matrix0.c:21880)
        self.rescale_row_c(i, s, start_col)
      File "sage/matrix/matrix_gfpn_dense.pyx", line 944, in sage.matrix.matrix_gfpn_dense.Matrix_gfpn_dense.rescale_row_c (build/cythonized/sage/matrix/matrix_gfpn_dense.c:9339)
        raise ValueError("We can only rescale a full row of a non-empty matrix")
    ValueError: We can only rescale a full row of a non-empty matrix
**********************************************************************
File "../matrix/matrix2.pyx", line 10617, in sage.matrix.matrix2.Matrix.diagonal.is_similar
Failed example:
    _, T = A.is_similar(B, transformation=True)
Exception raised:
    Traceback (most recent call last):
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 572, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 982, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.matrix.matrix2.Matrix.diagonal.is_similar[12]>", line 1, in <module>
        _, T = A.is_similar(B, transformation=True)
      File "sage/matrix/matrix2.pyx", line 10846, in sage.matrix.matrix2.Matrix.is_similar (build/cythonized/sage/matrix/matrix2.c:82396)
        raise RuntimeError('unable to compute transformation for similar matrices')
    RuntimeError: unable to compute transformation for similar matrices
**********************************************************************
File "../matrix/matrix2.pyx", line 10618, in sage.matrix.matrix2.Matrix.diagonal.is_similar
Failed example:
    T
Expected:
    [      1       0       0]
    [6*a + 1 4*a + 3 4*a + 2]
    [6*a + 3 3*a + 5 3*a + 6]
Got:
    [   1    0    0]
    [-2/3  1/6 -5/6]
    [ 2/3    0 -1/3]
**********************************************************************
File "../matrix/matrix2.pyx", line 10622, in sage.matrix.matrix2.Matrix.diagonal.is_similar
Failed example:
    A == T.inverse()*B*T
Exception raised:
    Traceback (most recent call last):
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 572, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 982, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.matrix.matrix2.Matrix.diagonal.is_similar[14]>", line 1, in <module>
        A == T.inverse()*B*T
      File "sage/structure/element.pyx", line 3676, in sage.structure.element.Matrix.__mul__ (build/cythonized/sage/structure/element.c:23479)
        return coercion_model.bin_op(left, right, mul)
      File "sage/structure/coerce.pyx", line 1227, in sage.structure.coerce.CoercionModel_cache_maps.bin_op (build/cythonized/sage/structure/coerce.c:10875)
        raise bin_op_exception(op, x, y)
    TypeError: unsupported operand parent(s) for *: 'Full MatrixSpace of 3 by 3 dense matrices over Algebraic Field' and 'Full MatrixSpace of 3 by 3 dense matrices over Finite Field in a of size 7^2'
**********************************************************************
File "../matrix/matrix2.pyx", line 14686, in sage.matrix.matrix2.Matrix.diagonal.rational_form
Failed example:
    polys[-1] == A.minimal_polynomial()
Exception raised:
    Traceback (most recent call last):
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 572, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/travis/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 982, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.matrix.matrix2.Matrix.diagonal.rational_form[37]>", line 1, in <module>
        polys[-Integer(1)] == A.minimal_polynomial()
      File "sage/matrix/matrix2.pyx", line 2099, in sage.matrix.matrix2.Matrix.minimal_polynomial (build/cythonized/sage/matrix/matrix2.c:20534)
        return self.minpoly(var, **kwds)
      File "sage/matrix/matrix2.pyx", line 2145, in sage.matrix.matrix2.Matrix.minpoly (build/cythonized/sage/matrix/matrix2.c:21087)
        while C.kernel().dimension() < e*h.degree():
      File "sage/matrix/matrix2.pyx", line 4348, in sage.matrix.matrix2.Matrix.left_kernel (build/cythonized/sage/matrix/matrix2.c:32459)
        K = self.transpose().right_kernel(*args, **kwds)
      File "sage/matrix/matrix2.pyx", line 4189, in sage.matrix.matrix2.Matrix.right_kernel (build/cythonized/sage/matrix/matrix2.c:31900)
        M = self.right_kernel_matrix(*args, **kwds)
      File "sage/matrix/matrix2.pyx", line 3801, in sage.matrix.matrix2.Matrix.right_kernel_matrix (build/cythonized/sage/matrix/matrix2.c:30749)
        format, M = self._right_kernel_matrix_over_field()
      File "sage/matrix/matrix2.pyx", line 3129, in sage.matrix.matrix2.Matrix._right_kernel_matrix_over_field (build/cythonized/sage/matrix/matrix2.c:27783)
        E = self.echelon_form(*args, **kwds)
      File "sage/matrix/matrix2.pyx", line 6819, in sage.matrix.matrix2.Matrix.echelon_form (build/cythonized/sage/matrix/matrix2.c:53817)
        v = E.echelonize(cutoff=cutoff, **kwds)
      File "sage/matrix/matrix2.pyx", line 6719, in sage.matrix.matrix2.Matrix.echelonize (build/cythonized/sage/matrix/matrix2.c:53217)
        self._echelon_in_place(algorithm)
      File "sage/matrix/matrix2.pyx", line 6984, in sage.matrix.matrix2.Matrix._echelon_in_place (build/cythonized/sage/matrix/matrix2.c:54854)
        A.rescale_row(r, a_inverse, c)
      File "sage/matrix/matrix0.pyx", line 3005, in sage.matrix.matrix0.Matrix.rescale_row (build/cythonized/sage/matrix/matrix0.c:21880)
        self.rescale_row_c(i, s, start_col)
      File "sage/matrix/matrix_gfpn_dense.pyx", line 944, in sage.matrix.matrix_gfpn_dense.Matrix_gfpn_dense.rescale_row_c (build/cythonized/sage/matrix/matrix_gfpn_dense.c:9339)
        raise ValueError("We can only rescale a full row of a non-empty matrix")
    ValueError: We can only rescale a full row of a non-empty matrix
**********************************************************************
6 items had failures:
   2 of  28 in sage.matrix.matrix2.Matrix.diagonal.is_diagonalizable
   3 of  57 in sage.matrix.matrix2.Matrix.diagonal.is_similar
   1 of  56 in sage.matrix.matrix2.Matrix.diagonal.rational_form
   5 of  69 in sage.matrix.matrix2.Matrix.diagonal.right_kernel
   5 of 113 in sage.matrix.matrix2.Matrix.diagonal.right_kernel_matrix
   3 of   6 in sage.matrix.matrix2.Matrix.minpoly
    [2315 tests, 19 failures, 21.17 s]
----------------------------------------------------------------------
sage -t ../matrix/matrix2.pyx  # 19 doctests failed
----------------------------------------------------------------------
Total time for all tests: 21.6 seconds
    cpu time: 9.9 seconds
    cumulative wall time: 21.2 seconds

tsc...@ucdavis.edu

unread,
May 30, 2018, 12:02:55 PM5/30/18
to sage-release

I am getting consistent build failures on matrix/matrix2.pyx on two separate builds (both were incremental upgrades).

 Sorry, that should have been doctest (not build) failures.

Best,
Travis

Sébastien Labbé

unread,
May 30, 2018, 5:19:18 PM5/30/18
to sage-release

Now that has_internet is fixed, we can see a lot of broken doctests with tag internet (especially findstat, oeis and stock) :

For failing internet doctests, I created

https://trac.sagemath.org/ticket/25474 (few failing doctests in 12 others files)

Some other failing doctests in sage/geometry were not depending on internet:

tsc...@ucdavis.edu

unread,
May 31, 2018, 1:14:17 AM5/31/18
to sage-release


On Thursday, May 31, 2018 at 2:02:55 AM UTC+10, tsc...@ucdavis.edu wrote:

I am getting consistent build failures on matrix/matrix2.pyx on two separate builds (both were incremental upgrades).

 Sorry, that should have been doctest (not build) failures.


Erik Bray

unread,
May 31, 2018, 5:46:17 AM5/31/18
to sage-r...@googlegroups.com
On Mon, May 28, 2018 at 11:58 AM, Emmanuel Charpentier
<emanuel.c...@gmail.com> wrote:
> FWIW, on Debian testing running on core i7 ° 16 GB RAM, passes testlong with
> one timeout :
> sage -t --long src/sage/rings/padics/padic_lattice_element.py # Timed out
> which passes with no failure when ran standalone.

Similar on Cygwin, but I get:

sage -t src/sage/rings/padics/padic_base_leaves.py
Timed out (with segmentation fault after interrupt)

so something in padics in general...
> --
> You received this message because you are subscribed to the Google Groups
> "sage-release" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-release...@googlegroups.com.
> To post to this group, send email to sage-r...@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-release.
> For more options, visit https://groups.google.com/d/optout.

Emmanuel Charpentier

unread,
May 31, 2018, 7:32:51 AM5/31/18
to sage-release
FWIW, on a smaller Debian testing machine (8 GB RAM, core i5), passes without failure whatsoever. Go figure...

--
Emmanuel Charpentier

Erik Bray

unread,
May 31, 2018, 8:14:02 AM5/31/18
to sage-r...@googlegroups.com
Aside from the timeouts in p-adic tests, I'm getting these two new (?)
failures consistently on Cygwin.



Will investigate....



sage -t src/sage/parallel/decorate.py
**********************************************************************
File "src/sage/parallel/decorate.py", line 564, in sage.parallel.decorate.fork
Failed example:
print("this works"); g()
Expected:
this works...
<BLANKLINE>
------------------------------------------------------------------------
Unhandled SIG...
------------------------------------------------------------------------
'NO DATA'
Got:
this works
------------------------------------------------------------------------
'NO DATA'
**********************************************************************
1 item had failures:
1 of 18 in sage.parallel.decorate.fork
[90 tests, 1 failure, 31.67 s]
sage -t src/sage/rings/complex_arb.pxd
[0 tests, 0.00 s]
sage -t src/sage/rings/complex_arb.pyx
**********************************************************************
File "src/sage/rings/complex_arb.pyx", line 789, in
sage.rings.complex_arb.ComplexBallField.?
Failed example:
pol.roots(multiplicities=False, proof=False)
Expected:
doctest:...
UserWarning: roots may have been lost...
[[0.001000000 +/- 2.52e-10] + [+/- 2.05e-10]*I,
[0.00100000 +/- 1.56e-10] + [+/- 1.27e-10]*I,
[18.20524201487994 +/- 1.22e-15] + [+/- 5.75e-37]*I,
[-14.72907378354557 +/- 4.63e-15] + [10.70100790294238 +/- 2.16e-15]*I,
[-14.72907378354557 +/- 4.63e-15] + [-10.70100790294238 +/- 2.16e-15]*I,
[5.625452776105595 +/- 2.29e-16] + [17.31459450084417 +/- 4.09e-15]*I,
[5.625452776105595 +/- 2.29e-16] + [-17.31459450084417 +/- 4.09e-15]*I]
Got:
doctest:warning
File "/home/embray/src/sagemath/sage/src/bin/sage-runtests",
line 127, in <module>
err = DC.run()
File "/home/embray/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/control.py",
line 1172, in run
self.run_doctests()
File "/home/embray/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/control.py",
line 900, in run_doctests
self.dispatcher.dispatch()
File "/home/embray/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
line 1860, in dispatch
self.parallel_dispatch()
File "/home/embray/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
line 1757, in parallel_dispatch
w.start() # This might take some time
File "/home/embray/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
line 2043, in start
super(DocTestWorker, self).start()
File "/home/embray/src/sagemath/sage/local/lib/python2.7/multiprocessing/process.py",
line 130, in start
self._popen = Popen(self)
File "/home/embray/src/sagemath/sage/local/lib/python2.7/multiprocessing/forking.py",
line 126, in __init__
code = process_obj._bootstrap()
File "/home/embray/src/sagemath/sage/local/lib/python2.7/multiprocessing/process.py",
line 267, in _bootstrap
self.run()
File "/home/embray/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
line 1999, in run
task(self.options, self.outtmpfile, msgpipe, self.result_queue)
File "/home/embray/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
line 2337, in __call__
doctests, extras = self._run(runner, options, results)
File "/home/embray/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
line 2384, in _run
result = runner.run(test)
File "/home/embray/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
line 746, in run
return self._run(test, compileflags, out)
File "/home/embray/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
line 562, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/embray/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
line 972, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.rings.complex_arb.ComplexBallField.?[14]>",
line 1, in <module>
pol.roots(multiplicities=False, proof=False)
:
UserWarning: roots may have been lost
[[0.001000000 +/- 2.52e-10] + [+/- 2.05e-10]*I,
[0.00100000 +/- 1.56e-10] + [+/- 1.27e-10]*I,
[18.20524201487994 +/- 1.22e-15] + [+/- 5.75e-37]*I,
[-14.72907378354557 +/- 4.63e-15] + [10.70100790294238 +/- 2.16e-15]*I,
[-14.72907378354557 +/- 4.63e-15] + [-10.70100790294238 +/- 2.16e-15]*I,
[5.625452776105595 +/- 2.29e-16] + [-17.31459450084417 +/- 4.09e-15]*I,
[5.625452776105595 +/- 2.29e-16] + [17.31459450084417 +/- 4.09e-15]*I]
**********************************************************************
1 item had failures:
1 of 54 in sage.rings.complex_arb.ComplexBallField.?
[620 tests, 1 failure, 7.77 s]
----------------------------------------------------------------------
sage -t src/sage/parallel/decorate.py # 1 doctest failed
sage -t src/sage/rings/complex_arb.pyx # 1 doctest failed
----------------------------------------------------------------------

Erik Bray

unread,
May 31, 2018, 9:47:28 AM5/31/18
to sage-r...@googlegroups.com
On Thu, May 31, 2018 at 2:14 PM, Erik Bray <erik....@gmail.com> wrote:
> Aside from the timeouts in p-adic tests, I'm getting these two new (?)
> failures consistently on Cygwin.
>
>
>
> Will investigate....
> sage -t src/sage/rings/complex_arb.pyx

This failure, unsurprisingly, appears to be a possible problem with
arb; specifically the function _arb_vec_sort_pretty:
https://github.com/fredrik-johansson/arb/blob/f4dda0f34f30cb8cbfe3b18eafc9e5e8480a88da/acb/vec_sort_pretty.c#L48

The only difference between the expected output is that the last two
roots (which are the same up to the sign on the imaginary part) are
sorted differently:

> [5.625452776105595 +/- 2.29e-16] + [17.31459450084417 +/- 4.09e-15]*I,
> [5.625452776105595 +/- 2.29e-16] + [-17.31459450084417 +/- 4.09e-15]*I]

vs

> [5.625452776105595 +/- 2.29e-16] + [-17.31459450084417 +/- 4.09e-15]*I,
> [5.625452776105595 +/- 2.29e-16] + [17.31459450084417 +/- 4.09e-15]*I]

though strangely they don't get swapped in any other case.

Eric Gourgoulhon

unread,
Jun 1, 2018, 8:01:47 AM6/1/18
to sage-release
On Ubuntu 16.04 x86_64 Xeon E5-2623 + 16 GB RAM, from a fresh git clone + pull develop, parallel (-j16) build OK and make ptestlong failed with 3 transient doctests, due to "Jmol failed to create file", as usual on this computer (race error?). The 3 doctests are passed when run standalone.

Eric.

Reply all
Reply to author
Forward
0 new messages