#13211: Upgrade GAP to 4.5.6
-----------------------------------------------------------+----------------
       Reporter:  kini                                     |         Owner:  
tbd              
           Type:  enhancement                              |        Status:  
needs_work       
       Priority:  major                                    |     Milestone:  
sage-5.5         
      Component:  packages                                 |    Resolution:     
              
       Keywords:                                           |   Work issues:     
              
Report Upstream:  Completely fixed; Fix reported upstream  |     Reviewers:  
Dmitrii Pasechnik
        Authors:  Volker Braun                             |     Merged in:     
              
   Dependencies:  #13123                                   |      Stopgaps:     
              
-----------------------------------------------------------+----------------

Comment (by kcrisman):

 I get the following errors on Mac OS X 10.4 PPC.  I think they are all
 about the seed for random tests.  Notice that they did pass in the past,
 and they are neither the old nor the new versions of the expected results
 from the patch here.  Could the little/big-endian have any impact on this?
 I assume not, but otherwise it seems odd that they worked in the past and
 don't now.  Of course, they ARE "random"...
 {{{
 sage -t  "devel/sage-main/sage/algebras/group_algebra_new.py"
 **********************************************************************
 File "/Users/student/Desktop/sage-5.4.beta1/devel/sage-
 main/sage/algebras/group_algebra_new.py", line 592:
     sage: GroupAlgebra(DihedralGroup(6), QQ).random_element()
 Expected:
     -1/95*(2,6)(3,5) - 1/2*(1,3)(4,6)
 Got:
     -1/95*(1,3)(4,6) - 1/2*(1,5,3)(2,6,4)
 **********************************************************************
 File "/Users/student/Desktop/sage-5.4.beta1/devel/sage-
 main/sage/algebras/group_algebra_new.py", line 594:
     sage: GroupAlgebra(SU(2, 13), QQ).random_element(1)
 Expected:
     1/2*[      1 9*a + 2]
     [9*a + 2      12]
 Got:
     1/2*[       4  9*a + 2]
     [6*a + 10        1]
 **********************************************************************
 1 items had failures:
    2 of   5 in __main__.example_23
 ***Test Failed*** 2 failures.
 For whitespace errors, see the file
 /Users/student/.sage//tmp/group_algebra_new_23167.py
          [83.0 s]
 sage -t  "devel/sage-main/sage/groups/matrix_gps/__init__.py"
          [2.8 s]
 sage -t  "devel/sage-main/sage/groups/matrix_gps/all.py"
          [0.9 s]
 sage -t  "devel/sage-main/sage/groups/matrix_gps/general_linear.py"
          [93.5 s]
 sage -t  "devel/sage-main/sage/groups/matrix_gps/homset.py"
          [30.6 s]
 sage -t  "devel/sage-main/sage/groups/matrix_gps/linear.py"
          [21.4 s]
 sage -t  "devel/sage-main/sage/groups/matrix_gps/matrix_group.py"
          [129.7 s]
 sage -t  "devel/sage-main/sage/groups/matrix_gps/matrix_group_element.py"
          [53.0 s]
 sage -t  "devel/sage-main/sage/groups/matrix_gps/matrix_group_morphism.py"
          [50.4 s]
 sage -t  "devel/sage-main/sage/groups/matrix_gps/orthogonal.py"
 **********************************************************************
 File "/Users/student/Desktop/sage-5.4.beta1/devel/sage-
 main/sage/groups/matrix_gps/orthogonal.py", line 244:
     sage: GO( 3, GF(7), 0).random_element()
 Expected:
     [1 0 0]
     [6 1 6]
     [5 0 6]
 Got:
     [1 5 3]
     [0 1 0]
     [0 6 6]
 **********************************************************************
 File "/Users/student/Desktop/sage-5.4.beta1/devel/sage-
 main/sage/groups/matrix_gps/orthogonal.py", line 142:
     sage: G.random_element()
 Expected:
     [4 3 5 2]
     [6 6 4 0]
     [0 4 6 0]
     [4 4 5 1]
 Got:
     [0 6 4 6]
     [2 5 0 2]
     [5 5 4 0]
     [1 0 3 4]
 **********************************************************************
 2 items had failures:
    1 of   6 in __main__.example_10
    1 of   6 in __main__.example_4
 ***Test Failed*** 2 failures.
 For whitespace errors, see the file
 /Users/student/.sage//tmp/orthogonal_23218.py
          [39.1 s]
 sage -t  "devel/sage-main/sage/groups/matrix_gps/special_linear.py"
          [42.5 s]
 sage -t  "devel/sage-main/sage/groups/matrix_gps/symplectic.py"
 **********************************************************************
 File "/Users/student/Desktop/sage-5.4.beta1/devel/sage-
 main/sage/groups/matrix_gps/symplectic.py", line 16:
     sage: G.random_element()
 Expected:
     [5 4 6 0]
     [1 1 6 2]
     [5 5 0 6]
     [5 4 5 1]
 Got:
     [2 3 2 1]
     [6 4 6 5]
     [1 2 5 2]
     [6 5 1 0]
 **********************************************************************
 1 items had failures:
    1 of   8 in __main__.example_0
 ***Test Failed*** 1 failures.
 For whitespace errors, see the file
 /Users/student/.sage//tmp/symplectic_23230.py
          [30.4 s]
 sage -t  "devel/sage-main/sage/groups/matrix_gps/unitary.py"
 **********************************************************************
 File "/Users/student/Desktop/sage-5.4.beta1/devel/sage-
 main/sage/groups/matrix_gps/unitary.py", line 26:
     sage: G.random_element()
 Expected:
     [4*a + 1 4*a + 4   a + 4]
     [3*a + 3       3       3]
     [  a + 2 4*a + 1 3*a + 3]
 Got:
     [2*a + 3       4 3*a + 2]
     [3*a + 4       a 3*a + 1]
     [    4*a 2*a + 2   a + 2]
 **********************************************************************
 1 items had failures:
    1 of  10 in __main__.example_0
 ***Test Failed*** 1 failures.
 For whitespace errors, see the file
 /Users/student/.sage//tmp/unitary_23236.py
          [31.7 s]
 sage -t  "devel/sage-main/sage/misc/randstate.pyx"
 **********************************************************************
 File "/Users/student/Desktop/sage-5.4.beta1/devel/sage-
 main/sage/misc/randstate.pyx", line 57:
     sage: rtest()
 Expected:
     (303, -0.266166246380421, 1/2*x^2 - 1/95*x - 1/2, (1,3,2), [ 0, 0, 0,
 0, 1 ], 963229057, 8045, 0.9661911734708414)
 Got:
     (303, -0.266166246380421, 1/2*x^2 - 1/95*x - 1/2, (1,2)(4,5), [ 0, 0,
 0, 0, 1 ], 963229057, 8045, 0.9661911734708414)
 **********************************************************************
 File "/Users/student/Desktop/sage-5.4.beta1/devel/sage-
 main/sage/misc/randstate.pyx", line 61:
     sage: rtest()
 Expected:
     (978, 0.0557699430711638, -3*x^2 - 1/12, (1,3,2), [ 0, 1, 1, 0, 0 ],
 1161603091, 60359, 0.8335077654199736)
 Got:
     (978, 0.0557699430711638, -3*x^2 - 1/12, (1,2,3), [ 0, 1, 1, 0, 0 ],
 1161603091, 60359, 0.8335077654199736)
 **********************************************************************
 File "/Users/student/Desktop/sage-5.4.beta1/devel/sage-
 main/sage/misc/randstate.pyx", line 65:
     sage: rtest()
 Expected:
     (207, -0.0141049486533456, 4*x^2 + 1/2, (1,3,2), [ 0, 0, 1, 0, 1 ],
 637693405, 27695, 0.19982565117278328)
 Got:
     (207, -0.0141049486533456, 4*x^2 + 1/2, (2,3), [ 0, 0, 1, 0, 1 ],
 637693405, 27695, 0.19982565117278328)
 **********************************************************************
 File "/Users/student/Desktop/sage-5.4.beta1/devel/sage-
 main/sage/misc/randstate.pyx", line 69:
     sage: rtest()
 Expected:
     (303, -0.266166246380421, 1/2*x^2 - 1/95*x - 1/2, (1,3,2), [ 0, 0, 0,
 0, 1 ], 963229057, 8045, 0.9661911734708414)
 Got:
     (303, -0.266166246380421, 1/2*x^2 - 1/95*x - 1/2, (1,2)(4,5), [ 0, 0,
 0, 0, 1 ], 963229057, 8045, 0.9661911734708414)
 **********************************************************************
 File "/Users/student/Desktop/sage-5.4.beta1/devel/sage-
 main/sage/misc/randstate.pyx", line 73:
     sage: rtest()
 Expected:
     (978, 0.0557699430711638, -3*x^2 - 1/12, (1,3,2), [ 0, 1, 1, 0, 0 ],
 1161603091, 60359, 0.8335077654199736)
 Got:
     (978, 0.0557699430711638, -3*x^2 - 1/12, (1,2,3), [ 0, 1, 1, 0, 0 ],
 1161603091, 60359, 0.8335077654199736)
 **********************************************************************
 File "/Users/student/Desktop/sage-5.4.beta1/devel/sage-
 main/sage/misc/randstate.pyx", line 77:
     sage: rtest()
 Expected:
     (207, -0.0141049486533456, 4*x^2 + 1/2, (1,3,2), [ 0, 0, 1, 0, 1 ],
 637693405, 27695, 0.19982565117278328)
 Got:
     (207, -0.0141049486533456, 4*x^2 + 1/2, (2,3), [ 0, 0, 1, 0, 1 ],
 637693405, 27695, 0.19982565117278328)
 **********************************************************************
 File "/Users/student/Desktop/sage-5.4.beta1/devel/sage-
 main/sage/misc/randstate.pyx", line 88:
     sage: rtest()
 Expected:
     (720, -0.612180244315804, x^2 - x, (2,3), [ 1, 0, 0, 0, 0 ],
 912534076, 14005, 0.9205331599518184)
 Got:
     (720, -0.612180244315804, x^2 - x, (1,3), [ 1, 0, 0, 0, 0 ],
 912534076, 14005, 0.9205331599518184)
 **********************************************************************
 File "/Users/student/Desktop/sage-5.4.beta1/devel/sage-
 main/sage/misc/randstate.pyx", line 224:
     sage: r1 = rtest(); r1
 Expected:
     (303, -0.266166246380421, 1/2*x^2 - 1/95*x - 1/2, (1,3,2), [ 0, 0, 0,
 0, 1 ], 963229057, 8045, 0.9661911734708414)
 Got:
     (303, -0.266166246380421, 1/2*x^2 - 1/95*x - 1/2, (1,2)(4,5), [ 0, 0,
 0, 0, 1 ], 963229057, 8045, 0.9661911734708414)
 **********************************************************************
 File "/Users/student/Desktop/sage-5.4.beta1/devel/sage-
 main/sage/misc/randstate.pyx", line 227:
     sage: r2 = rtest(); r2
 Expected:
     (105, 0.642309615982449, -x^2 - x - 6, (1,2,3), [ 1, 0, 0, 1, 1 ],
 14082860, 1271, 0.001767155077382232)
 Got:
     (105, 0.642309615982449, -x^2 - x - 6, (4,5), [ 1, 0, 0, 1, 1 ],
 14082860, 1271, 0.001767155077382232)
 **********************************************************************
 File "/Users/student/Desktop/sage-5.4.beta1/devel/sage-
 main/sage/misc/randstate.pyx", line 236:
     sage: with seed(1): rtest()
 Expected:
     (978, 0.0557699430711638, -3*x^2 - 1/12, (1,3,2), [ 0, 1, 1, 0, 0 ],
 1161603091, 60359, 0.8335077654199736)
 Got:
     (978, 0.0557699430711638, -3*x^2 - 1/12, (1,2,3), [ 0, 1, 1, 0, 0 ],
 1161603091, 60359, 0.8335077654199736)
 **********************************************************************
 File "/Users/student/Desktop/sage-5.4.beta1/devel/sage-
 main/sage/misc/randstate.pyx", line 239:
     sage: r2m = rtest(); r2m
 Expected:
     (105, 0.642309615982449, -x^2 - x - 6, (1,2,3), [ 1, 0, 0, 1, 1 ],
 14082860, 19769, 0.001767155077382232)
 Got:
     (105, 0.642309615982449, -x^2 - x - 6, (4,5), [ 1, 0, 0, 1, 1 ],
 14082860, 19769, 0.001767155077382232)
 **********************************************************************
 File "/Users/student/Desktop/sage-5.4.beta1/devel/sage-
 main/sage/misc/randstate.pyx", line 255:
     sage: with seed(1):
           rtest();
           rtest();
 Expected:
     (978, 0.0557699430711638, -3*x^2 - 1/12, (1,3,2), [ 0, 1, 1, 0, 0 ],
 1161603091, 60359, 0.8335077654199736)
     (138, -0.0404945051288503, 2*x - 24, (2,3), [ 1, 1, 1, 0, 1 ],
 1966097838, 10234, 0.0033332230808060803)
 Got:
     (978, 0.0557699430711638, -3*x^2 - 1/12, (1,2,3), [ 0, 1, 1, 0, 0 ],
 1161603091, 60359, 0.8335077654199736)
     (138, -0.0404945051288503, 2*x - 24, (2,3), [ 1, 1, 1, 0, 1 ],
 1966097838, 10234, 0.0033332230808060803)
 **********************************************************************
 File "/Users/student/Desktop/sage-5.4.beta1/devel/sage-
 main/sage/misc/randstate.pyx", line 274:
     sage: try:
           ctx.__enter__()
           rtest()
     finally:
           ctx.__exit__(None, None, None)
 Expected:
     <sage.misc.randstate.randstate object at 0x...>
     (978, 0.0557699430711638, -3*x^2 - 1/12, (1,3,2), [ 0, 1, 1, 0, 0 ],
 1161603091, 60359, 0.8335077654199736)
     False
 Got:
     <sage.misc.randstate.randstate object at 0x155950c0>
     (978, 0.0557699430711638, -3*x^2 - 1/12, (1,2,3), [ 0, 1, 1, 0, 0 ],
 1161603091, 60359, 0.8335077654199736)
     False
 **********************************************************************
 File "/Users/student/Desktop/sage-5.4.beta1/devel/sage-
 main/sage/misc/randstate.pyx", line 703:
     sage: gap.Random(1, 10^50)
 Expected:
     1496738263332555434474532297768680634540939580077
 Got:
     97144566318213989637952954803537490912828430192472
 **********************************************************************
 }}}

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

Reply via email to