On Ubuntu 18.04, Running tests with few optional and external packages (including internet this time), I obtain
Using --optional=4ti2,ccache,cryptominisat,dot2tex,e_antic,external,fricas,glucose,latte_int,libnauty,lidia,lrslib,memlimit,normaliz,notedown,openssl,pandoc_attributes,pycosat,pynormaliz,rst2ipynb,sage,sage_numerical_backends_coin
----------------------------------------------------------------------
sage -t --long --random-seed=0 src/doc/en/constructions/interface_issues.rst # 1 doctest failed
sage -t --long --random-seed=0 src/sage/arith/misc.py # 1 doctest failed
sage -t --long --random-seed=0 src/sage/combinat/designs/incidence_structures.py # 1 doctest failed
sage -t --long --random-seed=0 src/sage/databases/oeis.py # 1 doctest failed
sage -t --long --random-seed=0 src/sage/graphs/generic_graph.py # 2 doctests failed
sage -t --long --random-seed=0 src/sage/graphs/graph.py # 3 doctests failed
sage -t --long --random-seed=0 src/sage/lfunctions/sympow.py # 4 doctests failed
sage -t --long --random-seed=0 src/sage/misc/package.py # 2 doctests failed
sage -t --long --random-seed=0 src/sage/misc/remote_file.py # 1 doctest failed
sage -t --long --random-seed=0 src/sage/schemes/elliptic_curves/ell_rational_field.py # 2 doctests failed
sage -t --long --random-seed=0 src/sage/symbolic/integration/external.py # 1 doctest failed
sage -t --long --random-seed=0 src/sage/symbolic/integration/integral.py # 1 doctest failed
----------------------------------------------------------------------
External software detected for doctesting: ffmpeg,graphviz,imagemagick,internet,latex,octave,pandoc
Rerunning the failed tests, I get the same.
I copy paste below the failures:
sage -t --long --random-seed=0 src/sage/schemes/elliptic_curves/ell_rational_field.py
**********************************************************************
File "src/sage/schemes/elliptic_curves/ell_rational_field.py", line 1496, in sage.schemes.elliptic_curves.ell_rational_field.EllipticCurve_rational_field.analytic_rank
Failed example:
E.analytic_rank(algorithm='sympow')
Exception raised:
Traceback (most recent call last):
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py", line 720, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py", line 1145, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.schemes.elliptic_curves.ell_rational_field.EllipticCurve_rational_field.analytic_rank[3]>", line 1, in <module>
E.analytic_rank(algorithm='sympow')
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/schemes/elliptic_curves/ell_rational_field.py", line 1551, in analytic_rank
return sympow.analytic_rank(self)[0]
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/lfunctions/sympow.py", line 299, in analytic_rank
raise RuntimeError("failed to compute analytic rank")
RuntimeError: failed to compute analytic rank
**********************************************************************
File "src/sage/schemes/elliptic_curves/ell_rational_field.py", line 1502, in sage.schemes.elliptic_curves.ell_rational_field.EllipticCurve_rational_field.analytic_rank
Failed example:
E.analytic_rank(algorithm='all')
Exception raised:
Traceback (most recent call last):
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py", line 720, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py", line 1145, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.schemes.elliptic_curves.ell_rational_field.EllipticCurve_rational_field.analytic_rank[5]>", line 1, in <module>
E.analytic_rank(algorithm='all')
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/schemes/elliptic_curves/ell_rational_field.py", line 1567, in analytic_rank
self.analytic_rank('rubinstein'), self.analytic_rank('sympow')])
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/schemes/elliptic_curves/ell_rational_field.py", line 1551, in analytic_rank
return sympow.analytic_rank(self)[0]
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/lfunctions/sympow.py", line 299, in analytic_rank
raise RuntimeError("failed to compute analytic rank")
RuntimeError: failed to compute analytic rank
**********************************************************************
1 item had failures:
2 of 14 in sage.schemes.elliptic_curves.ell_rational_field.EllipticCurve_rational_field.analytic_rank
1 database_cremona_ellcurve test not run
8 magma tests not run
1 webbrowser test not run
0 tests not run because we ran out of time
[849 tests, 2 failures, 86.03 s]
sage -t --long --random-seed=0 src/sage/arith/misc.py
**********************************************************************
File "src/sage/arith/misc.py", line 2019, in sage.arith.misc.xkcd
Failed example:
xkcd(353) # optional - internet
Expected:
<h1>Python</h1><img src="
https://imgs.xkcd.com/comics/python.png" title="I wrote 20 short programs in Python yesterday. It was wonderful. Perl, I'm leaving you."><div>Source: <a href="
http://xkcd.com/353" target="_blank">
http://xkcd.com/353</a></div>
Got:
<script> alert("Error: -41"); </script>
**********************************************************************
1 item had failures:
1 of 2 in sage.arith.misc.xkcd
1 kash test not run
2 magma tests not run
1 not tested test not run
0 tests not run because we ran out of time
[1066 tests, 1 failure, 22.54 s]
sage -t --long --random-seed=0 src/sage/symbolic/integration/external.py
**********************************************************************
File "src/sage/symbolic/integration/external.py", line 260, in sage.symbolic.integration.external.parse_moutput_from_json
Failed example:
sorted(L) # optional internet
Expected:
[u'-Cos[x]', u'{{x == Pi C[1], Element[C[1], Integers]}}']
Got:
['-Cos[x]', '{{x == 0}}', '{{x == Pi C[1], Element[C[1], Integers]}}']
**********************************************************************
1 item had failures:
1 of 10 in sage.symbolic.integration.external.parse_moutput_from_json
0 tests not run because we ran out of time
[48 tests, 1 failure, 24.69 s]
sage -t --long --random-seed=0 src/sage/lfunctions/sympow.py
**********************************************************************
File "src/sage/lfunctions/sympow.py", line 277, in sage.lfunctions.sympow.Sympow.analytic_rank
Failed example:
sympow.analytic_rank(EllipticCurve('11a'))
Exception raised:
Traceback (most recent call last):
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py", line 720, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py", line 1145, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.lfunctions.sympow.Sympow.analytic_rank[0]>", line 1, in <module>
sympow.analytic_rank(EllipticCurve('11a'))
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/lfunctions/sympow.py", line 299, in analytic_rank
raise RuntimeError("failed to compute analytic rank")
RuntimeError: failed to compute analytic rank
**********************************************************************
File "src/sage/lfunctions/sympow.py", line 281, in sage.lfunctions.sympow.Sympow.analytic_rank
Failed example:
sympow.analytic_rank(EllipticCurve('389a'))
Exception raised:
Traceback (most recent call last):
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py", line 720, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py", line 1145, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.lfunctions.sympow.Sympow.analytic_rank[2]>", line 1, in <module>
sympow.analytic_rank(EllipticCurve('389a'))
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/lfunctions/sympow.py", line 299, in analytic_rank
raise RuntimeError("failed to compute analytic rank")
RuntimeError: failed to compute analytic rank
**********************************************************************
File "src/sage/lfunctions/sympow.py", line 285, in sage.lfunctions.sympow.Sympow.analytic_rank
Failed example:
sympow.analytic_rank(EllipticCurve([1, -1, 0, -79, 289]))
Exception raised:
Traceback (most recent call last):
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py", line 720, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py", line 1145, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.lfunctions.sympow.Sympow.analytic_rank[4]>", line 1, in <module>
sympow.analytic_rank(EllipticCurve([Integer(1), -Integer(1), Integer(0), -Integer(79), Integer(289)]))
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/lfunctions/sympow.py", line 299, in analytic_rank
raise RuntimeError("failed to compute analytic rank")
RuntimeError: failed to compute analytic rank
**********************************************************************
File "src/sage/lfunctions/sympow.py", line 289, in sage.lfunctions.sympow.Sympow.analytic_rank
Failed example:
sympow.analytic_rank(EllipticCurve([1, 1, 0, -2582, 48720])) # long time
Exception raised:
Traceback (most recent call last):
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py", line 720, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py", line 1145, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.lfunctions.sympow.Sympow.analytic_rank[6]>", line 1, in <module>
sympow.analytic_rank(EllipticCurve([Integer(1), Integer(1), Integer(0), -Integer(2582), Integer(48720)])) # long time
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/lfunctions/sympow.py", line 299, in analytic_rank
raise RuntimeError("failed to compute analytic rank")
RuntimeError: failed to compute analytic rank
**********************************************************************
1 item had failures:
4 of 9 in sage.lfunctions.sympow.Sympow.analytic_rank
5 not tested tests not run
0 tests not run because we ran out of time
[13 tests, 4 failures, 3.39 s]
sage -t --long --random-seed=0 src/sage/symbolic/integration/integral.py
**********************************************************************
File "src/sage/symbolic/integration/integral.py", line 72, in sage.symbolic.integration.integral.IndefiniteIntegral.__init__
Failed example:
(f*f).integrate(x, algorithm="mathematica_free") # optional -- internet
Expected:
-b*log(e^(-(a - x)/b) + 1) + x + b/(e^(-(a - x)/b) + 1)
Got:
-b*log(e^(a/b) + e^(x/b)) + x + b/(e^(-(a - x)/b) + 1)
**********************************************************************
1 item had failures:
1 of 12 in sage.symbolic.integration.integral.IndefiniteIntegral.__init__
3 tests not run due to known bugs
2 maple tests not run
3 mathematica tests not run
0 tests not run because we ran out of time
[216 tests, 1 failure, 26.14 s]
sage -t --long --random-seed=0 src/sage/misc/remote_file.py
**********************************************************************
File "src/sage/misc/remote_file.py", line 27, in sage.misc.remote_file.get_remote_file
Failed example:
with open(g) as f: print(f.read()) # optional - internet
Expected:
print("hi from the net")
<BLANKLINE>
print(2+3)
Got:
print("hi from the net")
<BLANKLINE>
print(2 + 3)
<BLANKLINE>
**********************************************************************
1 item had failures:
1 of 4 in sage.misc.remote_file.get_remote_file
0 tests not run because we ran out of time
[3 tests, 1 failure, 0.26 s]
sage -t --long --random-seed=0 src/doc/en/constructions/interface_issues.rst
**********************************************************************
File "src/doc/en/constructions/interface_issues.rst", line 432, in doc.en.constructions.interface_issues
Failed example:
octave("atanh(1.1)") ## optional - octave
Expected:
(1.52226,-1.5708)
Got:
(1.52226,1.5708)
**********************************************************************
1 item had failures:
1 of 22 in doc.en.constructions.interface_issues
0 tests not run because we ran out of time
[17 tests, 1 failure, 1.98 s]
sage -t --long --random-seed=0 src/sage/graphs/graph.py
**********************************************************************
File "src/sage/graphs/graph.py", line 4507, in sage.graphs.graph.Graph.has_homomorphism_to
Failed example:
g.has_homomorphism_to(graphs.CycleGraph(4)) is not False
Expected:
False
Got:
True
**********************************************************************
File "src/sage/graphs/graph.py", line 4902, in sage.graphs.graph.Graph.minor
Failed example:
L = g.minor(graphs.CompleteGraph(3))
Expected:
Traceback (most recent call last):
...
ValueError: This graph has no minor isomorphic to H !
Got:
<BLANKLINE>
**********************************************************************
File "src/sage/graphs/graph.py", line 6112, in sage.graphs.graph.Graph.topological_minor
Failed example:
g.topological_minor(graphs.CycleGraph(3))
Expected:
False
Got:
Subgraph of (Subgraph of (RandomGNP(15,0.300000000000000))): Graph on 0 vertices
**********************************************************************
3 items had failures:
1 of 10 in sage.graphs.graph.Graph.has_homomorphism_to
1 of 14 in sage.graphs.graph.Graph.minor
1 of 7 in sage.graphs.graph.Graph.topological_minor
2 mcqd tests not run
2 not tested tests not run
13 python_igraph tests not run
0 tests not run because we ran out of time
[1238 tests, 3 failures, 26.85 s]
sage -t --long --random-seed=0 src/sage/combinat/designs/incidence_structures.py
**********************************************************************
File "src/sage/combinat/designs/incidence_structures.py", line 2027, in sage.combinat.designs.incidence_structures.IncidenceStructure.coloring
Failed example:
len(designs.steiner_triple_system(7).coloring())
Expected:
3
Got:
2
**********************************************************************
1 item had failures:
1 of 6 in sage.combinat.designs.incidence_structures.IncidenceStructure.coloring
8 gap_packages tests not run
3 not tested tests not run
0 tests not run because we ran out of time
[337 tests, 1 failure, 1.58 s]
sage -t --long --random-seed=0 src/sage/databases/oeis.py
**********************************************************************
File "src/sage/databases/oeis.py", line 527, in sage.databases.oeis.OEIS.find_by_subsequence
Failed example:
oeis.find_by_subsequence([2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377]) # optional -- internet
Expected:
0: A000045: Fibonacci numbers: F(n) = F(n-1) + F(n-2) with F(0) = 0 and F(1) = 1.
1: A212804: Expansion of (1-x)/(1-x-x^2).
2: A177194: Fibonacci numbers whose decimal expansion does not contain any digit 0.
Got:
0: A000045: Fibonacci numbers: F(n) = F(n-1) + F(n-2) with F(0) = 0 and F(1) = 1.
1: A212804: Expansion of (1 - x)/(1 - x - x^2).
2: A177194: Fibonacci numbers whose decimal expansion does not contain any digit 0.
**********************************************************************
1 item had failures:
1 of 3 in sage.databases.oeis.OEIS.find_by_subsequence
5 webbrowser tests not run
0 tests not run because we ran out of time
[287 tests, 1 failure, 32.50 s]
sage -t --long --random-seed=0 src/sage/graphs/generic_graph.py
**********************************************************************
File "src/sage/graphs/generic_graph.py", line 8909, in sage.graphs.generic_graph.GenericGraph.nowhere_zero_flow
Failed example:
h = g.nowhere_zero_flow(k=3)
Expected:
Traceback (most recent call last):
...
EmptySetError: the problem has no feasible solution
Got:
<BLANKLINE>
**********************************************************************
File "src/sage/graphs/generic_graph.py", line 9530, in sage.graphs.generic_graph.GenericGraph.disjoint_routed_paths
Failed example:
p1,p2 = g.disjoint_routed_paths([((0, 0), (4, 4)), ((0, 4), (4, 0))])
Expected:
Traceback (most recent call last):
...
EmptySetError: the disjoint routed paths do not exist
Got:
<BLANKLINE>
**********************************************************************
2 items had failures:
1 of 5 in sage.graphs.generic_graph.GenericGraph.disjoint_routed_paths
1 of 29 in sage.graphs.generic_graph.GenericGraph.nowhere_zero_flow
17 bliss tests not run
6 not tested tests not run
39 python_igraph tests not run
0 tests not run because we ran out of time
[3513 tests, 2 failures, 36.86 s]
sage -t --long --random-seed=0 src/sage/misc/package.py
**********************************************************************
File "src/sage/misc/package.py", line 103, in sage.misc.package.pip_remote_version
Failed example:
pip_remote_version(nap, pypi_url=pypi, ignore_URLError=True) # optional - internet
Expected:
doctest:...: UserWarning: failed to fetch the version of
pkg='hey_this_is_NOT_a_python_package' at
http://this.is.not.pypi.com/Got:
doctest:warning
File "/home/slabbe/GitBox/sage/src/bin/sage-runtests", line 182, in <module>
err = DC.run()
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/control.py", line 1230, in run
self.run_doctests()
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/control.py", line 931, in run_doctests
self.dispatcher.dispatch()
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py", line 2052, in dispatch
self.parallel_dispatch()
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py", line 1947, in parallel_dispatch
w.start() # This might take some time
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py", line 2219, in start
super(DocTestWorker, self).start()
File "/usr/lib/python3.8/multiprocessing/process.py", line 121, in start
self._popen = self._Popen(self)
File "/usr/lib/python3.8/multiprocessing/context.py", line 224, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "/usr/lib/python3.8/multiprocessing/context.py", line 276, in _Popen
return Popen(process_obj)
File "/usr/lib/python3.8/multiprocessing/popen_fork.py", line 19, in __init__
self._launch(process_obj)
File "/usr/lib/python3.8/multiprocessing/popen_fork.py", line 75, in _launch
code = process_obj._bootstrap(parent_sentinel=child_r)
File "/usr/lib/python3.8/multiprocessing/process.py", line 313, in _bootstrap
self.run()
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py", line 2191, in run
task(self.options, self.outtmpfile, msgpipe, self.result_queue)
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py", line 2520, in __call__
doctests, extras = self._run(runner, options, results)
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py", line 2567, in _run
result = runner.run(test)
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py", line 918, in run
return self._run(test, compileflags, out)
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py", line 720, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py", line 1145, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.misc.package.pip_remote_version[3]>", line 1, in <module>
pip_remote_version(nap, pypi_url=pypi, ignore_URLError=True) # optional - internet
File "/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/misc/package.py", line 120, in pip_remote_version
warnings.warn("failed to fetch the version of pkg={!r} at {}".format(pkg, url))
File "/usr/lib/python3.8/warnings.py", line 109, in _showwarnmsg
sw(msg.message, msg.category, msg.filename, msg.lineno,
:
UserWarning: failed to fetch the version of pkg='hey_this_is_NOT_a_python_package' at
http://this.is.not.pypi.com//hey_this_is_NOT_a_python_package/json**********************************************************************