#15899: Random failures in decorate @fork
----------------------+----------------------------
   Reporter:  vbraun  |            Owner:
       Type:  defect  |           Status:  new
   Priority:  major   |        Milestone:  sage-6.2
  Component:  misc    |         Keywords:
  Merged in:          |          Authors:
  Reviewers:          |  Report Upstream:  N/A
Work issues:          |           Branch:
     Commit:          |     Dependencies:
   Stopgaps:          |
----------------------+----------------------------
 This is possibly because fork failed:
 {{{
 sage -t --long src/sage/parallel/decorate.py
 **********************************************************************
 File "src/sage/parallel/decorate.py", line 526, in
 sage.parallel.decorate.fork
 Failed example:
     g(10^7, m=5)
 Exception raised:
     Traceback (most recent call last):
       File
 "/home/buildbot/build/sage/mark-1/sage_git/build/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 480, in _run
         self.execute(example, compiled, test.globs)
       File
 "/home/buildbot/build/sage/mark-1/sage_git/build/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 839, in execute
         exec compiled in globs
       File "<doctest sage.parallel.decorate.fork[6]>", line 1, in <module>
         g(Integer(10)**Integer(7), m=Integer(5))
       File
 "/home/buildbot/build/sage/mark-1/sage_git/build/local/lib/python2.7/site-
 packages/sage/parallel/decorate.py", line 475, in h
         return list(g([(args, kwds)]))[0][1]
     IndexError: list index out of range
 }}}
 We can't force fork to succeed if there are not enough resources, but we
 should detect the error when it happens and show a suitable error message.
 What we get here is just plain weird.

--
Ticket URL: <http://trac.sagemath.org/ticket/15899>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to