[Python-modules-team] Bug#894571: jupyter-notebook FTBFS: test failures

Adrian Bunk bunk at debian.org
Sun Apr 1 19:32:46 BST 2018


Source: jupyter-notebook
Version: 5.4.0-1
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/jupyter-notebook.html

...
   debian/rules override_dh_auto_test
make[1]: Entering directory '/build/1st/jupyter-notebook-5.4.0'
mkdir -p /build/1st/jupyter-notebook-5.4.0/debian/tmp-home/runtime
# send2trash deletion tests fail if the temporary notebook files
# are on a different block device to the implicit trash directory in HOME
TMPDIR=/build/1st/jupyter-notebook-5.4.0/debian/tmp-home/runtime dh_auto_test
I: pybuild base:217: cd /build/1st/jupyter-notebook-5.4.0/.pybuild/cpython2_2.7/build; python2.7 -m nose 
....No handlers could be found for logger "NotebookApp"
................../usr/lib/python2.7/dist-packages/ipython_genutils/tempdir.py:58: Warning: Implicitly cleaning up <ipython_genutils.tempdir.TemporaryDirectory object at 0x7fd4fd0f3f90>
  Warning)
./usr/lib/python2.7/dist-packages/ipython_genutils/tempdir.py:58: Warning: Implicitly cleaning up <ipython_genutils.tempdir.TemporaryDirectory object at 0x7fd4fd02b890>
  Warning)
.............................................../usr/lib/python2.7/dist-packages/nbformat/validator.py:251: UserWarning: No schema for validating v2 notebooks
  warnings.warn("No schema for validating v%s notebooks" % version, UserWarning)
..........................................................................E..Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/lib/python2.7/dist-packages/ipykernel_launcher.py", line 15, in <module>
    from ipykernel import kernelapp as app
  File "/usr/lib/python2.7/dist-packages/ipykernel/__init__.py", line 2, in <module>
    from .connect import *
  File "/usr/lib/python2.7/dist-packages/ipykernel/connect.py", line 10, in <module>
    from subprocess import Popen, PIPE
  File "/usr/lib/python2.7/subprocess.py", line 79, in <module>
    import pickle
  File "/usr/lib/python2.7/pickle.py", line 69, in <module>
    class UnpicklingError(PickleError):
KeyboardInterrupt
......./usr/lib/python2.7/dist-packages/jupyter_client/kernelspec.py:253: UserWarning: Invalid kernelspec directory name (Kernel names can only contain ASCII letters and numbers and these separators: - . _ (hyphen, period, and underscore).): /build/1st/jupyter-notebook-5.4.0/debian/tmp-home/runtime/tmpmJC2gx/data/kernels/sample 2
  d = self.find_kernel_specs()
.................................................................../usr/lib/python2.7/dist-packages/ipython_genutils/tempdir.py:58: Warning: Implicitly cleaning up <ipython_genutils.tempdir.TemporaryDirectory object at 0x7fd4f77c3c50>
  Warning)
.................There is currently no server running on port 999
Ports currently in use:
  - 100
  - 101
  - 102
  - 103
  - 104
  - 105
  - 106
  - 107
  - 108
  - 109
..............S
======================================================================
ERROR: test_connections (notebook.services.kernels.tests.test_kernels_api.KernelAPITest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/1st/jupyter-notebook-5.4.0/.pybuild/cpython2_2.7/build/notebook/services/kernels/tests/test_kernels_api.py", line 172, in test_connections
    ws = self.kern_api.websocket(kid)
  File "/build/1st/jupyter-notebook-5.4.0/.pybuild/cpython2_2.7/build/notebook/services/kernels/tests/test_kernels_api.py", line 60, in websocket
    f = websocket_connect(req, io_loop=loop)
TypeError: websocket_connect() got an unexpected keyword argument 'io_loop'
-------------------- >> begin captured logging << --------------------
traitlets: DEBUG: Paths used for configuration of jupyter_notebook_config: 
	/build/1st/jupyter-notebook-5.4.0/debian/tmp-home/runtime/jupyter-clean-cfg-v4qdGi/jupyter_notebook_config.json
traitlets: DEBUG: Paths used for configuration of jupyter_notebook_config: 
	/build/1st/jupyter-notebook-5.4.0/debian/tmp-home/runtime/tmpYWTo0I/config/jupyter_notebook_config.json
NotebookApp: INFO: Serving notebooks from local directory: /build/1st/jupyter-notebook-5.4.0/debian/tmp-home/runtime/tmpYWTo0I/notebooks
NotebookApp: INFO: 0 active kernels
NotebookApp: INFO: The Jupyter Notebook is running at:
NotebookApp: INFO: http://localhost:12341/a%40b/?token=...
NotebookApp: INFO: Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): localhost
NotebookApp: WARNING: Forbidden
NotebookApp: WARNING: 403 GET /a%40b/api/contents (::1) 1.60ms referer=None
urllib3.connectionpool: DEBUG: http://localhost:12341 "GET /a%40b/api/contents HTTP/1.1" 403 40
urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): localhost
NotebookApp: INFO: Kernel started: 3fe70fc2-5dc7-4688-9774-5e6cf5c82ce1
urllib3.connectionpool: DEBUG: http://localhost:12341 "POST /a%40b/api/kernels HTTP/1.1" 201 162
urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: http://localhost:12341 "GET /a%40b/api/kernels/3fe70fc2-5dc7-4688-9774-5e6cf5c82ce1 HTTP/1.1" 200 162
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 253 tests in 206.042s

FAILED (SKIP=1, errors=1)
/usr/lib/python2.7/dist-packages/ipython_genutils/tempdir.py:58: Warning: Implicitly cleaning up <ipython_genutils.tempdir.TemporaryDirectory object at 0x7fd4fcc99d90>
  Warning)
/usr/lib/python2.7/dist-packages/ipython_genutils/tempdir.py:58: Warning: Implicitly cleaning up <ipython_genutils.tempdir.TemporaryDirectory object at 0x7fd4f7790c90>
  Warning)
/usr/lib/python2.7/dist-packages/ipython_genutils/tempdir.py:58: Warning: Implicitly cleaning up <ipython_genutils.tempdir.TemporaryDirectory object at 0x7fd4f7790750>
  Warning)
/usr/lib/python2.7/dist-packages/ipython_genutils/tempdir.py:58: Warning: Implicitly cleaning up <ipython_genutils.tempdir.TemporaryDirectory object at 0x7fd4f7790a10>
  Warning)
/usr/lib/python2.7/dist-packages/ipython_genutils/tempdir.py:58: Warning: Implicitly cleaning up <ipython_genutils.tempdir.TemporaryDirectory object at 0x7fd4f7790bd0>
  Warning)
E: pybuild pybuild:336: test: plugin distutils failed with: exit code=1: cd /build/1st/jupyter-notebook-5.4.0/.pybuild/cpython2_2.7/build; python2.7 -m nose 
dh_auto_test: pybuild --test --test-nose -i python{version} -p 2.7 returned exit code 13
make[1]: *** [debian/rules:159: override_dh_auto_test] Error 25



More information about the Python-modules-team mailing list