Sage 8.9.rc0 released

165 views
Skip to first unread message

Volker Braun

unread,
Sep 11, 2019, 7:36:46 PM9/11/19
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 


be66263728 (trac/develop, tag: 8.9.rc0) Updated SageMath version to 8.9.rc0
b15734bd3c Trac #28461: pep cleanup for the quivers folder
78fdc24ae0 Trac #28458: Housekeeping for hypergeometric motives
c9df1eec1e Trac #28462: Bug in computing the second fundamental form of a Riemannian submanifold
4c8a1ec7ae Trac #28447: posets: introduce a boolean lequal_matrix
b9d913a529 Trac #28456: py3: fix gapdir fallback
4a4e32914b Trac #28455: 1 doctest failing in src/sage/databases/oeis.py with tag internet
d5dcbdec66 Trac #28450: networkx 2.3 compatibility
c57d427c88 Trac #27974: Implement facets method for Polyhedron
f0f114cbba Trac #27929: division/inversion of lazy power series
f6d100d920 Trac #28453: Remove obsolete import
f1acb56720 Trac #28325: Fix a regression in the coding package: add back "absolute_import"
e36d588ea1 Trac #28451: eulerian_circuit broken for the graph with vertices but no edges
dcc075502e Trac #28448: py3: add symbolic to known passing folders
efbef23066 Trac #28439: Improve parsing in interact mode of interfaces
1f089b67d2 Trac #28430: Polyhedron: Preserve backend for barycentric subdivision
5a84efc939 Trac #28428: pyzmq 18.1.0
1ad1ee62ac Trac #28427: Various improvements to Lie algebras
85b1873b8f Trac #28422: Change keyword argument 'verbose' to 'check' in CoordChange.set_inverse() and set the default to True
669f3a8500 Trac #28379: clean normaliz backend
7bbf9655b9 Trac #28356: Enhanced new build_many to use on all platforms
246658ef83 Trac #28317: Use -print-prog-name instead of -print-file-name in gcc spkg-configure.m4
16c230b44a Trac #28224: spkg-configure.m4 for lcalc
842c9e0a8d Trac #28220: Cythonize all_simple_paths, all_paths_iterator and _all_paths_iterator
42d054f7b9 Trac #28219: add a doctest for pynac's rational hash function
50781e760b Trac #28084: move references from graphs/ to references/index.rst
c3678ff546 Trac #28025: Cleanup and fix dict_del_by_value for Python 3.8
c04ab097b1 Trac #27973: Implement wedge over a face of Polyhedron
680f0c59fe Trac #27967: Py3: Fix RecursivelyEnumeratedSet BFS for python3.
9d8a9d0cbe Trac #25919: GelfandTsetlinPattern instances do not compare properly
5bc24b13b1 Trac #16605: Nonsymmetric Macdonald polynomials tests too slow
7b98f4739d Trac #28405: correct the test for galpol package in pari's spkg-configure.m4
ba9135fa0c Trac #28401: pass correct --with-flint to eclib's configure
d2eae0752b Trac #28402: incorrect inverse of sparse matrix over inexact rings
e049a0078e Trac #28446: pdf doc build is broken by #28271
bdf4b23d74 (tag: 8.9.beta9) Updated SageMath version to 8.9.beta9

John H Palmieri

unread,
Sep 11, 2019, 11:18:53 PM9/11/19
to sage-release


On Wednesday, September 11, 2019 at 4:36:46 PM UTC-7, Volker Braun wrote:
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 

OS X + Python 3: All tests passed!

Justin C. Walker

unread,
Sep 12, 2019, 7:13:15 AM9/12/19
to 'Justin C. Walker' via sage-release


> On Sep 11, 2019, at 16:36 , Volker Braun <vbrau...@gmail.com> wrote:
>
> 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

Built from a fresh clone of the develop branch, on three macOS systems: 10.11.6 (mid-2015 MBP, Quad-core i7), 10.13.6 (2017 iMac Pro, 18-core Xeon W), and 10.14.6 (2017 MBP, Quad-core Core i7).

No problems with the build or testing (‘ptestlong’) on all three systems.

Quick! Ship it!

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Enhancement of the Director's Income
--------
Experience is what you get
when you don't get what you want.
--------



John Cremona

unread,
Sep 12, 2019, 12:55:32 PM9/12/19
to sage-r...@googlegroups.com
On ubuntu, upgrade from previous beta, python3 configured: make ptestlong succeeds except for

sage -t --long --warn-long 81.2 src/sage/libs/gap/element.pyx  # 147 doctests failed

John

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/05A611A7-9473-482D-8E53-9F0F0CF52BE7%40mac.com.

Dima Pasechnik

unread,
Sep 12, 2019, 3:30:34 PM9/12/19
to sage-release
On Thu, Sep 12, 2019 at 5:55 PM John Cremona <john.c...@gmail.com> wrote:
>
> On ubuntu, upgrade from previous beta, python3 configured: make ptestlong succeeds except for
>
> sage -t --long --warn-long 81.2 src/sage/libs/gap/element.pyx # 147 doctests failed
>

this looks like a mis-build of sorts.

Maybe also some crud in ~/.sage/, stale GAP workspace, maybe...
Could you try moving it out of the way and re-run the test?

By the way, I have a fun error if I switch from Python3 to Python2 and re-build,
also coming from something in ~/.sage (it goes away after I remove ~/.sage/)

File "src/sage/symbolic/maxima_wrapper.py", line 81, in
sage.symbolic.maxima_wrapper.MaximaWrapper.__getattr__
Failed example:
s.completions('u.airy_',globals())
Expected:
['u.airy_ai', 'u.airy_bi', 'u.airy_dai', 'u.airy_dbi']
Got:
[u'u.airy_ai', u'u.airy_bi', u'u.airy_dai', u'u.airy_dbi']

I guess iPython hard-wires some stuff for Python3, and it's not good
for Python2...






> John
>
> On Thu, 12 Sep 2019 at 12:13, 'Justin C. Walker' via sage-release <sage-r...@googlegroups.com> wrote:
>>
>>
>>
>> > On Sep 11, 2019, at 16:36 , Volker Braun <vbrau...@gmail.com> wrote:
>> >
>> > 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
>>
>> Built from a fresh clone of the develop branch, on three macOS systems: 10.11.6 (mid-2015 MBP, Quad-core i7), 10.13.6 (2017 iMac Pro, 18-core Xeon W), and 10.14.6 (2017 MBP, Quad-core Core i7).
>>
>> No problems with the build or testing (‘ptestlong’) on all three systems.
>>
>> Quick! Ship it!
>>
>> Justin
>>
>> --
>> Justin C. Walker, Curmudgeon-At-Large
>> Institute for the Enhancement of the Director's Income
>> --------
>> Experience is what you get
>> when you don't get what you want.
>> --------
>>
>>
>>
>> --
>> 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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/05A611A7-9473-482D-8E53-9F0F0CF52BE7%40mac.com.
>
> --
> 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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/CAD0p0K79EXveEY70NZdUmzNvTFyOjt8kwTa2LYQCHo0n2OwP7g%40mail.gmail.com.

John H Palmieri

unread,
Sep 12, 2019, 3:58:42 PM9/12/19
to sage-release


On Thursday, September 12, 2019 at 12:30:34 PM UTC-7, Dima Pasechnik wrote:
On Thu, Sep 12, 2019 at 5:55 PM John Cremona <john....@gmail.com> wrote:
>
> On ubuntu, upgrade from previous beta, python3 configured: make ptestlong succeeds except for
>
> sage -t --long --warn-long 81.2 src/sage/libs/gap/element.pyx  # 147 doctests failed
>

this looks like a mis-build of sorts.

Maybe also some crud in ~/.sage/, stale GAP workspace, maybe...
Could you try moving it out of the way and re-run the test?

By the way, I have a fun error if I switch from Python3 to Python2 and re-build,
also coming from something in ~/.sage (it goes away after I remove ~/.sage/)

File "src/sage/symbolic/maxima_wrapper.py", line 81, in
sage.symbolic.maxima_wrapper.MaximaWrapper.__getattr__
Failed example:
    s.completions('u.airy_',globals())
Expected:
    ['u.airy_ai', 'u.airy_bi', 'u.airy_dai', 'u.airy_dbi']
Got:
    [u'u.airy_ai', u'u.airy_bi', u'u.airy_dai', u'u.airy_dbi']

I guess iPython hard-wires some stuff for Python3, and it's not good
for Python2...


It's odd that this would come from something in ~/.sage. I typically have multiple builds of Sage in different directories, some from scratch, some upgrades, some Python 2, some Python 3. They all share the same ./sage (that's the default behavior, right? I haven't set DOTSAGE), and I've never see this error.

--
John

Dima Pasechnik

unread,
Sep 12, 2019, 4:22:59 PM9/12/19
to sage-release
I've tried to reproduce this by moving the original ~/.sage/ back,
and it didn't work - in the sense that the tests now pass.
So it's quite subtle, it seems.

Anyway, that's not something to worry about I think.

>
> --
> John
>
> --
> 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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/19bc5e84-5792-49ea-8808-5ae3ad8ea819%40googlegroups.com.

John Cremona

unread,
Sep 13, 2019, 4:11:59 AM9/13/19
to sage-r...@googlegroups.com
On Thu, 12 Sep 2019 at 20:30, Dima Pasechnik <dim...@gmail.com> wrote:
On Thu, Sep 12, 2019 at 5:55 PM John Cremona <john.c...@gmail.com> wrote:
>
> On ubuntu, upgrade from previous beta, python3 configured: make ptestlong succeeds except for
>
> sage -t --long --warn-long 81.2 src/sage/libs/gap/element.pyx  # 147 doctests failed
>

this looks like a mis-build of sorts.

Well, I reran just that file and all passed.

John
 

Eric Gourgoulhon

unread,
Sep 13, 2019, 8:05:25 AM9/13/19
to sage-release
On Ubuntu 18.04 running on bi-Xeon E5-2623 (8 cores) + 16 GB RAM:

- python2:

  - incremental build (from 8.9.beta9, with -j16) OK
  - all tests from ptestlong passed

- python3:

  - incremental build (from 8.9.beta9, with -j16) OK

  - tests from ptest-python3 passed, except for 1 permanent failure in
       src/sage/rings/polynomial/polynomial_rational_flint.pyx
       this is the error tracked at https://trac.sagemath.org/ticket/28334

  - tests from ptestlong passed, except for

----------------------------------------------------------------------
sage -t --long --warn-long 52.6 src/sage/libs/eclib/interface.py  # 1 doctest failed
sage -t --long --warn-long 52.6 src/sage/rings/polynomial/polynomial_rational_flint.pyx  # 1 doctest failed
sage -t --long --warn-long 52.6 src/sage/repl/attach.py  # 4 doctests failed
sage -t --long --warn-long 52.6 src/sage/libs/singular/function.pyx  # 1 doctest failed
sage -t --long --warn-long 52.6 src/sage/numerical/backends/generic_backend.pyx  # 2 doctests failed
----------------------------------------------------------------------

      The failed doctests are those tracked at https://trac.sagemath.org/ticket/28298
      The files
       - src/sage/libs/eclib/interface.py
       - src/sage/rings/polynomial/polynomial_rational_flint.pyx
      have permanent failures, while
      - src/sage/repl/attach.py
      - src/sage/libs/singular/function.pyx
      - src/sage/numerical/backends/generic_backend.pyx
      have only failed doctests that pass when run standalone.
 
Eric.




Samuel Lelièvre

unread,
Sep 13, 2019, 1:28:44 PM9/13/19
to sage-release
Thanks Volker for releasing SageMath 8.9.rc0.

On Cygwin64 in Windows 7, updated a py2 and a py3 Sage
from 8.9.beta8 using `git pull origin develop`. Running `make`
worked for both. Here is what running `make testlong` gave
in each case.

## py2

Two files had failures, not reproduced when run individually.

$ make testlong
...
----------------------------------------------------------------------
sage -t --long --warn-long 152.9 src/sage/doctest/forker.py # 4 doctests failed
sage -t --long --warn-long 152.9
src/sage/tests/books/computational-mathematics-with-sagemath/sol/numbertheory_doctest.py
# 3 doctests failed
----------------------------------------------------------------------
Total time for all tests: 21338.3 seconds
cpu time: 12435.7 seconds
cumulative wall time: 18662.0 seconds

$ ./sage -t --long --warn-long 152.9 src/sage/doctest/forker.py
Running doctests with ID 2019-09-13-13-58-02-c739be9f.
Git branch: develop
Using --optional=build,dochtml,python2,sage
Doctesting 1 file.
sage -t --long --warn-long 152.9 src/sage/doctest/forker.py
[449 tests, 39.92 s]
----------------------------------------------------------------------
All tests passed!
----------------------------------------------------------------------
Total time for all tests: 85.7 seconds
cpu time: 6.2 seconds
cumulative wall time: 39.9 seconds

$ ./sage -t --long --warn-long 152.9
src/sage/tests/books/computational-mathematics-with-sagemath/sol/numbertheory_doctest.py
Running doctests with ID 2019-09-13-14-00-08-2f37b831.
Git branch: develop
Using --optional=build,dochtml,python2,sage
Doctesting 1 file.
sage -t --long --warn-long 152.9
src/sage/tests/books/computational-mathematics-with-sagemath/sol/numbertheory_doctest.py
[19 tests, 31.48 s]
----------------------------------------------------------------------
All tests passed!
----------------------------------------------------------------------
Total time for all tests: 32.0 seconds
cpu time: 23.7 seconds
cumulative wall time: 31.5 seconds



## py3

Three files had failures, reproduced when run individually.

$ make testlong
...
----------------------------------------------------------------------
sage -t --long --warn-long 152.9 src/sage/libs/eclib/interface.py # 1
doctest failed
sage -t --long --warn-long 152.9
src/sage/rings/polynomial/polynomial_rational_flint.pyx # 1 doctest
failed
sage -t --long --warn-long 152.9 src/sage_setup/clean.py # 1 doctest failed
----------------------------------------------------------------------
Total time for all tests: 20686.3 seconds
cpu time: 11933.1 seconds
cumulative wall time: 18129.0 seconds

$ ./sage -t --long --warn-long 152.9 src/sage/libs/eclib/interface.py
Running doctests with ID 2019-09-13-14-29-15-826f92d4.
Git branch: develop
Using --optional=build,dochtml,python2,sage
Doctesting 1 file.
sage -t --long --warn-long 152.9 src/sage/libs/eclib/interface.py
**********************************************************************
File "src/sage/libs/eclib/interface.py", line 597, in
sage.libs.eclib.interface.mwrank_EllipticCurve.saturate
Failed example:
E.saturation([Q1,Q2])
Expected:
([(1 : -27 : 1), (157 : 1950 : 1)], 3, 0.801588644684981)
Got:
Attempt to round -0.2617840677e25 to a long int fails, aborting!
([(1 : -27 : 1), (157 : 1950 : 1)], 3, 0.801588644684981)
**********************************************************************
1 item had failures:
1 of 9 in sage.libs.eclib.interface.mwrank_EllipticCurve.saturate
[192 tests, 1 failure, 7.16 s]
----------------------------------------------------------------------
sage -t --long --warn-long 152.9 src/sage/libs/eclib/interface.py # 1
doctest failed
----------------------------------------------------------------------
Total time for all tests: 7.8 seconds
cpu time: 6.1 seconds
cumulative wall time: 7.2 seconds

$ ./sage -t --long --warn-long 152.9
src/sage/rings/polynomial/polynomial_rational_flint.pyx
Running doctests with ID 2019-09-13-14-32-07-942278a6.
Git branch: develop
Using --optional=build,dochtml,python2,sage
Doctesting 1 file.
sage -t --long --warn-long 152.9
src/sage/rings/polynomial/polynomial_rational_flint.pyx
**********************************************************************
File "src/sage/rings/polynomial/polynomial_rational_flint.pyx", line
2055, in sage.rings.polynomial.polynomial_rational_flint.Polynomial_rational_flint.galois_group
Failed example:
G = f.galois_group(); G
Expected:
Transitive group number 5 of degree 4
Got:
Exception (FLINT memory_manager). Unable to allocate memory.
Transitive group number 5 of degree 4
**********************************************************************
1 item had failures:
1 of 16 in sage.rings.polynomial.polynomial_rational_flint.Polynomial_rational_flint.galois_group
[397 tests, 1 failure, 9.09 s]
----------------------------------------------------------------------
sage -t --long --warn-long 152.9
src/sage/rings/polynomial/polynomial_rational_flint.pyx # 1 doctest
failed
----------------------------------------------------------------------
Total time for all tests: 9.7 seconds
cpu time: 5.7 seconds
cumulative wall time: 9.1 seconds

$ ./sage -t --long --warn-long 152.9 src/sage_setup/clean.py
Running doctests with ID 2019-09-13-14-32-53-e541ca46.
Git branch: develop
Using --optional=build,dochtml,python2,sage
Doctesting 1 file.
sage -t --long --warn-long 152.9 src/sage_setup/clean.py
**********************************************************************
File "src/sage_setup/clean.py", line 100, in sage_setup.clean._find_stale_files
Failed example:
for f in stale_iter:
if f.endswith(skip_extensions): continue
print('Found stale file: ' + f)
Expected nothing
Got:
Found stale file: sage/graphs/__pycache__/line_graph.cpython-37.pyc
**********************************************************************
1 item had failures:
1 of 11 in sage_setup.clean._find_stale_files
[17 tests, 1 failure, 3.54 s]
----------------------------------------------------------------------
sage -t --long --warn-long 152.9 src/sage_setup/clean.py # 1 doctest failed
----------------------------------------------------------------------
Total time for all tests: 4.1 seconds
cpu time: 1.4 seconds
cumulative wall time: 3.5 seconds

Emmanuel Charpentier

unread,
Sep 13, 2019, 5:25:10 PM9/13/19
to sage-release
On Debian testing running on core i7 + 16 GB RAM, ptestallong gets 12 transient and 3 permanent faiures (one of the latter being related to the optional gap-packages).

Head of the log file:

Git branch: develop
Using --optional=build,dochtml,dot2tex,external,fricas,gap_packages,giacpy_sage,libsemigroups,memlimit,python2,sage
External software to be detected: cplex,ffmpeg,graphviz,gurobi,imagemagick,internet,latex,macaulay2,magma,maple,mathematica,matlab,octave,pandoc,scilab

Transient failures:

| File                                                    | Result             | P/T |
|---------------------------------------------------------+--------------------+-----|
| src/sage/graphs/generators/smallgraphs.py               | 6 doctests failed  | T   |
| src/sage/combinat/posets/posets.py                      | 1 doctest failed   | T   |
| src/sage/plot/animate.py                                | 7 doctests failed  | T   |
| src/sage/combinat/matrices/hadamard_matrix.py           | 2 doctests failed  | T   |
| src/sage/coding/databases.py                            | 2 doctests failed  | T   |
| src/sage/misc/latex.py                                  | 1 doctest failed   | T   |
| src/sage/misc/persist.pyx                               | 2 doctests failed  | T   |
| src/sage/repl/load.py                                   | 1 doctest failed   | T   |
| src/sage/graphs/graph_latex.py                          | 2 doctests failed  | T   |
| src/sage/combinat/designs/ext_rep.py                    | 2 doctests failed  | T   |
| src/sage/misc/remote_file.py                            | 2 doctests failed  | T   |
| src/sage/databases/findstat.py                          | 11 doctests failed | T   |

Permanent failures:

| File                                                    | Result             | P/T |
|---------------------------------------------------------+--------------------+-----|
| src/sage/libs/eclib/interface.py                        | 1 doctest failed   | P   |
| src/sage/tests/gap_packages.py                          | 1 doctest failed   | P   |
| src/sage/rings/polynomial/polynomial_rational_flint.pyx | 1 doctest failed   | P   |

Details for the permanent failures:

charpent@zen-book-flip:/usr/local/sage-P3-2$ sage -t --long --warn-long 177.6 src/sage/libs/eclib/interface.py  
Running doctests with ID 2019-09-13-22-58-28-a45b380d.
Git branch: develop
Using --optional=build,dochtml,dot2tex,fricas,gap_packages,giacpy_sage,libsemigroups,memlimit,python2,sage
Doctesting 1 file.
sage -t --long --warn-long 177.6 src/sage/libs/eclib/interface.py
**********************************************************************
File "src/sage/libs/eclib/interface.py", line 597, in sage.libs.eclib.interface.mwrank_EllipticCurve.saturate
Failed example:
    E.saturation([Q1,Q2])
Expected:
    ([(1 : -27 : 1), (157 : 1950 : 1)], 3, 0.801588644684981)
Got:
    Attempt to round -0.2617840677e25 to a long int fails, aborting!
    ([(1 : -27 : 1), (157 : 1950 : 1)], 3, 0.801588644684981)
**********************************************************************
1 item had failures:
   1 of   9 in sage.libs.eclib.interface.mwrank_EllipticCurve.saturate
    [192 tests, 1 failure, 3.82 s]
----------------------------------------------------------------------
sage -t --long --warn-long 177.6 src/sage/libs/eclib/interface.py  # 1 doctest failed
----------------------------------------------------------------------
Total time for all tests: 3.9 seconds
    cpu time: 3.8 seconds
    cumulative wall time: 3.8 seconds

charpent@zen-book-flip:/usr/local/sage-P3-2$ sage -t --long --warn-long 177.6 src/sage/tests/gap_packages.py
Running doctests with ID 2019-09-13-23-00-30-5c509c45.
Git branch: develop
Using --optional=build,dochtml,dot2tex,fricas,gap_packages,giacpy_sage,libsemigroups,memlimit,python2,sage
Doctesting 1 file.
sage -t --long --warn-long 177.6 src/sage/tests/gap_packages.py
**********************************************************************
File "src/sage/tests/gap_packages.py", line 8, in sage.tests.gap_packages
Failed example:
    test_packages(pkgs, only_failures=True)    # optional - gap_packages
Expected:
      Status   Package   GAP Output
    +--------+---------+------------+
Got:
    #I  method installed for Matrix matches more than one declaration
      Status   Package   GAP Output
    +--------+---------+------------+
**********************************************************************
1 item had failures:
   1 of   5 in sage.tests.gap_packages
    [11 tests, 1 failure, 2.85 s]
----------------------------------------------------------------------
sage -t --long --warn-long 177.6 src/sage/tests/gap_packages.py  # 1 doctest failed
----------------------------------------------------------------------
Total time for all tests: 2.9 seconds
    cpu time: 2.5 seconds
    cumulative wall time: 2.8 seconds

charpent@zen-book-flip:/usr/local/sage-P3-2$ sage -t --long --warn-long 177.6 src/sage/rings/polynomial/polynomial_rational_flint.pyx
Running doctests with ID 2019-09-13-23-01-37-a90388a8.
Git branch: develop
Using --optional=build,dochtml,dot2tex,fricas,gap_packages,giacpy_sage,libsemigroups,memlimit,python2,sage
Doctesting 1 file.
sage -t --long --warn-long 177.6 src/sage/rings/polynomial/polynomial_rational_flint.pyx
**********************************************************************
File "src/sage/rings/polynomial/polynomial_rational_flint.pyx", line 2055, in sage.rings.polynomial.polynomial_rational_flint.Polynomial_rational_flint.galois_group
Failed example:
    G = f.galois_group(); G
Expected:
    Transitive group number 5 of degree 4
Got:
    Exception (FLINT memory_manager). Unable to allocate memory.
    Transitive group number 5 of degree 4
**********************************************************************
1 item had failures:
   1 of  16 in sage.rings.polynomial.polynomial_rational_flint.Polynomial_rational_flint.galois_group
    [397 tests, 1 failure, 2.94 s]
----------------------------------------------------------------------
sage -t --long --warn-long 177.6 src/sage/rings/polynomial/polynomial_rational_flint.pyx  # 1 doctest failed
----------------------------------------------------------------------
Total time for all tests: 3.0 seconds
    cpu time: 2.9 seconds
    cumulative wall time: 2.9 seconds

HTH,

John Cremona

unread,
Sep 14, 2019, 3:55:16 AM9/14/19
to sage-r...@googlegroups.com
The eclib/interface issue is fixed by #28472 which has a positive review.

John

--
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.

dim...@gmail.com

unread,
Sep 14, 2019, 4:50:07 AM9/14/19
to sage-r...@googlegroups.com
I am aware of this issue: it's something coming from GAP's package
Semigroups. I'm in touch with GAP people to sort it out.

Dima

Emmanuel Charpentier

unread,
Sep 14, 2019, 9:53:39 AM9/14/19
to sage-release
On another, smaller machine (Debian testing running on core i5 + 8 GB RAM):
  • Transient failures: 13, including 1 related to the optional package gap-packages)
The following files log an error, but cant't be reproduced when ran standalone:

| File                                          |
|-----------------------------------------------|
| src/sage/combinat/posets/posets.py            |
| src/sage/plot/animate.py                      |
| src/sage/combinat/matrices/hadamard_matrix.py |
| src/sage/modular/ssmod/ssmod.py               |
| src/sage/misc/latex.py                        |
| src/sage/misc/persist.pyx                     |
| src/sage/coding/databases.py                  |
| src/sage/repl/load.py                         |
| src/sage/graphs/graph_latex.py                |
| src/sage/misc/remote_file.py                  |
| src/sage/interfaces/magma_free.py             |
| src/sage/databases/findstat.py                |
| src/sage/interfaces/mathematica.py            |

  • Permanent failures: 2 (both already reported, one supposedly fixed in a reviewed but not yet merged ticket)
| File                                                    | Result           |
|---------------------------------------------------------+------------------|
| src/sage/libs/eclib/interface.py                        | 1 doctest failed |
| src/sage/rings/polynomial/polynomial_rational_flint.pyx | 1 doctest failed |


NOTE: the (relative) reproducibility of the transient failures during ptestalllong may point to (real) bugs occurring only during concurrent accesses to some parts of the Sage library (lack of reentrancy...). It might be worth to run two or more testsuites on the same machine (or rinning with a larger number of concurrent jobs), possibly in a randomized order, in order to detecty more of such problems, if any. But this is an area where I know that I know absolutely nothing. Thoughs ?
  • The details of permanent failures seem identical to what has already been reported:

    • src/sage/libs/eclib/interface.py

charpent@p-202-021:/usr/local/sage-python3$ sage -t --long --warn-long 53.8 src/sage/libs/eclib/interface.py 
Running doctests with ID 2019-09-14-14-58-01-c4a5cbcf.
Git branch: develop
Using --optional=build,dochtml,dot2tex,fricas,giacpy_sage,memlimit,python2,sage
Doctesting 1 file.
sage -t --long --warn-long 53.8 src/sage/libs/eclib/interface.py
**********************************************************************
File "src/sage/libs/eclib/interface.py", line 597, in sage.libs.eclib.interface.mwrank_EllipticCurve.saturate
Failed example:
    E.saturation([Q1,Q2])
Expected:
    ([(1 : -27 : 1), (157 : 1950 : 1)], 3, 0.801588644684981)
Got:
    Attempt to round -0.2617840677e25 to a long int fails, aborting!
    ([(1 : -27 : 1), (157 : 1950 : 1)], 3, 0.801588644684981)
**********************************************************************
1 item had failures:
   1 of   9 in sage.libs.eclib.interface.mwrank_EllipticCurve.saturate
    [192 tests, 1 failure, 5.08 s]
----------------------------------------------------------------------
sage -t --long --warn-long 53.8 src/sage/libs/eclib/interface.py  # 1 doctest failed
----------------------------------------------------------------------
Total time for all tests: 5.1 seconds
    cpu time: 5.1 seconds
    cumulative wall time: 5.1 seconds

    •   src/sage/rings/polynomial/polynomial_rational_flint.pyx~

charpent@p-202-021:/usr/local/sage-python3$ sage -t --long --warn-long 53.8 src/sage/rings/polynomial/polynomial_rational_flint.pyx
Running doctests with ID 2019-09-14-14-59-16-f1b629e1.
Git branch: develop
Using --optional=build,dochtml,dot2tex,fricas,giacpy_sage,memlimit,python2,sage
Doctesting 1 file.
sage -t --long --warn-long 53.8 src/sage/rings/polynomial/polynomial_rational_flint.pyx
**********************************************************************
File "src/sage/rings/polynomial/polynomial_rational_flint.pyx", line 2055, in sage.rings.polynomial.polynomial_rational_flint.Polynomial_rational_flint.galois_group
Failed example:
    G = f.galois_group(); G
Expected:
    Transitive group number 5 of degree 4
Got:
    Exception (FLINT memory_manager). Unable to allocate memory.
    Transitive group number 5 of degree 4
**********************************************************************
1 item had failures:
   1 of  16 in sage.rings.polynomial.polynomial_rational_flint.Polynomial_rational_flint.galois_group
    [397 tests, 1 failure, 3.50 s]
----------------------------------------------------------------------
sage -t --long --warn-long 53.8 src/sage/rings/polynomial/polynomial_rational_flint.pyx  # 1 doctest failed
----------------------------------------------------------------------
Total time for all tests: 3.6 seconds
    cpu time: 3.4 seconds
    cumulative wall time: 3.5 seconds

HTH,

Emmanuel Charpentier

unread,
Sep 14, 2019, 10:00:30 AM9/14/19
to sage-release


Le samedi 14 septembre 2019 10:50:07 UTC+2, Dima Pasechnik a écrit :

[ Snip... ]

I am aware of this issue: it's something coming from GAP's package
Semigroups. I'm in touch with GAP people to sort it out.

Dima

Thank you Dima for letting us know.

I reported this for exhaustivity, not for novelty (I also reported the very-well known problem with FLINT flushing for the very same reason...). Similarly, the transient failures I see tend to be the same from release to release...
 
[ Re-Snip... ]

Sébastien Labbé

unread,
Sep 15, 2019, 7:51:31 AM9/15/19
to sage-release
Runing ptestlong with various optional and external packages, I get

Using --optional=awali,bliss,cbc,ccache,cryptominisat,dot2tex,e_antic,external,glucose,memlimit,normaliz,notedown,openssl,pandoc_attributes,pycosat,pynormaliz,python2,rst2ipynb,sage
----------------------------------------------------------------------
sage -t --long src/sage/sat/boolean_polynomials.py  # 1 doctest failed
sage -t --long src/sage/databases/findstat.py  # 8 doctests failed
sage -t --long src/sage/combinat/designs/ext_rep.py  # 1 doctest failed
----------------------------------------------------------------------
External software detected for doctesting: ffmpeg,graphviz,gurobi,imagemagick,internet,latex,pandoc

Rerunning failed tests, I get:

----------------------------------------------------------------------
sage -t --long src/sage/databases/findstat.py  # 8 doctests failed
----------------------------------------------------------------------
External software detected for doctesting: internet

The findstat issue is already tracked at https://trac.sagemath.org/ticket/25536
Reply all
Reply to author
Forward
0 new messages