I actually observed the second one in sage-on-gentoo but it didn’t persist 
after re-running twice the doctest.
I still have the failure in my logs but cannot reproduce it anymore.

François

> On 21/10/2021, at 19:44, Vincent Delecroix <20100.delecr...@gmail.com> wrote:
> 
> I got two doctest failures on a freshly compiled sage on Debian
> bullseye (see below). The first one looks similar to
> https://trac.sagemath.org/ticket/27477. The second one is
> plausibly dependent on the version of gmp used.
> 
> Best
> Vincent
> 
> sage -t --long --warn-long 40.6 
> --random-seed=162931060078355221068468643985410122317 
> src/sage/rings/integer.pyx
> **********************************************************************
> File "src/sage/rings/integer.pyx", line 3020, in 
> sage.rings.integer.Integer.divisors
> Failed example:
>    for i in range(20):  # long time
>        try:
>            alarm(RDF.random_element(1e-3, 0.5))
>            _ = n.divisors()
>            cancel_alarm()  # we never get here
>        except AlarmInterrupt:
>            pass
> Exception raised:
>    Traceback (most recent call last):
>      File 
> "/home/debian/sage/local/lib/python3.9/site-packages/sage/doctest/forker.py", 
> line 694, in _run
>        self.compile_and_execute(example, compiler, test.globs)
>      File 
> "/home/debian/sage/local/lib/python3.9/site-packages/sage/doctest/forker.py", 
> line 1088, in compile_and_execute
>        exec(compiled, globs)
>      File "<doctest sage.rings.integer.Integer.divisors[20]>", line 4, in 
> <module>
>        _ = n.divisors()
>      File "sage/rings/integer.pyx", line 3120, in 
> sage.rings.integer.Integer.divisors 
> (build/cythonized/sage/rings/integer.c:20556)
>        sig_on()
>    SystemError: calling remove_from_pari_stack() inside sig_on()
> **********************************************************************
> File "src/sage/rings/integer.pyx", line 6434, in 
> sage.rings.integer.Integer._shift_helper
> Failed example:
>    try:
>        print('Possible error output from gmp')
>        1 << (2^60)
>    except (MemoryError, OverflowError, RuntimeError):
>        pass
>    else:
>        print("Failed to raise exception")
> Expected:
>    Possible error output from gmp...
> Got:
>    gmp: overflow in mpz type
>    Possible error output from gmp
> **********************************************************************
> 
> 
> Le 20/10/2021 à 12:25, Dima Pasechnik a écrit :
>> mpir removal was not complete, as a result ./bootstrap etc may complain.
>> Fix is here:
>> https://trac.sagemath.org/ticket/32727
>> On Wed, Oct 20, 2021 at 12:07 AM Volker Braun <vbraun.n...@gmail.com> wrote:
>>> 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
>>> 
>>> 056b8d4e7b (tag: 9.5.beta4, trac/develop) Updated SageMath version to
>>> 9.5.beta4
>>> e8ab458165 Trac #32707: flit_core: Update to 3.4.0; setuptools_scm: Update
>>> to 6.3.2
>>> 18abd75ff8 Trac #32698: Fix up builds without system python3 after #32442
>>> e866070bb9 Trac #32352: Efficient algorithm to compute products in the C'
>>> basis of an Iwahori-Hecke algebra
>>> ab2c01cf28 Trac #32328: Adding post_critical_set
>>> 91184aeb3f Trac #32314: passing a generator to gcd() fails
>>> dc4f1700bc Trac #32266: Enforce normalization in coxeter3-implemented
>>> Coxeter groups
>>> 17c789a5f7 Trac #32258: Adjustments for the 2-adic lseries of elliptic
>>> curves
>>> afa596f16a Trac #32200: Add developer manual section on integer return
>>> values
>>> 64dd2c46d4 Trac #32199: Conjugating Set Runtime Improvement
>>> daaec36f03 Trac #32155: Add is_linearly_independent to projective space
>>> over a ring
>>> 6b1bc6480c Trac #31994: Sigma invariants for P^N, N > 1
>>> 74f3bc75c8 Trac #30477: preparser: implicit multiplication conflicts with
>>> Python's complex literals
>>> 017d1dc75c Trac #17537: The geodetic closure of a graph
>>> 95908b0881 Trac #15219: numerical integral needs an operand for callable
>>> symbolic functions
>>> bf739637a9 Trac #32693: 1 internet failing doctest in
>>> src/sage/calculus/calculus.py
>>> cad17d0e34 Trac #32682: Replace "<type" by "<class" in src/sage/[rings,
>>> matrix, libs, interfaces, manifolds]
>>> ce1fd8d611 Trac #32675: Partially replace "<type" by "<class" in src/sage
>>> 9a9a62a17e Trac #32646: Update package sqlite to 3.36.0
>>> e0baa96229 Trac #32612: sage.rings.abc.{Real,Complex}{Interval,Ball}Field;
>>> deprecate is_{Real,Complex}IntervalField
>>> 9cbde3ccad Trac #32672: src/setup.py: Don't cythonize everything in src/
>>> e4e87f2419 Trac #14657: set_embedding fails for multigraphs
>>> 913e577deb Trac #32673: src/setup.py: Do not need Cython for sdist or
>>> egg_info
>>> 297f60d39c Trac #32670: use itertools in abstract_tree
>>> 7bba5e0c90 Trac #32668: replace <type by <class in src/doc
>>> ba408efdab Trac #32666: Polyhedron_base.vertex_adjacency_matrix: Do not
>>> use face_lattice
>>> de6b6a1340 Trac #32663: more conversions for Bessel functions
>>> b93313c326 Trac #32662: more conversions for trig and hyperbolic functions
>>> 515cbeaf29 Trac #32661: fix some annotations in combinat
>>> 5333e3f514 Trac #32658: PolyhedronFace.affine_tangent_cone returning the
>>> polyhedron for the empty face
>>> b878d66729 Trac #32655: remove deprecated stuff in rings/polynomial
>>> 38e9da1ee3 Trac #32653: sage.geometry.polyhedron: Mark doctests # optional
>>> - sage.combinat
>>> 4f73d490e4 Trac #32652: sage.geometry.polyhedron: Mark doctests # optional
>>> - sage.rings.number_field
>>> 5c0ceda802 Trac #32647: remove some things from namespace
>>> f2ea7083fd Trac #32643: fix a problem in is_connected
>>> 16097f3904 Trac #32642: enumeration of linear intervals in posets
>>> 592613cd12 Trac #32639: partial pep cleanup of one cluster file
>>> 9d8af604b2 Trac #32638: sage.structure.element: Add abc Expression;
>>> deprecate is_Expression etc.
>>> 4c3a338d15 Trac #32636: sage.matrix: Remove hard dependencies on
>>> sage.schemes
>>> a4d6b7196e Trac #32634: sage.misc.latex, sage.repl.display.fancy_repr:
>>> Make imports more local
>>> 9e00281ac4 Trac #32633: pep cleanup for toric Chow group
>>> 906f9f446d Trac #32629: quantum determinant
>>> 93abcdb4ce Trac #32628: ConvexSet_base, Polyhedron_base: In _test methods,
>>> do not fail if some modules are unavailable
>>> 873a7b2e71 Trac #32624: Update imports of Family
>>> c4e5b94949 Trac #32610: Deprecate is_RealField, is_ComplexField,
>>> is_RealDoubleField, is_ComplexDoubleField
>>> c6268d19b3 Trac #29935: implicitly fuzz RNG-dependent doctests with a
>>> random random seed
>>> ec501d35fc Trac #32623: QuantumMatrixCoordinate broken for larger number
>>> of variables
>>> 4606a5f467 Trac #32622: sage.categories: Remove .all imports (except
>>> sage.categories.all)
>>> 4b50b849c0 Trac #32621: Replace imports from sage.misc.all by more
>>> specific imports
>>> e78d69d71e Trac #32620: Replace imports of QQ, ZZ, GF, Integer from
>>> sage.rings.all by more specific imports
>>> e28338b1ae Trac #32619: lazy_import: Muffle diagnostic messages for
>>> "at_startup"
>>> a55a400f56 Trac #32618: Some micro-optimizations and cleanup to (skew)
>>> tableau
>>> 59dfff2cba Trac #32615: Faster arithmetic with function field ideals
>>> b743b48faf Trac #32614: Features and optional tags for sage modules
>>> provided by separate distributions
>>> d694413bf0 Trac #32606: Replace is_IntegerModRing by isinstance with new
>>> class sage.rings.abc.IntegerModRing
>>> 75e55b0def Trac #32595: Remove package nose
>>> 32804c7a2e Trac #32573: remove more #py2 tags
>>> a1a2fbb081 Trac #31163: build/make/Makefile.in: For script packages
>>> without spkg-install, run "sage -info" and exit with error
>>> 37741e4dd1 Trac #20404: Deprecate TransitiveIdeal and TransitiveIdealGraded
>>> 9b4152672a Trac #18944: Posets: maximal_chains() partial-option broken
>>> c0dd48651a Trac #18056: remove src/sage/combinat/integer_list_old.py
>>> 0bede01485 Trac #32667: Fix incorrect documentation from #32498
>>> 391111f58e Trac #32605: Update polymake to 4.5, change from experimental
>>> to optional
>>> 4947945c38 Trac #32603: Update symengine, symengine_py to 0.8.1; drop
>>> dependency on nose
>>> 3cb09dd791 Trac #32600: sage.arith: Use sage.rings.abc and move some
>>> module-level imports into methods
>>> 12f3702b0b Trac #32599: sage.structure, sage.sets: Remove hard
>>> dependencies on the symbolic ring / polynomial rings
>>> 25abdd92dd Trac #32598: cvxopt selftest should rely on pytest, not nose
>>> 993c5786cf Trac #32597: networkx selftests are broken, use pytest instead
>>> of nose
>>> db485128f9 Trac #32593: sage.modules, sage.matrix: Remove import-time
>>> dependencies on the symbolic ring
>>> 67da874a8b Trac #32592: sage.geometry.polyhedron: Split out
>>> backend_cdd_rdf from backend_cdd
>>> 9b9b57f18f Trac #32591: Remove some .all imports
>>> f4d99de8b2 Trac #32590: Update memory_allocator to 0.1.1 to fix self-tests
>>> on 32bit systems
>>> 1885ccf309 Trac #32585: sage.doctest: Eliminate hard dependency on
>>> RealIntervalField
>>> 2096bf9ab4 Trac #32584: Improve initialization of `Combinations` and
>>> cardinality
>>> a915a23caa Trac #32581: some fixes for relint linter
>>> e816a9ecbe Trac #32578: Allow for coordinate changes in curve plots
>>> 25548ba6c5 Trac #32575: Fix sphinx's install-requires.txt
>>> e78e882492 Trac #32574: RBF/CBF b.zetaderiv(k) is missing a factor k!
>>> d7fe841d6d Trac #32549: Remove package mpir
>>> c896669b1f (tag: 9.5.beta3) Updated SageMath version to 9.5.beta3
>>> 
>>> --
>>> 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 sage-release+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/sage-release/1d74838c-b0c6-4d24-9c34-435815669d6bn%40googlegroups.com
>>> <https://groups.google.com/d/msgid/sage-release/1d74838c-b0c6-4d24-9c34-435815669d6bn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> 
> 
> -- 
> 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 sage-release+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-release/bbb73c73-6225-f7ef-15a9-27e29193e23a%40gmail.com.

-- 
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 sage-release+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-release/C9D7875E-ADD7-416B-B3AC-900419F8AA05%40gmail.com.

Reply via email to