Re: [sage-release] Sage 9.4.beta1 released
I'm also getting random "memleak" errors that probably aren't. We are mostly interested in linear memory growth with multiple calls (i.e. malloc without free), not overall constants (like a new ring was used and the parent is now cached somewhere). The memory leak tests should probably do multiple tries and only fail if ram usage consistently grows. On Saturday, June 12, 2021 at 9:28:31 PM UTC+2 jus...@mac.com wrote: > > > > On Jun 6, 2021, at 11:40, 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 > > Built without problems from a fresh clone of the develop tree on macOS > 10.15.7 (2019 MBP, 8-core Core i9). > > Testing (‘ptestlong’) yielded one failures: > > sage -t --long --warn-long 78.7 --random-seed=0 > src/sage/graphs/bipartite_graph.py > > The failure is the same as I reported earlier, for another system: > File "src/sage/graphs/bipartite_graph.py", line 329, in > sage.graphs.bipartite_graph.BipartiteGraph.__init__ > Failed example: > print(round(get_memory_usage() - start_mem)) > Expected: > 0.0 > Got: > 3.0 > > Again, the failures were more or less the same, with varying non-0.0 > values appearing about 20-30% of the time, when I ran the test in a loop. > > Justin > > > -- 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/ee98a8e1-fb4e-4406-b30c-573204921f1fn%40googlegroups.com.
Re: [sage-release] Sage 9.4.beta1 released
> On Jun 6, 2021, at 11:40, 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 Built without problems from a fresh clone of the develop tree on macOS 10.15.7 (2019 MBP, 8-core Core i9). Testing (‘ptestlong’) yielded one failures: sage -t --long --warn-long 78.7 --random-seed=0 src/sage/graphs/bipartite_graph.py The failure is the same as I reported earlier, for another system: File "src/sage/graphs/bipartite_graph.py", line 329, in sage.graphs.bipartite_graph.BipartiteGraph.__init__ Failed example: print(round(get_memory_usage() - start_mem)) Expected: 0.0 Got: 3.0 Again, the failures were more or less the same, with varying non-0.0 values appearing about 20-30% of the time, when I ran the test in a loop. Justin -- 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/6F3246B4-67D5-4DF3-BF13-F8C7F26BE0A9%40mac.com.
Re: [sage-release] Sage 9.4.beta1 released
What exactly is wrong with Ubuntu system readline ? Is it underlinked? config.log please. On Fri, 11 Jun 2021, 07:05 Samuel Lelièvre, wrote: > Le jeu. 10 juin 2021 à 21:35, Samuel Lelièvre: > > > > Le jeu. 10 juin 2021 à 18:30, Samuel Lelièvre: > > > > > > Thanks for the new release. > > > > > > On Debian 10 buster > > > - `./bootstrap -q && ./configure -q` -- ok but lost a lot of quiet > > > - `make -s V=0` -- ok > > > - `make -s V=0 doc-pdf` -- ok > > > - `make -s V=0 testlong` -- all tests pass > > > > > > On Ubuntu 20.04: > > > - `./bootstrap -q && ./configure -q` -- ok but lost a lot of quiet > > > - `make -s V=0` -- ok > > > - `make -s V=0 doc-pdf` -- ok > > > - `make -s V=0 testlong` -- many failures, > > > apparently related to pari/gp (rich?) output. > > > > The problem, after searching a bit more, might have more > > to do with pexpect and/or readline and/or bracketed-paste, > > than with PARI/GP. > > Fixed by installing Sage's readline: > ``` > $ make -s V=0 readline && make -s V=0 testlong > > > > > ``` > All tests pass! > > -- > 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/CAEcArF1av5SrGbVdF-pdCSZZ38tYcyxuw9Tj%2BZnGU6iA6w1AqA%40mail.gmail.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/CAAWYfq0UG9Mo2eVJ2b%2BJJWRsBWRPkeYKYSjZtOfM8T4tRu0hUg%40mail.gmail.com.
Re: [sage-release] Sage 9.4.beta1 released
Le jeu. 10 juin 2021 à 21:35, Samuel Lelièvre: > > Le jeu. 10 juin 2021 à 18:30, Samuel Lelièvre: > > > > Thanks for the new release. > > > > On Debian 10 buster > > - `./bootstrap -q && ./configure -q` -- ok but lost a lot of quiet > > - `make -s V=0` -- ok > > - `make -s V=0 doc-pdf` -- ok > > - `make -s V=0 testlong` -- all tests pass > > > > On Ubuntu 20.04: > > - `./bootstrap -q && ./configure -q` -- ok but lost a lot of quiet > > - `make -s V=0` -- ok > > - `make -s V=0 doc-pdf` -- ok > > - `make -s V=0 testlong` -- many failures, > > apparently related to pari/gp (rich?) output. > > The problem, after searching a bit more, might have more > to do with pexpect and/or readline and/or bracketed-paste, > than with PARI/GP. Fixed by installing Sage's readline: ``` $ make -s V=0 readline && make -s V=0 testlong ``` All tests pass! -- 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/CAEcArF1av5SrGbVdF-pdCSZZ38tYcyxuw9Tj%2BZnGU6iA6w1AqA%40mail.gmail.com.
Re: [sage-release] Sage 9.4.beta1 released
Le jeu. 10 juin 2021 à 18:30, Samuel Lelièvre: > > Thanks for the new release. > > On Debian 10 buster > - `./bootstrap -q && ./configure -q` -- ok but lost a lot of quiet > - `make -s V=0` -- ok > - `make -s V=0 doc-pdf` -- ok > - `make -s V=0 testlong` -- all tests pass > > On Ubuntu 20.04: > - `./bootstrap -q && ./configure -q` -- ok but lost a lot of quiet > - `make -s V=0` -- ok > - `make -s V=0 doc-pdf` -- ok > - `make -s V=0 testlong` -- many failures, > apparently related to pari/gp (rich?) output. The problem, after searching a bit more, might have more to do with pexpect and/or readline and/or bracketed-paste, than with PARI/GP. -- 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/CAEcArF1qzEMnD%2B8HP2-MSiDDKEBZ-LMrX0vxrombHppdy0q9wA%40mail.gmail.com.
Re: [sage-release] Sage 9.4.beta1 released
Thanks for the new release. On Debian 10 buster - `./bootstrap -q && ./configure -q` -- ok but lost a lot of quiet - `make -s V=0` -- ok - `make -s V=0 doc-pdf` -- ok - `make -s V=0 testlong` -- all tests pass On Ubuntu 20.04: - `./bootstrap -q && ./configure -q` -- ok but lost a lot of quiet - `make -s V=0` -- ok - `make -s V=0 doc-pdf` -- ok - `make -s V=0 testlong` -- many failures, apparently related to pari/gp (rich?) output. Logs at: www.math.u-psud.fr/ ~lelievre/t/slel-2021-06-07-s94b1-parigp.zip -- 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/CAEcArF3yx%2BFhWG16K%2B57zKhE4m5RiL_UV33nSLFM-8CG_Ttq%2Bg%40mail.gmail.com.
Re: [sage-release] Sage 9.4.beta1 released
On Ubuntu 21-04, installation from a fresh git clone: - Compilation : no problem. - make ptestlong: (Note that make ptestlong wanted ptest, which I iinstalled). -- Total time for all tests: 3492.9 seconds cpu time: 10407.5 seconds cumulative wall time: 13534.9 seconds = test session starts == platform linux -- Python 3.9.5, pytest-6.2.4, py-1.10.0, pluggy-0.13.1 rootdir: /usr/local/sages/dev/sage/src, configfile: tox.ini collected 10 items / 1 error / 9 selected ERRORS _ ERROR collecting sage/structure/sage_object_test.py __ ImportError while importing test module '/usr/local/sages/dev/sage/src/sage/structure/sage_object_test.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: src/sage/structure/sage_object_test.py:3: in from .sage_object import SageObject E ImportError: attempted relative import with no known parent package === short test summary info ERROR src/sage/structure/sage_object_test.py Interrupted: 1 error during collection === 1 error in 2.38s === make: *** [Makefile:201 : ptestlong] Erreur 1 -- 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/5efe70f7-7578-ed9d-f276-99ccbc382619%40math.univ-lyon1.fr.
Re: [sage-release] Sage 9.4.beta1 released
This is now https://trac.sagemath.org/ticket/31921 > On 7/06/2021, at 13:33, François Bissey wrote: > > Checking how the feature works I think there was a mistake in the addition to > sage/features/databases.py > for knotinfo. It checks for a sage python module presence, which will always > be there since it is part of > sage, when it should have checked for a static file, like for the other > databases. -- 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/F41BEA41-42A8-4E46-8D0E-D9973A63FC83%40gmail.com.
Re: [sage-release] Sage 9.4.beta1 released
Checking how the feature works I think there was a mistake in the addition to sage/features/databases.py for knotinfo. It checks for a sage python module presence, which will always be there since it is part of sage, when it should have checked for a static file, like for the other databases. > On 7/06/2021, at 13:18, François Bissey wrote: > > I have trouble building the documentation in sage-on-gentoo because of #30352 > which doesn’t seem to be > implementing features properly. That error wouldn’t happen on vanilla sage > because the build is not done > in a sandbox and the build system wouldn’t try to write a system location. > > * python3_9: running distutils-r1_run_phase python_compile_all > /var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/lib/sage/rings/padics/padic_base_leaves.py:1104: > DeprecationWarning: invalid escape sequence \Z > """ > /var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/lib/sage/rings/padics/padic_base_leaves.py:1139: > DeprecationWarning: invalid escape sequence \Q > """ > * ACCESS DENIED: unlinkat: /usr/share/sage/knotinfo > rm: cannot remove '/usr/share/sage/knotinfo': Permission denied > * ACCESS DENIED: mkdir:/usr/share/sage/knotinfo > Traceback (most recent call last): > File > "/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/lib/sage/databases/knotinfo_db.py", > line 420, in demo_version >self._num_knots = load(num_knots_file) > File "sage/misc/persist.pyx", line 187, in sage.misc.persist.load > (/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/cythonized/sage/misc/persist.c:2807) >with open(filename, 'rb') as fobj: > FileNotFoundError: [Errno 2] No such file or directory: > '/usr/share/sage/knotinfo/num_knots.sobj' > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File > "/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/sage_docbuild/__main__.py", > line 1, in >from sage_docbuild import main > File > "/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/sage_docbuild/__init__.py", > line 57, in >import sage.all > File > "/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/lib/sage/all.py", > line 215, in >from sage.knots.all import * > File > "/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/lib/sage/knots/all.py", > line 6, in >if DatabaseKnotInfo().is_present(): > File > "/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/lib/sage/features/__init__.py", > line 162, in is_present >res = self._is_present() > File > "/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/lib/sage/features/__init__.py", > line 823, in _is_present >importlib.import_module(self.name) > File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module >return _bootstrap._gcd_import(name[level:], package, level) > File > "/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/lib/sage/knots/knotinfo.py", > line 239, in >from sage.databases.knotinfo_db import KnotInfoColumns, db > File > "/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/lib/sage/databases/knotinfo_db.py", > line 815, in >dc = db.columns() > File "sage/misc/cachefunc.pyx", line 2310, in > sage.misc.cachefunc.CachedMethodCallerNoArgs.__call__ > (/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/cythonized/sage/misc/cachefunc.c:12918) >self.cache = f(self._instance) > File > "/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/lib/sage/databases/knotinfo_db.py", > line 594, in columns >column_dict = self.read_column_dict() > File "sage/misc/cachefunc.pyx", line 2310, in > sage.misc.cachefunc.CachedMethodCallerNoArgs.__call__ > (/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/cythonized/sage/misc/cachefunc.c:12918) >self.cache = f(self._instance) > File > "/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/lib/sage/databases/knotinfo_db.py", > line 617, in read_column_dict >if self.demo_version(): > File > "/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/lib/sage/databases/knotinfo_db.py", > line 422, in demo_version >self.reset_filecache() > File > "/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/lib/sage/databases/knotinfo_db.py", > line 391, in reset_filecache >sage_makedirs(sobj_path) > File > "/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/lib/sage/misc/misc.py", > line 93, in sage_makedirs >os.makedirs(dirname) > File "/usr/lib/python3.9/os.py", line 225, in makedirs >mkdir(name,
Re: [sage-release] Sage 9.4.beta1 released
I have trouble building the documentation in sage-on-gentoo because of #30352 which doesn’t seem to be implementing features properly. That error wouldn’t happen on vanilla sage because the build is not done in a sandbox and the build system wouldn’t try to write a system location. * python3_9: running distutils-r1_run_phase python_compile_all /var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/lib/sage/rings/padics/padic_base_leaves.py:1104: DeprecationWarning: invalid escape sequence \Z """ /var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/lib/sage/rings/padics/padic_base_leaves.py:1139: DeprecationWarning: invalid escape sequence \Q """ * ACCESS DENIED: unlinkat: /usr/share/sage/knotinfo rm: cannot remove '/usr/share/sage/knotinfo': Permission denied * ACCESS DENIED: mkdir:/usr/share/sage/knotinfo Traceback (most recent call last): File "/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/lib/sage/databases/knotinfo_db.py", line 420, in demo_version self._num_knots = load(num_knots_file) File "sage/misc/persist.pyx", line 187, in sage.misc.persist.load (/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/cythonized/sage/misc/persist.c:2807) with open(filename, 'rb') as fobj: FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/sage/knotinfo/num_knots.sobj' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/sage_docbuild/__main__.py", line 1, in from sage_docbuild import main File "/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/sage_docbuild/__init__.py", line 57, in import sage.all File "/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/lib/sage/all.py", line 215, in from sage.knots.all import * File "/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/lib/sage/knots/all.py", line 6, in if DatabaseKnotInfo().is_present(): File "/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/lib/sage/features/__init__.py", line 162, in is_present res = self._is_present() File "/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/lib/sage/features/__init__.py", line 823, in _is_present importlib.import_module(self.name) File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/lib/sage/knots/knotinfo.py", line 239, in from sage.databases.knotinfo_db import KnotInfoColumns, db File "/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/lib/sage/databases/knotinfo_db.py", line 815, in dc = db.columns() File "sage/misc/cachefunc.pyx", line 2310, in sage.misc.cachefunc.CachedMethodCallerNoArgs.__call__ (/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/cythonized/sage/misc/cachefunc.c:12918) self.cache = f(self._instance) File "/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/lib/sage/databases/knotinfo_db.py", line 594, in columns column_dict = self.read_column_dict() File "sage/misc/cachefunc.pyx", line 2310, in sage.misc.cachefunc.CachedMethodCallerNoArgs.__call__ (/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/cythonized/sage/misc/cachefunc.c:12918) self.cache = f(self._instance) File "/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/lib/sage/databases/knotinfo_db.py", line 617, in read_column_dict if self.demo_version(): File "/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/lib/sage/databases/knotinfo_db.py", line 422, in demo_version self.reset_filecache() File "/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/lib/sage/databases/knotinfo_db.py", line 391, in reset_filecache sage_makedirs(sobj_path) File "/var/tmp/portage/sci-mathematics/sage-/work/sage-/src-python3_9/build/lib/sage/misc/misc.py", line 93, in sage_makedirs os.makedirs(dirname) File "/usr/lib/python3.9/os.py", line 225, in makedirs mkdir(name, mode) PermissionError: [Errno 13] Permission denied: '/usr/share/sage/knotinfo’ Various bits of sage try to recreate share/knotinfo/num_knots.sobj which isn’t installed because I haven’t packaged it yet. This shouldn’t be an issue since database_knotinfo is still optional. The problem here is that it seems that _feature.is_present() is always true, including when it is called at https://github.com/sagemath/sage/blob/develop/src/sage/databases/knotinfo_db.py#L416 I cannot find where it
Re: [sage-release] Sage 9.4.beta1 released
> On Jun 6, 2021, at 11:40 , 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 Built without problems from a fresh clone of the develop tree on macOS 10.13.6 (2017 iMac Pro, 18-core Xeon W). Testing (‘ptestlong’) yielded two failures: sage -t --long --warn-long 70.2 --random-seed=0 src/sage/geometry/polyhedron/base.py # 1 doctest failed sage -t --long --warn-long 70.2 --random-seed=0 src/sage/graphs/bipartite_graph.py # 1 doctest failed The first failure was reported for testing 9.4-B0 on this system. The second, as follows, is new: File "src/sage/graphs/bipartite_graph.py", line 329, in sage.graphs.bipartite_graph.BipartiteGraph.__init__ Failed example: print(round(get_memory_usage() - start_mem)) Expected: 0.0 Got: 3.0 Following a remark of Volker’s in an earlier thread, I ran each (separately) in a loop. The first consistently failed (“expected True, got False”). The second mostly succeeded (70-80% of the time). The failures were similar, but with varying non-zero values. Maybe good garbage vs. bad garbage? Justin -- Justin C. Walker Director, Institute for the Absorption of Federal Funds -- Taxes, n.: Of life's two certainties, the only one for which you can get an extension. -- -- 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/50350385-D037-4DB0-BE09-09C872651C15%40mac.com.