Runing ptestlong with --optional=sage,optional,external

i.e. testing the following packages:

Using 
--optional=4ti2,bliss,cbc,ccache,cmake,cryptominisat,dot2tex,external,glucose,latte_int,lidia,lrslib,memlimit,mpir,ninja_build,normaliz,notedown,pandoc_attributes,pycosat,pynormaliz,python2,qhull,rst2ipynb,sage,topcom
External software detected for doctesting: 
ffmpeg,graphviz,gurobi,imagemagick,internet,latex,pandoc

I get

----------------------------------------------------------------------
sage -t --long src/sage/tests/cmdline.py  # 2 doctests failed
sage -t --long src/sage/symbolic/integration/external.py  # 1 doctest failed
sage -t --long src/sage/combinat/designs/ext_rep.py  # 1 doctest failed
sage -t --long src/sage/repl/load.py  # 1 doctest failed
sage -t --long src/sage/combinat/designs/covering_design.py  # 2 doctests 
failed
sage -t --long src/sage/combinat/designs/design_catalog.py  # 3 doctests 
failed
sage -t --long src/sage/misc/package.py  # Timed out
----------------------------------------------------------------------

Few of them are copied below mostly due to intermittent failing internet 
tests.

Re-running the tests using:

sage -tp --long --optional=sage,optional,external src/sage/tests/cmdline.py 
src/sage/symbolic/integration/external.py  
src/sage/combinat/designs/ext_rep.py  src/sage/repl/load.py  
src/sage/combinat/designs/covering_design.py  
src/sage/combinat/designs/design_catalog.py  src/sage/misc/package.py  

I obtain only:

----------------------------------------------------------------------
sage -t --long src/sage/combinat/designs/design_catalog.py  # 3 doctests 
failed
sage -t --long src/sage/combinat/designs/covering_design.py  # 2 doctests 
failed
----------------------------------------------------------------------

Follow up at https://trac.sagemath.org/ticket/25536







sage -t --long src/sage/tests/cmdline.py
**********************************************************************
File "src/sage/tests/cmdline.py", line 623, in 
sage.tests.cmdline.test_executable
Failed example:
    (out, err, ret) = test_executable(["sage", "--optional"])  # optional - 
internet
Exception raised:
    Traceback (most recent call last):
      File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
 
line 671, 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 1095, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.tests.cmdline.test_executable[214]>", line 1, in 
<module>
        (out, err, ret) = test_executable(["sage", "--optional"])  # 
optional - internet
      File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/tests/cmdline.py",
 
line 949, in test_executable
        raise RuntimeError("timeout in test_executable()")
    RuntimeError: timeout in test_executable()
**********************************************************************
File "src/sage/tests/cmdline.py", line 624, in 
sage.tests.cmdline.test_executable
Failed example:
    out.find("database_cremona_ellcurve") >= 0  # optional - internet
Expected:
    True
Got:
    False
**********************************************************************
1 item had failures:
   2 of 271 in sage.tests.cmdline.test_executable
    3 gdb tests not run
    4 kash tests not run
    0 tests not run because we ran out of time
    [270 tests, 2 failures, 146.00 s]






sage -t --long src/sage/symbolic/integration/external.py
**********************************************************************
File "src/sage/symbolic/integration/external.py", line 79, in 
sage.symbolic.integration.external.mma_free_integrator
Failed example:
    integral(sin(y)^2, y, algorithm='mathematica_free') # optional - 
internet
Expected:
    1/2*y - 1/4*sin(2*y)
Got:
    -1/2*cos(y)*sin(y) + 1/2*y
**********************************************************************
1 item had failures:
   1 of   7 in sage.symbolic.integration.external.mma_free_integrator
    6 fricas tests not run
    0 tests not run because we ran out of time
    [35 tests, 1 failure, 22.51 s]








sage -t --long src/sage/repl/load.py
**********************************************************************
File "src/sage/repl/load.py", line 157, in sage.repl.load.load
Failed example:
    
sage.repl.load.load('https://github.com/jasongrout/minimum_rank/raw/minimum_rank_1_0_0/minrank.py',
 
globals())  # optional - internet
Exception raised:
    Traceback (most recent call last):
      File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
 
line 671, 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 1095, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.repl.load.load[16]>", line 1, in <module>
        
sage.repl.load.load('https://github.com/jasongrout/minimum_rank/raw/minimum_rank_1_0_0/minrank.py',
 
globals())  # optional - internet
      File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/repl/load.py", 
line 235, in load
        filename = get_remote_file(filename, verbose=False)
      File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/misc/remote_file.py",
 
line 48, in get_remote_file
        content = urlopen(req, timeout=1)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/urllib2.py", line 
154, in urlopen
        return opener.open(url, data, timeout)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/urllib2.py", line 
435, in open
        response = meth(req, response)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/urllib2.py", line 
548, in http_response
        'http', request, response, code, msg, hdrs)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/urllib2.py", line 
467, in error
        result = self._call_chain(*args)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/urllib2.py", line 
407, in _call_chain
        result = func(*args)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/urllib2.py", line 
654, in http_error_302
        return self.parent.open(new, timeout=req.timeout)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/urllib2.py", line 
429, in open
        response = self._open(req, data)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/urllib2.py", line 
447, in _open
        '_open', req)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/urllib2.py", line 
407, in _call_chain
        result = func(*args)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/urllib2.py", line 
1241, in https_open
        context=self._context)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/urllib2.py", line 
1201, in do_open
        r = h.getresponse(buffering=True)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/httplib.py", line 
1121, in getresponse
        response.begin()
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/httplib.py", line 
438, in begin
        version, status, reason = self._read_status()
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/httplib.py", line 
394, in _read_status
        line = self.fp.readline(_MAXLINE + 1)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/socket.py", line 
482, in readline
        data = self._sock.recv(self._rbufsize)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/ssl.py", line 772, 
in recv
        return self.read(buflen)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/ssl.py", line 659, 
in read
        v = self._sslobj.read(len)
    SSLError: ('The read operation timed out',)
**********************************************************************
1 item had failures:
   1 of  36 in sage.repl.load.load
    2 not tested tests not run
    0 tests not run because we ran out of time
    [44 tests, 1 failure, 2.38 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.
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