[Python-modules-team] Bug#881038: jupyter-notebook FTBFS: ERROR: notebook.tests.test_notebookapp.test_notebook_stop
Adrian Bunk
bunk at debian.org
Tue Nov 7 10:23:42 UTC 2017
Source: jupyter-notebook
Version: 5.1.0-1
Severity: serious
https://buildd.debian.org/status/fetch.php?pkg=jupyter-notebook&arch=all&ver=5.1.0-1&stamp=1509918772&raw=0
...
dh_auto_test -i -O--buildsystem=pybuild
I: pybuild base:184: cd /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_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 0x7fee2795ed10>
Warning)
./usr/lib/python2.7/dist-packages/ipython_genutils/tempdir.py:58: Warning: Implicitly cleaning up <ipython_genutils.tempdir.TemporaryDirectory object at 0x7fee278ab250>
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)
.............................................................................Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 163, in _run_module_as_main
mod_name, _Error)
File "/usr/lib/python2.7/runpy.py", line 102, in _get_module_details
loader = get_loader(mod_name)
File "/usr/lib/python2.7/pkgutil.py", line 464, in get_loader
return find_loader(fullname)
File "/usr/lib/python2.7/pkgutil.py", line 475, in find_loader
loader = importer.find_module(fullname)
File "/usr/lib/python2.7/pkgutil.py", line 184, in find_module
path = [os.path.realpath(self.path)]
File "/usr/lib/python2.7/posixpath.py", line 375, in realpath
path, ok = _joinrealpath('', filename, {})
File "/usr/lib/python2.7/posixpath.py", line 400, in _joinrealpath
if not islink(newpath):
File "/usr/lib/python2.7/posixpath.py", line 135, in islink
st = os.lstat(path)
KeyboardInterrupt
../usr/lib/python2.7/dist-packages/jupyter_client/kernelspec.py:199: UserWarning: Invalid kernelspec directory name (Kernel names can only contain ASCII letters and numbers and these separators: - . _ (hyphen, period, and underscore).): /tmp/tmpphMb4f/data/kernels/sample 2
d = self.find_kernel_specs()
...../<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/notebook/services/kernelspecs/handlers.py:56: UserWarning: Invalid kernelspec directory name (Kernel names can only contain ASCII letters and numbers and these separators: - . _ (hyphen, period, and underscore).): /tmp/tmpphMb4f/data/kernels/sample 2
for kernel_name in ksm.find_kernel_specs():
................................................................./usr/lib/python2.7/dist-packages/ipython_genutils/tempdir.py:58: Warning: Implicitly cleaning up <ipython_genutils.tempdir.TemporaryDirectory object at 0x7fee26390fd0>
Warning)
.................E.............S
======================================================================
ERROR: notebook.tests.test_notebookapp.test_notebook_stop
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/notebook/tests/test_notebookapp.py", line 165, in test_notebook_stop
app.start()
File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/notebook/notebookapp.py", line 367, in start
servers = list(list_running_servers(self.runtime_dir))
File "/usr/lib/python2.7/dist-packages/traitlets/traitlets.py", line 556, in __get__
return self.get(obj, cls)
File "/usr/lib/python2.7/dist-packages/traitlets/traitlets.py", line 535, in get
value = self._validate(obj, dynamic_default())
File "/usr/lib/python2.7/dist-packages/jupyter_core/application.py", line 99, in _runtime_dir_default
ensure_dir_exists(rd, mode=0o700)
File "/usr/lib/python2.7/dist-packages/ipython_genutils/path.py", line 167, in ensure_dir_exists
os.makedirs(path, mode=mode)
File "/usr/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/run/user'
----------------------------------------------------------------------
Ran 251 tests in 32.221s
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 0x7fee27769850>
Warning)
/usr/lib/python2.7/dist-packages/ipython_genutils/tempdir.py:58: Warning: Implicitly cleaning up <ipython_genutils.tempdir.TemporaryDirectory object at 0x7fee2623f510>
Warning)
/usr/lib/python2.7/dist-packages/ipython_genutils/tempdir.py:58: Warning: Implicitly cleaning up <ipython_genutils.tempdir.TemporaryDirectory object at 0x7fee2623f210>
Warning)
/usr/lib/python2.7/dist-packages/ipython_genutils/tempdir.py:58: Warning: Implicitly cleaning up <ipython_genutils.tempdir.TemporaryDirectory object at 0x7fee26235d50>
Warning)
/usr/lib/python2.7/dist-packages/ipython_genutils/tempdir.py:58: Warning: Implicitly cleaning up <ipython_genutils.tempdir.TemporaryDirectory object at 0x7fee2623fad0>
Warning)
E: pybuild pybuild:283: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build; python2.7 -m nose
dh_auto_test: pybuild --test --test-nose -i python{version} -p 2.7 returned exit code 13
debian/rules:12: recipe for target 'build-indep' failed
make: *** [build-indep] Error 25
More information about the Python-modules-team
mailing list