Bionic 18.04 AMD x8 64 bits, compile perfect. I started from fresh git sage because upgrading from 8.2 failed. It couldn't find many libs. By the way I found my crash problem while compiling : I had to config the bios allowing warmer processing.

Le 15/05/2018 à 21:24, Sébastien Labbé a écrit :
On Ubuntu 16.04, the command `./sage -t -p --all --long --optional=sage,optional,external` finishes with:

----------------------------------------------------------------------
sage -t --long src/sage/coding/code_constructions.py  # 1 doctest failed
----------------------------------------------------------------------
Total time for all tests: 1821.3 seconds
    cpu time: 11639.5 seconds
    cumulative wall time: 14059.4 seconds
External software detected for doctesting: gurobi,latex
Traceback (most recent call last):
  File "/home/slabbe/GitBox/sage/src/bin/sage-runtests", line 127, in <module>
    err = DC.run()
  File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/control.py", line 1176, in run
    + ','.join(available_software.seen()))
  File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/control.py", line 583, in log
    self.logger.write(s + end)
  File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/control.py", line 250, in write
    f.write(x)
ValueError: I/O operation on closed file


The code_construction error is copied below (I can not reproduce it) :



sage -t --long src/sage/coding/code_constructions.py
**********************************************************************
File "src/sage/coding/code_constructions.py", line 624, in sage.coding.code_constructions.QuadraticResidueCodeOddPair
Failed example:
    codes.QuadraticResidueCodeOddPair(17, GF(13))
Exception raised:
    Traceback (most recent call last):
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 562, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 972, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.coding.code_constructions.QuadraticResidueCodeOddPair[0]>", line 1, in <module>
        codes.QuadraticResidueCodeOddPair(Integer(17), GF(Integer(13)))
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/coding/code_constructions.py", line 666, in Quadratic
ResidueCodeOddPair
        return DuadicCodeOddPair(F,Q,N)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/coding/code_constructions.py", line 425, in DuadicCod
eOddPair
        gg1 = P2(coeffs1)
      File "sage/structure/parent.pyx", line 920, in sage.structure.parent.Parent.__call__ (build/cythonized/sage/structure/paren
t.c:9734)
        return mor._call_(x)
      File "sage/structure/coerce_maps.pyx", line 145, in sage.structure.coerce_maps.DefaultConvertMap_unique._call_ (build/cytho
nized/sage/structure/coerce_maps.c:4555)
        raise
      File "sage/structure/coerce_maps.pyx", line 140, in sage.structure.coerce_maps.DefaultConvertMap_unique._call_ (build/cytho
nized/sage/structure/coerce_maps.c:4423)
        return C._element_constructor(x)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/rings/polynomial/polynomial_ring.py", line 404, in _e
lement_constructor_
        return C(self, x, check=check, is_gen=False, construct=construct)
      File "sage/rings/polynomial/polynomial_zmod_flint.pyx", line 100, in sage.rings.polynomial.polynomial_zmod_flint.Polynomial _zmod_flint.__init__ (build/cythonized/sage/rings/polynomial/polynomial_zmod_flint.cpp:14358)
        lst = [k(i) for i in x]
      File "sage/structure/parent.pyx", line 920, in sage.structure.parent.Parent.__call__ (build/cythonized/sage/structure/paren
t.c:9734)
        return mor._call_(x)
      File "sage/rings/finite_rings/hom_prime_finite_field.pyx", line 46, in sage.rings.finite_rings.hom_prime_finite_field.Secti onFiniteFieldHomomorphism_prime._call_ (build/cythonized/sage/rings/finite_rings/hom_prime_finite_field.c:3457)         raise ValueError("%s is not in the image of %s" % (x, self._inverse))     ValueError: 3*z^3 + 2*z^2 + 8*z + 1 is not in the image of (map internal to coercion system -- copy before use)
    Ring morphism:
      From: Finite Field of size 13
      To:   Finite Field in z of size 13^4
**********************************************************************
1 item had failures:
   1 of  13 in sage.coding.code_constructions.QuadraticResidueCodeOddPair
    [146 tests, 1 failure, 2.56 s]

--
You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com <mailto:sage-release+unsubscr...@googlegroups.com>. To post to this group, send email to sage-release@googlegroups.com <mailto:sage-release@googlegroups.com>.
Visit this group at https://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-release+unsubscr...@googlegroups.com.
To post to this group, send email to sage-release@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.

Reply via email to