Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Trac #15443: Random time outs in ecm.py
Browse files Browse the repository at this point in the history
Infrequently, I get this doctest failure:
{{{
sage -t --long src/sage/interfaces/ecm.py
    Timed out
**********************************************************************
Tests run before process (pid=8764) timed out:
sage: f = ECM() ## line 169 ##
sage: n = 508021860739623467191080372196682785441177798407961 ## line
170 ##
sage: f.one_curve(n, B1=10000, sigma=11) ## line 171 ##
[1, 508021860739623467191080372196682785441177798407961]
sage: f.one_curve(n, B1=10000, sigma=1022170541) ## line 173 ##
[79792266297612017, 6366805760909027985741435139224233]
sage: n = 432132887883903108009802143314445113500016816977037257 ## line
175 ##
sage: f.one_curve(n, B1=500000, algorithm="P-1") ## line 176 ##
[67872792749091946529, 6366805760909027985741435139224233]
sage: n = 2088352670731726262548647919416588631875815083 ## line 178 ##
sage: f.one_curve(n, B1=2000, algorithm="P+1", x0=5) ## line 179 ##
[328006342451, 6366805760909027985741435139224233]
sage: sig_on_count() ## line 181 ##
0
sage: f = ECM() ## line 241 ##
sage: n = 508021860739623467191080372196682785441177798407961 ## line
242 ##
sage: f.find_factor(n) ## line 243 ##
[79792266297612017, 6366805760909027985741435139224233]
sage: f=2^2^14+1 ## line 247 ##
sage: ecm.find_factor(f) ## line 248 ##
sage: sig_on_count() ## line 252 ##
0
sage: ecm.factor(602400691612422154516282778947806249229526581) ## line
333 ##
[45949729863572179, 13109994191499930367061460439]
sage: ecm.factor((2^197 + 1)/3)           # takes a long time ## line
336 ##
}}}

URL: http://trac.sagemath.org/15443
Reported by: vbraun
Ticket author(s): Volker Braun
Reviewer(s): François Bissey
  • Loading branch information
Release Manager authored and vbraun committed Feb 14, 2014
2 parents 7019959 + 383520e commit f59a9cb
Show file tree
Hide file tree
Showing 4 changed files with 759 additions and 376 deletions.
1 change: 1 addition & 0 deletions src/doc/en/reference/interfaces/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ and testing to make sure nothing funny is going on).

sage/interfaces/expect
sage/interfaces/axiom
sage/interfaces/ecm
sage/interfaces/four_ti_2
sage/interfaces/gap
sage/interfaces/gap3
Expand Down
Loading

0 comments on commit f59a9cb

Please sign in to comment.