Upgrade OK on 32-bit Ubuntu 9.04 with Pentium(R) 4 CPU 3.00GHz. The
following tests failed:
sage -t -long devel/sage-main/sage/interfaces/sage0.py # 27 doctests failed
sage -t -long devel/sage-main/sage/interfaces/r.py # 1 doctests failed
sage -t -long devel/sage-main/sage/interfaces/ecm.py # 0 doctests failed
sage -t -long devel/sage-main/sage/groups/perm_gps/partn_ref/refinement_matrices.pyx
# 0 doctests failed
sage -t -long devel/sage-main/sage/schemes/elliptic_curves/ell_rational_field.py
# 0 doctests failed
sage -t -long devel/sage-main/sage/misc/randstate.pyx # 2 doctests failed
Notice the ones with "0 doctests failed". Full log is up at
http://sage.math.washington.edu/home/mvngu/patch/doctest-sage-4.1.1.alpha0.log.bz2
--
Regards
Minh Van Nguyen
Upgraded from 4.1 and passed make ptestlong on a 32-bit archlinux machine.
--
Alex Ghitza -- Lecturer in Mathematics -- The University of Melbourne
-- Australia -- http://www.ms.unimelb.edu.au/~aghitza/
#6558 "Be more selective in patching ATLAS on Solaris"
http://sagetrac.org/sage_trac/ticket/6558
should be very easy to review, as the change is very small.
#6453 "MPFR test failures on Solaris 10 update 4 on host 't2'"
http://sagetrac.org/sage_trac/ticket/6453
Is somewhat more complex to review. It basically applies a very simple
patch, in a flexible way - whether the patch is applied or not depends
on the type of Solaris machine and if the user has set an environment
variable to over-ride the default behavior.
Ticket #6563 "Singular fails to install header files, since it fails to
find install-sh"
http://sagetrac.org/sage_trac/ticket/6563
Is an easy one to review, but perhaps a bit controversial. It applies a
quick fix (add a copy of install-sh) to the 15 or so copies of the same
name in the singular distribution. It however add that copy in the top
level directory (where spkg-install exists). It can not possibly break
anything else, and it allows singular to build.
There are undoubtedly other ways to get around this problem, but none
are quite as simple. The real solution is to fix a bug in autoconf or
fix the singular build systems - whatever one happens to be at fault.
I'm personally a bit reluctant to spend much time on finding a better
solution, when there are other parts of Sage which have more serious
problems on Solaris.
Dave
This is a known race condition -- for a patch, see
http://trac.sagemath.org/sage_trac/ticket/6374
The patch *should* fix the issue, but since it's an intermittent
problem, it's hard to know that it's *completely* fixed. This was
merged during 4.0.2, but somehow we mixed up merge trees and it wasn't
in the final release. I asked to get it into the last release, but it
still didn't make it ... maybe it'll make it in again soon? I marked
the ticket "needs review," but as I say on the ticket, it's actually
been reviewed once. It felt like cheating to make a new ticket and
list it as "with positive review." :)
-cc
Upgraded OK on 32-bit Debian Lenny, Core 2 Duo. The following tests failed:
sage -t -long devel/sage-main/sage/modules/vector_real_double_dense.pyx
**********************************************************************
File "/home/mvngu/usr/bin/sage/devel/sage-main/sage/modules/vector_real_double_dense.pyx",
line 72:
sage: v.stats_skew()
Expected:
0.0
Got:
doctest:106: SyntaxWarning: assertion is always true, perhaps
remove parentheses?
0.0
**********************************************************************
1 items had failures:
1 of 4 in __main__.example_2
***Test Failed*** 1 failures.
For whitespace errors, see the file
/home/mvngu/usr/bin/sage/tmp/.doctest_vector_real_double_dense.py
[3.1 s]
<SNIP>
sage -t -long devel/sage-main/sage/interfaces/r.py
**********************************************************************
File "/home/mvngu/usr/bin/sage/devel/sage-main/sage/interfaces/r.py", line 838:
sage: r.completions('tes')
Expected:
['testPlatformEquivalence', 'testVirtual']
Got:
<BLANKLINE>
Building R command completion list (this takes
a few seconds only the first time you do it).
To force rebuild later, delete /home/mvngu/.sage//r_commandlist.sobj.
['testPlatformEquivalence', 'testVirtual']
**********************************************************************
1 items had failures:
1 of 3 in __main__.example_34
***Test Failed*** 1 failures.
For whitespace errors, see the file /home/mvngu/usr/bin/sage/tmp/.doctest_r.py
[10.5 s]
Same here on Fedora 10 and Fedora 11, 32 bit.
In addition both in a fresh install and in an upgrade:
sage -t "devel/sage/sage/combinat/words/morphism.py"
**********************************************************************
File "/home/jaap/Download/sage-4.1/devel/sage/sage/combinat/words/morphism.py", line 616:
sage: m.extend_by(n)
Expected:
Morphism from Words over Ordered Alphabet ['a', 'b', 0, 1] to Words over Ordered Alphabet ['a', 'b', 0, 1]
Got:
Morphism from Words over Ordered Alphabet [0, 1, 'a', 'b'] to Words over Ordered Alphabet [0, 1, 'a', 'b']
**********************************************************************
File "/home/jaap/Download/sage-4.1/devel/sage/sage/combinat/words/morphism.py", line 618:
sage: n.extend_by(m)
Expected:
Morphism from Words over Ordered Alphabet ['a', 'b', 0, 1] to Words over Ordered Alphabet ['a', 'b', 0, 1, 5]
Got:
Morphism from Words over Ordered Alphabet [0, 1, 'a', 'b'] to Words over Ordered Alphabet [0, 1, 5, 'a', 'b']
**********************************************************************
1 items had failures:
2 of 10 in __main__.example_11
***Test Failed*** 2 failures.
For whitespace errors, see the file /home/jaap/Download/sage-4.1/tmp/.doctest_morphism.py
[3.2 s]
exit code: 1024
Jaap
I see the same thing on a freshly compiled Sage 4.1.1.alpha0, but not
in my merge tree.
On Wed, Jul 22, 2009 at 5:39 AM, Robert Miller<rlmil...@gmail.com> wrote:
>
This has been traced to ticket #6307. I'm reverting that ticket,
reopened it, and have marked it as "needs work".
Thanks! I could not apply the patch{
sage: hg_sage.patch('../trac_6593-word-morphism-doctest-sl.patch')
cd "/home/jaap/downloads/sage-4.1.1.alpha0/devel/sage" && hg status
/home/jaap/downloads/sage-4.1.1.alpha0/local/lib/python2.6/site-packages/sage/misc/hg.py:240: DeprecationWarning: os.popen3 is deprecated. Use the subprocess
module.
x = os.popen3(s)
cd "/home/jaap/downloads/sage-4.1.1.alpha0/devel/sage" && hg status
cd "/home/jaap/downloads/sage-4.1.1.alpha0/devel/sage" && hg import "/home/jaap/downloads/trac_6593-word-morphism-doctest-sl.patch"
abort: outstanding uncommitted changes
sage: hg_sage.status()
Getting status of modified or unknown files:
cd "/home/jaap/downloads/sage-4.1.1.alpha0/devel/sage" && hg status
! sage/server/notebook/templates/async_lib.js
! sage/server/notebook/templates/jmol_lib.js
! sage/server/notebook/templates/notebook_lib.js
---
Jaap
You can't commit anything in Sage 4.1.1.alpha0 since the repository
has been corrupted by the previous patches on ticket #6307. One option
is to refer to the new patches on #6307 for a fix. Another is to wait
for Sage 4.1.1.alpha1 to get out in a couple of hours. Sage
4.1.1.alpha1 will revert #6307, so that should fix the repository
corruption problem. A third option is to manually revert the patches
on #6307 yourself.
Thanks! I reverted --all
Now the patch applied and:
[jaap@paix sage-4.1.1.alpha0]$ ./sage -t "devel/sage/sage/combinat/words/morphism.py"
sage -t "devel/sage/sage/combinat/words/morphism.py"
[4.9 s]
----------------------------------------------------------------------
All tests passed!
Total time for all tests: 4.9 seconds
So I'll give #6593 a positive review.
Jaap
On Thu, Jul 23, 2009 at 7:54 AM, John H Palmieri<jhpalm...@gmail.com> wrote:
<SNIP>
>> You can't commit anything in Sage 4.1.1.alpha0 since the repository
>> has been corrupted by the previous patches on ticket #6307. One option
>> is to refer to the new patches on #6307 for a fix. Another is to wait
>> for Sage 4.1.1.alpha1 to get out in a couple of hours. Sage
>> 4.1.1.alpha1 will revert #6307, so that should fix the repository
>> corruption problem. A third option is to manually revert the patches
>> on #6307 yourself.
>
> It seems to me that in 4.1.1.alpha0, if I make a clone, then I can
> apply patches. Am I hallucinating again?
No, not really. If you're using the binary version of Sage
4.1.1.alpha0, then you can commit and there's no repo corruption and
hg doesn't complain about missing .js files. But if you're using the
source distribution of Sage 4.1.1.alpha0, then hg complains about
missing .js files. If you're using the source distribution and you've
cloned the main repository of that distribution, then I have no ideas
since I just deleted my source distribution of Sage 4.1.1.alpha0
before you asked the question. (Mental note to self: compile the
source distribution of each release and don't delete it until the next
release :-)
On Fri, Jul 24, 2009 at 4:02 AM, Kiran Kedlaya<ksk...@gmail.com> wrote:
>
> Running make ptestlong (which I had never tried before on this
> machine), I see the following failures on 64-bit (Opteron) Fedora 10.
>
> sage -t -long devel/sage/sage/interfaces/r.py # 1 doctests
> failed
> sage -t -long devel/sage/sage/schemes/elliptic_curves/
> ell_rational_field.py # 0 doctests failed
> sage -t -long devel/sage/sage/schemes/elliptic_curves/
> sha_tate.py # 0 doctests failed
> sage -t -long devel/sage/sage/groups/perm_gps/partn_ref/
> refinement_matrices.pyx # 0 doctests failed
>
> The three "0 doctests failed" are timeouts; they pass when run
> individually. The R failure gave
> **********************************************************************
> File "/scratch/sage-4.1.1.alpha0/devel/sage-main/sage/interfaces/
> r.py", line 838:
> sage: r.completions('tes')
> Expected:
> ['testPlatformEquivalence', 'testVirtual']
> Got:
> <BLANKLINE>
> Building R command completion list (this takes
> a few seconds only the first time you do it).
> To force rebuild later, delete /home/r1/kedlaya/.sage//
> r_commandlist.sobj.
> ['testPlatformEquivalence', 'testVirtual']
> **********************************************************************
> but passes if I run it again. However, if I then delete the file
> ~/.sage/r_commandlist.sobj, the failure reappears.
This has been fixed by ticket #6594
http://trac.sagemath.org/sage_trac/ticket/6594