[sagemath] 02/02: Update test summaries

Ximin Luo infinity0 at debian.org
Mon Oct 17 10:34:40 UTC 2016


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository sagemath.

commit 86b539a157c7d70121166ea254630abe45173b59
Author: Ximin Luo <infinity0 at debian.org>
Date:   Mon Oct 17 12:34:26 2016 +0200

    Update test summaries
---
 debian/README.Debian | 80 +++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 60 insertions(+), 20 deletions(-)

diff --git a/debian/README.Debian b/debian/README.Debian
index eaf3bf0..5259701 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -65,12 +65,9 @@ sudo sed -e 's/\.frontend//g' -i /usr/bin/ipython
 # fix 2 tests
 sudo sed -e '/^class AppliedUndef/,${/def _sage_/,/^\s*$/d}' \
   -i /usr/lib/python2.7/dist-packages/sympy/core/function.py
-# fix 3 tests
-zcat /usr/share/doc/singular-doc/singular.hlp.gz \
-  | sudo tee /usr/share/doc/singular-doc/singular.hlp >/dev/null
 
 These are already fixed in Debian's git repos for (respectively) ipython,
-sympy, singular; we're just waiting for an upload.
+sympy; we're just waiting for an upload.
 
 You can see infinity0's test failures here: https://people.debian.org/~infinity0/res/
 Look for files named "sagemath-*_*.log"
@@ -79,8 +76,10 @@ Now for the summary:
 
 ### Breakdown
 
-18+5 unreproducible for infinity0
-32 (estimated) for Tobias
+22 for infinity0
+30 (estimated) for Tobias
+
+plus ~4 unreproducible
 
 ### We have some sort of lead for further investigation
 
@@ -93,7 +92,7 @@ Also check the mailing list for possible ideas.
 sage -t --long src/sage/numerical/optimize.py  # 4 doctests failed (1 is not floating-point related)
 sage -t --long src/sage/coding/code_bounds.py  # 1 doctest failed
 sage -t --long src/sage/functions/exp_integral.py  # 1 doctest failed
-sage -t --long src/sage/functions/log.py  # 2 doctests failed (1 is not floating-point related)
+sage -t --long src/sage/functions/log.py  # 1 doctest failed
 
 4 Can probably ignore
 sage -t --long src/sage/geometry/polyhedron/backend_cdd.py  # 1 doctests failed
@@ -102,30 +101,71 @@ sage -t --long src/sage/interfaces/tests.py  # 2 doctests failed
 sage -t --long src/sage/rings/integer.pyx  # 1 doctest failed
 # ^ due to us using GMP and not MPIR as upstream does
 
-3 Others
+3 arctan2(0,0) gives NaN instead of RuntimeError
+sage -t --long src/sage/functions/trig.py  # 1 doctest failed
+sage -t --long src/sage/symbolic/expression_conversions.py  # 1 doctest failed
+sage -t --long src/sage/symbolic/expression.pyx  # 2 doctest failed (1 not arctan)
+
+3 Others, known
 sage -t --long src/sage/libs/singular/function.pyx  # 2 doctests failed (see upstream #17254#comment:252)
 sage -t --long src/sage/numerical/optimize.py  # 4 doctests failed (3 accounted for above, 1 reported as Debian #840159)
 
 ### Not yet investigated / no idea
 
-5 Can't reproduce, seems to work when you run them a second time, e.g. with
-`debian/rules EXTRA_SAGE_TEST_FLAGS=-f build` or by running `./sage -t` directly
-sage -t --long src/sage/interfaces/maxima_abstract.py  # 1 doctest failed
-sage -t --long src/sage/libs/gap/all_documented_functions.py  # 1 doctest failed
-sage -t --long src/sage/libs/gap/assigned_names.py  # 1 doctest failed
-# ^ not present for Tobias
-sage -t --long src/sage/structure/sage_object.pyx  # 2 doctests failed
-
 5 Different but equivalent algebraic expression
 sage -t --long src/doc/en/prep/Calculus.rst  # 1 doctest failed
 sage -t --long src/sage/schemes/elliptic_curves/ell_generic.py  # 1 doctest failed
+sage -t --long src/sage/symbolic/expression.pyx  # 2 doctest failed (1 not algebraic)
 sage -t --long src/sage/tensor/differential_form_element.py  # 2 doctests failed
-sage -t --long src/sage/symbolic/expression.pyx  # 1 doctest failed
-# ^ plus one extra for Tobias
 
-9 Other extra for Tobias:
+1 Others, unknown
+sage -t --long src/sage/libs/libecm.pyx  # 1 doctest failed
+
+8 Other extra for Tobias:
 sage -t --long src/doc/en/thematic_tutorials/tutorial-objects-and-classes.rst  # 2 doctests failed
 sage -t --long src/sage/doctest/forker.py  # 1 doctest failed
-sage -t --long src/sage/functions/trig.py  # 1 doctest failed
 sage -t --long src/sage/libs/readline.pyx  # 4 doctests failed
 sage -t --long src/sage/misc/trace.py  # 1 doctest failed
+
+### Can't reproduce
+
+Fails first time, but seems to work when you run them a second time, e.g. with
+`debian/rules EXTRA_SAGE_TEST_FLAGS=-f build` or by running `./sage -t` directly
+
+4 Always fails first time
+sage -t --long src/sage/libs/gap/all_documented_functions.py  # 1 doctest failed
+sage -t --long src/sage/libs/gap/assigned_names.py  # 1 doctest failed
+# ^ not present for Tobias
+sage -t --long src/sage/structure/sage_object.pyx  # 2 doctests failed
+
+1 Sometimes fails first time
+sage -t --long src/sage/interfaces/maxima_abstract.py  # 1 doctest failed
+
+And various other "time out" / "segfault" that appear and vanish...
+
+## Manual testing
+
+If you override the failed tests with DEB_BUILD_OPTIONS=nocheck you can build
+some .debs, install them, and test the CLI or the notebooks manually. At the
+moment, quite a lot of stuff is not working:
+
+- '?' doesn't work, e.g.:
+
+sage: plot?
+---------------------------------------------------------------------------
+ImportError                               Traceback (most recent call last)
+
+[..]
+
+/usr/lib/python2.7/dist-packages/sage/misc/sagedoc.py in process_extlinks(s, embedded)
+    466     oldpath = sys.path
+    467     sys.path = [os.path.join(SAGE_DOC_SRC, 'common')] + oldpath
+--> 468     from conf import extlinks
+    469     sys.path = oldpath
+    470     for key in extlinks:
+
+ImportError: No module named conf
+
+- SageNB doesn't load some stuff - see browser console
+
+- Jupyter doesn't load some stuff - see browser console

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagemath.git



More information about the debian-science-commits mailing list