#7111: timeout when doctesting partition refinement code
-----------------------+----------------------------------------------------
Reporter: was | Owner: tbd
Type: defect | Status: new
Priority: blocker | Milestone: sage-4.1.2
Component: doctest | Keywords:
Work_issues: | Author:
Reviewer: | Merged:
-----------------------+----------------------------------------------------
Comment(by was):
After deleting the line causing the timeout, I found a *bug* in partition
refinement by testing on Centos32!
{{{
wst...@centos53-32:/tmp/wstein/farm/sage-4.1.2.rc1.alpha3$ ./sage -t
devel/sage/sage/groups/perm_gps/partn_ref/refinement_matrices.pyx
init.sage does not exist ... creating
sage -t
"devel/sage/sage/groups/perm_gps/partn_ref/refinement_matrices.pyx"
**********************************************************************
File
"/tmp/wstein/farm/sage-4.1.2.rc1.alpha3/devel/sage/sage/groups/perm_gps/partn_ref/refinement_matrices.pyx",
line 340:
sage:
sage.groups.perm_gps.partn_ref.refinement_matrices.random_tests()
Expected:
All passed: ... random tests on ... matrices.
Got:
M:
[ 0 18 0 0 0 0 0 0 4 0 0 0 0 0 0 0 0 0 0 0 0 0 4]
[ 0 0 0 0 0 0 0 0 0 0 0 15 0 0 0 0 0 0 6 0 0 0 0]
[ 0 0 0 0 0 0 0 0 0 0 0 0 0 8 0 0 0 0 15 0 0 13 0]
[ 0 0 0 0 7 0 0 0 0 0 16 0 0 0 0 0 0 0 0 22 0 0 0]
[ 0 0 14 0 0 0 0 0 2 0 0 0 0 0 0 0 12 0 0 0 0 0 0]
[ 0 0 13 0 0 0 21 0 0 16 0 0 0 0 0 0 0 0 0 0 0 0 0]
[ 0 0 0 18 0 0 0 0 0 0 0 0 0 0 0 0 0 13 0 0 0 0 0]
[ 0 0 18 0 3 0 0 0 0 0 0 0 22 0 0 0 0 0 0 0 0 0 0]
[ 0 12 0 0 3 0 0 0 0 0 0 0 0 0 0 0 0 16 0 0 0 0 0]
[ 0 0 2 13 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 21]
[ 0 0 0 21 0 0 0 0 0 0 0 1 0 0 9 0 0 0 0 0 0 0 0]
[ 0 11 0 0 6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 21 0]
[19 0 0 0 0 0 0 0 0 0 0 0 0 0 8 0 17 0 0 0 0 0 0]
[ 0 1 0 0 0 0 0 0 0 14 0 0 0 0 0 16 0 0 0 0 0 0 0]
[ 0 0 6 0 0 0 0 0 0 0 0 0 3 1 0 0 0 0 0 0 0 0 0]
[ 0 0 0 0 0 11 0 0 15 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
[ 0 0 0 0 0 0 0 0 0 0 0 0 0 2 12 0 0 10 0 0 0 0 0]
[ 0 0 0 0 0 0 0 19 0 0 0 0 0 0 0 0 0 0 0 17 0 0 0]
[ 0 0 2 11 0 0 0 0 0 4 0 0 0 0 0 0 0 0 0 0 0 0 0]
[ 0 0 0 0 0 0 6 0 0 0 0 0 0 10 0 0 0 10 0 0 0 0 0]
perm:
[15, 5, 17, 20, 10, 3, 21, 7, 11, 8, 4, 16, 19, 2, 9, 12, 6, 22, 14,
0, 13, 18, 1]
**********************************************************************
1 items had failures:
1 of 4 in __main__.example_6
***Test Failed*** 1 failures.
For whitespace errors, see the file
/scratch/wstein/sage//tmp/.doctest_refinement_matrices.py
[8.0 s]
exit code: 1024
----------------------------------------------------------------------
The following tests failed:
sage -t
"devel/sage/sage/groups/perm_gps/partn_ref/refinement_matrices.pyx"
Total time for all tests: 8.0 seconds
wst...@centos53-32:/tmp/wstein/farm/sage-4.1.2.rc1.alpha3$
}}}
So the timeout is probably really a hang caused by a serious bug. (?)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7111#comment:1>
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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---