The SystemError: calling remove_from_pari_stack() inside sig_on() in cycliccover_finite_field.py is https://trac.sagemath.org/ticket/33304 On Tuesday, March 1, 2022 at 11:00:26 AM UTC+1 [email protected] wrote:
> 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, > > Le lundi 28 février 2022 à 01:37:39 UTC+1, Volker Braun a écrit : > >> 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 >> >> >> 1e8ba0aac4 (trac/develop, tag: 9.6.beta3) Updated SageMath version to >> 9.6.beta3 >> 0fed9a145e Trac #33392: sage.matrix: Modularization fixes after #33159 >> 5f2efac091 Trac #33391: Remove compile dependency on flint from >> CombinatorialPolyhedron >> 4761943a1b Trac #33389: GenericGraph.distance_matrix: accept keyword >> arguments for matrix constructor >> de4f3f05e3 Trac #33388: Graph: accept keyword arguments for matrix >> constructor in methods returning a matrix >> 4c814d6649 Trac #33387: BipartiteGraph.reduced_adjacency_matrix: accept >> keyword arguments for matrix constructor >> 9b24711f58 Trac #33386: MR55: Make orders unique parents >> ef3270f669 Trac #33376: Apply some coding conventions to >> sage/modular/overconvergent/hecke_series.py >> 57787eddf1 Trac #33371: Remove sage-location and NEW_SAGE_ROOT code >> a7eabd143a Trac #33272: Update sphinx to 4.4 >> 70a841107e Trac #33194: openblas: Update to 0.3.20 >> 714cf9fe3a Trac #33165: faster evaluation of polynomials in R[x] at >> monomials in R[y] or R[u,v] and variables in R[x]/(f) >> 5649402da8 Trac #33001: Invoke manifolds with structure more conveniently >> 3454122b2e Trac #32958: findstat: enforce limit on how many elements to >> compute >> cd78e1bb53 Trac #32953: Sphere: improve handling of default charts >> ef15b5575a Trac #32847: Use lazy_import for module-level import from >> sage.plot (outside of sage.plot) >> f2ed106a91 Trac #32688: Matrix_dense API functions set_unsafe_si vs. >> set_unsafe_int >> 590cfa95d0 Trac #32644: Typos in documentation of >> sage/modular/quasimodform >> 39b19e63df Trac #32121: Generalize MapCombinatorialClass to >> ImageSubobject/ImageSet, add method Map.image >> ff4fc3f93f Trac #31576: Projective points over rings with zero divisors >> ebbf07248d Trac #31355: upgrade lrcalc to 2.1 >> 2c35e81943 Trac #30680: Finitely presented modules over the Steenrod >> algebra >> 02bde440d3 Trac #29927: shifting issue in padic _set_from_list functions >> 5f4c2c49b8 Trac #29919: Restore "huge" package type >> 8c5f78c826 Trac #22081: Add new option to hyperbolic graphics to select >> the model >> 72b70cb269 Trac #14147: weyl group orbit of a weight hangs in infinite >> type >> 47b7c6cbce Trac #33390: singular spkg-configure.m4: Better test for help >> 58e2a16d8c Trac #33390: singular spkg-configure.m4: Better test for help >> b96b86a4bc Trac #33377: GenericGraph.[weighted]adjacency_matrix, >> incidence_matrix: Accept keyword arguments for matrix constructor >> 5705d221fd Trac #33374: adjust error messages in algebras/ >> f71a59cf4d Trac #33367: Adjust some error messages in `combinat/` >> d2b071e65f Trac #33364: remove traces of # py3 and some # py2 >> 518f9fc106 Trac #33358: Fix for rename of conda e-antic package to >> libeantic >> 7abda14ee4 Trac #33357: Random set partition with fixed block sizes does >> not respect the constraint and other improvements >> b17a291d87 Trac #33353: increase tolerance of doctests in >> modular/modform/numerical.py >> bfa90bbd18 Trac #33351: raw docs and other pycodestyle details in some >> pyx files >> 09c55f3d97 Trac #33349: a few details in designs >> ed86487af3 Trac #33342: fix indentation in toy_variety.py >> 2fd405438b Trac #33341: pycodestyle cleaning in convolution.py >> 016f864459 Trac #33336: Fix deprecation warning with scipy 1.8. >> a64514b5ce Trac #33335: fix E111 (indentation) in geometry, groups, >> logic, matrix >> aa255bf264 Trac #33334: fix E111 (indentation) in rings >> b35def6864 Trac #33333: Deduplicate package names in installation guide >> df13563584 Trac #33332: fix E111 (indentation) in dynamics, numerical, >> modules, interfaces >> fd2d77c807 Trac #33328: Some improvements for signed permutations >> 9d77db7871 Trac #33323: Cardinality of partitions of negative values >> 567da5a2d4 Trac #33309: Make Sage documentation functional >> 70505410c7 Trac #33247: Restore quiet in `./configure -q` >> 56c6240253 Trac #33149: use lazy_string() for string formatting when >> creating exceptions >> 5bf1f88d7b Trac #32465: Refactor {Matrix,Vector}_double_dense through >> ..._numpy_dense, add ..._numpy_integer_dense >> 72f573e606 Trac #30649: Reimplement "sage -p SPKG" as "cd $SAGE_ROOT && >> make SPKG-no-deps" >> 9941688328 Trac #33150: more direct conversion from QQbar to real and >> complex ball fields >> d08b099239 Trac #33127: Fix warning about missing sage-site when >> SAGE_ROOT is removed after installation >> f456256a0a Trac #33100: is_positive_definite returns wrong results >> ca6ac0bcd0 Trac #33054: conda-forge (linux): primecount fails to install >> 347ee9349c Trac #32987: Deprecate sage.misc.misc.sage_makedirs >> 433e4d9eb2 Trac #30252: Make TensorProducts of finite-dimensional modules >> / vector spaces finite-dimensional >> 29b0897532 Trac #32965: tox / GH Actions: Add >> centos-7-devtoolset-gcc_{9,10,11} >> 15c8011dd0 (tag: 9.6.beta2) Updated SageMath version to 9.6.beta2 >> > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/9df708bb-f25c-4b10-9828-5682840ae487n%40googlegroups.com.
