Patchbots are locked because
FWIW, on Debian testing running on core i7 + 16 GB RAM, upgrading 9.6.beta1 to 9.6.beta3 and running ptestlong
gets me one temporary failure :
sage -t --long --warn-long 245.4 --random-seed=61034896171412036953396016057425531267 src/sage/schemes/cyclic_covers/cycliccover_finite_field.py # 1 doctest failed
and one permanent failure :
sage -t --long --warn-long 245.4 --random-seed=61034896171412036953396016057425531267 src/sage/graphs/graph.py # 1 doctest failed
The second one seems to be numerical noise :
charpent@zen-book-flip:/usr/local/sage-9$ sage -t --long --warn-long 245.4 --random-seed=61034896171412036953396016057425531267 src/sage/graphs/graph.py # 1 doctest failed
Running doctests with ID 2022-03-01-10-43-41-a97dd6df.
Git branch: develop
Using --optional=debian,dot2tex,fricas,gap_packages,libsemigroups,pip,sage,sage_spkg
Features to be detected: 4ti2,benzene,bliss,buckygen,conway_polynomials,csdp,database_cremona_ellcurve,database_cremona_mini_ellcurve,database_jones_numfield,database_knotinfo,dvipng,graphviz,imagemagick,jupymake,kenzo,latte_int,lrslib,mcqd,meataxe,pandoc,pdf2svg,pdftocairo,plantri,pynormaliz,python_igraph,rubiks,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.groups,sage.plot,sage.rings.number_field,sage.rings.padics,sage.rings.real_double,sage.symbolic,sage_numerical_backends_coin,sagemath_doc_html,sphinx,tdlib
Doctesting 1 file.
sage -t --long --warn-long 245.4 --random-seed=61034896171412036953396016057425531267 src/sage/graphs/graph.py
**********************************************************************
File "src/sage/graphs/graph.py", line 8586, in sage.graphs.graph.Graph.effective_resistance
Failed example:
H.effective_resistance(1, 5, base_ring=RDF)
Expected:
1.20000...
Got:
1.1999999999999997
**********************************************************************
1 item had failures:
1 of 22 in sage.graphs.graph.Graph.effective_resistance
[1233 tests, 1 failure, 20.14 s]
----------------------------------------------------------------------
sage -t --long --warn-long 245.4 --random-seed=61034896171412036953396016057425531267 src/sage/graphs/graph.py # 1 doctest failed
----------------------------------------------------------------------
Total time for all tests: 20.3 seconds
cpu time: 18.7 seconds
cumulative wall time: 20.1 seconds
Features detected for doctesting: sage.groups,sage.symbolic
Pytest is not installed, skip checking tests that rely on it.
but I have no easy explanation for the first (temporary) one, whose ptestlong.log
record is as follows :
sage -t --long --warn-long 245.4 --random-seed=61034896171412036953396016057425531267 src/sage/schemes/cyclic_covers/cycliccover_finite_field.py
**********************************************************************
File "src/sage/schemes/cyclic_covers/cycliccover_finite_field.py", line 1139, in sage.schemes.cyclic_covers.cycliccover_finite_field.CyclicCover_finite_field.frobenius_polynomial
Failed example:
CyclicCover(11, PolynomialRing(GF(1129), 'x')([-1] + [0]*(5-1) + [1])).frobenius_polynomial() # long time
Exception raised:
Traceback (most recent call last):
File "sage/misc/cachefunc.pyx", line 1943, in sage.misc.cachefunc.CachedMethodCaller.__call__ (build/cythonized/sage/misc/cachefunc.c:10410)
return cache[k]
KeyError: ((11,), ())
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/sage-9/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/sage/doctest/forker.py", line 694, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/usr/local/sage-9/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/sage/doctest/forker.py", line 1088, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.schemes.cyclic_covers.cycliccover_finite_field.CyclicCover_finite_field.frobenius_polynomial[23]>", line 1, in <module>
CyclicCover(Integer(11), PolynomialRing(GF(Integer(1129)), 'x')([-Integer(1)] + [Integer(0)]*(Integer(5)-Integer(1)) + [Integer(1)])).frobenius_polynomial() # long time
File "sage/misc/cachefunc.pyx", line 2310, in sage.misc.cachefunc.CachedMethodCallerNoArgs.__call__ (build/cythonized/sage/misc/cachefunc.c:13020)
self.cache = f(self._instance)
File "/usr/local/sage-9/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/sage/schemes/cyclic_covers/cycliccover_finite_field.py", line 1234, in frobenius_polynomial
F = self.frobenius_matrix(self._N0)
File "sage/misc/cachefunc.pyx", line 1948, in sage.misc.cachefunc.CachedMethodCaller.__call__ (build/cythonized/sage/misc/cachefunc.c:10546)
w = self._instance_call(*args, **kwds)
File "sage/misc/cachefunc.pyx", line 1824, in sage.misc.cachefunc.CachedMethodCaller._instance_call (build/cythonized/sage/misc/cachefunc.c:10012)
return self.f(self._instance, *args, **kwds)
File "/usr/local/sage-9/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/sage/schemes/cyclic_covers/cycliccover_finite_field.py", line 1072, in frobenius_matrix
FrobP = _frobenius_matrix_p(self._N0)
File "/usr/local/sage-9/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/sage/schemes/cyclic_covers/cycliccover_finite_field.py", line 1068, in _frobenius_matrix_p
] = self._frob(i, j + self._epsilon * self._r, N0)
File "/usr/local/sage-9/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/sage/schemes/cyclic_covers/cycliccover_finite_field.py", line 994, in _frob
self._initialize_fat_horizontal(
File "/usr/local/sage-9/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/sage/schemes/cyclic_covers/cycliccover_finite_field.py", line 738, in _initialize_fat_horizontal
DH = [elt[0, 0] for elt in interval_products(D0, D1, targets)]
File "sage/schemes/hyperelliptic_curves/hypellfrob.pyx", line 140, in sage.schemes.hyperelliptic_curves.hypellfrob.interval_products (build/cythonized/sage/schemes/hyperelliptic_curves/hypellfrob.cpp:3999)
sig_on()
SystemError: calling remove_from_pari_stack() inside sig_on()
**********************************************************************
1 item had failures:
1 of 60 in sage.schemes.cyclic_covers.cycliccover_finite_field.CyclicCover_finite_field.frobenius_polynomial
Of note : this ptestlong
run, on a lightly loaded laptop freshly rebooted, entailed a very high use of memory : it used about 18 GB of swap file above the 16 GB of RAM. I don’t remember seeing such an high RAM usage during ptestlong
of the previous versions.
HTH,
source .homebrew-build-env
./configure
make succeeds.
And make ptestlong gives only 2 errors:
----------------------------------------------------------------------
sage -t --long --warn-long 25.2 --random-seed=300585988638342567798698437588651751284 src/sage/graphs/graph.py # 1 doctest failed
sage -t --long --warn-long 25.2 --random-seed=300585988638342567798698437588651751284 src/sage/matrix/matrix_gf2e_dense.pyx # 1 doctest failed
----------------------------------------------------------------------
namely
**********************************************************************
File "src/sage/graphs/graph.py", line 8586, in sage.graphs.graph.Graph.effective_resistance
Failed example:
H.effective_resistance(1, 5, base_ring=RDF)
Expected:
1.20000...
Got:
1.1999999999999995
**********************************************************************
due to numerical noise, see https://trac.sagemath.org/ticket/33427 (already closed)
and
**********************************************************************
File "src/sage/matrix/matrix_gf2e_dense.pyx", line 524, in sage.matrix.matrix_gf2e_dense.Matrix_gf2e_dense._multiply_karatsuba
Failed example:
A._multiply_karatsuba(B) == A._multiply_classical(B)
Expected:
True
Got:
False
**********************************************************************
Le mardi 1 mars 2022 à 11:59:22 UTC+1, Samuel Lelievre a écrit :
[ Snip… ]
Cant’ tell…
Or you could have hit
something similar to the issue reported at Sage Trac ticket 33363:
(Too) long doctest in sage/matrix/matrix_integer_dense.pyx
https://trac.sagemath.org/ticket/33363
where a test could sometimes take extremely long (the ticket
does not comment on the memory usage in that case).
Possibly.
FWIW, I get exactly the same result on another, slightly smaller, machine (Debian testing running on core i5 + 8 GB RAM) : temporary failure on cycliccover_finite_field.py
, permanent failure on graph.py
, (more moderate) overconsumption of the swap file.
HTH,