Ticket #18734: err-doctests

File err-doctests, 11.6 KB (added by dimpase, 4 years ago)

doctest errors with Sage 6.10 beta3.

Line 
1too many failed tests, not using stored timings
2Running doctests with ID 2015-11-11-23-52-16-862bfafb.
3Git branch: ialp
4Using --optional=bliss,cbc,d3js,database_gap,database_jones_numfield,gap_packages,mpir,nauty,python2,sage,scons
5Doctesting 1 file using 4 threads.
6sage -t src/sage/numerical/mip.pyx
7**********************************************************************
8File "src/sage/numerical/mip.pyx", line 2516, in sage.numerical.mip.MixedIntegerLinearProgram.number_of_variables.interactive_linear_program
9Failed example:
10    lp, basis = p.interactive_linear_program()
11Exception raised:
12    Traceback (most recent call last):
13      File "/home/dima/software/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 496, in _run
14        self.compile_and_execute(example, compiler, test.globs)
15      File "/home/dima/software/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 858, in compile_and_execute
16        exec(compiled, globs)
17      File "<doctest sage.numerical.mip.MixedIntegerLinearProgram.number_of_variables.interactive_linear_program[8]>", line 1, in <module>
18        lp, basis = p.interactive_linear_program()
19      File "sage/numerical/mip.pyx", line 2586, in sage.numerical.mip.MixedIntegerLinearProgram.interactive_linear_program (/home/dima/software/sage/src/build/cythonized/sage/numerical/mip.c:18566)
20        from sage.numerical.backends.abstract_backend_dictionary \
21    ImportError: No module named abstract_backend_dictionary
22**********************************************************************
23File "src/sage/numerical/mip.pyx", line 2517, in sage.numerical.mip.MixedIntegerLinearProgram.number_of_variables.interactive_linear_program
24Failed example:
25    basis
26Expected:
27    ['K', 'w_1', 'L']
28Got:
29    <function basis at 0x7f408f302488>
30**********************************************************************
31File "src/sage/numerical/mip.pyx", line 2519, in sage.numerical.mip.MixedIntegerLinearProgram.number_of_variables.interactive_linear_program
32Failed example:
33    lp.constraint_coefficients()
34Exception raised:
35    Traceback (most recent call last):
36      File "/home/dima/software/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 496, in _run
37        self.compile_and_execute(example, compiler, test.globs)
38      File "/home/dima/software/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 858, in compile_and_execute
39        exec(compiled, globs)
40      File "<doctest sage.numerical.mip.MixedIntegerLinearProgram.number_of_variables.interactive_linear_program[10]>", line 1, in <module>
41        lp.constraint_coefficients()
42    NameError: name 'lp' is not defined
43**********************************************************************
44File "src/sage/numerical/mip.pyx", line 2523, in sage.numerical.mip.MixedIntegerLinearProgram.number_of_variables.interactive_linear_program
45Failed example:
46    lp.b()
47Exception raised:
48    Traceback (most recent call last):
49      File "/home/dima/software/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 496, in _run
50        self.compile_and_execute(example, compiler, test.globs)
51      File "/home/dima/software/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 858, in compile_and_execute
52        exec(compiled, globs)
53      File "<doctest sage.numerical.mip.MixedIntegerLinearProgram.number_of_variables.interactive_linear_program[11]>", line 1, in <module>
54        lp.b()
55    NameError: name 'lp' is not defined
56**********************************************************************
57File "src/sage/numerical/mip.pyx", line 2525, in sage.numerical.mip.MixedIntegerLinearProgram.number_of_variables.interactive_linear_program
58Failed example:
59    lp.objective_coefficients()
60Exception raised:
61    Traceback (most recent call last):
62      File "/home/dima/software/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 496, in _run
63        self.compile_and_execute(example, compiler, test.globs)
64      File "/home/dima/software/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 858, in compile_and_execute
65        exec(compiled, globs)
66      File "<doctest sage.numerical.mip.MixedIntegerLinearProgram.number_of_variables.interactive_linear_program[12]>", line 1, in <module>
67        lp.objective_coefficients()
68    NameError: name 'lp' is not defined
69**********************************************************************
70File "src/sage/numerical/mip.pyx", line 2527, in sage.numerical.mip.MixedIntegerLinearProgram.number_of_variables.interactive_linear_program
71Failed example:
72    lp.decision_variables()
73Exception raised:
74    Traceback (most recent call last):
75      File "/home/dima/software/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 496, in _run
76        self.compile_and_execute(example, compiler, test.globs)
77      File "/home/dima/software/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 858, in compile_and_execute
78        exec(compiled, globs)
79      File "<doctest sage.numerical.mip.MixedIntegerLinearProgram.number_of_variables.interactive_linear_program[13]>", line 1, in <module>
80        lp.decision_variables()
81    NameError: name 'lp' is not defined
82**********************************************************************
83File "src/sage/numerical/mip.pyx", line 2530, in sage.numerical.mip.MixedIntegerLinearProgram.number_of_variables.interactive_linear_program
84Failed example:
85    d = lp.dictionary(*basis)
86Exception raised:
87    Traceback (most recent call last):
88      File "/home/dima/software/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 496, in _run
89        self.compile_and_execute(example, compiler, test.globs)
90      File "/home/dima/software/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 858, in compile_and_execute
91        exec(compiled, globs)
92      File "<doctest sage.numerical.mip.MixedIntegerLinearProgram.number_of_variables.interactive_linear_program[14]>", line 1, in <module>
93        d = lp.dictionary(*basis)
94    NameError: name 'lp' is not defined
95**********************************************************************
96File "src/sage/numerical/mip.pyx", line 2537, in sage.numerical.mip.MixedIntegerLinearProgram.number_of_variables.interactive_linear_program
97Failed example:
98    b.solver_parameter(backend.glp_simplex_or_intopt, backend.glp_simplex_only)
99Exception raised:
100    Traceback (most recent call last):
101      File "/home/dima/software/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 496, in _run
102        self.compile_and_execute(example, compiler, test.globs)
103      File "/home/dima/software/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 858, in compile_and_execute
104        exec(compiled, globs)
105      File "<doctest sage.numerical.mip.MixedIntegerLinearProgram.number_of_variables.interactive_linear_program[17]>", line 1, in <module>
106        b.solver_parameter(backend.glp_simplex_or_intopt, backend.glp_simplex_only)
107      File "sage/numerical/backends/generic_backend.pyx", line 955, in sage.numerical.backends.generic_backend.GenericBackend.solver_parameter (/home/dima/software/sage/src/build/cythonized/sage/numerical/backends/generic_backend.c:8181)
108        cpdef solver_parameter(self, name, value = None):
109      File "sage/numerical/backends/generic_backend.pyx", line 979, in sage.numerical.backends.generic_backend.GenericBackend.solver_parameter (/home/dima/software/sage/src/build/cythonized/sage/numerical/backends/generic_backend.c:8079)
110        raise NotImplementedError()
111    NotImplementedError
112**********************************************************************
113File "src/sage/numerical/mip.pyx", line 2540, in sage.numerical.mip.MixedIntegerLinearProgram.number_of_variables.interactive_linear_program
114Failed example:
115    lp2, basis2 = p.interactive_linear_program()
116Exception raised:
117    Traceback (most recent call last):
118      File "/home/dima/software/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 496, in _run
119        self.compile_and_execute(example, compiler, test.globs)
120      File "/home/dima/software/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 858, in compile_and_execute
121        exec(compiled, globs)
122      File "<doctest sage.numerical.mip.MixedIntegerLinearProgram.number_of_variables.interactive_linear_program[19]>", line 1, in <module>
123        lp2, basis2 = p.interactive_linear_program()
124      File "sage/numerical/mip.pyx", line 2586, in sage.numerical.mip.MixedIntegerLinearProgram.interactive_linear_program (/home/dima/software/sage/src/build/cythonized/sage/numerical/mip.c:18566)
125        from sage.numerical.backends.abstract_backend_dictionary \
126    ImportError: No module named abstract_backend_dictionary
127**********************************************************************
128File "src/sage/numerical/mip.pyx", line 2541, in sage.numerical.mip.MixedIntegerLinearProgram.number_of_variables.interactive_linear_program
129Failed example:
130    basis2
131Exception raised:
132    Traceback (most recent call last):
133      File "/home/dima/software/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 496, in _run
134        self.compile_and_execute(example, compiler, test.globs)
135      File "/home/dima/software/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 858, in compile_and_execute
136        exec(compiled, globs)
137      File "<doctest sage.numerical.mip.MixedIntegerLinearProgram.number_of_variables.interactive_linear_program[20]>", line 1, in <module>
138        basis2
139    NameError: name 'basis2' is not defined
140**********************************************************************
141File "src/sage/numerical/mip.pyx", line 2543, in sage.numerical.mip.MixedIntegerLinearProgram.number_of_variables.interactive_linear_program
142Failed example:
143    d2 = lp2.dictionary(*basis2)
144Exception raised:
145    Traceback (most recent call last):
146      File "/home/dima/software/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 496, in _run
147        self.compile_and_execute(example, compiler, test.globs)
148      File "/home/dima/software/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 858, in compile_and_execute
149        exec(compiled, globs)
150      File "<doctest sage.numerical.mip.MixedIntegerLinearProgram.number_of_variables.interactive_linear_program[21]>", line 1, in <module>
151        d2 = lp2.dictionary(*basis2)
152    NameError: name 'lp2' is not defined
153**********************************************************************
154File "src/sage/numerical/mip.pyx", line 2544, in sage.numerical.mip.MixedIntegerLinearProgram.number_of_variables.interactive_linear_program
155Failed example:
156    d2.is_optimal()
157Exception raised:
158    Traceback (most recent call last):
159      File "/home/dima/software/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 496, in _run
160        self.compile_and_execute(example, compiler, test.globs)
161      File "/home/dima/software/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 858, in compile_and_execute
162        exec(compiled, globs)
163      File "<doctest sage.numerical.mip.MixedIntegerLinearProgram.number_of_variables.interactive_linear_program[22]>", line 1, in <module>
164        d2.is_optimal()
165    NameError: name 'd2' is not defined
166**********************************************************************
1671 item had failures:
168  12 of  24 in sage.numerical.mip.MixedIntegerLinearProgram.number_of_variables.interactive_linear_program
169    [516 tests, 12 failures, 1.48 s]
170----------------------------------------------------------------------
171sage -t src/sage/numerical/mip.pyx  # 12 doctests failed
172----------------------------------------------------------------------
173Total time for all tests: 1.6 seconds
174    cpu time: 1.5 seconds
175    cumulative wall time: 1.5 seconds