Sage 4.1.2.alpha2 doctest failures on Mandriva

0 views
Skip to first unread message

Minh Nguyen

unread,
Sep 23, 2009, 3:06:36 AM9/23/09
to sage-...@googlegroups.com
Hi folks,

Sage 4.1.2.alpha2 compiles OK on the mandriva32 VM guest on
boxen.math, i.e. 32-bit Mandriva 2009.0. The following doctests fail:

{{{
sage -t -long "devel/sage/sage/interfaces/expect.py"
**********************************************************************
File "/space/wstein/farm/sage-4.1.2.alpha2/devel/sage/sage/interfaces/expect.py",
line 1599:
sage: gp(10.^80)._sage_repr()
Expected nothing
Got:
'1.000000000000000000000000000e80'
**********************************************************************
1 items had failures:
1 of 3 in __main__.example_45
***Test Failed*** 1 failures.
For whitespace errors, see the file
/space/wstein/farm/sage-4.1.2.alpha2/tmp/.doctest_expect.py
[17.2 s]

<SNIP>

sage -t -long "devel/sage/sage/interfaces/gp.py"
**********************************************************************
File "/space/wstein/farm/sage-4.1.2.alpha2/devel/sage/sage/interfaces/gp.py",
line 567:
sage: repr(gp(10.^80)).replace(gp._exponent_symbol(), 'e')
Expected nothing
Got:
'1.000000000000000000000000000e80'
**********************************************************************
1 items had failures:
1 of 4 in __main__.example_26
***Test Failed*** 1 failures.
For whitespace errors, see the file
/space/wstein/farm/sage-4.1.2.alpha2/tmp/.doctest_gp.py
[5.9 s]

<SNIP>

sage -t -long "devel/sage/sage/crypto/boolean_function.pyx"
**********************************************************************
File "/space/wstein/farm/sage-4.1.2.alpha2/devel/sage/sage/crypto/boolean_function.pyx",
line 1013:
sage: B.nonlinearity()
Expected:
222
Got:
217
**********************************************************************
1 items had failures:
1 of 6 in __main__.example_36
***Test Failed*** 1 failures.
For whitespace errors, see the file
/space/wstein/farm/sage-4.1.2.alpha2/tmp/.doctest_boolean_function.py
[3.9 s]

<SNIP>

sage -t -long "devel/sage/sage/rings/polynomial/pbori.pyx"
**********************************************************************
File "/space/wstein/farm/sage-4.1.2.alpha2/devel/sage/sage/rings/polynomial/pbori.pyx",
line 3940:
sage: x.stable_hash()
Expected:
173100285919
Got:
-845955105
**********************************************************************
File "/space/wstein/farm/sage-4.1.2.alpha2/devel/sage/sage/rings/polynomial/pbori.pyx",
line 4849:
sage: s.stable_hash()
Expected:
173100285919
Got:
-845955105
**********************************************************************
File "/space/wstein/farm/sage-4.1.2.alpha2/devel/sage/sage/rings/polynomial/pbori.pyx",
line 1976:
sage: m.stable_hash()
Expected:
173100285919
Got:
-845955105
**********************************************************************
3 items had failures:
1 of 4 in __main__.example_128
1 of 5 in __main__.example_165
1 of 5 in __main__.example_48
***Test Failed*** 3 failures.
For whitespace errors, see the file
/space/wstein/farm/sage-4.1.2.alpha2/tmp/.doctest_pbori.py
[5.4 s]

----------------------------------------------------------------------
The following tests failed:


sage -t -long "devel/sage/sage/interfaces/expect.py"
sage -t -long "devel/sage/sage/interfaces/gp.py"
sage -t -long "devel/sage/sage/crypto/boolean_function.pyx"
sage -t -long "devel/sage/sage/rings/polynomial/pbori.pyx"
Total time for all tests: 6930.2 seconds
}}}

--
Regards
Minh Van Nguyen

Message has been deleted

Jaap Spies

unread,
Sep 23, 2009, 12:43:23 PM9/23/09
to sage-...@googlegroups.com
Minh Nguyen wrote:
> Hi folks,
>

I had the same failures on Fedora 11, 32 bit

Jaap


> Sage 4.1.2.alpha2 compiles OK on the mandriva32 VM guest on
> boxen.math, i.e. 32-bit Mandriva 2009.0. The following doctests fail:

[...]

Jaap Spies

unread,
Sep 23, 2009, 12:53:15 PM9/23/09
to sage-...@googlegroups.com
Jaap Spies wrote:
> Minh Nguyen wrote:
>> Hi folks,
>>
>
> I had the same failures on Fedora 11, 32 bit
>
> Jaap
>
>

In addition I get a message:

----------------------------------------------------------------------
| Sage Version 4.1.2.alpha2, Release Date: 2009-09-21 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
**********************************************************************
* *
* Warning: this is a prerelease version, and it may be unstable. *
* *
**********************************************************************
/home/jaap/downloads/sage-4.1.2.alpha1/local/lib/python2.6/site-packages/matplotlib/rcsetup.py:117: UserWarning: rcParams key "numerix" is obsolete and has no
effect;
please delete it from your matplotlibrc file
warnings.warn('rcParams key "numerix" is obsolete and has no effect;\n'

Deleting numerix ... solved this problem.

Jaap

Minh Nguyen

unread,
Sep 23, 2009, 7:59:54 PM9/23/09
to sage-...@googlegroups.com
Hi Jaap,

On Thu, Sep 24, 2009 at 2:43 AM, Jaap Spies <j.s...@hccnet.nl> wrote:

<SNIP>

> I had the same failures on Fedora 11, 32 bit

Felix Lawrence has uploaded a patch at ticket #6999 [1] to fix the 32-
versus 64-bit issues caused by these doctests:

sage -t -long "devel/sage/sage/interfaces/expect.py"
sage -t -long "devel/sage/sage/interfaces/gp.py"

[1] http://trac.sagemath.org/sage_trac/ticket/6999

Reply all
Reply to author
Forward
0 new messages