Hi,

On 24 Sep., 00:34, mabshoff <[EMAIL PROTECTED]> wrote:
> On Sep 23, 3:27 pm, "Georg S. Weber" <[EMAIL PROTECTED]>
> wrote:
>
> > On 23 Sep., 10:07, "John Cremona" <[EMAIL PROTECTED]> wrote:
>
> <SNIP>
>
> > I'll open more tickets for other failures, as soon I can say for sure
> > "it' only timing" and have a new "good" timing constant.
>
> Please do not open any more tickets, but post the logs somewhere so I
> can take a long. The timeout for long is 30 minutes, so if the test
> does not finish it is most likely that the job either got pushed
> deeply into swap or something else bad happened. "testlong" is not
> meant for ancient PPC boxen :)
>

Well, that's a question of how much robustness you want.
If it does work even on five-year old PPCs, it is less likely to break
randomly in other "unforseen" circumstances. E.g. porting should be
the easier, the more robust and stable Sage is ;-)

> > Cheers,
> > gsw
>
> Cheers,
>
> Michael


Here are the log snippets, first three "good ones" to give you a
timing impression of this old box:

sage -t -long devel/sage/sage/algebras/algebra.py
         [45.0 s]
sage -t -long devel/sage/sage/algebras/algebra_element.py
         [13.7 s]
sage -t -long devel/sage/sage/algebras/algebra_ideal.py
         [14.5 s]

<SNIP>

sage -t -long devel/sage/sage/calculus/calculus.py
**********************************************************************
File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/tmp/calculus.py",
line 2262:
    sage: (z + exp(x)).laplace(x, s)
Expected:
    z/s + 1/(s - 1)
Got:
    Maxima crashed -- automatically restarting.
    _tmp_
**********************************************************************
1 items had failures:
   1 of  26 in __main__.example_64
***Test Failed*** 1 failures.
For whitespace errors, see the file /Volumes/SageVolume/sage/
sage-3.1.3.alpha0/tmp/.doctest_calculus.py
         [791.4 s]

<SNIP>

sage -t -long devel/sage/sage/crypto/mq/sr.py
halt 14

error: no more memory
System 430592k:434784k Appl 425481k/5110k Malloc 4058k/37k Valloc
426496k/5073k Pages 106518/106 Regions 833:841

A mysterious error (perphaps a memory error?) occurred, which may have
crashed doctest.
         [1318.0 s]

<SNIP>

sage -t -long devel/sage/sage/dsage/dist_functions/
dist_factor.py**********************************************************************
File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/tmp/dist_factor.py",
line 29:
    sage: f.wait(timeout=60) # long time
Exception raised:
    Traceback (most recent call last):
      File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/local/lib/
python2.5/doctest.py", line 1228, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__.example_0[7]>", line 1, in <module>
        f.wait(timeout=Integer(60)) # long time###line 29:
    sage: f.wait(timeout=60) # long time
      File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/local/lib/
python2.5/site-packages/sage/dsage/dist_functions/dist_function.py",
line 183, in wait
        time.sleep(0.5)
      File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/local/lib/
python2.5/site-packages/sage/dsage/dist_functions/dist_function.py",
line 179, in handler
        raise RuntimeError('Maximum wait time exceeded.')
    RuntimeError: Maximum wait time exceeded.
**********************************************************************
File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/tmp/dist_factor.py",
line 30:
    sage: f.done # long time
Expected:
    True
Got:
    False
**********************************************************************
File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/tmp/dist_factor.py",
line 32:
    sage: print f # long time
Expected:
    Factoring "42535295865117307932921825928971026431"
    Prime factors found so far: [31, 601, 1801, 269089806001,
4710883168879506001]
Got:
    Factoring "42535295865117307932921825928971026431"
    Prime factors found so far: [31, 601, 1801]
**********************************************************************
1 items had failures:
   3 of  10 in __main__.example_0
***Test Failed*** 3 failures.
[DSage] Closed connection to localhost
For whitespace errors, see the file /Volumes/SageVolume/sage/
sage-3.1.3.alpha0/tmp/.doctest_dist_factor.py
         [99.3 s]

<SNIP>

sage -t -long devel/sage/sage/functions/piecewise.py
**********************************************************************
File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/tmp/piecewise.py",
line 399:
    sage: Q = rsf.plot(rgbcolor=(0.7,0.6,0.6), plot_points=40)
Exception raised:
    Traceback (most recent call last):
      File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/local/lib/
python2.5/doctest.py", line 1228, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__.example_11[14]>", line 1, in <module>
        Q =
rsf.plot(rgbcolor=(RealNumber('0.7'),RealNumber('0.6'),RealNumber('0.6')),
plot_points=Integer(40))###line 399:
    sage: Q = rsf.plot(rgbcolor=(0.7,0.6,0.6), plot_points=40)
      File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/local/lib/
python2.5/site-packages/sage/functions/piecewise.py", line 810, in
plot
        return sum([plot(p[1], p[0][0], p[0][1], *args, **kwds ) for p
in self.list()])
      File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/local/lib/
python2.5/site-packages/sage/plot/plot.py", line 3566, in plot
        G = funcs.plot(*args, **kwds)
      File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/local/lib/
python2.5/site-packages/sage/calculus/calculus.py", line 920, in plot
        F = self.simplify()
      File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/local/lib/
python2.5/site-packages/sage/calculus/calculus.py", line 3273, in
simplify
        S =
evaled_symbolic_expression_from_maxima_string(self._maxima_init_())
      File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/local/lib/
python2.5/site-packages/sage/calculus/calculus.py", line 8543, in
evaled_symbolic_expression_from_maxima_string
        return symbolic_expression_from_maxima_string(maxima.eval(x))
      File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/local/lib/
python2.5/site-packages/sage/calculus/calculus.py", line 8515, in
symbolic_expression_from_maxima_string
        raise TypeError, "unable to make sense of Maxima expression
'%s' in SAGE"%s
    TypeError: unable to make sense of Maxima expression
'"__SAGE_SYNCHRO_MARKER_1358883177"' in SAGE
**********************************************************************
1 items had failures:
   1 of  16 in __main__.example_11
***Test Failed*** 1 failures.
For whitespace errors, see the file /Volumes/SageVolume/sage/
sage-3.1.3.alpha0/tmp/.doctest_piecewise.py
         [1013.0 s]

<SNIP>

sage -t -long devel/sage/sage/groups/perm_gps/partn_ref/
refinement_matrices.pyx*** *** Error: TIMED OUT! *** ***
*** *** Error: TIMED OUT! *** ***
         [45062.1 s]

<SNIP>

sage -t -long devel/sage/sage/interfaces/psage.py
**********************************************************************
File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/tmp/psage.py", line
23:
    sage: w = [x('factor(2^%s-1)'% randint(250,310)) for x in v]
Exception raised:
    Traceback (most recent call last):
      File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/local/lib/
python2.5/doctest.py", line 1228, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__.example_0[3]>", line 1, in <module>
        w = [x('factor(2^%s-1)'% randint(Integer(250),Integer(310)))
for x in v]###line 23:
    sage: w = [x('factor(2^%s-1)'% randint(250,310)) for x in v]
      File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/local/lib/
python2.5/site-packages/sage/interfaces/sage0.py", line 225, in
__call__
        return SageElement(self, x)
      File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/local/lib/
python2.5/site-packages/sage/interfaces/expect.py", line 1281, in
__init__
        raise TypeError, x
    TypeError: Unable to start sage
**********************************************************************
File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/tmp/psage.py", line
26:
    sage: print "ignore this";  w       # random output (depends on
timing)
Exception raised:
    Traceback (most recent call last):
      File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/local/lib/
python2.5/doctest.py", line 1228, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__.example_0[4]>", line 1, in <module>
        print "ignore this";  w       # random output (depends on
timing)###line 26:
    sage: print "ignore this";  w       # random output (depends on
timing)
    NameError: name 'w' is not defined
**********************************************************************
File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/tmp/psage.py", line
35:
    sage: print "ignore this";  w       # random output
Exception raised:
    Traceback (most recent call last):
      File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/local/lib/
python2.5/doctest.py", line 1228, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__.example_0[5]>", line 1, in <module>
        print "ignore this";  w       # random output###line 35:
    sage: print "ignore this";  w       # random output
    NameError: name 'w' is not defined
**********************************************************************
1 items had failures:
   3 of   6 in __main__.example_0
***Test Failed*** 3 failures.
For whitespace errors, see the file /Volumes/SageVolume/sage/
sage-3.1.3.alpha0/tmp/.doctest_psage.py
         [66.8 s]

<SNIP>

sage -t -long devel/sage/sage/matrix/
matrix_symbolic_dense.pyx**********************************************************************
File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/tmp/
matrix_symbolic_dense.py", line 804:
    sage: f(1,2)
Expected:
    [0 1]
    [2 z]
Got:
    Maxima crashed -- automatically restarting.
    [0 1]
    [2 z]
**********************************************************************
File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/tmp/
matrix_symbolic_dense.py", line 134:
    sage: loads(dumps(M)) == M         # implicitly calls _pickle
Exception raised:
    Traceback (most recent call last):
      File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/local/lib/
python2.5/doctest.py", line 1228, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__.example_7[4]>", line 1, in <module>
        loads(dumps(M)) == M         # implicitly calls _pickle###line
134:
    sage: loads(dumps(M)) == M         # implicitly calls _pickle
      File "sage_object.pyx", line 520, in
sage.structure.sage_object.dumps (sage/structure/sage_object.c:5071)
      File "sage_object.pyx", line 155, in
sage.structure.sage_object.SageObject.dumps (sage/structure/
sage_object.c:1558)
      File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/local/lib/
python2.5/site-packages/sage/interfaces/expect.py", line 1296, in
__reduce__
        return reduce_load, (self.parent(), self._reduce())
      File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/local/lib/
python2.5/site-packages/sage/interfaces/expect.py", line 1299, in
_reduce
        return repr(self)
      File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/local/lib/
python2.5/site-packages/sage/interfaces/maxima.py", line 1543, in
__repr__
        P = self._check_valid()
      File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/local/lib/
python2.5/site-packages/sage/interfaces/expect.py", line 1365, in
_check_valid
        raise ValueError, "The %s session in which this object was
defined is no longer running."%P.name()
    ValueError: The maxima session in which this object was defined is
no longer running.
**********************************************************************
File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/tmp/
matrix_symbolic_dense.py", line 147:
    sage: loads(dumps(m))   # implicitly calls _unpickle
Exception raised:
    Traceback (most recent call last):
      File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/local/lib/
python2.5/doctest.py", line 1228, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__.example_8[3]>", line 1, in <module>
        loads(dumps(m))   # implicitly calls _unpickle###line 147:
    sage: loads(dumps(m))   # implicitly calls _unpickle
      File "sage_object.pyx", line 520, in
sage.structure.sage_object.dumps (sage/structure/sage_object.c:5071)
      File "sage_object.pyx", line 155, in
sage.structure.sage_object.SageObject.dumps (sage/structure/
sage_object.c:1558)
      File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/local/lib/
python2.5/site-packages/sage/interfaces/expect.py", line 1296, in
__reduce__
        return reduce_load, (self.parent(), self._reduce())
      File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/local/lib/
python2.5/site-packages/sage/interfaces/expect.py", line 1299, in
_reduce
        return repr(self)
      File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/local/lib/
python2.5/site-packages/sage/interfaces/maxima.py", line 1543, in
__repr__
        P = self._check_valid()
      File "/Volumes/SageVolume/sage/sage-3.1.3.alpha0/local/lib/
python2.5/site-packages/sage/interfaces/expect.py", line 1365, in
_check_valid
        raise ValueError, "The %s session in which this object was
defined is no longer running."%P.name()
    ValueError: The maxima session in which this object was defined is
no longer running.
**********************************************************************
3 items had failures:
   1 of  25 in __main__.example_33
   1 of   5 in __main__.example_7
   1 of   4 in __main__.example_8
***Test Failed*** 3 failures.
For whitespace errors, see the file /Volumes/SageVolume/sage/
sage-3.1.3.alpha0/tmp/.doctest_matrix_symbolic_dense.py
         [482.7 s]

<SNIP>

sage -t -long devel/sage/sage/schemes/elliptic_curves/
ell_finite_field.py
halt 14

error: no more memory
System 5116k:5116k Appl 4668k/447k Malloc 4089k/2k Valloc 1024k/444k
Pages 160/96 Regions 2:2

A mysterious error (perphaps a memory error?) occurred, which may have
crashed doctest.
         [205.0 s]

<SNIP>

sage -t -long devel/sage/sage/schemes/elliptic_curves/
ell_rational_field.py*** *** Error: TIMED OUT! *** ***
*** *** Error: TIMED OUT! *** ***
         [3606.1 s]

<SNIP>

sage -t -long devel/sage/sage/schemes/elliptic_curves/sha.py*** ***
Error: TIMED OUT! *** ***
*** *** Error: TIMED OUT! *** ***
         [2719.1 s]


As you can see, only the "ell_rational_field.py" doctest seems to have
been hitting the 30 minutes == 3600s timeout barrier.

The *very* long doctest above for "refinement_matrices.pyx" was really
not 45000s, but eternity. More precisely, it really ran thus long, but
then I killed manually one process. Only after that, the testsuite
continued. This means, that in this special case your 30mins timeout
timer did not do its job, the box would have run this one test
endlessly.
(This kind of endless running hits this PPC box randomly, last time
e.g. in "desolver.py", which this time just passed OK.)

Cheers,
gsw



--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to