I've run about 120 times with a brand new sage-4.0 (built from
scratch) the doctest command:
sage -tp 3 devel/sage
(about 13 minutes each on a quad core q9550).
Among those I've got 6 doctest failures and 1 timeout:
=================================================
- 3 times a doctest failure in devel/sage/sage/graphs/graph_plot.py:
sage -t devel/sage/sage/graphs/graph_plot.py
libpng error: Image width or height is zero in IHDR
**********************************************************************
File
"/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/devel/sage-main/sage/graphs/graph_plot.py",
line 708:
sage:
D.show(edge_colors={(0,1,0):[(0,1,None),(1,2,None)],(0,0,0):[(2,3,None)]})
Exception raised:
Traceback (most recent call last):
File
"/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/bin/ncadoctest.py",
line 1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File
"/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/bin/sagedoctest.py",
line 38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example,
filename, compileflags)
File
"/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/bin/ncadoctest.py",
line 1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_7[37]>", line 1, in <module>
D.show(edge_colors={(Integer(0),Integer(1),Integer(0)):[(Integer(0),Integer(1),None),(Integer(1),Integer(2),None)],(Integer(0),Integer(0),Integer(0)):[(Integer(2),Integer(3),None)]})###line
708:
sage:
D.show(edge_colors={(0,1,0):[(0,1,None),(1,2,None)],(0,0,0):[(2,3,None)]})
File
"/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/lib/python/site-packages/sage/graphs/graph.py",
line 6482, in show
self.plot(**plot_kwds).show(**kwds)
File
"/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/lib/python/site-packages/sage/plot/plot.py",
line 1278, in show
hgridlinesstyle=hgridlinesstyle)
File
"/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/lib/python/site-packages/sage/plot/plot.py",
line 1610, in save
canvas.print_figure(filename, dpi=dpi)
File
"/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/lib/python/site-packages/matplotlib/backend_bases.py",
line 1453, in print_figure
**kwargs)
File
"/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/lib/python/site-packages/matplotlib/backends/backend_agg.py",
line 334, in print_png
filename_or_obj, self.figure.dpi)
RuntimeError: Error building image
**********************************************************************
1 items had failures:
1 of 74 in __main__.example_7
***Test Failed*** 1 failures.
For whitespace errors, see the file
/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/tmp/.doctest_graph_plot.py
[6.5 s]
=================================================
- 2 times a doctest failure in devel/sage/sage/graphs/graph_bundle.py:
sage -t devel/sage/sage/graphs/graph_bundle.py
libpng error: Image width or height is zero in IHDR
**********************************************************************
File
"/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/devel/sage-main/sage/graphs/graph_bundle.py",
line 163:
sage: B.plot()
Exception raised:
Traceback (most recent call last):
File
"/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/bin/ncadoctest.py",
line 1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File
"/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/bin/sagedoctest.py",
line 38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example,
filename, compileflags)
File
"/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/bin/ncadoctest.py",
line 1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_5[5]>", line 1, in <module>
B.plot()###line 163:
sage: B.plot()
File "sage_object.pyx", line 98, in
sage.structure.sage_object.SageObject.__repr__
(sage/structure/sage_object.c:1321)
File
"/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/lib/python/site-packages/sage/plot/plot.py",
line 861, in _repr_
self.show()
File
"/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/lib/python/site-packages/sage/plot/plot.py",
line 1278, in show
hgridlinesstyle=hgridlinesstyle)
File
"/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/lib/python/site-packages/sage/plot/plot.py",
line 1610, in save
canvas.print_figure(filename, dpi=dpi)
File
"/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/lib/python/site-packages/matplotlib/backend_bases.py",
line 1453, in print_figure
**kwargs)
File
"/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/lib/python/site-packages/matplotlib/backends/backend_agg.py",
line 334, in print_png
filename_or_obj, self.figure.dpi)
RuntimeError: Error building image
**********************************************************************
1 items had failures:
1 of 6 in __main__.example_5
***Test Failed*** 1 failures.
For whitespace errors, see the file
/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/tmp/.doctest_graph_bundle.py
[1.1 s]
=================================================
- 1 time a doctest failure in devel/sage/sage/geometry/lattice_polytope.py
sage -t devel/sage/sage/geometry/lattice_polytope.py
**********************************************************************
File
"/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/devel/sage-main/sage/geometry/lattice_polytope.py",
line 2508:
sage: print s
Expected:
M:27 8 N:7 6 codim=2 #part=5
P:0 V:2 4 5 0sec 0cpu
P:2 V:3 4 5 0sec 0cpu
P:3 V:4 5 0sec 0cpu
np=3 d:1 p:1 0sec 0cpu
Got:
M:27 8 N:7 6 codim=2 #part=5
P:0 V:2 4 5 0sec 0cpu
P:2 V:3 4 5 0sec 0cpu
P:3 V:4 5 0sec 0cpu
np=3 d:1 p:1 1sec 0cpu
<BLANKLINE>
**********************************************************************
1 items had failures:
1 of 6 in __main__.example_74
***Test Failed*** 1 failures.
For whitespace errors, see the file
/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/tmp/.doctest_lattice_polytope.py
[4.8 s]
=================================================
- 1 time a timeout in devel/sage/sage/lfunctions/dokchitser.py
sage -t devel/sage/sage/lfunctions/dokchitser.py
*** *** Error: TIMED OUT! PROCESS KILLED! *** ***
*** *** Error: TIMED OUT! *** ***
*** *** Error: TIMED OUT! *** ***
[360.1 s]
(normally this doctest takes about 6 seconds to complete)
Gonzalo
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---