#15443: Random time outs in ecm.py
-------------------------------------+-------------------------------------
       Reporter:  vbraun             |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-5.13
      Component:  number theory      |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Volker Braun       |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vbraun/ecm_cleanup               |  998126dbd22d30eb34b46a0f122f9d62a9f861c9
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by fbissey):

 So I got 6.0_beta4 built and I tested sage/interfaces/ecm.py a thousand
 time. The last one (number 1000) failed :(
 {{{
 Running doctests with ID 2013-12-11-12-59-50-efe5883e.
 Doctesting 1 file.
 sage -t --long local/lib/python2.7/site-packages/sage/interfaces/ecm.py
 **********************************************************************
 File "local/lib/python2.7/site-packages/sage/interfaces/ecm.py", line 606,
 in sage.interfaces.ecm.ECM.get_last_params
 Failed example:
     ecm.factor((2^197 + 1)/3)             # long time
 Expected:
     [197002597249, 1348959352853811313, 251951573867253012259144010843]
 Got:
     [197002597249, 339872432034468861533158743041639097889948066859]
 **********************************************************************
 1 item had failures:
    1 of   3 in sage.interfaces.ecm.ECM.get_last_params
     [43 tests, 1 failure, 6.84 s]
 ----------------------------------------------------------------------
 sage -t --long local/lib/python2.7/site-packages/sage/interfaces/ecm.py  #
 1 doctest failed
 ----------------------------------------------------------------------
 Total time for all tests: 6.9 seconds
     cpu time: 0.1 seconds
     cumulative wall time: 6.8 seconds
 }}}
 How uncool is that.

--
Ticket URL: <http://trac.sagemath.org/ticket/15443#comment:9>
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