On Ubuntu 16.04 x86_64 Xeon E5-2623 + 16 GB RAM, from a fresh git clone + 
pull develop, parallel (-j16) build OK, but make ptestlong failed with four 
files:

sage -t --long --warn-long 51.6 src/sage/interfaces/expect.py  # 1 doctest 
failed
sage -t --long --warn-long 51.6 src/sage/repl/interpreter.py  # 3 doctests 
failed
sage -t --long --warn-long 51.6 src/sage/repl/interface_magic.py  # 3 
doctests failed
sage -t --long --warn-long 51.6 src/sage/repl/ipython_tests.py  # 4 
doctests failed

All the errors are reproductible separately;



*sage -t --long --warn-long 51.6 
src/sage/interfaces/expect.py***********************************************************************File
 
"src/sage/interfaces/expect.py", line 1117, in 
sage.interfaces.expect.Expect._expect_expr
Failed example:
    print(sage0.eval("dummy=gp.eval('0'); alarm(1); 
gp._expect_expr('1')"))  # long time
Expected:
    Control-C pressed.  Interrupting PARI/GP interpreter. Please wait a few 
seconds...
    ...
    AlarmInterrupt:
Got:
    Control-C pressed. Interrupting PARI/GP interpreter. Please wait a few 
seconds...
    
<CSI-1;31m>---------------------------------------------------------------------------<CSI-0m>
    <CSI-1;31m>AlarmInterrupt<CSI-0m>                            Traceback 
(most recent call last)
    <CSI-1;32m><ipython-input-2-529203ce1422><CSI-0m> in 
<CSI-0;36m><module><CSI-1;34m>()<CSI-0m>
    ...


*sage -t --long --warn-long 51.6 
src/sage/repl/interpreter.py***********************************************************************
File "src/sage/repl/interpreter.py", line 77, in sage.repl.interpreter
Failed example:
    shell.run_cell('1/0')
Expected:
    
---------------------------------------------------------------------------
    ZeroDivisionError                         Traceback (most recent call 
last)
    <ipython-input-...> in <module>()
    ----> 1 Integer(1)/Integer(0)
    <BLANKLINE>
    .../src/sage/rings/integer.pyx in sage.rings.integer.Integer.__div__ 
(.../cythonized/sage/rings/integer.c:...)()
       ...        if type(left) is type(right):
       ...            if mpz_sgn((<Integer>right).value) == 0:
    -> ...                  raise ZeroDivisionError("rational division by 
zero")
       ...            x = <Rational> Rational.__new__(Rational)
       ...            mpq_div_zz(x.value, (<Integer>left).value, 
(<Integer>right).value)
    <BLANKLINE>
    ZeroDivisionError: rational division by zero
Got:
    
<CSI-1;31m>---------------------------------------------------------------------------<CSI-0m>
    <CSI-1;31m>ZeroDivisionError<CSI-0m>                         Traceback 
(most recent call last)
    <CSI-1;32m><ipython-input-1-6f88eab09598><CSI-0m> in 
<CSI-0;36m><module><CSI-1;34m>()<CSI-0m>
    <CSI-1;32m>----> 1<CSI-1;33m> 
<CSI-0m>Integer<CSI-0m><CSI-1;33m>(<CSI-0m><CSI-1;36m>1<CSI-0m><CSI-1;33m>)<CSI-0m><CSI-1;33m>/<CSI-0m><CSI-0m>Integer<CSI-0m><CSI-1;33m>(<CSI-0m><CSI-1;36m>0<CSI-0m><CSI-1;33m>)<CSI-0m><CSI-1;33m><CSI-0m><CSI-0m>
    <CSI-0m>
...
**********************************************************************
File "src/sage/repl/interpreter.py", line 358, in 
sage.repl.interpreter.SageTestShell.run_cell
Failed example:
    rc = shell.run_cell('1/0')
Expected:
    
---------------------------------------------------------------------------
    ZeroDivisionError                         Traceback (most recent call 
last)
    ...
    ZeroDivisionError: rational division by zero
Got:
    
<CSI-1;31m>---------------------------------------------------------------------------<CSI-0m>
    <CSI-1;31m>ZeroDivisionError<CSI-0m>                         Traceback 
(most recent call last)
    <CSI-1;32m><ipython-input-1-6f88eab09598><CSI-0m> in 
<CSI-0;36m><module><CSI-1;34m>()<CSI-0m>
    <CSI-1;32m>----> 1<CSI-1;33m> 
<CSI-0m>Integer<CSI-0m><CSI-1;33m>(<CSI-0m><CSI-1;36m>1<CSI-0m><CSI-1;33m>)<CSI-0m><CSI-1;33m>/<CSI-0m><CSI-0m>Integer<CSI-0m>
...
**********************************************************************
File "src/sage/repl/interpreter.py", line 404, in 
sage.repl.interpreter.SagePreparseTransformer
Failed example:
    shell.run_cell(bad_syntax)
Expected:
      File "<string>", line unknown
    SyntaxError: Mismatched ']'
    <BLANKLINE>
Got:
    <CSI-1;36m>  File <CSI-1;32m>"<string>"<CSI-1;36m>, line 
<CSI-1;32m>unknown<CSI-0m>
    <CSI-1;31m>SyntaxError<CSI-0m><CSI-1;31m>:<CSI-0m> Mismatched ']'
    <BLANKLINE>


*sage -t --long --warn-long 51.6 src/sage/repl/interface_magic.py*
**********************************************************************
File "src/sage/repl/interface_magic.py", line 214, in 
sage.repl.interface_magic.InterfaceMagic.line_magic_factory
Failed example:
    shell.run_cell('%gap?')
Expected:
    Docstring:
    Interact with gap
    <BLANKLINE>
    The line magic %gap sends a single line to the gap interface.
    ...
Got:
    <CSI-1;31m>Docstring:<CSI-0m>
    Interact with gap
    <BLANKLINE>
    The line magic %gap sends a single line to the gap interface.
    <BLANKLINE>
    INPUT:
...
**********************************************************************
File "src/sage/repl/interface_magic.py", line 262, in 
sage.repl.interface_magic.InterfaceMagic.cell_magic_factory
Failed example:
    shell.run_cell('%%gap foo\n1+1;\n')
Expected:
    File "<string>", line unknown
    SyntaxError: Interface magics have no options, got "foo"
    <BLANKLINE>
Got:
    <CSI-1;36m>  File <CSI-1;32m>"<string>"<CSI-1;36m>, line 
<CSI-1;32m>unknown<CSI-0m>
    <CSI-1;31m>SyntaxError<CSI-0m><CSI-1;31m>:<CSI-0m> Interface magics 
have no options, got "foo"
    <BLANKLINE>
**********************************************************************
File "src/sage/repl/interface_magic.py", line 266, in 
sage.repl.interface_magic.InterfaceMagic.cell_magic_factory
Failed example:
    shell.run_cell('%%gap?')
Expected:
    Docstring:
    Interact with gap
    <BLANKLINE>
    The cell magic %%gap sends multiple lines to the gap interface.
    ...
Got:
    <CSI-1;31m>Docstring:<CSI-0m>
    Interact with gap
    <BLANKLINE>
    The cell magic %%gap sends multiple lines to the gap interface.
    <BLANKLINE>
...

*sage -t --long --warn-long 51.6 src/sage/repl/ipython_tests.py*
**********************************************************************
File "src/sage/repl/ipython_tests.py", line 10, in sage.repl.ipython_tests
Failed example:
    shell.run_cell(u'%pinfo dummy')
Expected:
    Signature:      dummy(argument, optional=None)
    Docstring:
       Dummy Docstring Title
    <BLANKLINE>
       Dummy docstring explanation.
    <BLANKLINE>
       INPUT:
    <BLANKLINE>
       * "argument" -- anything. Dummy argument.
    <BLANKLINE>
       * "optional" -- anything (optional). Dummy optional.
    <BLANKLINE>
       EXAMPLES:
    <BLANKLINE>
    ...
    Init docstring: x.__init__(...) initializes x; see help(type(x)) for 
signature
    File:           .../sage/repl/ipython_tests.py
    Type:           function
Got:
    <CSI-1;31m>Signature:<CSI-0m>      
<CSI-0m>dummy<CSI-0m><CSI-1;33m>(<CSI-0m><CSI-0m>argument<CSI-0m><CSI-1;33m>,<CSI-0m>
 
<CSI-0m>optional<CSI-0m><CSI-1;33m>=<CSI-0m><CSI-0m>None<CSI-0m><CSI-1;33m>)<CSI-0m><CSI-1;33m><CSI-0m><CSI-0m>
    <CSI-1;31m>Docstring:<CSI-0m>     
       Dummy Docstring Title
...


Eric.





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