leif wrote: > Steven Trogdon wrote: >> I have the following failure: >> >> sage: P = graphs.PetersenGraph() ## line 539 ## >> sage: P.tutte_polynomial() ## line 540 ## >> x^9 + 6*x^8 + 21*x^7 + 56*x^6 + 12*x^5*y + y^6 + 114*x^5 + 70*x^4*y + >> 30*x^3*y^2 + 15*x^2*y^3 + 10*x*y^4 + 9*y^5 + 170*x^4 + 170*x^3*y + >> 105*x^2*y^2 + 65*x*y^3 + 35*y^4 + 180*x^3 + 240*x^2*y + 171*x*y^2 + >> 75*y^3 + 120*x^2 + 168*x*y + 84*y^2 + 36*x + 36*y >> sage: G = graphs.RandomGNP(10,0.6) ## line 549 ## >> sage: G.tutte_polynomial()(1,1) == G.spanning_trees_count() ## line 550 ## >> >> ********************************************************************** >> ---------------------------------------------------------------------- >> sage -t --long src/sage/graphs/tutte_polynomial.py # Timed out >> ---------------------------------------------------------------------- >> >> which indicates progress in testing tutte_polynomial.py. When the file >> is tested individually I get >> >> sage -t --long src/sage/graphs/tutte_polynomial.py >> [105 tests, 1621.87 s] >> ---------------------------------------------------------------------- >> All tests passed! >> ---------------------------------------------------------------------- >> Total time for all tests: 1622.0 seconds >> cpu time: 26.9 seconds >> cumulative wall time: 1621.9 seconds >> >> The most recent previous test is with 7.2.rc2 where I have >> >> sage -t --long src/sage/graphs/tutte_polynomial.py >> [105 tests, 3.99 s] >> >> And with my sage-on-gentoo install (7.4.beta2) I have >> >> sage -t --long >> /usr/lib/python2.7/site-packages/sage/graphs/tutte_polynomial.py >> [105 tests, 3.52 s] >> ---------------------------------------------------------------------- >> All tests passed! >> ---------------------------------------------------------------------- >> Total time for all tests: 3.6 seconds >> cpu time: 3.5 seconds >> cumulative wall time: 3.5 seconds >> >> So, something strange is going on? > > Good catch, that's clearly a regression. (For me it never timed out in > ptestlong tho.) > > > Sage 7.3, GCC 5.4: > ================== > sage -t --long src/sage/graphs/tutte_polynomial.py > [105 tests, 2.41 s] > ---------------------------------------------------------------------- > All tests passed! > ---------------------------------------------------------------------- > Total time for all tests: 2.5 seconds > cpu time: 2.2 seconds > cumulative wall time: 2.4 seconds > > real 0m5.195s > user 0m3.940s > sys 0m0.750s > > > Sage 7.3, GCC 6.1: > ================== > sage -t --long ../src/sage/graphs/tutte_polynomial.py > [105 tests, 3.23 s] > ---------------------------------------------------------------------- > All tests passed! > ---------------------------------------------------------------------- > Total time for all tests: 3.3 seconds > cpu time: 3.0 seconds > cumulative wall time: 3.2 seconds > > real 0m7.406s > user 0m6.150s > sys 0m0.800s > > > Sage 7.4.beta2, GCC 6.1: > ======================== > sage -t --long src/sage/graphs/tutte_polynomial.py > [105 tests, 956.75 s] > ---------------------------------------------------------------------- > All tests passed! > ---------------------------------------------------------------------- > Total time for all tests: 956.8 seconds > cpu time: 13.8 seconds > cumulative wall time: 956.7 seconds > > real 15m59.486s > user 12m9.160s > sys 3m56.850s > > > There's a Python process doing almost nothing most of the time...
P.S.: It's not even a '# long' test (105 tests also without '--long'). And the regression happened *after* beta0 (i.e., in beta1 or beta2). -leif -- You received this message because you are subscribed to the Google Groups "sage-release" 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 https://groups.google.com/group/sage-release. For more options, visit https://groups.google.com/d/optout.
