[sage-release] Re: Sage 7.0.beta2 released
Looks more like a bug with signals; The preceeding test is too small (or the alarm granularity too large) sage: n = prod(primes_first_n(9)) sage: try: : alarm(1e-5) : _ = n._pari_divisors_small() : except AlarmInterrupt: : pass and the alarm is then only raised in the following doctest. This is a regression caused by http://trac.sagemath.org/19688 If you don't trust your library linkings you can always run ldd local/lib/python/site-packages/sage/rings/integer.so On Thursday, December 31, 2015 at 7:03:25 PM UTC+1, Steven Trogdon wrote: > > I have the following failure: > > ./sage -t src/sage/rings/integer.pyx > too many failed tests, not using stored timings > Running doctests with ID 2015-12-31-11-59-48-9f43f0a3. > Git branch: develop > Using --optional=mpir,python2,sage > Doctesting 1 file. > sage -t src/sage/rings/integer.pyx > ** > File "src/sage/rings/integer.pyx", line 2622, in > sage.rings.integer.Integer.divisors > Failed example: > 6.divisors() > Exception raised: > Traceback (most recent call last): > File > "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", > > line 496, in _run > self.compile_and_execute(example, compiler, test.globs) > File > "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", > > line 858, in compile_and_execute > exec(compiled, globs) > File "", line 1, in > > Integer(6).divisors() > File > "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", > > line 745, in displayhook > plain_text, rich_output = self._rich_output_formatter(obj, dict()) > File > "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", > > line 610, in _rich_output_formatter > plain_text = self._backend.plain_text_formatter(obj, > **rich_repr_kwds) > File > "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/repl/rich_output/backend_base.py", > > line 305, in plain_text_formatter > plain_text = self._apply_pretty_printer(SagePrettyPrinter, obj) > File > "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/repl/rich_output/backend_base.py", > > line 250, in _apply_pretty_printer > printer.pretty(obj) > File > "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/repl/display/pretty_print.py", > > line 147, in pretty > ok = representation(obj, self, cycle) > File > "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/repl/display/fancy_repr.py", > > line 157, in __call__ > pretty_repr(obj, p, cycle) > File > "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/IPython/lib/pretty.py", > > line 550, in inner > p.text(',') > File > "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/IPython/lib/pretty.py", > > line 211, in text > self.output.write(obj) > File > "/64bitdev/storage/sage-git_develop/sage/local/lib/python/StringIO.py", > line 213, in write > _complain_ifclosed(self.closed) > File "sage/ext/interrupt/interrupt.pyx", line 204, in > sage.ext.interrupt.interrupt.sage_python_check_interrupt > (/64bitdev/storage/sage-git_develop/sage/src/build/cythonized/sage/ext/interrupt/interrupt.c:1904) > sig_check() > File "sage/ext/interrupt/interrupt.pyx", line 91, in > sage.ext.interrupt.interrupt.sig_raise_exception > (/64bitdev/storage/sage-git_develop/sage/src/build/cythonized/sage/ext/interrupt/interrupt.c:970) > raise AlarmInterrupt > AlarmInterrupt > ** > 1 item had failures: >1 of 21 in sage.rings.integer.Integer.divisors > [1055 tests, 1 failure, 11.65 s] > -- > sage -t src/sage/rings/integer.pyx # 1 doctest failed > -- > Total time for all tests: 12.2 seconds > cpu time: 5.2 seconds > cumulative wall time: 11.6 seconds > > The failure is not always the same. Sometimes the failed example is > '6.divisors()' and sometimes it's '28.divisors()`. And on other tries > something else fails in a quite nasty fashion. > > -- 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 post to this group, send email to
[sage-release] Re: Sage 7.0.beta2 released
linking looks good: (sage-sh) strogdon@ledaig:/64bitdev/storage/sage-git_develop/sage$ ldd -r local/lib/python/site-packages/sage/rings/integer.so linux-vdso.so.1 (0x7fffdd18d000) libntl.so.19 => /64bitdev/storage/sage-git_develop/sage/local/lib/libntl.so.19 (0x7f1a0d92c000) libpari-gmp-2.8.so.0 => /64bitdev/storage/sage-git_develop/sage/local/lib/libpari-gmp-2.8.so.0 (0x7f1a0cf8f000) libflint.so.13 => /64bitdev/storage/sage-git_develop/sage/local/lib/libflint.so.13 (0x7f1a0c8c1000) libgmp.so.16 => /64bitdev/storage/sage-git_develop/sage/local/lib/libgmp.so.16 (0x7f1a0c64c000) libpython2.7.so.1.0 => /64bitdev/storage/sage-git_develop/sage/local/lib/libpython2.7.so.1.0 (0x7f1a0c23f000) libpthread.so.0 => /lib64/libpthread.so.0 (0x7f1a0bfe2000) libc.so.6 => /lib64/libc.so.6 (0x7f1a0bc45000) libgf2x.so.1 => /64bitdev/storage/sage-git_develop/sage/local/lib/libgf2x.so.1 (0x7f1a0ba2c000) libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libstdc++.so.6 (0x7f1a0b71e000) libm.so.6 => /lib64/libm.so.6 (0x7f1a0b41d000) libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libgcc_s.so.1 (0x7f1a0b205000) libdl.so.2 => /lib64/libdl.so.2 (0x7f1a0b001000) libmpfr.so.4 => /64bitdev/storage/sage-git_develop/sage/local/lib/libmpfr.so.4 (0x7f1a0ada3000) /lib64/ld-linux-x86-64.so.2 (0x7f1a0dfe6000) libutil.so.1 => /lib64/libutil.so.1 (0x7f1a0aba) On Thursday, December 31, 2015 at 1:00:53 PM UTC-6, Volker Braun wrote: > > Looks more like a bug with signals; The preceeding test is too small (or > the alarm granularity too large) > > sage: n = prod(primes_first_n(9)) > sage: try: > : alarm(1e-5) > : _ = n._pari_divisors_small() > : except AlarmInterrupt: > : pass > > and the alarm is then only raised in the following doctest. This is a > regression caused by http://trac.sagemath.org/19688 > > If you don't trust your library linkings you can always run ldd > local/lib/python/site-packages/sage/rings/integer.so > > > On Thursday, December 31, 2015 at 7:03:25 PM UTC+1, Steven Trogdon wrote: >> >> I have the following failure: >> >> ./sage -t src/sage/rings/integer.pyx >> too many failed tests, not using stored timings >> Running doctests with ID 2015-12-31-11-59-48-9f43f0a3. >> Git branch: develop >> Using --optional=mpir,python2,sage >> Doctesting 1 file. >> sage -t src/sage/rings/integer.pyx >> ** >> File "src/sage/rings/integer.pyx", line 2622, in >> sage.rings.integer.Integer.divisors >> Failed example: >> 6.divisors() >> Exception raised: >> Traceback (most recent call last): >> File >> "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", >> >> line 496, in _run >> self.compile_and_execute(example, compiler, test.globs) >> File >> "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", >> >> line 858, in compile_and_execute >> exec(compiled, globs) >> File "", line 1, in >> >> Integer(6).divisors() >> File >> "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", >> >> line 745, in displayhook >> plain_text, rich_output = self._rich_output_formatter(obj, dict()) >> File >> "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", >> >> line 610, in _rich_output_formatter >> plain_text = self._backend.plain_text_formatter(obj, >> **rich_repr_kwds) >> File >> "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/repl/rich_output/backend_base.py", >> >> line 305, in plain_text_formatter >> plain_text = self._apply_pretty_printer(SagePrettyPrinter, obj) >> File >> "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/repl/rich_output/backend_base.py", >> >> line 250, in _apply_pretty_printer >> printer.pretty(obj) >> File >> "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/repl/display/pretty_print.py", >> >> line 147, in pretty >> ok = representation(obj, self, cycle) >> File >> "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/repl/display/fancy_repr.py", >> >> line 157, in __call__ >> pretty_repr(obj, p, cycle) >> File >> "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/IPython/lib/pretty.py", >> >> line 550, in inner >> p.text(',') >> File >> "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/IPython/lib/pretty.py", >> >> line 211, in text >> self.output.write(obj) >> File >>
[sage-release] Re: Sage 7.0.beta2 released
Is it possible that a system component is contaminating the doctest? I get a similar failure from a sage-on-gentoo install where the failure seems to point to gmp? On Thursday, December 31, 2015 at 12:03:25 PM UTC-6, Steven Trogdon wrote: > > I have the following failure: > > ./sage -t src/sage/rings/integer.pyx > too many failed tests, not using stored timings > Running doctests with ID 2015-12-31-11-59-48-9f43f0a3. > Git branch: develop > Using --optional=mpir,python2,sage > Doctesting 1 file. > sage -t src/sage/rings/integer.pyx > ** > File "src/sage/rings/integer.pyx", line 2622, in > sage.rings.integer.Integer.divisors > Failed example: > 6.divisors() > Exception raised: > Traceback (most recent call last): > File > "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", > > line 496, in _run > self.compile_and_execute(example, compiler, test.globs) > File > "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", > > line 858, in compile_and_execute > exec(compiled, globs) > File "", line 1, in > > Integer(6).divisors() > File > "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", > > line 745, in displayhook > plain_text, rich_output = self._rich_output_formatter(obj, dict()) > File > "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", > > line 610, in _rich_output_formatter > plain_text = self._backend.plain_text_formatter(obj, > **rich_repr_kwds) > File > "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/repl/rich_output/backend_base.py", > > line 305, in plain_text_formatter > plain_text = self._apply_pretty_printer(SagePrettyPrinter, obj) > File > "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/repl/rich_output/backend_base.py", > > line 250, in _apply_pretty_printer > printer.pretty(obj) > File > "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/repl/display/pretty_print.py", > > line 147, in pretty > ok = representation(obj, self, cycle) > File > "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/repl/display/fancy_repr.py", > > line 157, in __call__ > pretty_repr(obj, p, cycle) > File > "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/IPython/lib/pretty.py", > > line 550, in inner > p.text(',') > File > "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/IPython/lib/pretty.py", > > line 211, in text > self.output.write(obj) > File > "/64bitdev/storage/sage-git_develop/sage/local/lib/python/StringIO.py", > line 213, in write > _complain_ifclosed(self.closed) > File "sage/ext/interrupt/interrupt.pyx", line 204, in > sage.ext.interrupt.interrupt.sage_python_check_interrupt > (/64bitdev/storage/sage-git_develop/sage/src/build/cythonized/sage/ext/interrupt/interrupt.c:1904) > sig_check() > File "sage/ext/interrupt/interrupt.pyx", line 91, in > sage.ext.interrupt.interrupt.sig_raise_exception > (/64bitdev/storage/sage-git_develop/sage/src/build/cythonized/sage/ext/interrupt/interrupt.c:970) > raise AlarmInterrupt > AlarmInterrupt > ** > 1 item had failures: >1 of 21 in sage.rings.integer.Integer.divisors > [1055 tests, 1 failure, 11.65 s] > -- > sage -t src/sage/rings/integer.pyx # 1 doctest failed > -- > Total time for all tests: 12.2 seconds > cpu time: 5.2 seconds > cumulative wall time: 11.6 seconds > > The failure is not always the same. Sometimes the failed example is > '6.divisors()' and sometimes it's '28.divisors()`. And on other tries > something else fails in a quite nasty fashion. > > -- 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 post to this group, send email to sage-release@googlegroups.com. Visit this group at https://groups.google.com/group/sage-release. For more options, visit https://groups.google.com/d/optout.
[sage-release] Re: Sage 7.0.beta2 released
I have the following failure: ./sage -t src/sage/rings/integer.pyx too many failed tests, not using stored timings Running doctests with ID 2015-12-31-11-59-48-9f43f0a3. Git branch: develop Using --optional=mpir,python2,sage Doctesting 1 file. sage -t src/sage/rings/integer.pyx ** File "src/sage/rings/integer.pyx", line 2622, in sage.rings.integer.Integer.divisors Failed example: 6.divisors() Exception raised: Traceback (most recent call last): File "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 496, in _run self.compile_and_execute(example, compiler, test.globs) File "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 858, in compile_and_execute exec(compiled, globs) File "", line 1, in Integer(6).divisors() File "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 745, in displayhook plain_text, rich_output = self._rich_output_formatter(obj, dict()) File "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", line 610, in _rich_output_formatter plain_text = self._backend.plain_text_formatter(obj, **rich_repr_kwds) File "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/repl/rich_output/backend_base.py", line 305, in plain_text_formatter plain_text = self._apply_pretty_printer(SagePrettyPrinter, obj) File "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/repl/rich_output/backend_base.py", line 250, in _apply_pretty_printer printer.pretty(obj) File "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/repl/display/pretty_print.py", line 147, in pretty ok = representation(obj, self, cycle) File "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/repl/display/fancy_repr.py", line 157, in __call__ pretty_repr(obj, p, cycle) File "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/IPython/lib/pretty.py", line 550, in inner p.text(',') File "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/IPython/lib/pretty.py", line 211, in text self.output.write(obj) File "/64bitdev/storage/sage-git_develop/sage/local/lib/python/StringIO.py", line 213, in write _complain_ifclosed(self.closed) File "sage/ext/interrupt/interrupt.pyx", line 204, in sage.ext.interrupt.interrupt.sage_python_check_interrupt (/64bitdev/storage/sage-git_develop/sage/src/build/cythonized/sage/ext/interrupt/interrupt.c:1904) sig_check() File "sage/ext/interrupt/interrupt.pyx", line 91, in sage.ext.interrupt.interrupt.sig_raise_exception (/64bitdev/storage/sage-git_develop/sage/src/build/cythonized/sage/ext/interrupt/interrupt.c:970) raise AlarmInterrupt AlarmInterrupt ** 1 item had failures: 1 of 21 in sage.rings.integer.Integer.divisors [1055 tests, 1 failure, 11.65 s] -- sage -t src/sage/rings/integer.pyx # 1 doctest failed -- Total time for all tests: 12.2 seconds cpu time: 5.2 seconds cumulative wall time: 11.6 seconds The failure is not always the same. Sometimes the failed example is '6.divisors()' and sometimes it's '28.divisors()`. And on other tries something else fails in a quite nasty fashion. -- 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 post to this group, send email to sage-release@googlegroups.com. Visit this group at https://groups.google.com/group/sage-release. For more options, visit https://groups.google.com/d/optout.
[sage-release] Re: Sage 7.0.beta2 released
This is now http://trac.sagemath.org/ticket/19816 On Thursday, December 31, 2015 at 8:00:53 PM UTC+1, Volker Braun wrote: > > Looks more like a bug with signals; The preceeding test is too small (or > the alarm granularity too large) > > sage: n = prod(primes_first_n(9)) > sage: try: > : alarm(1e-5) > : _ = n._pari_divisors_small() > : except AlarmInterrupt: > : pass > > and the alarm is then only raised in the following doctest. This is a > regression caused by http://trac.sagemath.org/19688 > > If you don't trust your library linkings you can always run ldd > local/lib/python/site-packages/sage/rings/integer.so > > > On Thursday, December 31, 2015 at 7:03:25 PM UTC+1, Steven Trogdon wrote: >> >> I have the following failure: >> >> ./sage -t src/sage/rings/integer.pyx >> too many failed tests, not using stored timings >> Running doctests with ID 2015-12-31-11-59-48-9f43f0a3. >> Git branch: develop >> Using --optional=mpir,python2,sage >> Doctesting 1 file. >> sage -t src/sage/rings/integer.pyx >> ** >> File "src/sage/rings/integer.pyx", line 2622, in >> sage.rings.integer.Integer.divisors >> Failed example: >> 6.divisors() >> Exception raised: >> Traceback (most recent call last): >> File >> "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", >> >> line 496, in _run >> self.compile_and_execute(example, compiler, test.globs) >> File >> "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", >> >> line 858, in compile_and_execute >> exec(compiled, globs) >> File "", line 1, in >> >> Integer(6).divisors() >> File >> "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", >> >> line 745, in displayhook >> plain_text, rich_output = self._rich_output_formatter(obj, dict()) >> File >> "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py", >> >> line 610, in _rich_output_formatter >> plain_text = self._backend.plain_text_formatter(obj, >> **rich_repr_kwds) >> File >> "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/repl/rich_output/backend_base.py", >> >> line 305, in plain_text_formatter >> plain_text = self._apply_pretty_printer(SagePrettyPrinter, obj) >> File >> "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/repl/rich_output/backend_base.py", >> >> line 250, in _apply_pretty_printer >> printer.pretty(obj) >> File >> "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/repl/display/pretty_print.py", >> >> line 147, in pretty >> ok = representation(obj, self, cycle) >> File >> "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/sage/repl/display/fancy_repr.py", >> >> line 157, in __call__ >> pretty_repr(obj, p, cycle) >> File >> "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/IPython/lib/pretty.py", >> >> line 550, in inner >> p.text(',') >> File >> "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-packages/IPython/lib/pretty.py", >> >> line 211, in text >> self.output.write(obj) >> File >> "/64bitdev/storage/sage-git_develop/sage/local/lib/python/StringIO.py", >> line 213, in write >> _complain_ifclosed(self.closed) >> File "sage/ext/interrupt/interrupt.pyx", line 204, in >> sage.ext.interrupt.interrupt.sage_python_check_interrupt >> (/64bitdev/storage/sage-git_develop/sage/src/build/cythonized/sage/ext/interrupt/interrupt.c:1904) >> sig_check() >> File "sage/ext/interrupt/interrupt.pyx", line 91, in >> sage.ext.interrupt.interrupt.sig_raise_exception >> (/64bitdev/storage/sage-git_develop/sage/src/build/cythonized/sage/ext/interrupt/interrupt.c:970) >> raise AlarmInterrupt >> AlarmInterrupt >> ** >> 1 item had failures: >>1 of 21 in sage.rings.integer.Integer.divisors >> [1055 tests, 1 failure, 11.65 s] >> -- >> sage -t src/sage/rings/integer.pyx # 1 doctest failed >> -- >> Total time for all tests: 12.2 seconds >> cpu time: 5.2 seconds >> cumulative wall time: 11.6 seconds >> >> The failure is not always the same. Sometimes the failed example is >> '6.divisors()' and sometimes it's '28.divisors()`. And on other tries >> something else fails in a quite nasty fashion. >> >> -- You received this message because