I also see the error in rings/integer.pyx again now. This is 
https://trac.sagemath.org/ticket/28106. The doctests are limited to 3300 MB 
of memory be default, but this test exceeds it. The limit can be manually 
increased using the `--memlimit` option.


Am Dienstag, 31. März 2020 19:40:19 UTC+2 schrieb Steven Trogdon:
>
> I'm replying to my previous post.
>
> I rebuilt Sage using the Sage-provided python instead my system python and 
> doctested Sage. The failure in doctest/test.py disappears. However, the 
> failures in rings/integer.pyx still persist. I suspect a system component 
> is the culprit. Any ideas which one? I had doctested 9.1.beta8 with no 
> failures, so something has changed.
>
> On Monday, March 30, 2020 at 4:54:19 PM UTC-5, Steven Trogdon wrote:
>>
>> *Gentoo*
>>
>> Incremental build 9.1.beta8 -> 9.1.beta9
>>
>> After make python3-clean && make I have the following failures:
>>
>> ----------------------------------------------------------------------
>> sage -t --long --warn-long 115.0 src/sage/doctest/test.py  # 1 doctest 
>> failed
>> sage -t --long --warn-long 115.0 src/sage/rings/integer.pyx  # 2 doctests 
>> failed
>> ----------------------------------------------------------------------
>>
>> System python is 3.7.6
>>
>> The failures:
>>
>> sage -t --long --warn-long 115.0 src/sage/doctest/test.py
>> **********************************************************************
>> File "src/sage/doctest/test.py", line 521, in sage.doctest.test
>> Failed example:
>>     if system() == "Linux":
>>         P = subprocess.Popen(["sage", "-t", "--warn-long", "0", 
>> "--memlimit=2000", "memlimit.rst"], stdout=subprocess.PIPE, **kwds)
>>         out, err = P.communicate()
>>         ok = ("MemoryError: failed to allocate" in bytes_to_str(out))
>> Expected nothing
>> Got:
>>     Process DocTestWorker-1:
>>     Traceback (most recent call last):
>>       File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in 
>> _bootstrap
>>         self.run()
>>       File 
>> "/mnt/backup/storage/sage-git_develop/sage/local/lib/python3.7/site-packages/sage/doctest/forker.py",
>>  
>> line 2172, in run
>>         task(self.options, self.outtmpfile, msgpipe, self.result_queue)
>>       File 
>> "/mnt/backup/storage/sage-git_develop/sage/local/lib/python3.7/site-packages/sage/doctest/forker.py",
>>  
>> line 2525, in __call__
>>         result_queue.put(result, False)
>>       File "/usr/lib/python3.7/multiprocessing/queues.py", line 87, in put
>>         self._start_thread()
>>       File "/usr/lib/python3.7/multiprocessing/queues.py", line 170, in 
>> _start_thread
>>         self._thread.start()
>>       File "/usr/lib/python3.7/threading.py", line 852, in start
>>         _start_new_thread(self._bootstrap, ())
>>     RuntimeError: can't start new thread
>> **********************************************************************
>>
>> sage -t --long --warn-long 115.0 src/sage/rings/integer.pyx
>> **********************************************************************
>> File "src/sage/rings/integer.pyx", line 3118, 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 
>> "/mnt/backup/storage/sage-git_develop/sage/local/lib/python3.7/site-packages/sage/doctest/forker.py",
>>  
>> line 681, in _run
>>         self.compile_and_execute(example, compiler, test.globs)
>>       File 
>> "/mnt/backup/storage/sage-git_develop/sage/local/lib/python3.7/site-packages/sage/doctest/forker.py",
>>  
>> line 1123, 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 3188, in 
>> sage.rings.integer.Integer.divisors 
>> (build/cythonized/sage/rings/integer.c:20544)
>>         ptr = <unsigned long*>check_allocarray(divisor_count, 3 * 
>> sizeof(unsigned long))
>>       File "memory.pxd", line 87, in cysignals.memory.check_allocarray 
>> (build/cythonized/sage/rings/integer.c:46769)
>>     MemoryError: failed to allocate 33554432 * 24 bytes
>> **********************************************************************
>> File "src/sage/rings/integer.pyx", line 3790, in 
>> sage.rings.integer.Integer.trial_division
>> Failed example:
>>     n = 2 * next_prime(10^40); n.trial_division()
>> Exception raised:
>>     Traceback (most recent call last):
>>       File 
>> "/mnt/backup/storage/sage-git_develop/sage/local/lib/python3.7/site-packages/sage/doctest/forker.py",
>>  
>> line 681, in _run
>>         self.compile_and_execute(example, compiler, test.globs)
>>       File 
>> "/mnt/backup/storage/sage-git_develop/sage/local/lib/python3.7/site-packages/sage/doctest/forker.py",
>>  
>> line 1123, in compile_and_execute
>>         exec(compiled, globs)
>>       File "<doctest sage.rings.integer.Integer.trial_division[10]>", 
>> line 1, in <module>
>>         n = Integer(2) * next_prime(Integer(10)**Integer(40)); 
>> n.trial_division()
>>       File 
>> "/mnt/backup/storage/sage-git_develop/sage/local/lib/python3.7/site-packages/sage/arith/misc.py",
>>  
>> line 1193, in next_prime
>>         return ZZ(n).next_prime(proof)
>>       File "sage/rings/integer.pyx", line 5774, in 
>> sage.rings.integer.Integer.next_prime 
>> (build/cythonized/sage/rings/integer.c:35865)
>>         while not p._pseudoprime_is_prime(proof):
>>       File "sage/rings/integer.pyx", line 5309, in 
>> sage.rings.integer.Integer._pseudoprime_is_prime 
>> (build/cythonized/sage/rings/integer.c:33383)
>>         return self.__pari__().isprime()
>>       File "cypari2/gen.pyx", line 2112, in cypari2.gen.Gen.isprime
>>     cysignals.signals.AlarmInterrupt
>> **********************************************************************
>> 2 items had failures:
>>    1 of  23 in sage.rings.integer.Integer.divisors
>>    1 of  19 in sage.rings.integer.Integer.trial_division
>>
>>
>> On Sunday, March 29, 2020 at 2:50:19 PM UTC-5, Matthias Köppe wrote:
>>>
>>> On Sunday, March 29, 2020 at 8:59:43 AM UTC-4, Volker Braun 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 
>>>>
>>>> I don't see any major issues for 9.1 any more, so we should soon have 
>>>> the first rc. If you have anything that you thing should go in then now is 
>>>> the time to finish it up ;-)
>>>>
>>>> 6a4580546f (tag: 9.1.beta9, trac/develop) Updated SageMath version to 
>>>> 9.1.beta9
>>>>
>>>
>>>
>>> Let me remark that this is the first beta that tries to use the system 
>>> python3 in a venv (#27824) instead of building our own copy of python3. 
>>> Tests of building from scratch or (after "make python3-clean") would be 
>>> valuable.
>>>
>>>
>>> I ran tests (make build ptest) at 
>>> https://github.com/mkoeppe/sage/actions/runs/65613035 . 
>>> Full logs for all builds are available at this link.
>>>
>>> *Debian* (jessie/buster/bullseye/sid), *Ubuntu* 
>>> (trusty/xenial/bionic/eoan/focal)m and *LinuxMint* (19.3) are mostly 
>>> clean.
>>>
>>> Some of the doctest failures are likely known to distribution packagers 
>>> already. If fixes for these doctests are available already, now it's time 
>>> to upstream them.
>>>
>>> Some doctest failures, for example ubuntu-bionic-standard (
>>> https://github.com/mkoeppe/sage/runs/542655815):
>>> sage -t src/sage/interfaces/r.py  # 1 doctest failed
>>> sage -t src/sage/interfaces/tachyon.py  # 1 doctest failed
>>> sage -t src/sage/libs/glpk/error.pyx  # 1 doctest failed
>>> sage -t src/sage/numerical/backends/glpk_backend.pyx  # 1 doctest failed
>>> sage -t src/sage/tests/cmdline.py  # 3 doctests failed
>>>
>>> ubuntu-eoan-standard
>>> https://github.com/mkoeppe/sage/runs/542655826
>>> sage -t src/sage/interfaces/giac.py  # 2 doctests failed
>>> sage -t src/sage/interfaces/r.py  # 1 doctest failed
>>> sage -t src/sage/interfaces/tachyon.py  # 1 doctest failed
>>> sage -t src/sage/libs/eclib/interface.py  # 1 doctest failed
>>> sage -t src/sage/libs/glpk/error.pyx  # 1 doctest failed
>>> sage -t src/sage/numerical/backends/glpk_backend.pyx  # 1 doctest failed
>>> sage -t src/sage/tests/cmdline.py  # 3 doctests failed
>>>
>>> debian-buster-standard (https://github.com/mkoeppe/sage/runs/542655851)
>>> sage -t src/sage/combinat/tutorial.py  # 2 doctests failed
>>> sage -t src/sage/interfaces/ecm.py  # 3 doctests failed
>>> sage -t src/sage/interfaces/r.py  # 1 doctest failed
>>> sage -t src/sage/interfaces/tachyon.py  # 1 doctest failed
>>> sage -t src/sage/libs/glpk/error.pyx  # 1 doctest failed
>>> sage -t src/sage/libs/libecm.pyx  # 1 doctest failed
>>> sage -t src/sage/numerical/backends/glpk_backend.pyx  # 1 doctest failed
>>> sage -t src/sage/rings/finite_rings/element_pari_ffelt.pyx  # 1 doctest 
>>> failed
>>> sage -t src/sage/rings/padics/padic_lattice_element.py  # 3 doctests 
>>> failed
>>> sage -t 
>>> src/sage/schemes/hyperelliptic_curves/hyperelliptic_finite_field.py  # 2 
>>> doctests failed
>>> sage -t src/sage/tests/book_stein_ent.py  # 1 doctest failed
>>> sage -t 
>>> src/sage/tests/books/computational-mathematics-with-sagemath/combinat_doctest.py
>>>   
>>> # 2 doctests failed
>>> sage -t src/sage/tests/cmdline.py  # 3 doctests failed
>>>  
>>> debian-bullseye-standard (https://github.com/mkoeppe/sage/runs/542655863
>>> )
>>> sage -t src/sage/interfaces/r.py  # 1 doctest failed
>>> sage -t src/sage/interfaces/tachyon.py  # 1 doctest failed
>>> sage -t src/sage/lfunctions/dokchitser.py  # 2 doctests failed
>>> sage -t src/sage/lfunctions/pari.py  # 1 doctest failed
>>> sage -t src/sage/libs/glpk/error.pyx  # 1 doctest failed
>>> sage -t src/sage/interfaces/maxima.py  # Timed out
>>> sage -t src/sage/numerical/backends/glpk_backend.pyx  # 1 doctest failed
>>> sage -t src/sage/rings/number_field/number_field.py  # 8 doctests failed
>>> sage -t src/sage/rings/number_field/number_field_ideal.py  # 2 doctests 
>>> failed
>>> sage -t src/sage/rings/number_field/unit_group.py  # 1 doctest failed
>>> sage -t src/sage/rings/padics/padic_lattice_element.py  # 3 doctests 
>>> failed
>>> sage -t src/sage/rings/polynomial/polynomial_quotient_ring.py  # 2 
>>> doctests failed
>>> sage -t src/sage/rings/number_field/number_field_element.pyx  # Timed out
>>> sage -t src/sage/schemes/elliptic_curves/ell_number_field.py  # 3 
>>> doctests failed
>>> sage -t src/sage/schemes/elliptic_curves/height.py  # 6 doctests failed
>>> sage -t src/sage/schemes/plane_conics/con_number_field.py  # 1 doctest 
>>> failed
>>> sage -t src/sage/tests/cmdline.py  # 3 doctests failed
>>>
>>>
>>> *Fedora* (26-32), *Centos* (7-8):
>>>
>>> Fedora 26: clean
>>>
>>> Fedora 27, 28, 29: Critical test failures in sage.combinat, likely 
>>> because of symmetrica https://trac.sagemath.org/ticket/29405
>>>
>>> Fedora 30 and 31: Doctest build error related to eclib 
>>>
>>> Fedora 32: Build errors with various packages. Fedora 32 already ships 
>>> gcc 10!
>>>
>>> Centos 7 and 8: clean
>>>
>>>
>>> *Arch Linux*: clean
>>>
>>> *Slackware: *Build error with freetype; 
>>> https://trac.sagemath.org/ticket/29373 needs review
>>>
>>> *macOS:*
>>>
>>> homebrew-macos-minimal:
>>> sage -t src/sage/interfaces/gap.py  # 1 doctest failed
>>> sage -t src/sage/rings/padics/padic_lattice_element.py  # 3 doctests 
>>> failed
>>> sage -t src/sage/sets/recursively_enumerated_set.pyx  # 2 doctests failed
>>>
>>> homebrew-macos-standard:
>>> pynac build error - https://trac.sagemath.org/ticket/29404 needs review
>>>
>>> homebrew-conda-forge-minimal:
>>> gfan build error - https://trac.sagemath.org/ticket/28984
>>>
>>> homebrew-conda-forge-standard:
>>> numpy build error
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>

-- 
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/ee039a78-faa6-4524-b1bc-b529a5ef5a34%40googlegroups.com.

Reply via email to