sagemath / sage

Main repository of SageMath
https://www.sagemath.org
Other
1.33k stars 453 forks source link

Test all installed optional packages by default #18558

Closed 6bdad4c1-1e26-4f2f-a442-a01a2292c181 closed 9 years ago

6bdad4c1-1e26-4f2f-a442-a01a2292c181 commented 9 years ago

With this branch, running "sage -t" will automatically involve testing all installed up-to-date new-style optional Sage packages.

Depends on #18456 Depends on #18124 Depends on #18559 Depends on #18563 Depends on #18579 Depends on #18581

CC: @vbraun @jdemeyer @sagetrac-tmonteil @seblabbe

Component: doctest framework

Author: Nathann Cohen, Jeroen Demeyer

Branch/Commit: 82f3eec

Reviewer: Jeroen Demeyer, Karl-Dieter Crisman, John Palmieri

Issue created by migration from https://trac.sagemath.org/ticket/18558

6bdad4c1-1e26-4f2f-a442-a01a2292c181 commented 9 years ago

Description changed:

--- 
+++ 
@@ -1,4 +1,6 @@
 With this branch, running "sage -t" will automatically involve testing all locally installed optional packages.
+
+Of course, setting "--optional=X" only tests the packages listed in `X`.

 In the short term: many broken doctests that we did not notice
 In the long term: more reliable optional packages
6bdad4c1-1e26-4f2f-a442-a01a2292c181 commented 9 years ago

Branch: u/ncohen/18558

6bdad4c1-1e26-4f2f-a442-a01a2292c181 commented 9 years ago

Commit: dd586b9

6bdad4c1-1e26-4f2f-a442-a01a2292c181 commented 9 years ago

New commits:

a3402c9trac #18456: Re-Fix standard_packages(), optional_packages(), and experimental_packages()
dd586b9trac #18558: Test all (installed) optional packages by default
jdemeyer commented 9 years ago
comment:2

See also #13540.

6bdad4c1-1e26-4f2f-a442-a01a2292c181 commented 9 years ago
comment:3

See also #13540.

Cool, a 3 years old ticket without a branch. I will drop them a line.

Nathann

jdemeyer commented 9 years ago
comment:4

Replying to @nathanncohen:

See also #13540.

Cool, a 3 years old ticket without a branch.

Well, there is a patch.

jdemeyer commented 9 years ago
comment:5

Note that tests for the cbc package are marked # optional - Coin so I guess this needs to be fixed.

6bdad4c1-1e26-4f2f-a442-a01a2292c181 commented 9 years ago
comment:6

Well, there is a patch.

It is two years old only. Which do you prefer to review, theirs or mine? :-P

Note that tests for the cbc package are marked # optional - Coin so I guess this needs to be fixed.

True, I will create another ticket in a second (done: #18559)

Nathann

jdemeyer commented 9 years ago
comment:7

Instead of patching sage-runtests, patch the doctest framework, and add some doctests.

jdemeyer commented 9 years ago
comment:8

And instead of naming the option sage_and_installed_packages, I would prefer to have an option like alloptional (all installed optional packages), so one can do --optional=sage,alloptional,internet (which is not possible with your patch).

6bdad4c1-1e26-4f2f-a442-a01a2292c181 commented 9 years ago
comment:9

I did not patch the doctest framework because the default value of 'optional' is systematically overwritten by sage-runtests. As for 'add some doctest', I do not understand what you mean so be more specific.

jdemeyer commented 9 years ago
comment:10

Replying to @nathanncohen:

I did not patch the doctest framework because the default value of 'optional' is systematically overwritten by sage-runtests.

What do you mean with this? The sage-runtests script is really a very thin front-end for the doctest framework in the Sage library, it doesn't parse the value of the --optional option.

jdemeyer commented 9 years ago
comment:11

Replying to @nathanncohen:

As for 'add some doctest', I do not understand what you mean so be more specific.

I meant "add a doctest in the doctest framework", but I admit I haven't thought much about what this should be.

jdemeyer commented 9 years ago
comment:12

On the topic of the option name: make it just optional instead of alloptional. So the default value should be --optional=sage,optional.

6bdad4c1-1e26-4f2f-a442-a01a2292c181 commented 9 years ago
comment:13

What do you mean with this? The sage-runtests script is really a very thin front-end for the doctest framework in the Sage library, it doesn't parse the value of the --optional option.

I mean that I was surprised to find that the DocTestDefaults class is not even instanciated when you run doctests.

7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 9 years ago

Branch pushed to git repo; I updated commit sha1. New commits:

e45591atrac #18558: now with an 'installed_optional' keyword
7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 9 years ago

Changed commit from dd586b9 to e45591a

6bdad4c1-1e26-4f2f-a442-a01a2292c181 commented 9 years ago
comment:15

There is now an installed_optional tag which gets replaced by the list of all (installed) optional packages. The replacement is done in doctest.py.

Nathann

jdemeyer commented 9 years ago

Changed dependencies from #18456 to #18456, #18124

vbraun commented 9 years ago
comment:17

Is there going to be a separate installed_experimental keyword? If not then it would be better to shorten it; Just --optional=optional (somewhat confusing) or --optional=installed. Imho the latter is best since its obvious enough that it refers to packages installed by Sage. It would also fit nicely with auto-detection on #13540, which would then be --optional=auto.

jdemeyer commented 9 years ago
comment:18

What are you going to do with all the current failing optional tests? Mark them as # known bug, open tickets to fix them,...?

vbraun commented 9 years ago
comment:19

Imho: let them fail, its not the job of this ticket to clear that up. Also, will only fail if you actually install optional packages. And you can switch it off with --optional=sage.

jdemeyer commented 9 years ago
comment:20

Replying to @vbraun:

its not the job of this ticket to clear that up.

No, but it's the job of every ticket to ensure that the ticket does not make doctests fail. I think it will be very confusing when we get lots of reports that make ptest fails just somebody installed an optional package. At least, those make targets should use --optional=sage then. Alternatively, mark failing tests as # known bug.

jdemeyer commented 9 years ago
comment:21
sage -t --long src/sage/geometry/triangulation/point_configuration.py
**********************************************************************
File "src/sage/geometry/triangulation/point_configuration.py", line 88, in sage.geometry.triangulation.point_configuration
Failed example:
    regular = p.restrict_to_regular_triangulations(True).triangulations_list()      # optional - TOPCOM
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 496, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 858, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.geometry.triangulation.point_configuration[19]>", line 1, in <module>
        regular = p.restrict_to_regular_triangulations(True).triangulations_list()      # optional - TOPCOM
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/geometry/triangulation/point_configuration.py", line 1016, in triangulations_list
        return list(self.triangulations(verbose))
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/geometry/triangulation/point_configuration.py", line 983, in triangulations
        raise ValueError('Need TOPCOM to test for regularity.')
    ValueError: Need TOPCOM to test for regularity.
**********************************************************************
File "src/sage/geometry/triangulation/point_configuration.py", line 89, in sage.geometry.triangulation.point_configuration
Failed example:
    nonregular = p.restrict_to_regular_triangulations(False).triangulations_list()  # optional - TOPCOM
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 496, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 858, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.geometry.triangulation.point_configuration[20]>", line 1, in <module>
        nonregular = p.restrict_to_regular_triangulations(False).triangulations_list()  # optional - TOPCOM
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/geometry/triangulation/point_configuration.py", line 1016, in triangulations_list
        return list(self.triangulations(verbose))
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/geometry/triangulation/point_configuration.py", line 983, in triangulations
        raise ValueError('Need TOPCOM to test for regularity.')
    ValueError: Need TOPCOM to test for regularity.
**********************************************************************
File "src/sage/geometry/triangulation/point_configuration.py", line 90, in sage.geometry.triangulation.point_configuration
Failed example:
    len(regular)     # optional - TOPCOM
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 496, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 858, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.geometry.triangulation.point_configuration[21]>", line 1, in <module>
        len(regular)     # optional - TOPCOM
    NameError: name 'regular' is not defined
**********************************************************************
File "src/sage/geometry/triangulation/point_configuration.py", line 92, in sage.geometry.triangulation.point_configuration
Failed example:
    len(nonregular)  # optional - TOPCOM
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 496, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 858, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.geometry.triangulation.point_configuration[22]>", line 1, in <module>
        len(nonregular)  # optional - TOPCOM
    NameError: name 'nonregular' is not defined
**********************************************************************
File "src/sage/geometry/triangulation/point_configuration.py", line 94, in sage.geometry.triangulation.point_configuration
Failed example:
    nonregular[0].plot(aspect_ratio=1, axes=False)   # optional - TOPCOM
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 496, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 858, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.geometry.triangulation.point_configuration[23]>", line 1, in <module>
        nonregular[Integer(0)].plot(aspect_ratio=Integer(1), axes=False)   # optional - TOPCOM
    NameError: name 'nonregular' is not defined
**********************************************************************
File "src/sage/geometry/triangulation/point_configuration.py", line 687, in sage.geometry.triangulation.point_configuration.PointConfiguration._TOPCOM_triangulations
Failed example:
    next(iter)     # optional - TOPCOM
Expected:
    #### TOPCOM input ####
    # points2triangs
    # [[0,0,1],[0,1,1],[1,0,1],[1,1,1],[-1,-1,1]]
    #### TOPCOM output ####
    # T[1]:=[5,3:{{0,1,2},{1,2,3},{0,2,4},{0,1,4}}];
    (<0,1,2>, <0,1,4>, <0,2,4>, <1,2,3>)
Got:
    #### TOPCOM input ####
    # points2triangs
    # [[0,0,1],[0,1,1],[1,0,1],[1,1,1],[-1,-1,1]]
    #### TOPCOM output ####
    # T[0]:=[0->5,3:{{0,1,2},{1,2,3},{0,2,4},{0,1,4}}];
    (<0,1,2>, <0,1,4>, <0,2,4>, <1,2,3>)
**********************************************************************
File "src/sage/geometry/triangulation/point_configuration.py", line 783, in sage.geometry.triangulation.point_configuration.PointConfiguration.restrict_to_regular_triangulations
Failed example:
    len(p_regular.triangulations_list())               # optional - TOPCOM
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 496, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 858, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.geometry.triangulation.point_configuration.PointConfiguration.restrict_to_regular_triangulations[4]>", line 1, in <module>
        len(p_regular.triangulations_list())               # optional - TOPCOM
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/geometry/triangulation/point_configuration.py", line 1016, in triangulations_list
        return list(self.triangulations(verbose))
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/geometry/triangulation/point_configuration.py", line 983, in triangulations
        raise ValueError('Need TOPCOM to test for regularity.')
    ValueError: Need TOPCOM to test for regularity.
**********************************************************************
File "src/sage/geometry/triangulation/point_configuration.py", line 826, in sage.geometry.triangulation.point_configuration.PointConfiguration.restrict_to_connected_triangulations
Failed example:
    len(p_all.triangulations_list())                                 # optional - TOPCOM
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 496, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 858, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.geometry.triangulation.point_configuration.PointConfiguration.restrict_to_connected_triangulations[4]>", line 1, in <module>
        len(p_all.triangulations_list())                                 # optional - TOPCOM
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/geometry/triangulation/point_configuration.py", line 1016, in triangulations_list
        return list(self.triangulations(verbose))
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/geometry/triangulation/point_configuration.py", line 981, in triangulations
        raise ValueError('Need TOPCOM to find disconnected triangulations.')
    ValueError: Need TOPCOM to find disconnected triangulations.
**********************************************************************
4 items had failures:
   5 of  33 in sage.geometry.triangulation.point_configuration
   1 of   4 in sage.geometry.triangulation.point_configuration.PointConfiguration._TOPCOM_triangulations
   1 of   7 in sage.geometry.triangulation.point_configuration.PointConfiguration.restrict_to_connected_triangulations
   1 of   7 in sage.geometry.triangulation.point_configuration.PointConfiguration.restrict_to_regular_triangulations
    [239 tests, 8 failures, 23.36 s]
sage -t --long src/doc/en/thematic_tutorials/sandpile.rst
**********************************************************************
File "src/doc/en/thematic_tutorials/sandpile.rst", line 695, in doc.en.thematic_tutorials.sandpile
Failed example:
    p[0] # optional - 4ti2
Expected:
    [{0: -8, 1: 5, 2: 4, 3: 1},
     Simplicial complex with vertex set (0, 1, 2, 3) and facets {(1, 2), (3,)}]
Got:
    [{0: -8, 1: 5, 2: 4, 3: 1},
     Simplicial complex with vertex set (1, 2, 3) and facets {(1, 2), (3,)}]
**********************************************************************
File "src/doc/en/thematic_tutorials/sandpile.rst", line 706, in doc.en.thematic_tutorials.sandpile
Failed example:
    D.Dcomplex() # optional - 4ti2
Expected:
    Simplicial complex with vertex set (0, 1, 2, 3) and facets {(1, 2), (3,)}
Got:
    Simplicial complex with vertex set (1, 2, 3) and facets {(1, 2), (3,)}
**********************************************************************
File "src/doc/en/thematic_tutorials/sandpile.rst", line 1078, in doc.en.thematic_tutorials.sandpile
Failed example:
    p[0] # optional - 4ti2
Expected:
    [{0: -8, 1: 5, 2: 4, 3: 1},
     Simplicial complex with vertex set (0, 1, 2, 3) and facets {(1, 2), (3,)}]
Got:
    [{0: -8, 1: 5, 2: 4, 3: 1},
     Simplicial complex with vertex set (1, 2, 3) and facets {(1, 2), (3,)}]
**********************************************************************
File "src/doc/en/thematic_tutorials/sandpile.rst", line 3623, in doc.en.thematic_tutorials.sandpile
Failed example:
    D.effective_div() # optional - 4ti2
Expected:
    [{0: 1, 1: 0, 2: 0, 3: 1, 4: 0, 5: 0},
     {0: 0, 1: 0, 2: 1, 3: 1, 4: 0, 5: 0},
     {0: 0, 1: 0, 2: 0, 3: 0, 4: 0, 5: 2}]
Got:
    [{0: 0, 1: 0, 2: 1, 3: 1, 4: 0, 5: 0},
     {0: 1, 1: 0, 2: 0, 3: 1, 4: 0, 5: 0},
     {0: 0, 1: 0, 2: 0, 3: 0, 4: 0, 5: 2}]
**********************************************************************
File "src/doc/en/thematic_tutorials/sandpile.rst", line 3627, in doc.en.thematic_tutorials.sandpile
Failed example:
    D.effective_div(False) # optional - 4ti2
Expected:
    [[1, 0, 0, 1, 0, 0], [0, 0, 1, 1, 0, 0], [0, 0, 0, 0, 0, 2]]
Got:
    [[0, 0, 1, 1, 0, 0], [1, 0, 0, 1, 0, 0], [0, 0, 0, 0, 0, 2]]
**********************************************************************
File "src/doc/en/thematic_tutorials/sandpile.rst", line 3779, in doc.en.thematic_tutorials.sandpile
Failed example:
    D.linear_system() # optional - 4ti2
Expected:
    {'inhomog': [[0, 0, -1, -1, 0, -2], [0, 0, 0, 0, 0, -1], [0, 0, 0, 0, 0, 0]],
    'num_inhomog': 3, 'num_homog': 2, 'homog': [[1, 0, 0, 0, 0, 0],
    [-1, 0, 0, 0, 0, 0]]}
Got:
    {'homog': [[1, 0, 0, 0, 0, 0], [-1, 0, 0, 0, 0, 0]],
     'inhomog': [[0, 0, 0, 0, 0, -1], [0, 0, -1, -1, 0, -2], [0, 0, 0, 0, 0, 0]],
     'num_homog': 2,
     'num_inhomog': 3}
**********************************************************************
1 item had failures:
   6 of 584 in doc.en.thematic_tutorials.sandpile
    [583 tests, 6 failures, 26.44 s]
sage -t --long src/sage/symbolic/integration/integral.py
**********************************************************************
File "src/sage/symbolic/integration/integral.py", line 528, in sage.symbolic.integration.integral.integrate
Failed example:
    integrate(f(x), x, algorithm="fricas")      # optional - fricas
Expected:
    2*sqrt(x + sqrt(x^2 + 1)) + log(sqrt(x + sqrt(x^2 + 1)) - 1)
    - log(sqrt(x + sqrt(x^2 + 1)) + 1) - 2*arctan(sqrt(x + sqrt(x^2 + 1)))
Got:
    2*sqrt(x + sqrt(x^2 + 1)) - 2*arctan(sqrt(x + sqrt(x^2 + 1))) - log(sqrt(x + sqrt(x^2 + 1)) + 1) + log(sqrt(x + sqrt(x^2 + 1)) - 1)
**********************************************************************
File "src/sage/symbolic/integration/integral.py", line 541, in sage.symbolic.integration.integral.integrate
Failed example:
    integrate(f(x), x, 1, 2, algorithm="fricas")  # optional - fricas
Expected:
    -1/2*pi + arctan(1/2) + arctan(2) + arctan(5) + arctan(8)
Got:
    -1/2*pi + arctan(8) + arctan(5) + arctan(2) + arctan(1/2)
**********************************************************************
1 item had failures:
   2 of 118 in sage.symbolic.integration.integral.integrate
    [161 tests, 2 failures, 23.00 s]
sage -t --long src/sage/graphs/graph_generators.py
**********************************************************************
File "src/sage/graphs/graph_generators.py", line 1145, in sage.graphs.graph_generators.GraphGenerators.fullerenes
Failed example:
    g.plot3d(layout='spring')  # optional buckygen
Expected nothing
Got:
    Graphics3d Object
**********************************************************************
1 item had failures:
   1 of  11 in sage.graphs.graph_generators.GraphGenerators.fullerenes
    [140 tests, 1 failure, 24.39 s]
sage -t --long src/sage/coding/linear_code.py
**********************************************************************
File "src/sage/coding/linear_code.py", line 1457, in sage.coding.linear_code.AbstractLinearCode.decode
Failed example:
    C.decode(v, algorithm="guava")  # optional - gap_packages (Guava package)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 496, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 858, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.coding.linear_code.AbstractLinearCode.decode[20]>", line 1, in <module>
        C.decode(v, algorithm="guava")  # optional - gap_packages (Guava package)
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/coding/linear_code.py", line 1481, in decode
        result = gap.Decodeword(code, right_word)
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/interfaces/interface.py", line 534, in __call__
        return self._parent.function_call(self._name, list(args), kwds)
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/interfaces/gap.py", line 893, in function_call
        ['%s=%s'%(key,value.name()) for key, value in kwds.items()])))
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/interfaces/gap.py", line 568, in eval
        result = Expect.eval(self, input_line, **kwds)
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/interfaces/expect.py", line 1221, in eval
        for L in code.split('\n') if L != ''])
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/interfaces/gap.py", line 766, in _eval_line
        raise RuntimeError(message)
    RuntimeError: Gap produced error output
    Error, List Element: <list>[2] must have an assigned value

       executing Decodeword($sage26,$sage24);
**********************************************************************
File "src/sage/coding/linear_code.py", line 2356, in sage.coding.linear_code.AbstractLinearCode.permutation_automorphism_group
Failed example:
    C.permutation_automorphism_group(algorithm="gap")  # optional - gap_packages (Guava package)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 496, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 858, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.coding.linear_code.AbstractLinearCode.permutation_automorphism_group[27]>", line 1, in <module>
        C.permutation_automorphism_group(algorithm="gap")  # optional - gap_packages (Guava package)
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/coding/linear_code.py", line 2397, in permutation_automorphism_group
        A = gap("MatrixAutomorphisms(matCwt)")
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/interfaces/interface.py", line 170, in __call__
        return cls(self, x, name=name)
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/interfaces/expect.py", line 1304, in __init__
        self._name = parent._create(value, name=name)
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/interfaces/interface.py", line 360, in _create
        self.set(name, value)
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/interfaces/gap.py", line 1298, in set
        self._eval_line(cmd, allow_use_file=True)
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/interfaces/gap.py", line 766, in _eval_line
        raise RuntimeError(message)
    TypeError: Gap produced error output
    Error, no method found! For debugging hints type ?Recovery from NoMethodFound
    Error, no 1st choice method found for `MatrixAutomorphisms' on 1 arguments

       executing $sage30:=MatrixAutomorphisms(matCwt);;
**********************************************************************
File "src/sage/coding/linear_code.py", line 2358, in sage.coding.linear_code.AbstractLinearCode.permutation_automorphism_group
Failed example:
    C.permutation_automorphism_group(algorithm="gap")  # optional - gap_packages (Guava package)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 496, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 858, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.coding.linear_code.AbstractLinearCode.permutation_automorphism_group[29]>", line 1, in <module>
        C.permutation_automorphism_group(algorithm="gap")  # optional - gap_packages (Guava package)
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/coding/linear_code.py", line 2397, in permutation_automorphism_group
        A = gap("MatrixAutomorphisms(matCwt)")
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/interfaces/interface.py", line 170, in __call__
        return cls(self, x, name=name)
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/interfaces/expect.py", line 1304, in __init__
        self._name = parent._create(value, name=name)
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/interfaces/interface.py", line 360, in _create
        self.set(name, value)
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/interfaces/gap.py", line 1298, in set
        self._eval_line(cmd, allow_use_file=True)
      File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/interfaces/gap.py", line 766, in _eval_line
        raise RuntimeError(message)
    TypeError: Gap produced error output
    Error, no method found! For debugging hints type ?Recovery from NoMethodFound
    Error, no 1st choice method found for `MatrixAutomorphisms' on 1 arguments

       executing $sage17:=MatrixAutomorphisms(matCwt);;
**********************************************************************
2 items had failures:
   1 of  23 in sage.coding.linear_code.AbstractLinearCode.decode
   2 of  31 in sage.coding.linear_code.AbstractLinearCode.permutation_automorphism_group
    [456 tests, 3 failures, 9.84 s]
sage -t --long src/sage/rings/real_mpfr.pyx
**********************************************************************
File "src/sage/rings/real_mpfr.pyx", line 3012, in sage.rings.real_mpfr.RealNumber._axiom_
Failed example:
    fricas(R(pi)) # optional - fricas
Expected:
    3.1415926535 8979323846 26433833
Got:
    3.1415926535_8979323846_26433833
**********************************************************************
1 item had failures:
   1 of   4 in sage.rings.real_mpfr.RealNumber._axiom_
    [957 tests, 1 failure, 2.88 s]
sage -t --long src/sage/rings/infinity.py
**********************************************************************
File "src/sage/rings/infinity.py", line 277, in sage.rings.infinity.AnInfinity._fricas_init_
Failed example:
    fricas(-oo)           # optional - fricas
Expected:
    %minusInfinity
Got:
    - infinity
**********************************************************************
1 item had failures:
   1 of   3 in sage.rings.infinity.AnInfinity._fricas_init_
    [280 tests, 1 failure, 2.42 s]
sage -t --long src/sage/geometry/polyhedron/base_ZZ.py
**********************************************************************
File "src/sage/geometry/polyhedron/base_ZZ.py", line 223, in sage.geometry.polyhedron.base_ZZ.Polyhedron_ZZ.?
Failed example:
    p = P.ehrhart_polynomial(maxdet=5, verbose=True)  # optional - latte_int
Expected:
    This is LattE integrale 1.7.2
    ...
    Invocation: count --ehrhart-polynomial '--redundancy-check=none' '--maxdet=5' --cdd ...
    ...
Got:
    This is LattE integrale 1.7.3
    Available from http://www.math.ucdavis.edu/~latte/
    <BLANKLINE>
    Invocation: count --ehrhart-polynomial '--redundancy-check=none' '--maxdet=5' --cdd /home/jdemeyer/.sage/temp/tamiyo/6258/tmp_GWXqbS.ine 
    Warning: Not performing check for empty polytope, because it is unimplemented for the CDD-style input format. 
    size = 4 x 4
    Number Type = rational
    Ax <= b, given as (b|-A):
    =========================
    [1 -1 1 0]
    [-1 2 -1 0]
    [1 1 -2 0]
    <BLANKLINE>
    Ax = b, given as (b|-A):
    ========================
    [-1 2 -1 -3]
    <BLANKLINE>
    Computing hermitean normal form.
    sol:
    [-1 0 0]
    Particular solution:
    Basis:
    New inequalities:
    [0 1 -3 0]
    [0 0 3 0]
    [3 -3 6 0]
    Time for reading and preprocessing: 0 sec
    The polytope has 3 vertices.
    Time for computing vertices and supporting cones: 0 sec
    Time for dualizing general cones: 0 sec
    Dualizing all cones...All cones are now dualized.
    Time for dualizing general cones: 0 sec
    Triangulating cone... done.
    0 vertex cones done. 
    Triangulating cone... done.
    1 vertex cones done. 
    Triangulating cone... done.
    2 vertex cones done. 
    <BLANKLINE>
    Ehrhart polynomial: Total time: 0 sec
**********************************************************************
File "src/sage/geometry/polyhedron/base_ZZ.py", line 231, in sage.geometry.polyhedron.base_ZZ.Polyhedron_ZZ.?
Failed example:
    p = P.ehrhart_polynomial(dual=True, verbose=True)  # optional - latte_int
Expected:
    This is LattE integrale 1.7.2
    ...
    Invocation: count --ehrhart-polynomial '--redundancy-check=none' --dual --cdd ...
    ...
Got:
    This is LattE integrale 1.7.3
    Available from http://www.math.ucdavis.edu/~latte/
    <BLANKLINE>
    Invocation: count --ehrhart-polynomial '--redundancy-check=none' --dual --cdd /home/jdemeyer/.sage/temp/tamiyo/6258/tmp_61Y455.ine 
    Warning: Not performing check for empty polytope, because it is unimplemented for the CDD-style input format. 
    size = 4 x 4
    Number Type = rational
    Ax <= b, given as (b|-A):
    =========================
    [1 -1 1 0]
    [-1 2 -1 0]
    [1 1 -2 0]
    <BLANKLINE>
    Ax = b, given as (b|-A):
    ========================
    [-1 2 -1 -3]
    <BLANKLINE>
    Computing hermitean normal form.
    sol:
    [-1 0 0]
    Particular solution:
    Basis:
    New inequalities:
    [0 1 -3 0]
    [0 0 3 0]
    [3 -3 6 0]
    Time for reading and preprocessing: 0 sec
    The polytope has 3 vertices.
    Time for computing vertices and supporting cones: 0 sec
    Time for dualizing general cones: 0 sec
    Dualizing all cones...All cones are now dualized.
    Time for dualizing general cones: 0 sec
    Triangulating cone... done.
    0 vertex cones done. 
    Triangulating cone... done.
    1 vertex cones done. 
    Triangulating cone... done.
    2 vertex cones done. 
    <BLANKLINE>
    Ehrhart polynomial: Total time: 0 sec
**********************************************************************
File "src/sage/geometry/polyhedron/base_ZZ.py", line 239, in sage.geometry.polyhedron.base_ZZ.Polyhedron_ZZ.?
Failed example:
    p = P.ehrhart_polynomial(irrational_primal=True, verbose=True)   # optional - latte_int
Expected:
    This is LattE integrale 1.7.2
    ...
    Invocation: count --ehrhart-polynomial '--redundancy-check=none' --irrational-primal --cdd ...
    ...
Got:
    This is LattE integrale 1.7.3
    Available from http://www.math.ucdavis.edu/~latte/
    <BLANKLINE>
    Invocation: count --ehrhart-polynomial '--redundancy-check=none' --irrational-primal --cdd /home/jdemeyer/.sage/temp/tamiyo/6258/tmp_WjZNI4.ine 
    Warning: Not performing check for empty polytope, because it is unimplemented for the CDD-style input format. 
    size = 4 x 4
    Number Type = rational
    Ax <= b, given as (b|-A):
    =========================
    [1 -1 1 0]
    [-1 2 -1 0]
    [1 1 -2 0]
    <BLANKLINE>
    Ax = b, given as (b|-A):
    ========================
    [-1 2 -1 -3]
    <BLANKLINE>
    Computing hermitean normal form.
    sol:
    [-1 0 0]
    Particular solution:
    Basis:
    New inequalities:
    [0 1 -3 0]
    [0 0 3 0]
    [3 -3 6 0]
    Time for reading and preprocessing: 0 sec
    The polytope has 3 vertices.
    Time for computing vertices and supporting cones: 0 sec
    Time for dualizing general cones: 0 sec
    Dualizing all cones...All cones are now dualized.
    Time for dualizing general cones: 0 sec
    Triangulating cone... done.
    0 vertex cones done. 
    Triangulating cone... done.
    1 vertex cones done. 
    Triangulating cone... done.
    2 vertex cones done. 
    <BLANKLINE>
    Ehrhart polynomial: Total time: 0 sec
**********************************************************************
File "src/sage/geometry/polyhedron/base_ZZ.py", line 247, in sage.geometry.polyhedron.base_ZZ.Polyhedron_ZZ.?
Failed example:
    p = P.ehrhart_polynomial(irrational_all_primal=True, verbose=True)  # optional - latte_int
Expected:
    This is LattE integrale 1.7.2
    ...
    Invocation: count --ehrhart-polynomial '--redundancy-check=none' --irrational-all-primal --cdd ...
Got:
    This is LattE integrale 1.7.3
    Available from http://www.math.ucdavis.edu/~latte/
    <BLANKLINE>
    Invocation: count --ehrhart-polynomial '--redundancy-check=none' --irrational-all-primal --cdd /home/jdemeyer/.sage/temp/tamiyo/6258/tmp_Lhrv_b.ine 
    Warning: Not performing check for empty polytope, because it is unimplemented for the CDD-style input format. 
    size = 4 x 4
    Number Type = rational
    Ax <= b, given as (b|-A):
    =========================
    [1 -1 1 0]
    [-1 2 -1 0]
    [1 1 -2 0]
    <BLANKLINE>
    Ax = b, given as (b|-A):
    ========================
    [-1 2 -1 -3]
    <BLANKLINE>
    Computing hermitean normal form.
    sol:
    [-1 0 0]
    Particular solution:
    Basis:
    New inequalities:
    [0 1 -3 0]
    [0 0 3 0]
    [3 -3 6 0]
    Time for reading and preprocessing: 0 sec
    The polytope has 3 vertices.
    Time for computing vertices and supporting cones: 0 sec
    Time for dualizing general cones: 0 sec
    Irrationalizing polyhedral cones... (First computing their rays... Dualizing all cones...All cones are now dualized.
    Time for dualizing general cones: 0 sec
    Dualizing all cones...All cones are now dualized.
    Time for dualizing general cones: 0 sec
    done; sorry for the interruption.) Time for irrationalizing general cones: 0 sec
    Triangulating cone... done.
    0 vertex cones done. 
    Triangulating cone... done.
    1 vertex cones done. 
    Triangulating cone... done.
    2 vertex cones done. 
    <BLANKLINE>
    Ehrhart polynomial: Total time: 0 sec
**********************************************************************
1 item had failures:
   4 of  27 in sage.geometry.polyhedron.base_ZZ.Polyhedron_ZZ.?
    [67 tests, 4 failures, 1.39 s]
sage -t --long src/sage/symbolic/integration/external.py
**********************************************************************
File "src/sage/symbolic/integration/external.py", line 86, in sage.symbolic.integration.external.fricas_integrator
Failed example:
    fricas_integrator(1/(x^2-2), x, 0, 1)                             # optional - fricas
Expected:
    1/4*(log(3*sqrt(2) - 4) - log(sqrt(2)))*sqrt(2)
Got:
    1/4*sqrt(2)*(log(3*sqrt(2) - 4) - log(sqrt(2)))
**********************************************************************
File "src/sage/symbolic/integration/external.py", line 88, in sage.symbolic.integration.external.fricas_integrator
Failed example:
    fricas_integrator(1/(x^2+6), x, -oo, oo)                          # optional - fricas
Expected:
    1/6*pi*sqrt(6)
Got:
    1/6*sqrt(6)*pi
**********************************************************************
1 item had failures:
   2 of   6 in sage.symbolic.integration.external.fricas_integrator
    [14 tests, 2 failures, 2.28 s]
sage -t --long src/doc/en/thematic_tutorials/algebraic_combinatorics/rsk.rst
**********************************************************************
File "src/doc/en/thematic_tutorials/algebraic_combinatorics/rsk.rst", line 23, in doc.en.thematic_tutorials.algebraic_combinatorics.rsk
Failed example:
    view(H)      # optional - dot2tex
Expected nothing
Got:
    An error occurred.
    This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012) (format=pdflatex 2014.3.17)  31 MAY 2015 15:44
    entering extended mode
     restricted \write18 enabled.
     %&-line parsing enabled.
    **\nonstopmode \input{sage.tex}
    (./sage.tex (/usr/share/texmf-dist/tex/latex/base/article.cls
    Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
    (/usr/share/texmf-dist/tex/latex/base/size10.clo
    File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
    )
    \c@part=\count79
    \c@section=\count80
    \c@subsection=\count81
    \c@subsubsection=\count82
    \c@paragraph=\count83
    \c@subparagraph=\count84
    \c@figure=\count85
    \c@table=\count86
    \abovecaptionskip=\skip41
    \belowcaptionskip=\skip42
    \bibindent=\dimen102
    )
    (/usr/share/texmf-dist/tex/latex/amsmath/amsmath.sty
    Package: amsmath 2000/07/18 v2.13 AMS math features
    \@mathmargin=\skip43
    <BLANKLINE>
    For additional information on amsmath, use the `?' option.
    (/usr/share/texmf-dist/tex/latex/amsmath/amstext.sty
    Package: amstext 2000/06/29 v2.01
    <BLANKLINE>
    (/usr/share/texmf-dist/tex/latex/amsmath/amsgen.sty
    File: amsgen.sty 1999/11/30 v2.0
    \@emptytoks=\toks14
    \ex@=\dimen103
    ))
    (/usr/share/texmf-dist/tex/latex/amsmath/amsbsy.sty
    Package: amsbsy 1999/11/29 v1.2d
    \pmbraise@=\dimen104
    )
    (/usr/share/texmf-dist/tex/latex/amsmath/amsopn.sty
    Package: amsopn 1999/12/14 v2.01 operator names
    )
    \inf@bad=\count87
    LaTeX Info: Redefining \frac on input line 211.
    \uproot@=\count88
    \leftroot@=\count89
    LaTeX Info: Redefining \overline on input line 307.
    \classnum@=\count90
    \DOTSCASE@=\count91
    LaTeX Info: Redefining \ldots on input line 379.
    LaTeX Info: Redefining \dots on input line 382.
    LaTeX Info: Redefining \cdots on input line 467.
    \Mathstrutbox@=\box26
    \strutbox@=\box27
    \big@size=\dimen105
    LaTeX Font Info:    Redeclaring font encoding OML on input line 567.
    LaTeX Font Info:    Redeclaring font encoding OMS on input line 568.
    \macc@depth=\count92
    \c@MaxMatrixCols=\count93
    \dotsspace@=\muskip10
    \c@parentequation=\count94
    \dspbrk@lvl=\count95
    \tag@help=\toks15
    \row@=\count96
    \column@=\count97
    \maxfields@=\count98
    \andhelp@=\toks16
    \eqnshift@=\dimen106
    \alignsep@=\dimen107
    \tagshift@=\dimen108
    \tagwidth@=\dimen109
    \totwidth@=\dimen110
    \lineht@=\dimen111
    \@envbody=\toks17
    \multlinegap=\skip44
    \multlinetaggap=\skip45
    \mathdisplay@stack=\toks18
    LaTeX Info: Redefining \[ on input line 2666.
    LaTeX Info: Redefining \] on input line 2667.
    )
    (/usr/share/texmf-dist/tex/latex/amsfonts/amssymb.sty
    Package: amssymb 2009/06/22 v3.00
    <BLANKLINE>
    (/usr/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty
    Package: amsfonts 2009/06/22 v3.00 Basic AMSFonts support
    \symAMSa=\mathgroup4
    \symAMSb=\mathgroup5
    LaTeX Font Info:    Overwriting math alphabet `\mathfrak' in version `bold'
    (Font)                  U/euf/m/n --> U/euf/b/n on input line 96.
    ))
    (/usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
    Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
    <BLANKLINE>
    (/usr/share/texmf-dist/tex/latex/graphics/keyval.sty
    Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
    \KV@toks@=\toks19
    )
    (/usr/share/texmf-dist/tex/latex/graphics/graphics.sty
    Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
    <BLANKLINE>
    (/usr/share/texmf-dist/tex/latex/graphics/trig.sty
    Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
    )
    (/usr/share/texmf-dist/tex/latex/latexconfig/graphics.cfg
    File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
    )
    Package graphics Info: Driver file: pdftex.def on input line 91.
    <BLANKLINE>
    (/usr/share/texmf-dist/tex/latex/pdftex-def/pdftex.def
    File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX
    <BLANKLINE>
    (/usr/share/texmf-dist/tex/generic/oberdiek/infwarerr.sty
    Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO)
    )
    (/usr/share/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
    Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
    )
    \Gread@gobject=\count99
    ))
    \Gin@req@height=\dimen112
    \Gin@req@width=\dimen113
    )
    (/usr/share/texmf-dist/tex/latex/jknapltx/mathrsfs.sty
    Package: mathrsfs 1996/01/01 Math RSFS package v1.0 (jk)
    \symrsfs=\mathgroup6
    )
    (/usr/share/texmf-dist/tex/latex/base/inputenc.sty
    Package: inputenc 2008/03/30 v1.1d Input encoding file
    \inpenc@prehook=\toks20
    \inpenc@posthook=\toks21
    <BLANKLINE>
    (/usr/share/texmf-dist/tex/latex/base/utf8.def
    File: utf8.def 2008/04/05 v1.1m UTF-8 support for inputenc
    Now handling font encoding OML ...
    ... no UTF-8 mapping file for font encoding OML
    Now handling font encoding T1 ...
    ... processing UTF-8 mapping file for font encoding T1
    <BLANKLINE>
    (/usr/share/texmf-dist/tex/latex/base/t1enc.dfu
    File: t1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc
       defining Unicode char U+00A1 (decimal 161)
       defining Unicode char U+00A3 (decimal 163)
       defining Unicode char U+00AB (decimal 171)
       defining Unicode char U+00BB (decimal 187)
       defining Unicode char U+00BF (decimal 191)
       defining Unicode char U+00C0 (decimal 192)
       defining Unicode char U+00C1 (decimal 193)
       defining Unicode char U+00C2 (decimal 194)
       defining Unicode char U+00C3 (decimal 195)
       defining Unicode char U+00C4 (decimal 196)
       defining Unicode char U+00C5 (decimal 197)
       defining Unicode char U+00C6 (decimal 198)
       defining Unicode char U+00C7 (decimal 199)
       defining Unicode char U+00C8 (decimal 200)
       defining Unicode char U+00C9 (decimal 201)
       defining Unicode char U+00CA (decimal 202)
       defining Unicode char U+00CB (decimal 203)
       defining Unicode char U+00CC (decimal 204)
       defining Unicode char U+00CD (decimal 205)
       defining Unicode char U+00CE (decimal 206)
       defining Unicode char U+00CF (decimal 207)
       defining Unicode char U+00D0 (decimal 208)
       defining Unicode char U+00D1 (decimal 209)
       defining Unicode char U+00D2 (decimal 210)
       defining Unicode char U+00D3 (decimal 211)
       defining Unicode char U+00D4 (decimal 212)
       defining Unicode char U+00D5 (decimal 213)
       defining Unicode char U+00D6 (decimal 214)
       defining Unicode char U+00D8 (decimal 216)
       defining Unicode char U+00D9 (decimal 217)
       defining Unicode char U+00DA (decimal 218)
       defining Unicode char U+00DB (decimal 219)
       defining Unicode char U+00DC (decimal 220)
       defining Unicode char U+00DD (decimal 221)
       defining Unicode char U+00DE (decimal 222)
       defining Unicode char U+00DF (decimal 223)
       defining Unicode char U+00E0 (decimal 224)
       defining Unicode char U+00E1 (decimal 225)
       defining Unicode char U+00E2 (decimal 226)
       defining Unicode char U+00E3 (decimal 227)
       defining Unicode char U+00E4 (decimal 228)
       defining Unicode char U+00E5 (decimal 229)
       defining Unicode char U+00E6 (decimal 230)
       defining Unicode char U+00E7 (decimal 231)
       defining Unicode char U+00E8 (decimal 232)
       defining Unicode char U+00E9 (decimal 233)
       defining Unicode char U+00EA (decimal 234)
       defining Unicode char U+00EB (decimal 235)
       defining Unicode char U+00EC (decimal 236)
       defining Unicode char U+00ED (decimal 237)
       defining Unicode char U+00EE (decimal 238)
       defining Unicode char U+00EF (decimal 239)
       defining Unicode char U+00F0 (decimal 240)
       defining Unicode char U+00F1 (decimal 241)
       defining Unicode char U+00F2 (decimal 242)
       defining Unicode char U+00F3 (decimal 243)
       defining Unicode char U+00F4 (decimal 244)
       defining Unicode char U+00F5 (decimal 245)
       defining Unicode char U+00F6 (decimal 246)
       defining Unicode char U+00F8 (decimal 248)
       defining Unicode char U+00F9 (decimal 249)
       defining Unicode char U+00FA (decimal 250)
       defining Unicode char U+00FB (decimal 251)
       defining Unicode char U+00FC (decimal 252)
       defining Unicode char U+00FD (decimal 253)
       defining Unicode char U+00FE (decimal 254)
       defining Unicode char U+00FF (decimal 255)
       defining Unicode char U+0102 (decimal 258)
       defining Unicode char U+0103 (decimal 259)
       defining Unicode char U+0104 (decimal 260)
       defining Unicode char U+0105 (decimal 261)
       defining Unicode char U+0106 (decimal 262)
       defining Unicode char U+0107 (decimal 263)
       defining Unicode char U+010C (decimal 268)
       defining Unicode char U+010D (decimal 269)
       defining Unicode char U+010E (decimal 270)
       defining Unicode char U+010F (decimal 271)
       defining Unicode char U+0110 (decimal 272)
       defining Unicode char U+0111 (decimal 273)
       defining Unicode char U+0118 (decimal 280)
       defining Unicode char U+0119 (decimal 281)
       defining Unicode char U+011A (decimal 282)
       defining Unicode char U+011B (decimal 283)
       defining Unicode char U+011E (decimal 286)
       defining Unicode char U+011F (decimal 287)
       defining Unicode char U+0130 (decimal 304)
       defining Unicode char U+0131 (decimal 305)
       defining Unicode char U+0132 (decimal 306)
       defining Unicode char U+0133 (decimal 307)
       defining Unicode char U+0139 (decimal 313)
       defining Unicode char U+013A (decimal 314)
       defining Unicode char U+013D (decimal 317)
       defining Unicode char U+013E (decimal 318)
       defining Unicode char U+0141 (decimal 321)
       defining Unicode char U+0142 (decimal 322)
       defining Unicode char U+0143 (decimal 323)
       defining Unicode char U+0144 (decimal 324)
       defining Unicode char U+0147 (decimal 327)
       defining Unicode char U+0148 (decimal 328)
       defining Unicode char U+014A (decimal 330)
       defining Unicode char U+014B (decimal 331)
       defining Unicode char U+0150 (decimal 336)
       defining Unicode char U+0151 (decimal 337)
       defining Unicode char U+0152 (decimal 338)
       defining Unicode char U+0153 (decimal 339)
       defining Unicode char U+0154 (decimal 340)
       defining Unicode char U+0155 (decimal 341)
       defining Unicode char U+0158 (decimal 344)
       defining Unicode char U+0159 (decimal 345)
       defining Unicode char U+015A (decimal 346)
       defining Unicode char U+015B (decimal 347)
       defining Unicode char U+015E (decimal 350)
       defining Unicode char U+015F (decimal 351)
       defining Unicode char U+0160 (decimal 352)
       defining Unicode char U+0161 (decimal 353)
       defining Unicode char U+0162 (decimal 354)
       defining Unicode char U+0163 (decimal 355)
       defining Unicode char U+0164 (decimal 356)
       defining Unicode char U+0165 (decimal 357)
       defining Unicode char U+016E (decimal 366)
       defining Unicode char U+016F (decimal 367)
       defining Unicode char U+0170 (decimal 368)
       defining Unicode char U+0171 (decimal 369)
       defining Unicode char U+0178 (decimal 376)
       defining Unicode char U+0179 (decimal 377)
       defining Unicode char U+017A (decimal 378)
       defining Unicode char U+017B (decimal 379)
       defining Unicode char U+017C (decimal 380)
       defining Unicode char U+017D (decimal 381)
       defining Unicode char U+017E (decimal 382)
       defining Unicode char U+200C (decimal 8204)
       defining Unicode char U+2013 (decimal 8211)
       defining Unicode char U+2014 (decimal 8212)
       defining Unicode char U+2018 (decimal 8216)
       defining Unicode char U+2019 (decimal 8217)
       defining Unicode char U+201A (decimal 8218)
       defining Unicode char U+201C (decimal 8220)
       defining Unicode char U+201D (decimal 8221)
       defining Unicode char U+201E (decimal 8222)
       defining Unicode char U+2030 (decimal 8240)
       defining Unicode char U+2031 (decimal 8241)
       defining Unicode char U+2039 (decimal 8249)
       defining Unicode char U+203A (decimal 8250)
       defining Unicode char U+2423 (decimal 9251)
    )
    Now handling font encoding OT1 ...
    ... processing UTF-8 mapping file for font encoding OT1
    <BLANKLINE>
    (/usr/share/texmf-dist/tex/latex/base/ot1enc.dfu
    File: ot1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc
       defining Unicode char U+00A1 (decimal 161)
       defining Unicode char U+00A3 (decimal 163)
       defining Unicode char U+00B8 (decimal 184)
       defining Unicode char U+00BF (decimal 191)
       defining Unicode char U+00C5 (decimal 197)
       defining Unicode char U+00C6 (decimal 198)
       defining Unicode char U+00D8 (decimal 216)
       defining Unicode char U+00DF (decimal 223)
       defining Unicode char U+00E6 (decimal 230)
       defining Unicode char U+00EC (decimal 236)
       defining Unicode char U+00ED (decimal 237)
       defining Unicode char U+00EE (decimal 238)
       defining Unicode char U+00EF (decimal 239)
       defining Unicode char U+00F8 (decimal 248)
       defining Unicode char U+0131 (decimal 305)
       defining Unicode char U+0141 (decimal 321)
       defining Unicode char U+0142 (decimal 322)
       defining Unicode char U+0152 (decimal 338)
       defining Unicode char U+0153 (decimal 339)
       defining Unicode char U+2013 (decimal 8211)
       defining Unicode char U+2014 (decimal 8212)
       defining Unicode char U+2018 (decimal 8216)
       defining Unicode char U+2019 (decimal 8217)
       defining Unicode char U+201C (decimal 8220)
       defining Unicode char U+201D (decimal 8221)
    )
    Now handling font encoding OMS ...
    ... processing UTF-8 mapping file for font encoding OMS
    <BLANKLINE>
    (/usr/share/texmf-dist/tex/latex/base/omsenc.dfu
    File: omsenc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc
       defining Unicode char U+00A7 (decimal 167)
       defining Unicode char U+00B6 (decimal 182)
       defining Unicode char U+00B7 (decimal 183)
       defining Unicode char U+2020 (decimal 8224)
       defining Unicode char U+2021 (decimal 8225)
       defining Unicode char U+2022 (decimal 8226)
    )
    Now handling font encoding OMX ...
    ... no UTF-8 mapping file for font encoding OMX
    Now handling font encoding U ...
    ... no UTF-8 mapping file for font encoding U
       defining Unicode char U+00A9 (decimal 169)
       defining Unicode char U+00AA (decimal 170)
       defining Unicode char U+00AE (decimal 174)
       defining Unicode char U+00BA (decimal 186)
       defining Unicode char U+02C6 (decimal 710)
       defining Unicode char U+02DC (decimal 732)
       defining Unicode char U+200C (decimal 8204)
       defining Unicode char U+2026 (decimal 8230)
       defining Unicode char U+2122 (decimal 8482)
       defining Unicode char U+2423 (decimal 9251)
    ))
    (/usr/share/texmf-dist/tex/latex/base/fontenc.sty
    Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
    <BLANKLINE>
    (/usr/share/texmf-dist/tex/latex/base/t1enc.def
    File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
    LaTeX Font Info:    Redeclaring font encoding T1 on input line 43.
    ))
    (/usr/share/texmf-site/tex/latex/pgf/frontendlayer/tikz.sty
    (/usr/share/texmf-site/tex/latex/pgf/basiclayer/pgf.sty
    (/usr/share/texmf-site/tex/latex/pgf/utilities/pgfrcs.sty
    (/usr/share/texmf-site/tex/generic/pgf/utilities/pgfutil-common.tex
    \pgfutil@everybye=\toks22
    )
    (/usr/share/texmf-site/tex/generic/pgf/utilities/pgfutil-latex.def
    \pgfutil@abb=\box28
    <BLANKLINE>
    (/usr/share/texmf-dist/tex/latex/ms/everyshi.sty
    Package: everyshi 2001/05/15 v3.00 EveryShipout Package (MS)
    ))
    (/usr/share/texmf-site/tex/generic/pgf/utilities/pgfrcs.code.tex
    Package: pgfrcs 2010/10/25 v2.10 (rcs-revision 1.24)
    ))
    Package: pgf 2008/01/15 v2.10 (rcs-revision 1.12)
    <BLANKLINE>
    (/usr/share/texmf-site/tex/latex/pgf/basiclayer/pgfcore.sty
    (/usr/share/texmf-site/tex/latex/pgf/systemlayer/pgfsys.sty
    (/usr/share/texmf-site/tex/generic/pgf/systemlayer/pgfsys.code.tex
    Package: pgfsys 2010/06/30 v2.10 (rcs-revision 1.37)
    <BLANKLINE>
    (/usr/share/texmf-site/tex/generic/pgf/utilities/pgfkeys.code.tex
    \pgfkeys@pathtoks=\toks23
    \pgfkeys@temptoks=\toks24
    <BLANKLINE>
    (/usr/share/texmf-site/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex
    \pgfkeys@tmptoks=\toks25
    ))
    \pgf@x=\dimen114
    \pgf@y=\dimen115
    \pgf@xa=\dimen116
    \pgf@ya=\dimen117
    \pgf@xb=\dimen118
    \pgf@yb=\dimen119
    \pgf@xc=\dimen120
    \pgf@yc=\dimen121
    \w@pgf@writea=\write3
    \r@pgf@reada=\read1
    \c@pgf@counta=\count100
    \c@pgf@countb=\count101
    \c@pgf@countc=\count102
    \c@pgf@countd=\count103
    <BLANKLINE>
    (/usr/share/texmf-site/tex/generic/pgf/systemlayer/pgf.cfg
    File: pgf.cfg 2008/05/14  (rcs-revision 1.7)
    )
    Package pgfsys Info: Driver file for pgf: pgfsys-pdftex.def on input line 900.
    <BLANKLINE>
    (/usr/share/texmf-site/tex/generic/pgf/systemlayer/pgfsys-pdftex.def
    File: pgfsys-pdftex.def 2009/05/22  (rcs-revision 1.26)
    <BLANKLINE>
    (/usr/share/texmf-site/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def
    File: pgfsys-common-pdf.def 2008/05/19  (rcs-revision 1.10)
    )))
    (/usr/share/texmf-site/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex
    File: pgfsyssoftpath.code.tex 2008/07/18  (rcs-revision 1.7)
    \pgfsyssoftpath@smallbuffer@items=\count104
    \pgfsyssoftpath@bigbuffer@items=\count105
    )
    (/usr/share/texmf-site/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex
    File: pgfsysprotocol.code.tex 2006/10/16  (rcs-revision 1.4)
    ))
    (/usr/share/texmf-site/tex/latex/xcolor/xcolor.sty
    Package: xcolor 2007/01/21 v2.11 LaTeX color extensions (UK)
    <BLANKLINE>
    (/usr/share/texmf-dist/tex/latex/latexconfig/color.cfg
    File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
    )
    Package xcolor Info: Driver file: pdftex.def on input line 225.
    Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1337.
    Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1341.
    Package xcolor Info: Model `RGB' extended on input line 1353.
    Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1355.
    Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1356.
    Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1357.
    Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1358.
    Package xcolor Info: Model `Gray' substituted by `gray' on input line 1359.
    Package xcolor Info: Model `wave' substituted by `hsb' on input line 1360.
    )
    (/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcore.code.tex
    Package: pgfcore 2010/04/11 v2.10 (rcs-revision 1.7)
    <BLANKLINE>
    (/usr/share/texmf-site/tex/generic/pgf/math/pgfmath.code.tex
    (/usr/share/texmf-site/tex/generic/pgf/math/pgfmathcalc.code.tex
    (/usr/share/texmf-site/tex/generic/pgf/math/pgfmathutil.code.tex)
    (/usr/share/texmf-site/tex/generic/pgf/math/pgfmathparser.code.tex
    \pgfmath@dimen=\dimen122
    \pgfmath@count=\count106
    \pgfmath@box=\box29
    \pgfmath@toks=\toks26
    \pgfmath@stack@operand=\toks27
    \pgfmath@stack@operation=\toks28
    )
    (/usr/share/texmf-site/tex/generic/pgf/math/pgfmathfunctions.code.tex
    (/usr/share/texmf-site/tex/generic/pgf/math/pgfmathfunctions.basic.code.tex)
    (/usr/share/texmf-site/tex/generic/pgf/math/pgfmathfunctions.trigonometric.code
    .tex)
    (/usr/share/texmf-site/tex/generic/pgf/math/pgfmathfunctions.random.code.tex)
    (/usr/share/texmf-site/tex/generic/pgf/math/pgfmathfunctions.comparison.code.te
    x) (/usr/share/texmf-site/tex/generic/pgf/math/pgfmathfunctions.base.code.tex)
    (/usr/share/texmf-site/tex/generic/pgf/math/pgfmathfunctions.round.code.tex)
    (/usr/share/texmf-site/tex/generic/pgf/math/pgfmathfunctions.misc.code.tex)))
    (/usr/share/texmf-site/tex/generic/pgf/math/pgfmathfloat.code.tex
    \c@pgfmathroundto@lastzeros=\count107
    ))
    (/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex
    File: pgfcorepoints.code.tex 2010/04/09  (rcs-revision 1.20)
    \pgf@picminx=\dimen123
    \pgf@picmaxx=\dimen124
    \pgf@picminy=\dimen125
    \pgf@picmaxy=\dimen126
    \pgf@pathminx=\dimen127
    \pgf@pathmaxx=\dimen128
    \pgf@pathminy=\dimen129
    \pgf@pathmaxy=\dimen130
    \pgf@xx=\dimen131
    \pgf@xy=\dimen132
    \pgf@yx=\dimen133
    \pgf@yy=\dimen134
    \pgf@zx=\dimen135
    \pgf@zy=\dimen136
    )
    (/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcorepathconstruct.code.tex
    File: pgfcorepathconstruct.code.tex 2010/08/03  (rcs-revision 1.24)
    \pgf@path@lastx=\dimen137
    \pgf@path@lasty=\dimen138
    ) (/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcorepathusage.code.tex
    File: pgfcorepathusage.code.tex 2008/04/22  (rcs-revision 1.12)
    \pgf@shorten@end@additional=\dimen139
    \pgf@shorten@start@additional=\dimen140
    )
    (/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcorescopes.code.tex
    File: pgfcorescopes.code.tex 2010/09/08  (rcs-revision 1.34)
    \pgfpic=\box30
    \pgf@hbox=\box31
    \pgf@layerbox@main=\box32
    \pgf@picture@serial@count=\count108
    )
    (/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcoregraphicstate.code.tex
    File: pgfcoregraphicstate.code.tex 2008/04/22  (rcs-revision 1.9)
    \pgflinewidth=\dimen141
    )
    (/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcoretransformations.code.t
    ex
    File: pgfcoretransformations.code.tex 2009/06/10  (rcs-revision 1.11)
    \pgf@pt@x=\dimen142
    \pgf@pt@y=\dimen143
    \pgf@pt@temp=\dimen144
    ) (/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcorequick.code.tex
    File: pgfcorequick.code.tex 2008/10/09  (rcs-revision 1.3)
    )
    (/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcoreobjects.code.tex
    File: pgfcoreobjects.code.tex 2006/10/11  (rcs-revision 1.2)
    )
    (/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcorepathprocessing.code.te
    x
    File: pgfcorepathprocessing.code.tex 2008/10/09  (rcs-revision 1.8)
    ) (/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex
    File: pgfcorearrows.code.tex 2008/04/23  (rcs-revision 1.11)
    )
    (/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex
    File: pgfcoreshade.code.tex 2008/11/23  (rcs-revision 1.13)
    \pgf@max=\dimen145
    \pgf@sys@shading@range@num=\count109
    )
    (/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex
    File: pgfcoreimage.code.tex 2010/03/25  (rcs-revision 1.16)
    <BLANKLINE>
    (/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcoreexternal.code.tex
    File: pgfcoreexternal.code.tex 2010/09/01  (rcs-revision 1.17)
    \pgfexternal@startupbox=\box33
    ))
    (/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcorelayers.code.tex
    File: pgfcorelayers.code.tex 2010/08/27  (rcs-revision 1.2)
    )
    (/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcoretransparency.code.tex
    File: pgfcoretransparency.code.tex 2008/01/17  (rcs-revision 1.2)
    ) (/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcorepatterns.code.tex
    File: pgfcorepatterns.code.tex 2009/07/02  (rcs-revision 1.3)
    )))
    (/usr/share/texmf-site/tex/generic/pgf/modules/pgfmoduleshapes.code.tex
    File: pgfmoduleshapes.code.tex 2010/09/09  (rcs-revision 1.13)
    \pgfnodeparttextbox=\box34
    )
    (/usr/share/texmf-site/tex/generic/pgf/modules/pgfmoduleplot.code.tex
    File: pgfmoduleplot.code.tex 2010/10/22  (rcs-revision 1.8)
    )
    (/usr/share/texmf-site/tex/latex/pgf/compatibility/pgfcomp-version-0-65.sty
    Package: pgfcomp-version-0-65 2007/07/03 v2.10 (rcs-revision 1.7)
    \pgf@nodesepstart=\dimen146
    \pgf@nodesepend=\dimen147
    )
    (/usr/share/texmf-site/tex/latex/pgf/compatibility/pgfcomp-version-1-18.sty
    Package: pgfcomp-version-1-18 2007/07/23 v2.10 (rcs-revision 1.1)
    ))
    (/usr/share/texmf-site/tex/latex/pgf/utilities/pgffor.sty
    (/usr/share/texmf-site/tex/latex/pgf/utilities/pgfkeys.sty
    (/usr/share/texmf-site/tex/generic/pgf/utilities/pgfkeys.code.tex))
    (/usr/share/texmf-site/tex/generic/pgf/utilities/pgffor.code.tex
    Package: pgffor 2010/03/23 v2.10 (rcs-revision 1.18)
    \pgffor@iter=\dimen148
    \pgffor@skip=\dimen149
    \pgffor@stack=\toks29
    \pgffor@toks=\toks30
    ))
    (/usr/share/texmf-site/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex
    Package: tikz 2010/10/13 v2.10 (rcs-revision 1.76)
    <BLANKLINE>
    (/usr/share/texmf-site/tex/generic/pgf/libraries/pgflibraryplothandlers.code.te
    x
    File: pgflibraryplothandlers.code.tex 2010/05/31 v2.10 (rcs-revision 1.15)
    \pgf@plot@mark@count=\count110
    \pgfplotmarksize=\dimen150
    )
    \tikz@lastx=\dimen151
    \tikz@lasty=\dimen152
    \tikz@lastxsaved=\dimen153
    \tikz@lastysaved=\dimen154
    \tikzleveldistance=\dimen155
    \tikzsiblingdistance=\dimen156
    \tikz@figbox=\box35
    \tikz@tempbox=\box36
    \tikztreelevel=\count111
    \tikznumberofchildren=\count112
    \tikznumberofcurrentchild=\count113
    \tikz@fig@count=\count114
     (/usr/share/texmf-site/tex/generic/pgf/modules/pgfmodulematrix.code.tex
    File: pgfmodulematrix.code.tex 2010/08/24  (rcs-revision 1.4)
    \pgfmatrixcurrentrow=\count115
    \pgfmatrixcurrentcolumn=\count116
    \pgf@matrix@numberofcolumns=\count117
    )
    \tikz@expandcount=\count118
    <BLANKLINE>
    (/usr/share/texmf-site/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrary
    topaths.code.tex
    File: tikzlibrarytopaths.code.tex 2008/06/17 v2.10 (rcs-revision 1.2)
    ))) (/usr/share/texmf-dist/tex/latex/tkz-graph/tkz-graph.sty
    Package: tkz-graph 2011/06/01 ctan v 1.00 base for graphs
    <BLANKLINE>
    (/usr/share/texmf-dist/tex/latex/etex-pkg/etex.sty
    Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB)
    \et@xins=\count119
    )
    (/usr/share/texmf-dist/tex/latex/base/ifthen.sty
    Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
    )
    (/usr/share/texmf-dist/tex/latex/xkeyval/xkeyval.sty
    Package: xkeyval 2008/08/13 v2.6a package option processing (HA)
    <BLANKLINE>
    (/usr/share/texmf-dist/tex/generic/xkeyval/xkeyval.tex
    \XKV@toks=\toks31
    \XKV@tempa@toks=\toks32
    \XKV@depth=\count120
    File: xkeyval.tex 2008/08/13 v2.6a key=value parser (HA)
    ))
    (/usr/share/texmf-site/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrary
    arrows.code.tex
    File: tikzlibraryarrows.code.tex 2008/01/09 v2.10 (rcs-revision 1.1)
    <BLANKLINE>
    (/usr/share/texmf-site/tex/generic/pgf/libraries/pgflibraryarrows.code.tex
    File: pgflibraryarrows.code.tex 2008/10/27 v2.10 (rcs-revision 1.9)
    \arrowsize=\dimen157
    ))
    \c@tkz@gr@a=\count121
    \c@tkz@gr@b=\count122
    \c@tkz@gr@c=\count123
    \c@tkz@gr@e=\count124
    \c@tkz@gr@d=\count125
    \c@tkz@gr@p=\count126
    \c@tkz@gr@i=\count127
    \c@tkz@gr@n=\count128
    \c@tkz@gr@ta=\count129
    \c@tkz@gr@tb=\count130
    )
    (/usr/share/texmf-dist/tex/latex/tkz-berge/tkz-berge.sty
    Package: tkz-berge 2011/06/01 1.00 c tkz-berge for named graphs
    <BLANKLINE>
    (/usr/share/texmf-dist/tex/latex/tkz-berge/tkz-arith.sty
    Package: tkz-arith 2011/02/28 v 1.00 c integers numbers
    <BLANKLINE>
    (/usr/share/texmf-dist/tex/latex/tkz-base/tkz-tools-arith.tex
    File: tkz-tool-arith.tex tkz-tool-arith 1.161 c
    ))
    \c@tkz@bg@cnt=\count131
    \c@tkza@tmp=\count132
    )
    (/usr/share/texmf-site/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrary
    shapes.code.tex
    File: tikzlibraryshapes.code.tex 2008/01/09 v2.10 (rcs-revision 1.1)
    <BLANKLINE>
    (/usr/share/texmf-site/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrary
    shapes.geometric.code.tex
    File: tikzlibraryshapes.geometric.code.tex 2008/01/09 v2.10 (rcs-revision 1.1)
    <BLANKLINE>
    (/usr/share/texmf-site/tex/generic/pgf/libraries/shapes/pgflibraryshapes.geomet
    ric.code.tex
    File: pgflibraryshapes.geometric.code.tex 2008/06/26 v2.10 (rcs-revision 1.1)
    ))
    (/usr/share/texmf-site/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrary
    shapes.misc.code.tex
    File: tikzlibraryshapes.misc.code.tex 2008/01/09 v2.10 (rcs-revision 1.1)
    <BLANKLINE>
    (/usr/share/texmf-site/tex/generic/pgf/libraries/shapes/pgflibraryshapes.misc.c
    ode.tex
    File: pgflibraryshapes.misc.code.tex 2008/10/07 v2.10 (rcs-revision 1.3)
    ))
    (/usr/share/texmf-site/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrary
    shapes.symbols.code.tex
    File: tikzlibraryshapes.symbols.code.tex 2008/01/09 v2.10 (rcs-revision 1.1)
    <BLANKLINE>
    (/usr/share/texmf-site/tex/generic/pgf/libraries/shapes/pgflibraryshapes.symbol
    s.code.tex
    File: pgflibraryshapes.symbols.code.tex 2009/10/27 v2.10 (rcs-revision 1.3)
    ))
    (/usr/share/texmf-site/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrary
    shapes.arrows.code.tex
    File: tikzlibraryshapes.arrows.code.tex 2008/01/09 v2.10 (rcs-revision 1.1)
    <BLANKLINE>
    (/usr/share/texmf-site/tex/generic/pgf/libraries/shapes/pgflibraryshapes.arrows
    .code.tex
    File: pgflibraryshapes.arrows.code.tex 2008/06/26 v2.10 (rcs-revision 1.1)
    ))
    (/usr/share/texmf-site/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrary
    shapes.callouts.code.tex
    (/usr/share/texmf-site/tex/generic/pgf/libraries/shapes/pgflibraryshapes.callou
    ts.code.tex))
    (/usr/share/texmf-site/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrary
    shapes.multipart.code.tex
    File: tikzlibraryshapes.multipart.code.tex 2008/01/09 v2.10 (rcs-revision 1.1)
    <BLANKLINE>
    (/usr/share/texmf-site/tex/generic/pgf/libraries/shapes/pgflibraryshapes.multip
    art.code.tex
    File: pgflibraryshapes.multipart.code.tex 2010/01/07 v2.10 (rcs-revision 1.2)
    \pgfnodepartlowerbox=\box37
    \pgfnodeparttwobox=\box38
    \pgfnodepartthreebox=\box39
    \pgfnodepartfourbox=\box40
    \pgfnodeparttwentybox=\box41
    \pgfnodepartnineteenbox=\box42
    \pgfnodeparteighteenbox=\box43
    \pgfnodepartseventeenbox=\box44
    \pgfnodepartsixteenbox=\box45
    \pgfnodepartfifteenbox=\box46
    \pgfnodepartfourteenbox=\box47
    \pgfnodepartthirteenbox=\box48
    \pgfnodeparttwelvebox=\box49
    \pgfnodepartelevenbox=\box50
    \pgfnodeparttenbox=\box51
    \pgfnodepartninebox=\box52
    \pgfnodeparteightbox=\box53
    \pgfnodepartsevenbox=\box54
    \pgfnodepartsixbox=\box55
    \pgfnodepartfivebox=\box56
    )))
    No file sage.aux.
    \openout1 = `sage.aux'.
    <BLANKLINE>
    LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 41.
    LaTeX Font Info:    ... okay on input line 41.
    LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 41.
    LaTeX Font Info:    ... okay on input line 41.
    LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 41.
    LaTeX Font Info:    ... okay on input line 41.
    LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 41.
    LaTeX Font Info:    ... okay on input line 41.
    LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 41.
    LaTeX Font Info:    ... okay on input line 41.
    LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 41.
    LaTeX Font Info:    ... okay on input line 41.
    (/usr/share/texmf-dist/tex/context/base/supp-pdf.mkii
    [Loading MPS to PDF converter (version 2006.09.02).]
    \scratchcounter=\count133
    \scratchdimen=\dimen158
    \scratchbox=\box57
    \nofMPsegments=\count134
    \nofMParguments=\count135
    \everyMPshowfont=\toks33
    \MPscratchCnt=\count136
    \MPscratchDim=\dimen159
    \MPnumerator=\count137
    \makeMPintoPDFobject=\count138
    \everyMPtoPDFconversion=\toks34
    ) (/usr/share/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
    Package: pdftexcmds 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO
    )
    <BLANKLINE>
    (/usr/share/texmf-dist/tex/generic/oberdiek/ifluatex.sty
    Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)
    Package ifluatex Info: LuaTeX not detected.
    )
    (/usr/share/texmf-dist/tex/generic/oberdiek/ifpdf.sty
    Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO)
    Package ifpdf Info: pdfTeX in PDF mode is detected.
    )
    Package pdftexcmds Info: LuaTeX not detected.
    Package pdftexcmds Info: \pdf@primitive is available.
    Package pdftexcmds Info: \pdf@ifprimitive is available.
    Package pdftexcmds Info: \pdfdraftmode found.
    )
    (/usr/share/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
    Package: epstopdf-base 2010/02/09 v2.5 Base part for package epstopdf
    <BLANKLINE>
    (/usr/share/texmf-dist/tex/latex/oberdiek/grfext.sty
    Package: grfext 2010/08/19 v1.1 Manage graphics extensions (HO)
    <BLANKLINE>
    (/usr/share/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty
    Package: kvdefinekeys 2011/04/07 v1.3 Define keys (HO)
    ))
    (/usr/share/texmf-dist/tex/latex/oberdiek/kvoptions.sty
    Package: kvoptions 2011/06/30 v3.11 Key value format for package options (HO)
    <BLANKLINE>
    (/usr/share/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
    Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO)
    <BLANKLINE>
    (/usr/share/texmf-dist/tex/generic/oberdiek/etexcmds.sty
    Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
    Package etexcmds Info: Could not find \expanded.
    (etexcmds)             That can mean that you are not using pdfTeX 1.50 or
    (etexcmds)             that some package has redefined \expanded.
    (etexcmds)             In the latter case, load this package earlier.
    )))
    Package grfext Info: Graphics extension search list:
    (grfext)             [.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPE
    G,.JBIG2,.JB2,.eps]
    (grfext)             \AppendGraphicsExtensions on input line 452.
    <BLANKLINE>
    (/usr/share/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
    File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv
    e
    ))
    ABD: EveryShipout initializing macros
    LaTeX Font Info:    Try loading font information for U+msa on input line 43.
    <BLANKLINE>
    (/usr/share/texmf-dist/tex/latex/amsfonts/umsa.fd
    File: umsa.fd 2009/06/22 v3.00 AMS symbols A
    )
    LaTeX Font Info:    Try loading font information for U+msb on input line 43.
    <BLANKLINE>
    (/usr/share/texmf-dist/tex/latex/amsfonts/umsb.fd
    File: umsb.fd 2009/06/22 v3.00 AMS symbols B
    )
    LaTeX Font Info:    Try loading font information for U+rsfs on input line 43.
    <BLANKLINE>
    (/usr/share/texmf-dist/tex/latex/jknapltx/ursfs.fd
    File: ursfs.fd 1998/03/24 rsfs font definition file (jk)
    )
    ! Illegal parameter number in definition of \cmdGR@vertex@L.
    <to be read again> 
                       1
    l.136 }$},x=3.9835cm,y=3.3045cm]{v1}
    <BLANKLINE>
    You meant to type ## instead of #, right?
    Or maybe a } was forgotten somewhere earlier, and things
    are all screwed up? I'm going to assume that you meant ##.
    <BLANKLINE>
    ! Illegal parameter number in definition of \cmdGR@vertex@L.
    <to be read again> 
                       1
    l.136 }$},x=3.9835cm,y=3.3045cm]{v1}
    <BLANKLINE>
    You meant to type ## instead of #, right?
    Or maybe a } was forgotten somewhere earlier, and things
    are all screwed up? I'm going to assume that you meant ##.
    <BLANKLINE>
    ! Undefined control sequence.
    \cmdGR@vertex@L ->\hbox {${\def \lr 
                                        ##1{\multicolumn {1}{|@{\hspace {.6ex}}c...
    l.136 }$},x=3.9835cm,y=3.3045cm]{v1}
    <BLANKLINE>
    The control sequence at the end of the top line
    of your error message was never \def'ed. If you have
    misspelled it (e.g., `\hobx'), type `I' and the correct
    spelling (e.g., `I\hbox'). Otherwise just continue,
    and I'll forget about whatever was undefined.
    <BLANKLINE>
    ! Illegal parameter number in definition of \@gtempa.
    <to be read again> 
                       1
    l.136 }$},x=3.9835cm,y=3.3045cm]{v1}
    <BLANKLINE>
    You meant to type ## instead of #, right?
    Or maybe a } was forgotten somewhere earlier, and things
    are all screwed up? I'm going to assume that you meant ##.
    <BLANKLINE>
    ! Undefined control sequence.
    l.137 ...=circle},LabelOut=false,L=\hbox{${\def\lr
                                                      #1{\multicolumn{1}{|@{\hsp...
    The control sequence at the end of the top line
    of your error message was never \def'ed. If you have
    misspelled it (e.g., `\hobx'), type `I' and the correct
    spelling (e.g., `I\hbox'). Otherwise just continue,
    and I'll forget about whatever was undefined.
    <BLANKLINE>
    ! Illegal parameter number in definition of \@gtempa.
    <to be read again> 
                       1
    l.137 ...ircle},LabelOut=false,L=\hbox{${\def\lr#1
                                                      {\multicolumn{1}{|@{\hspac...
    You meant to type ## instead of #, right?
    Or maybe a } was forgotten somewhere earlier, and things
    are all screwed up? I'm going to assume that you meant ##.
    <BLANKLINE>
    )
    ! Incomplete \iffalse; all text was ignored after line 137.
    <inserted text> 
                    \fi 
    <*> \nonstopmode \input{sage.tex}
    <BLANKLINE>
    The file ended while I was skipping conditional text.
    This kind of error happens when you say `\if...' and forget
    the matching `\fi'. I've inserted a `\fi'; this might work.
    <BLANKLINE>
    ! Emergency stop.
    <*> \nonstopmode \input{sage.tex}
    <BLANKLINE>
    *** (job aborted, no legal \end found)
    <BLANKLINE>
    <BLANKLINE>
    Here is how much of TeX's memory you used:
     14162 strings out of 494769
     271297 string characters out of 3177877
     359551 words of memory out of 3000000
     17043 multiletter control sequences out of 15000+200000
     8140 words of font info for 28 fonts, out of 3000000 for 9000
     238 hyphenation exceptions out of 8191
     57i,7n,63p,437b,808s stack positions out of 5000i,500n,10000p,200000b,50000s
    !  ==> Fatal error occurred, no output PDF file produced!
    <BLANKLINE>
    Latex error
**********************************************************************
vbraun commented 9 years ago
comment:22

Well I'm happy to let you work on this ticket. But if nobody steps up to fix the failures: its better to fail and show an error (=this ticket) than to silently fail (without this ticket).

6bdad4c1-1e26-4f2f-a442-a01a2292c181 commented 9 years ago
comment:23

Well I'm happy to let you work on this ticket. But if nobody steps up to fix the failures: its better to fail and show an error (=this ticket) than to silently fail (without this ticket).

Amen to that.

Technically, this ticket does not break doctests. It just reports doctests which were already broken. And of course you can run sage -t --optional=sage as before (all doctests will pass), the same way that you can run sage -t --optional=<your_packages> in the latest beta to see all broken doctests.

I cannot fix all broken doctests of all optional packages in Sage, and I doubt that anybody can. If you set this ticket to needs_work until this is done you will just kill the ticket, and achieve nothing. If this ticket is merged, we will at last see the bugs that we missed until now, and fix them progressively. We cannot keep hiding bugs, and pretend that they do not exist just because we never run the optional doctests.

Nathann

7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 9 years ago

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

1ffc3c1trac #18558: now with an 'installed' keyword
7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 9 years ago

Changed commit from e45591a to 1ffc3c1

6bdad4c1-1e26-4f2f-a442-a01a2292c181 commented 9 years ago
comment:25

(changed the keyword from installed_optional to installed. It now includes all installed packages. Even the standard ones, but that does not matter much.)

simon-king-jena commented 9 years ago
comment:26

Replying to @jdemeyer:

Replying to @vbraun:

its not the job of this ticket to clear that up.

+1

No, but it's the job of every ticket to ensure that the ticket does not make doctests fail. I think it will be very confusing when we get lots of reports that make ptest fails just somebody installed an optional package. At least, those make targets should use --optional=sage then.

-1, don't shoot the messenger. The ticket does not make doctests fail, but it makes them being executed.

Alternatively, mark failing tests as # known bug.

That might be in the scope of this ticket.

On the other hand: Detecting failing tests (so that they can be marked) would require running make ptest on a Sage installation with all optional packages. Or perhaps even one Sage installation for each subset of optional packages, since I could imagine that optional package A makes tests fail that work fine if additionally optional package B is installed. That doesn't seem feasible.

6bdad4c1-1e26-4f2f-a442-a01a2292c181 commented 9 years ago

Description changed:

--- 
+++ 
@@ -1,4 +1,4 @@
-With this branch, running "sage -t" will automatically involve testing all locally installed optional packages.
+With this branch, running "sage -t" will automatically involve testing all locally installed packages.

 Of course, setting "--optional=X" only tests the packages listed in `X`.
jdemeyer commented 9 years ago
comment:29

Replying to @nathanncohen:

If you set this ticket to needs_work until this is done you will just kill the ticket

...for good reasons. Merging this ticket as-is will massively decrease the usefulness of make ptest(long). That's what I'm worried about.

I believe very strongly that no ticket should be merged if it is known to make make ptestlong fail on systems where it used to pass. I am willing to shoot the messenger if needed, that's why # known bug exists.

I'm not setting this to needs_work because it seems I am alone with this opinion, but please think of the consequences of doing this.

jdemeyer commented 9 years ago
comment:30

Replying to @simon-king-jena:

Detecting failing tests (so that they can be marked) would require running make ptest on a Sage installation with all optional packages.

That's not hard actually. See [comment:21]

6bdad4c1-1e26-4f2f-a442-a01a2292c181 commented 9 years ago
comment:31

...for good reasons. Merging this ticket as-is will massively decrease the usefulness of make ptest(long). That's what I'm worried about.

My hope is that it will only last momentarily. That whoever sees broken doctests will fix them, and that eventually we will fix those bugs instead of hiding them.

The only guys who run doctests (well, except bots) are developers. They are assumed to know that a beta release is "experimental" to some extent (big red warning on our website, and when you run sage).

Then there is the advertisement: we should probably wait for a beta0 release to merge this ticket (it can be reviewed before :-P), and when we do add a message (on sage-release, and why not in sage-banner) explaining a bit what happens. A "fix-optional-doctests" release, so that less persons have to wonder why doctests break all of a sudden. And help us fix them.

I'm not setting this to needs_work because it seems I am alone with this opinion, but please think of the consequences of doing this.

Well, it will be messy at first, I can't deny that. Then it will be less and less, until the problems are solved, and also we will not add more to the existing ones. Among the consequences, I also see that in the long run Sage will be tested better than it is today.

Nathann

jdemeyer commented 9 years ago
comment:32

Intentionally releasing something with known failures is not a good strategy to have those failures fixed.

jdemeyer commented 9 years ago
comment:33

Replying to @nathanncohen:

It now includes all installed packages.

Even worse. Now you just killed all experimental packages. I think there should be a place in Sage for things that are known to be broken but that people still care about.

Actually, a good compromise for this ticket might be: test only optional packages, move the known-broken packages (like 4ti2) to experimental.

If you want, you can create tickets for each of these broken packages and advertise them on sage-devel. If people care, they can fix the package and move it back to optional. If people don't care, there is nothing lost either.

6bdad4c1-1e26-4f2f-a442-a01a2292c181 commented 9 years ago
comment:34

Even worse. Now you just killed all experimental packages.

Hey, don't you think you are going a bit far? I "killed all experimental packages"? Seriously?

I think there should be a place in Sage for things that are known to be broken but that people still care about.

Experimental packages are advertised as broken [1]. Why would you expect them to pass tests? Addtionally, doctests can be removed if we need to. We can do that during the release cycle that will merge this branch.

Actually, a good compromise for this ticket might be: test only optional packages

This is what the first version of this branch did. This change was requested in [comment:17].

If you want, you can create tickets for each of these broken packages and advertise them on sage-devel.

I don't believe in opening tickets. I believe in written code. Advertising the bugs to the developers who use the package is what this branch does.

Nathann

[1] http://mirror.switch.ch/mirror/sagemath/spkg/experimental/

edd8e884-f507-429a-b577-5d554626c0fe commented 9 years ago
comment:35

While this ticket is a good step towards a more tested system, i understand Jeroen's concerns that it might lead to a less tested one. I can witness that recurrent failing doctest lead to not caring anymore. For example, when i build a massive amount of binaries, i frequently randomly have broken unreproducible doctest for src/sage/interfaces/expect.py, the consequence is that i stopped to double check them, so if some real problem appears on this file, i will not see it because it will look like the random one. With a huge list of broken doctests, people won't check if some new bugs are reported within the list, and the effect of the ticket will be the opposite of it aim.

Replying to @jdemeyer:

Actually, a good compromise for this ticket might be: test only optional packages, move the known-broken packages (like 4ti2) to experimental.

+1, this is the difference between optional and experimental packages, and we keep the best of both points of views. I will add : "propose a way to test all installed (experimental) packages as well".

Replying to @nathanncohen:

Experimental packages are advertised as broken [1]. Why would you expect them to pass tests?

This will be a requirement to let them enter the optional list.

Advertising the bugs to whoever uses the packages is the whole point of this branch.

You claimed yourself that "The only guys who run doctests (well, except bots) are developers", hence if we want to advertize those bugs to users, this is not the appropriate way, we should write stopgaps instead.

6bdad4c1-1e26-4f2f-a442-a01a2292c181 commented 9 years ago
comment:36

Okay guys, let's do something. You either ask me something doable and reasonable or you kill this ticket. All you are achieving now is blocking an attempt to improve this software's quality. I will not fight for weeks here, and I will not spend my week-ends or night on it either. Either you start being constructive, or you keep arguing until everybody's energy is wasted. And it will not happen again, because there is only so much you can do when you know that all you will get when you are done implementing an improvement are endless complaints against change.

Nathann

jdemeyer commented 9 years ago
comment:37

Replying to @nathanncohen:

Even worse. Now you just killed all experimental packages.

Hey, don't you think you are going a bit far? I "killed all experimental packages"?

I only used that wording because you said that I was killing your ticket.

Experimental packages are advertised as broken [1]. Why would you expect them to pass tests?

I don't expect them to pass tests. In fact, that was the whole point of my argument. They are known to fail tests, but so be it. Just don't force everybody to see those failures.

Addtionally, doctests can be removed if we need to.

They should not be removed, unless the doctest itself (not the code that it tests or the result) is somehow bad. That's what # known bug is for: to be able to keep the doctest but not see the failure in every make ptest run. My idea with experimental packages is that marking a package as "experimental" acts like adding # known bug to every optional doctest of that package.

jdemeyer commented 9 years ago
comment:38

Replying to @nathanncohen:

Okay guys, let's do something. You either ask me something doable and reasonable or you kill this ticket. All you are achieving now is blocking an attempt to improve this software's quality. I will not fight for weeks here, and I will not spend my week-ends or night on it either. Either you start being constructive, or you keep arguing until everybody's energy is wasted.

I am trying to solve this in a constructive way. I proposed several alternative solutions (such as marking tests as # known bug or testing only optional packages) which would make this ticket acceptable for me and which are "doable and reasonable".

6bdad4c1-1e26-4f2f-a442-a01a2292c181 commented 9 years ago
comment:39

I don't expect them to pass tests. In fact, that was the whole point of my argument. They are known to fail tests, but so be it. Just don't force everybody to see those failures.

Everybody wil not. Only the developers who run the doctests and have the expermental package installed will see them. And that's precisely the guys who should fix it.

They should not be removed, unless the doctest itself (not the code that it tests or the result) is somehow bad. That's what # known bug is for: to be able to keep the doctest but not see the failure in every make ptest run.

Fine. You are allowed to flag a doctest as "known bug" whenever you want. This branch does not change that.

My idea with experimental packages is that marking a package as "experimental" acts like adding # known bug to every optional doctest of that package.

What is the point of doctests then? O_o (edit: see next comment->you cannot 'detect' experimental packages without internet access)

I am trying to solve this in a constructive way. I proposed several alternative solutions (such as marking tests as # known bug or testing only optional packages) which would make this ticket acceptable for me and which are "doable and reasonable".

Marking all tests as known bug is dangerous: we want to find the bugs, and we want to fix them. Testing optional packages only is what this branch did at first, until I was asked to make it otherwise. Agree with yourselves, and I will update the ticket, but I don't want to keep changing branches forever.

Addtionally, I cannot by myself go over all optional/experimental packages and make changes to all of them. You can't ask me that, this is not reasonable. That's why I mentionned merged this branch in a beta0, so that everybody can participate to the effort until the next release. This, on the other hand, is a good outcome, and will ensure that the job is done properly.

Nathann

6bdad4c1-1e26-4f2f-a442-a01a2292c181 commented 9 years ago
comment:40

Another precision: one advantage of 'installed' over 'installed_optional' and 'installed_experimental' is that it is currently impossible to get (without internet access) the list of all optional/experimental packages.

What can be listed 'locally':

Thus, I can only write a branch which test all new-style optional packages (there are no experimental new-style packages). If an old-style spkg is installed, I have no way to 'detect' its category.

It can be either 'installed' or 'new-style optional'.

Nathann

jdemeyer commented 9 years ago

Changed dependencies from #18456, #18124 to #18456, #18124, #18559

jdemeyer commented 9 years ago
comment:42

Replying to @nathanncohen:

I don't expect them to pass tests. In fact, that was the whole point of my argument. They are known to fail tests, but so be it. Just don't force everybody to see those failures.

Everybody wil not. Only the developers who run the doctests and have the expermental package installed will see them. And that's precisely the guys who should fix it.

Nobody should fix anything. The fact that I am a Sage developer who happens to have some experimental package installed does not mean that I should fix it.

6bdad4c1-1e26-4f2f-a442-a01a2292c181 commented 9 years ago
comment:43

Nobody should fix anything. The fact that I am a Sage developer who happens to have some experimental package installed does not mean that I should fix it.

Agreed. In fact you have many options: 1) not care 2) remove the doctest 3) flag it as 'known bug'

jdemeyer commented 9 years ago
comment:44

Replying to @nathanncohen:

It can be either 'installed' or 'new-style optional'.

OK, then I prefer 'new-style optional' like in the first version of this ticket.

Addtionally, I cannot by myself go over all optional/experimental packages and make changes to all of them. You can't ask me that, this is not reasonable.

I'm willing to do that (for optional packages), if you agree that it's a good idea to do that.

jdemeyer commented 9 years ago
comment:45

Replying to @nathanncohen:

Nobody should fix anything. The fact that I am a Sage developer who happens to have some experimental package installed does not mean that I should fix it.

Agreed. In fact you have many options: 1) not care 2) remove the doctest 3) flag it as 'known bug'

No, this ticket removes option 1) in practice.

6bdad4c1-1e26-4f2f-a442-a01a2292c181 commented 9 years ago
comment:46

OK, then I prefer 'new-style optional' like in the first version of this ticket.

Okay, I will re-update the commit shortly.

I'm willing to do that (for optional packages), if you agree that it's a good idea to do that.

What is it exactly that you want to do?

Nathann