2017-12-10 18:20 GMT+01:00 Samuel Lelièvre <[email protected]>:
>
> 2017-12-08 1:06 GMT+01:00 Volker Braun <[email protected]>:
> >
> > The "master" git branch has been updated to Sage-8.1. 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
> >
> > There was no change over 8.1rc4
>
> Thanks for this new release!
>
> Building from the tarball on macOS 10.10.5 went fine.
> After that, `make testlong` resulted in one timeout for
> `src/sage/repl/interpreter.py` (which I think I have been
> seeing for a while on this computer). Here's the output:
>
>     ----------------------------------------------------------------------
>     sage -t --long --warn-long 58.9 src/sage/repl/interpreter.py  # Timed
out
>     ----------------------------------------------------------------------
>     Total time for all tests: 15080.4 seconds
>         cpu time: 10412.6 seconds
>         cumulative wall time: 12865.5 seconds
>     make: *** [testlong] Error 4
>
> I launched the test again and got the results pasted below.
>
> Best, Samuel
>
> ----- The test that times out on that computer -----
>
> $ ./sage -t --long --warn-long 58.9 src/sage/repl/interpreter.py
> Running doctests with ID 2017-12-10-17-41-34-02cccac1.
> Git branch: develop
> Using --optional=ccache,mpir,python2,sage
> Doctesting 1 file.
> sage -t --long --warn-long 58.9 src/sage/repl/interpreter.py
>     Timed out
> **********************************************************************
> Tests run before process (pid=13475) timed out:
> sage: from sage.repl.interpreter import get_test_shell ## line 75 ##
> sage: shell = get_test_shell() ## line 76 ##
> sage: shell.run_cell('1/0') ## line 77 ##
>
---------------------------------------------------------------------------
> ZeroDivisionError                         Traceback (most recent call
last)
> <ipython-input-1-6f88eab09598> in <module>()
> ----> 1 Integer(1)/Integer(0)
>
> /opt/s/sage-8.1/src/sage/rings/integer.pyx in
sage.rings.integer.Integer.__div__
(build/cythonized/sage/rings/integer.c:12947)()
>    1858         if type(left) is type(right):
>    1859             if mpz_sgn((<Integer>right).value) == 0:
> -> 1860                 raise ZeroDivisionError("rational division by
zero")
>    1861             x = <Rational> Rational.__new__(Rational)
>    1862             mpq_div_zz(x.value, (<Integer>left).value,
(<Integer>right).value)
>
> ZeroDivisionError: rational division by zero
> sage: shell.quit() ## line 91 ##
> sage: sig_on_count() # check sig_on/off pairings (virtual doctest) ##
line 92 ##
> 0
> sage: from sage.repl.interpreter import embedded ## line 121 ##
> sage: embedded() ## line 122 ##
> False
> sage: sig_on_count() # check sig_on/off pairings (virtual doctest) ##
line 124 ##
> 0
> sage: 2/3 ## line 141 ##
> 2/3
> sage: preparser(False) ## line 143 ##
> sage: preparser(True) ## line 146 ##
> sage: 2^3 ## line 147 ##
> 8
> sage: sig_on_count() # check sig_on/off pairings (virtual doctest) ##
line 149 ##
> 0
> sage: from sage.repl.interpreter import get_test_shell ## line 171 ##
> sage: shell = get_test_shell() ## line 172 ##
> sage: shell.run_cell('?') ## line 173 ##
> Welcome to Sage 8.1!
>
> To view the Sage tutorial in your web browser, type "tutorial()", and
> to view the (very detailed) Sage reference manual, type "manual()".
> For help on any Sage function, for example "matrix_plot", type
> "matrix_plot?" to see a help message, type "help(matrix_plot)" to see
> a very similar message, type "browse_sage_doc(matrix_plot)" to view a
> help message in a web browser, and type "matrix_plot??" to look at the
> function's source code.
>
> (When you type something like "matrix_plot?", "help(matrix_plot)", or
> "matrix_plot??", Sage may start a paging program to display the
> requested message. Type a space to scroll to the next page, type "h"
> to get help on the paging program, and type "q" to quit it and return
> to the "sage:" prompt.)
>
> For license information for Sage and its components, read the file
> "COPYING.txt" in the top-level directory of the Sage installation,
> or type "license()".
>
> To enter Python's interactive online help utility, type "python_help()".
> To get help on a Python function, module or package, type "help(MODULE)"
or
> "python_help(MODULE)".
> sage: shell.quit() ## line 175 ##
> sage: sig_on_count() # check sig_on/off pairings (virtual doctest) ##
line 176 ##
> 0
> sage: from sage.repl.interpreter import get_test_shell ## line 188 ##
> sage: shell = get_test_shell() ## line 189 ##
> sage: shell.system_raw('false') ## line 190 ##
> sage: shell.user_ns['_exit_code'] > 0 ## line 191 ##
> True
> sage: shell.system_raw('true') ## line 193 ##
> sage: shell.user_ns['_exit_code'] ## line 194 ##
> 0
> sage: shell.system_raw('R --version') ## line 196 ##
> ------------------------------------------------------------------------
> 0   signals.so                          0x0000000108c422d8
print_backtrace + 40
> ------------------------------------------------------------------------
>
> **********************************************************************
> ----------------------------------------------------------------------
> sage -t --long --warn-long 58.9 src/sage/repl/interpreter.py  # Timed out
> ----------------------------------------------------------------------
> Total time for all tests: 1807.4 seconds
>     cpu time: 0.0 seconds
>     cumulative wall time: 0.0 seconds

After launching this test stand-alone there seems to be a process left
running, that uses 90% CPU. The "Activity Monitor" displays it in turn
as bash, env, sh.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.

Reply via email to