D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/jupyter-jupyterlab-server-1.1.4-1.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.17KOQc + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf jupyterlab_server-1.1.4 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/jupyterlab_server-1.1.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd jupyterlab_server-1.1.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.O5bS89 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd jupyterlab_server-1.1.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/jupyterlab_server copying jupyterlab_server/themes_handler.py -> build/lib/jupyterlab_server copying jupyterlab_server/settings_handler.py -> build/lib/jupyterlab_server copying jupyterlab_server/handlers.py -> build/lib/jupyterlab_server copying jupyterlab_server/workspaces_handler.py -> build/lib/jupyterlab_server copying jupyterlab_server/listings_handler.py -> build/lib/jupyterlab_server copying jupyterlab_server/app.py -> build/lib/jupyterlab_server copying jupyterlab_server/__init__.py -> build/lib/jupyterlab_server copying jupyterlab_server/process_app.py -> build/lib/jupyterlab_server copying jupyterlab_server/_version.py -> build/lib/jupyterlab_server copying jupyterlab_server/servertest.py -> build/lib/jupyterlab_server copying jupyterlab_server/server.py -> build/lib/jupyterlab_server copying jupyterlab_server/process.py -> build/lib/jupyterlab_server creating build/lib/jupyterlab_server/tests copying jupyterlab_server/tests/utils.py -> build/lib/jupyterlab_server/tests copying jupyterlab_server/tests/__init__.py -> build/lib/jupyterlab_server/tests copying jupyterlab_server/tests/test_settings_api.py -> build/lib/jupyterlab_server/tests copying jupyterlab_server/tests/test_workspaces_api.py -> build/lib/jupyterlab_server/tests running egg_info writing jupyterlab_server.egg-info/PKG-INFO writing dependency_links to jupyterlab_server.egg-info/dependency_links.txt writing requirements to jupyterlab_server.egg-info/requires.txt writing top-level names to jupyterlab_server.egg-info/top_level.txt reading manifest file 'jupyterlab_server.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*~' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '*.pyo' found anywhere in distribution warning: no previously-included files matching '.git' found anywhere in distribution warning: no previously-included files matching '.ipynb_checkpoints' found anywhere in distribution writing manifest file 'jupyterlab_server.egg-info/SOURCES.txt' creating build/lib/jupyterlab_server/templates copying jupyterlab_server/templates/403.html -> build/lib/jupyterlab_server/templates copying jupyterlab_server/templates/error.html -> build/lib/jupyterlab_server/templates copying jupyterlab_server/templates/index.html -> build/lib/jupyterlab_server/templates creating build/lib/jupyterlab_server/tests/app-settings copying jupyterlab_server/tests/app-settings/overrides.json -> build/lib/jupyterlab_server/tests/app-settings creating build/lib/jupyterlab_server/tests/schemas creating build/lib/jupyterlab_server/tests/schemas/@jupyterlab creating build/lib/jupyterlab_server/tests/schemas/@jupyterlab/apputils-extension copying jupyterlab_server/tests/schemas/@jupyterlab/apputils-extension/themes.json -> build/lib/jupyterlab_server/tests/schemas/@jupyterlab/apputils-extension creating build/lib/jupyterlab_server/tests/schemas/@jupyterlab/codemirror-extension copying jupyterlab_server/tests/schemas/@jupyterlab/codemirror-extension/commands.json -> build/lib/jupyterlab_server/tests/schemas/@jupyterlab/codemirror-extension creating build/lib/jupyterlab_server/tests/schemas/@jupyterlab/shortcuts-extension copying jupyterlab_server/tests/schemas/@jupyterlab/shortcuts-extension/package.json.orig -> build/lib/jupyterlab_server/tests/schemas/@jupyterlab/shortcuts-extension copying jupyterlab_server/tests/schemas/@jupyterlab/shortcuts-extension/plugin.json -> build/lib/jupyterlab_server/tests/schemas/@jupyterlab/shortcuts-extension creating build/lib/jupyterlab_server/tests/workspaces copying jupyterlab_server/tests/workspaces/foo-2c26.jupyterlab-workspace -> build/lib/jupyterlab_server/tests/workspaces copying jupyterlab_server/tests/workspaces/foo-92dd.jupyterlab-workspace -> build/lib/jupyterlab_server/tests/workspaces + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.XsHODa + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64 + cd jupyterlab_server-1.1.4 + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + /usr/bin/python3 setup.py install -O1 --skip-build --root /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64 running install running install_lib creating /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr creating /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib creating /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8 creating /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages creating /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server creating /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/templates copying build/lib/jupyterlab_server/templates/403.html -> /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/templates copying build/lib/jupyterlab_server/templates/index.html -> /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/templates copying build/lib/jupyterlab_server/templates/error.html -> /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/templates copying build/lib/jupyterlab_server/themes_handler.py -> /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server copying build/lib/jupyterlab_server/settings_handler.py -> /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server copying build/lib/jupyterlab_server/handlers.py -> /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server copying build/lib/jupyterlab_server/workspaces_handler.py -> /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server copying build/lib/jupyterlab_server/listings_handler.py -> /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server copying build/lib/jupyterlab_server/app.py -> /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server copying build/lib/jupyterlab_server/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server copying build/lib/jupyterlab_server/process_app.py -> /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server creating /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/tests creating /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/tests/schemas creating /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/tests/schemas/@jupyterlab creating /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/tests/schemas/@jupyterlab/codemirror-extension copying build/lib/jupyterlab_server/tests/schemas/@jupyterlab/codemirror-extension/commands.json -> /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/tests/schemas/@jupyterlab/codemirror-extension creating /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/tests/schemas/@jupyterlab/shortcuts-extension copying build/lib/jupyterlab_server/tests/schemas/@jupyterlab/shortcuts-extension/plugin.json -> /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/tests/schemas/@jupyterlab/shortcuts-extension copying build/lib/jupyterlab_server/tests/schemas/@jupyterlab/shortcuts-extension/package.json.orig -> /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/tests/schemas/@jupyterlab/shortcuts-extension creating /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/tests/schemas/@jupyterlab/apputils-extension copying build/lib/jupyterlab_server/tests/schemas/@jupyterlab/apputils-extension/themes.json -> /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/tests/schemas/@jupyterlab/apputils-extension copying build/lib/jupyterlab_server/tests/utils.py -> /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/tests creating /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/tests/workspaces copying build/lib/jupyterlab_server/tests/workspaces/foo-2c26.jupyterlab-workspace -> /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/tests/workspaces copying build/lib/jupyterlab_server/tests/workspaces/foo-92dd.jupyterlab-workspace -> /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/tests/workspaces copying build/lib/jupyterlab_server/tests/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/tests creating /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/tests/app-settings copying build/lib/jupyterlab_server/tests/app-settings/overrides.json -> /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/tests/app-settings copying build/lib/jupyterlab_server/tests/test_settings_api.py -> /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/tests copying build/lib/jupyterlab_server/tests/test_workspaces_api.py -> /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/tests copying build/lib/jupyterlab_server/_version.py -> /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server copying build/lib/jupyterlab_server/servertest.py -> /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server copying build/lib/jupyterlab_server/server.py -> /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server copying build/lib/jupyterlab_server/process.py -> /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server byte-compiling /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/themes_handler.py to themes_handler.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/settings_handler.py to settings_handler.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/handlers.py to handlers.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/workspaces_handler.py to workspaces_handler.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/listings_handler.py to listings_handler.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/app.py to app.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/process_app.py to process_app.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/tests/utils.py to utils.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/tests/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/tests/test_settings_api.py to test_settings_api.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/tests/test_workspaces_api.py to test_workspaces_api.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/_version.py to _version.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/servertest.py to servertest.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/server.py to server.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/process.py to process.cpython-38.pyc writing byte-compilation script '/tmp/tmpcr4q4zf5.py' /usr/bin/python3 /tmp/tmpcr4q4zf5.py removing /tmp/tmpcr4q4zf5.py running install_egg_info running egg_info writing jupyterlab_server.egg-info/PKG-INFO writing dependency_links to jupyterlab_server.egg-info/dependency_links.txt writing requirements to jupyterlab_server.egg-info/requires.txt writing top-level names to jupyterlab_server.egg-info/top_level.txt reading manifest file 'jupyterlab_server.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*~' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '*.pyo' found anywhere in distribution warning: no previously-included files matching '.git' found anywhere in distribution warning: no previously-included files matching '.ipynb_checkpoints' found anywhere in distribution writing manifest file 'jupyterlab_server.egg-info/SOURCES.txt' Copying jupyterlab_server.egg-info to /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server-1.1.4-py3.8.egg-info running install_scripts + rm -rfv /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/bin/__pycache__ + _target= + _symlinks=0 + fdupes -q -n -r /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages + read _file + test -z '' + _target=/home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/tests/__pycache__/__init__.cpython-38.pyc + read _file + test -z /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/tests/__pycache__/__init__.cpython-38.pyc + test -z /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/tests/__pycache__/__init__.cpython-38.opt-1.pyc + test 0 = 1 + ln -f /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/tests/__pycache__/__init__.cpython-38.pyc /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/tests/__pycache__/__init__.cpython-38.opt-1.pyc + read _file + test -z /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/tests/__pycache__/__init__.cpython-38.pyc + test -z '' + _target= + continue + read _file + test -z '' + _target=/home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/__pycache__/_version.cpython-38.pyc + read _file + test -z /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/__pycache__/_version.cpython-38.pyc + test -z /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/__pycache__/_version.cpython-38.opt-1.pyc + test 0 = 1 + ln -f /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/__pycache__/_version.cpython-38.pyc /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/__pycache__/_version.cpython-38.opt-1.pyc + read _file + test -z /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/__pycache__/_version.cpython-38.pyc + test -z '' + _target= + continue + read _file + test -z '' + _target=/home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/__pycache__/servertest.cpython-38.pyc + read _file + test -z /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/__pycache__/servertest.cpython-38.pyc + test -z /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/__pycache__/servertest.cpython-38.opt-1.pyc + test 0 = 1 + ln -f /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/__pycache__/servertest.cpython-38.pyc /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/__pycache__/servertest.cpython-38.opt-1.pyc + read _file + test -z /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/__pycache__/servertest.cpython-38.pyc + test -z '' + _target= + continue + read _file + test -z '' + _target=/home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/__pycache__/server.cpython-38.pyc + read _file + test -z /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/__pycache__/server.cpython-38.pyc + test -z /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/__pycache__/server.cpython-38.opt-1.pyc + test 0 = 1 + ln -f /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/__pycache__/server.cpython-38.pyc /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/__pycache__/server.cpython-38.opt-1.pyc + read _file + test -z /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8/site-packages/jupyterlab_server/__pycache__/server.cpython-38.pyc + test -z '' + _target= + continue + read _file + /usr/lib/rpm/find-debuginfo.sh -j96 --strict-build-id -m -i --build-id-seed 1.1.4-1.mga8 --unique-debug-suffix -1.1.4-1.mga8.x86_64 --unique-debug-src-base jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/jupyterlab_server-1.1.4 + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 1 Bytecompiling .py files below /home/iurt/rpmbuild/BUILDROOT/jupyter-jupyterlab-server-1.1.4-1.mga8.x86_64/usr/lib/python3.8 using /usr/bin/python3.8 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.fkSoGb + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd jupyterlab_server-1.1.4 + '[' 1 -eq 1 ']' + pytest-3 -v . ============================= test session starts ============================== platform linux -- Python 3.8.5, pytest-6.1.0, py-1.9.0, pluggy-0.13.1 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /home/iurt/rpmbuild/BUILD/jupyterlab_server-1.1.4 collecting ... collected 12 items jupyterlab_server/tests/test_settings_api.py::SettingsAPITest::test_get FAILED [ 8%] jupyterlab_server/tests/test_settings_api.py::SettingsAPITest::test_get_bad FAILED [ 16%] jupyterlab_server/tests/test_settings_api.py::SettingsAPITest::test_listing FAILED [ 25%] jupyterlab_server/tests/test_settings_api.py::SettingsAPITest::test_patch FAILED [ 33%] jupyterlab_server/tests/test_settings_api.py::SettingsAPITest::test_patch_bad_data FAILED [ 41%] jupyterlab_server/tests/test_settings_api.py::SettingsAPITest::test_patch_wrong_id FAILED [ 50%] jupyterlab_server/tests/test_workspaces_api.py::WorkspacesAPITest::test_bad_put FAILED [ 58%] jupyterlab_server/tests/test_workspaces_api.py::WorkspacesAPITest::test_blank_put FAILED [ 66%] jupyterlab_server/tests/test_workspaces_api.py::WorkspacesAPITest::test_delete FAILED [ 75%] jupyterlab_server/tests/test_workspaces_api.py::WorkspacesAPITest::test_get FAILED [ 83%] jupyterlab_server/tests/test_workspaces_api.py::WorkspacesAPITest::test_listing FAILED [ 91%] jupyterlab_server/tests/test_workspaces_api.py::WorkspacesAPITest::test_put FAILED [100%] =================================== FAILURES =================================== ___________________________ SettingsAPITest.test_get ___________________________ self = def test_get(self): id = '@jupyterlab/apputils-extension:themes' > data = self.settings_api.get(id).json() jupyterlab_server/tests/test_settings_api.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.8/site-packages/requests/models.py:898: in json return complexjson.loads(self.text, **kwargs) /usr/lib64/python3.8/site-packages/simplejson/__init__.py:525: in loads return _default_decoder.decode(s) /usr/lib64/python3.8/site-packages/simplejson/decoder.py:370: in decode obj, end = self.raw_decode(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = s = '\n\n\n\n \n Error\n\n\n

Cannot find template: "index.html"

\n

In ""

\n\n\n' idx = 0, _w = _PY3 = True def raw_decode(self, s, idx=0, _w=WHITESPACE.match, _PY3=PY3): """Decode a JSON document from ``s`` (a ``str`` or ``unicode`` beginning with a JSON document) and return a 2-tuple of the Python representation and the index in ``s`` where the document ended. Optionally, ``idx`` can be used to specify an offset in ``s`` where the JSON document begins. This can be used to decode a JSON document from a string that may have extraneous data at the end. """ if idx < 0: # Ensure that raw_decode bails on negative indexes, the regex # would otherwise mask this behavior. #98 raise JSONDecodeError('Expecting value', s, idx) if _PY3 and not isinstance(s, str): raise TypeError("Input string must be text, not bytes") # strip UTF-8 bom if len(s) > idx: ord0 = ord(s[idx]) if ord0 == 0xfeff: idx += 1 elif ord0 == 0xef and s[idx:idx + 3] == '\xef\xbb\xbf': idx += 3 > return self.scan_once(s, idx=_w(s, idx).end()) E simplejson.errors.JSONDecodeError: Expecting value: line 2 column 1 (char 1) /usr/lib64/python3.8/site-packages/simplejson/decoder.py:400: JSONDecodeError ------------------------------ Captured log setup ------------------------------ INFO LabServerApp:notebookapp.py:2209 Serving notebooks from local directory: /tmp/tmp9_w60nwa/notebooks INFO LabServerApp:notebookapp.py:2209 Jupyter Notebook 6.1.4 is running at: INFO LabServerApp:notebookapp.py:2209 http://localhost:12341/a%40b/?token=... INFO LabServerApp:notebookapp.py:2209 or http://127.0.0.1:12341/a%40b/?token=... INFO LabServerApp:notebookapp.py:2210 Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). WARNING LabServerApp:handlers.py:613 Forbidden WARNING LabServerApp:log.py:49 403 GET /a%40b/api/contents (127.0.0.1) 1.41ms referer=None _________________________ SettingsAPITest.test_get_bad _________________________ self = def test_get_bad(self): with assert_http_error(404): > self.settings_api.get('foo') jupyterlab_server/tests/test_settings_api.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.8/contextlib.py:120: in __exit__ next(self.gen) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ status = 404, msg = None @contextmanager def assert_http_error(status, msg=None): try: yield except requests.HTTPError as e: real_status = e.response.status_code assert real_status == status, \ "Expected status %d, got %d" % (status, real_status) if msg: assert msg in str(e), e else: > assert False, "Expected HTTP error status" E AssertionError: Expected HTTP error status /usr/lib/python3.8/site-packages/notebook/tests/launchnotebook.py:251: AssertionError _________________________ SettingsAPITest.test_listing _________________________ self = def test_listing(self): ids = [ '@jupyterlab/apputils-extension:themes', '@jupyterlab/codemirror-extension:commands', '@jupyterlab/shortcuts-extension:plugin' ] versions = ['N/A', 'N/A', 'test-version'] > response = self.settings_api.get('').json() jupyterlab_server/tests/test_settings_api.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.8/site-packages/requests/models.py:898: in json return complexjson.loads(self.text, **kwargs) /usr/lib64/python3.8/site-packages/simplejson/__init__.py:525: in loads return _default_decoder.decode(s) /usr/lib64/python3.8/site-packages/simplejson/decoder.py:370: in decode obj, end = self.raw_decode(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = s = '\n\n\n\n \n Error\n\n\n

Cannot find template: "index.html"

\n

In ""

\n\n\n' idx = 0, _w = _PY3 = True def raw_decode(self, s, idx=0, _w=WHITESPACE.match, _PY3=PY3): """Decode a JSON document from ``s`` (a ``str`` or ``unicode`` beginning with a JSON document) and return a 2-tuple of the Python representation and the index in ``s`` where the document ended. Optionally, ``idx`` can be used to specify an offset in ``s`` where the JSON document begins. This can be used to decode a JSON document from a string that may have extraneous data at the end. """ if idx < 0: # Ensure that raw_decode bails on negative indexes, the regex # would otherwise mask this behavior. #98 raise JSONDecodeError('Expecting value', s, idx) if _PY3 and not isinstance(s, str): raise TypeError("Input string must be text, not bytes") # strip UTF-8 bom if len(s) > idx: ord0 = ord(s[idx]) if ord0 == 0xfeff: idx += 1 elif ord0 == 0xef and s[idx:idx + 3] == '\xef\xbb\xbf': idx += 3 > return self.scan_once(s, idx=_w(s, idx).end()) E simplejson.errors.JSONDecodeError: Expecting value: line 2 column 1 (char 1) /usr/lib64/python3.8/site-packages/simplejson/decoder.py:400: JSONDecodeError __________________________ SettingsAPITest.test_patch __________________________ self = def test_patch(self): id = '@jupyterlab/shortcuts-extension:plugin' > assert self.settings_api.put(id, dict()).status_code == 204 jupyterlab_server/tests/test_settings_api.py:79: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jupyterlab_server/tests/test_settings_api.py:19: in put return self._req('PUT', schema_name, json.dumps(body)) jupyterlab_server/tests/utils.py:142: in _req response.raise_for_status() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def raise_for_status(self): """Raises :class:`HTTPError`, if one occurred.""" http_error_msg = '' if isinstance(self.reason, bytes): # We attempt to decode utf-8 first because some servers # choose to localize their reason strings. If the string # isn't utf-8, we fall back to iso-8859-1 for all other # encodings. (See PR #3538) try: reason = self.reason.decode('utf-8') except UnicodeDecodeError: reason = self.reason.decode('iso-8859-1') else: reason = self.reason if 400 <= self.status_code < 500: http_error_msg = u'%s Client Error: %s for url: %s' % (self.status_code, reason, self.url) elif 500 <= self.status_code < 600: http_error_msg = u'%s Server Error: %s for url: %s' % (self.status_code, reason, self.url) if http_error_msg: > raise HTTPError(http_error_msg, response=self) E requests.exceptions.HTTPError: 405 Client Error: Method Not Allowed for url: http://localhost:12341/a%40b/lab/api/settings/@jupyterlab/shortcuts-extension:plugin /usr/lib/python3.8/site-packages/requests/models.py:941: HTTPError ------------------------------ Captured log call ------------------------------- WARNING LabServerApp:log.py:49 405 PUT /a%40b/lab/api/settings/@jupyterlab/shortcuts-extension:plugin (127.0.0.1) 2.39ms referer=None _____________________ SettingsAPITest.test_patch_bad_data ______________________ status = 400, msg = None @contextmanager def assert_http_error(status, msg=None): try: > yield /usr/lib/python3.8/site-packages/notebook/tests/launchnotebook.py:243: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def test_patch_bad_data(self): id = '@jupyterlab/codemirror-extension:commands' with assert_http_error(400): > self.settings_api.put(id, dict(keyMap=10)) jupyterlab_server/tests/test_settings_api.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = schema_name = '@jupyterlab/codemirror-extension:commands', body = {'keyMap': 10} def put(self, schema_name, body): > return self._req('PUT', schema_name, json.dumps(body)) jupyterlab_server/tests/test_settings_api.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = verb = 'PUT', path = '@jupyterlab/codemirror-extension:commands' body = '{"keyMap": 10}' def _req(self, verb, path, body=None): response = self.request(verb, url_path_join(self.url, path), data=body) if 400 <= response.status_code < 600: try: response.reason = response.json()['message'] except Exception: pass > response.raise_for_status() jupyterlab_server/tests/utils.py:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def raise_for_status(self): """Raises :class:`HTTPError`, if one occurred.""" http_error_msg = '' if isinstance(self.reason, bytes): # We attempt to decode utf-8 first because some servers # choose to localize their reason strings. If the string # isn't utf-8, we fall back to iso-8859-1 for all other # encodings. (See PR #3538) try: reason = self.reason.decode('utf-8') except UnicodeDecodeError: reason = self.reason.decode('iso-8859-1') else: reason = self.reason if 400 <= self.status_code < 500: http_error_msg = u'%s Client Error: %s for url: %s' % (self.status_code, reason, self.url) elif 500 <= self.status_code < 600: http_error_msg = u'%s Server Error: %s for url: %s' % (self.status_code, reason, self.url) if http_error_msg: > raise HTTPError(http_error_msg, response=self) E requests.exceptions.HTTPError: 405 Client Error: Method Not Allowed for url: http://localhost:12341/a%40b/lab/api/settings/@jupyterlab/codemirror-extension:commands /usr/lib/python3.8/site-packages/requests/models.py:941: HTTPError During handling of the above exception, another exception occurred: self = def test_patch_bad_data(self): id = '@jupyterlab/codemirror-extension:commands' with assert_http_error(400): > self.settings_api.put(id, dict(keyMap=10)) jupyterlab_server/tests/test_settings_api.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.8/contextlib.py:131: in __exit__ self.gen.throw(type, value, traceback) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ status = 400, msg = None @contextmanager def assert_http_error(status, msg=None): try: yield except requests.HTTPError as e: real_status = e.response.status_code > assert real_status == status, \ "Expected status %d, got %d" % (status, real_status) E AssertionError: Expected status 400, got 405 /usr/lib/python3.8/site-packages/notebook/tests/launchnotebook.py:246: AssertionError ------------------------------ Captured log call ------------------------------- WARNING LabServerApp:log.py:49 405 PUT /a%40b/lab/api/settings/@jupyterlab/codemirror-extension:commands (127.0.0.1) 1.38ms referer=None _____________________ SettingsAPITest.test_patch_wrong_id ______________________ status = 404, msg = None @contextmanager def assert_http_error(status, msg=None): try: > yield /usr/lib/python3.8/site-packages/notebook/tests/launchnotebook.py:243: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def test_patch_wrong_id(self): with assert_http_error(404): > self.settings_api.put('foo', dict()) jupyterlab_server/tests/test_settings_api.py:83: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = schema_name = 'foo', body = {} def put(self, schema_name, body): > return self._req('PUT', schema_name, json.dumps(body)) jupyterlab_server/tests/test_settings_api.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = verb = 'PUT', path = 'foo', body = '{}' def _req(self, verb, path, body=None): response = self.request(verb, url_path_join(self.url, path), data=body) if 400 <= response.status_code < 600: try: response.reason = response.json()['message'] except Exception: pass > response.raise_for_status() jupyterlab_server/tests/utils.py:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def raise_for_status(self): """Raises :class:`HTTPError`, if one occurred.""" http_error_msg = '' if isinstance(self.reason, bytes): # We attempt to decode utf-8 first because some servers # choose to localize their reason strings. If the string # isn't utf-8, we fall back to iso-8859-1 for all other # encodings. (See PR #3538) try: reason = self.reason.decode('utf-8') except UnicodeDecodeError: reason = self.reason.decode('iso-8859-1') else: reason = self.reason if 400 <= self.status_code < 500: http_error_msg = u'%s Client Error: %s for url: %s' % (self.status_code, reason, self.url) elif 500 <= self.status_code < 600: http_error_msg = u'%s Server Error: %s for url: %s' % (self.status_code, reason, self.url) if http_error_msg: > raise HTTPError(http_error_msg, response=self) E requests.exceptions.HTTPError: 405 Client Error: Method Not Allowed for url: http://localhost:12341/a%40b/lab/api/settings/foo /usr/lib/python3.8/site-packages/requests/models.py:941: HTTPError During handling of the above exception, another exception occurred: self = def test_patch_wrong_id(self): with assert_http_error(404): > self.settings_api.put('foo', dict()) jupyterlab_server/tests/test_settings_api.py:83: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.8/contextlib.py:131: in __exit__ self.gen.throw(type, value, traceback) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ status = 404, msg = None @contextmanager def assert_http_error(status, msg=None): try: yield except requests.HTTPError as e: real_status = e.response.status_code > assert real_status == status, \ "Expected status %d, got %d" % (status, real_status) E AssertionError: Expected status 404, got 405 /usr/lib/python3.8/site-packages/notebook/tests/launchnotebook.py:246: AssertionError ------------------------------ Captured log call ------------------------------- WARNING LabServerApp:log.py:49 405 PUT /a%40b/lab/api/settings/foo (127.0.0.1) 2.08ms referer=None ---------------------------- Captured log teardown ----------------------------- INFO LabServerApp:notebookapp.py:2052 Shutting down 0 kernels INFO LabServerApp:notebookapp.py:2067 Shutting down 0 terminals ________________________ WorkspacesAPITest.test_bad_put ________________________ self = def test_bad_put(self): orig = 'foo' copy = 'bar' > data = self.workspaces_api.get(orig).json() jupyterlab_server/tests/test_workspaces_api.py:66: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.8/site-packages/requests/models.py:898: in json return complexjson.loads(self.text, **kwargs) /usr/lib64/python3.8/site-packages/simplejson/__init__.py:525: in loads return _default_decoder.decode(s) /usr/lib64/python3.8/site-packages/simplejson/decoder.py:370: in decode obj, end = self.raw_decode(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = s = '\n\n\n\n \n Error\n\n\n

Cannot find template: "index.html"

\n

In ""

\n\n\n' idx = 0, _w = _PY3 = True def raw_decode(self, s, idx=0, _w=WHITESPACE.match, _PY3=PY3): """Decode a JSON document from ``s`` (a ``str`` or ``unicode`` beginning with a JSON document) and return a 2-tuple of the Python representation and the index in ``s`` where the document ended. Optionally, ``idx`` can be used to specify an offset in ``s`` where the JSON document begins. This can be used to decode a JSON document from a string that may have extraneous data at the end. """ if idx < 0: # Ensure that raw_decode bails on negative indexes, the regex # would otherwise mask this behavior. #98 raise JSONDecodeError('Expecting value', s, idx) if _PY3 and not isinstance(s, str): raise TypeError("Input string must be text, not bytes") # strip UTF-8 bom if len(s) > idx: ord0 = ord(s[idx]) if ord0 == 0xfeff: idx += 1 elif ord0 == 0xef and s[idx:idx + 3] == '\xef\xbb\xbf': idx += 3 > return self.scan_once(s, idx=_w(s, idx).end()) E simplejson.errors.JSONDecodeError: Expecting value: line 2 column 1 (char 1) /usr/lib64/python3.8/site-packages/simplejson/decoder.py:400: JSONDecodeError ------------------------------ Captured log setup ------------------------------ INFO LabServerApp:notebookapp.py:2209 Serving notebooks from local directory: /tmp/tmpzvtmu63i/notebooks INFO LabServerApp:notebookapp.py:2209 Jupyter Notebook 6.1.4 is running at: INFO LabServerApp:notebookapp.py:2209 http://localhost:12341/a%40b/?token=... INFO LabServerApp:notebookapp.py:2209 or http://127.0.0.1:12341/a%40b/?token=... INFO LabServerApp:notebookapp.py:2210 Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). WARNING LabServerApp:handlers.py:613 Forbidden WARNING LabServerApp:log.py:49 403 GET /a%40b/api/contents (127.0.0.1) 1.09ms referer=None _______________________ WorkspacesAPITest.test_blank_put _______________________ self = def test_blank_put(self): orig = 'foo' > data = self.workspaces_api.get(orig).json() jupyterlab_server/tests/test_workspaces_api.py:72: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.8/site-packages/requests/models.py:898: in json return complexjson.loads(self.text, **kwargs) /usr/lib64/python3.8/site-packages/simplejson/__init__.py:525: in loads return _default_decoder.decode(s) /usr/lib64/python3.8/site-packages/simplejson/decoder.py:370: in decode obj, end = self.raw_decode(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = s = '\n\n\n\n \n Error\n\n\n

Cannot find template: "index.html"

\n

In ""

\n\n\n' idx = 0, _w = _PY3 = True def raw_decode(self, s, idx=0, _w=WHITESPACE.match, _PY3=PY3): """Decode a JSON document from ``s`` (a ``str`` or ``unicode`` beginning with a JSON document) and return a 2-tuple of the Python representation and the index in ``s`` where the document ended. Optionally, ``idx`` can be used to specify an offset in ``s`` where the JSON document begins. This can be used to decode a JSON document from a string that may have extraneous data at the end. """ if idx < 0: # Ensure that raw_decode bails on negative indexes, the regex # would otherwise mask this behavior. #98 raise JSONDecodeError('Expecting value', s, idx) if _PY3 and not isinstance(s, str): raise TypeError("Input string must be text, not bytes") # strip UTF-8 bom if len(s) > idx: ord0 = ord(s[idx]) if ord0 == 0xfeff: idx += 1 elif ord0 == 0xef and s[idx:idx + 3] == '\xef\xbb\xbf': idx += 3 > return self.scan_once(s, idx=_w(s, idx).end()) E simplejson.errors.JSONDecodeError: Expecting value: line 2 column 1 (char 1) /usr/lib64/python3.8/site-packages/simplejson/decoder.py:400: JSONDecodeError ________________________ WorkspacesAPITest.test_delete _________________________ self = def test_delete(self): orig = 'f/o/o/' copy = 'baz' > data = self.workspaces_api.get(orig).json() jupyterlab_server/tests/test_workspaces_api.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.8/site-packages/requests/models.py:898: in json return complexjson.loads(self.text, **kwargs) /usr/lib64/python3.8/site-packages/simplejson/__init__.py:525: in loads return _default_decoder.decode(s) /usr/lib64/python3.8/site-packages/simplejson/decoder.py:370: in decode obj, end = self.raw_decode(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = s = '\n\n\n\n \n Error\n\n\n

Cannot find template: "index.html"

\n

In ""

\n\n\n' idx = 0, _w = _PY3 = True def raw_decode(self, s, idx=0, _w=WHITESPACE.match, _PY3=PY3): """Decode a JSON document from ``s`` (a ``str`` or ``unicode`` beginning with a JSON document) and return a 2-tuple of the Python representation and the index in ``s`` where the document ended. Optionally, ``idx`` can be used to specify an offset in ``s`` where the JSON document begins. This can be used to decode a JSON document from a string that may have extraneous data at the end. """ if idx < 0: # Ensure that raw_decode bails on negative indexes, the regex # would otherwise mask this behavior. #98 raise JSONDecodeError('Expecting value', s, idx) if _PY3 and not isinstance(s, str): raise TypeError("Input string must be text, not bytes") # strip UTF-8 bom if len(s) > idx: ord0 = ord(s[idx]) if ord0 == 0xfeff: idx += 1 elif ord0 == 0xef and s[idx:idx + 3] == '\xef\xbb\xbf': idx += 3 > return self.scan_once(s, idx=_w(s, idx).end()) E simplejson.errors.JSONDecodeError: Expecting value: line 2 column 1 (char 1) /usr/lib64/python3.8/site-packages/simplejson/decoder.py:400: JSONDecodeError ------------------------------ Captured log call ------------------------------- INFO LabServerApp:log.py:49 301 GET /a%40b/lab/api/workspaces/f/o/o/ (127.0.0.1) 0.88ms __________________________ WorkspacesAPITest.test_get __________________________ self = def test_get(self): id = 'foo' > assert self.workspaces_api.get(id).json()['metadata']['id'] == id jupyterlab_server/tests/test_workspaces_api.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.8/site-packages/requests/models.py:898: in json return complexjson.loads(self.text, **kwargs) /usr/lib64/python3.8/site-packages/simplejson/__init__.py:525: in loads return _default_decoder.decode(s) /usr/lib64/python3.8/site-packages/simplejson/decoder.py:370: in decode obj, end = self.raw_decode(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = s = '\n\n\n\n \n Error\n\n\n

Cannot find template: "index.html"

\n

In ""

\n\n\n' idx = 0, _w = _PY3 = True def raw_decode(self, s, idx=0, _w=WHITESPACE.match, _PY3=PY3): """Decode a JSON document from ``s`` (a ``str`` or ``unicode`` beginning with a JSON document) and return a 2-tuple of the Python representation and the index in ``s`` where the document ended. Optionally, ``idx`` can be used to specify an offset in ``s`` where the JSON document begins. This can be used to decode a JSON document from a string that may have extraneous data at the end. """ if idx < 0: # Ensure that raw_decode bails on negative indexes, the regex # would otherwise mask this behavior. #98 raise JSONDecodeError('Expecting value', s, idx) if _PY3 and not isinstance(s, str): raise TypeError("Input string must be text, not bytes") # strip UTF-8 bom if len(s) > idx: ord0 = ord(s[idx]) if ord0 == 0xfeff: idx += 1 elif ord0 == 0xef and s[idx:idx + 3] == '\xef\xbb\xbf': idx += 3 > return self.scan_once(s, idx=_w(s, idx).end()) E simplejson.errors.JSONDecodeError: Expecting value: line 2 column 1 (char 1) /usr/lib64/python3.8/site-packages/simplejson/decoder.py:400: JSONDecodeError ________________________ WorkspacesAPITest.test_listing ________________________ self = def test_listing(self): # ID fields are from workspaces/*.jupyterlab-workspace listing = set(['foo', 'f/o/o/']) > output = set(self.workspaces_api.get().json()['workspaces']['ids']) jupyterlab_server/tests/test_workspaces_api.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.8/site-packages/requests/models.py:898: in json return complexjson.loads(self.text, **kwargs) /usr/lib64/python3.8/site-packages/simplejson/__init__.py:525: in loads return _default_decoder.decode(s) /usr/lib64/python3.8/site-packages/simplejson/decoder.py:370: in decode obj, end = self.raw_decode(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = s = '\n\n\n\n \n Error\n\n\n

Cannot find template: "index.html"

\n

In ""

\n\n\n' idx = 0, _w = _PY3 = True def raw_decode(self, s, idx=0, _w=WHITESPACE.match, _PY3=PY3): """Decode a JSON document from ``s`` (a ``str`` or ``unicode`` beginning with a JSON document) and return a 2-tuple of the Python representation and the index in ``s`` where the document ended. Optionally, ``idx`` can be used to specify an offset in ``s`` where the JSON document begins. This can be used to decode a JSON document from a string that may have extraneous data at the end. """ if idx < 0: # Ensure that raw_decode bails on negative indexes, the regex # would otherwise mask this behavior. #98 raise JSONDecodeError('Expecting value', s, idx) if _PY3 and not isinstance(s, str): raise TypeError("Input string must be text, not bytes") # strip UTF-8 bom if len(s) > idx: ord0 = ord(s[idx]) if ord0 == 0xfeff: idx += 1 elif ord0 == 0xef and s[idx:idx + 3] == '\xef\xbb\xbf': idx += 3 > return self.scan_once(s, idx=_w(s, idx).end()) E simplejson.errors.JSONDecodeError: Expecting value: line 2 column 1 (char 1) /usr/lib64/python3.8/site-packages/simplejson/decoder.py:400: JSONDecodeError __________________________ WorkspacesAPITest.test_put __________________________ self = def test_put(self): id = 'foo' > data = self.workspaces_api.get(id).json() jupyterlab_server/tests/test_workspaces_api.py:60: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.8/site-packages/requests/models.py:898: in json return complexjson.loads(self.text, **kwargs) /usr/lib64/python3.8/site-packages/simplejson/__init__.py:525: in loads return _default_decoder.decode(s) /usr/lib64/python3.8/site-packages/simplejson/decoder.py:370: in decode obj, end = self.raw_decode(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = s = '\n\n\n\n \n Error\n\n\n

Cannot find template: "index.html"

\n

In ""

\n\n\n' idx = 0, _w = _PY3 = True def raw_decode(self, s, idx=0, _w=WHITESPACE.match, _PY3=PY3): """Decode a JSON document from ``s`` (a ``str`` or ``unicode`` beginning with a JSON document) and return a 2-tuple of the Python representation and the index in ``s`` where the document ended. Optionally, ``idx`` can be used to specify an offset in ``s`` where the JSON document begins. This can be used to decode a JSON document from a string that may have extraneous data at the end. """ if idx < 0: # Ensure that raw_decode bails on negative indexes, the regex # would otherwise mask this behavior. #98 raise JSONDecodeError('Expecting value', s, idx) if _PY3 and not isinstance(s, str): raise TypeError("Input string must be text, not bytes") # strip UTF-8 bom if len(s) > idx: ord0 = ord(s[idx]) if ord0 == 0xfeff: idx += 1 elif ord0 == 0xef and s[idx:idx + 3] == '\xef\xbb\xbf': idx += 3 > return self.scan_once(s, idx=_w(s, idx).end()) E simplejson.errors.JSONDecodeError: Expecting value: line 2 column 1 (char 1) /usr/lib64/python3.8/site-packages/simplejson/decoder.py:400: JSONDecodeError ---------------------------- Captured log teardown ----------------------------- INFO LabServerApp:notebookapp.py:2052 Shutting down 0 kernels INFO LabServerApp:notebookapp.py:2067 Shutting down 0 terminals =============================== warnings summary =============================== ../../../../../usr/lib/python3.8/site-packages/notebook/notebookapp.py:52 /usr/lib/python3.8/site-packages/notebook/notebookapp.py:52: DeprecationWarning: zmq.eventloop.ioloop is deprecated in pyzmq 17. pyzmq now works with default tornado and asyncio eventloops. ioloop.install() ../../../../../usr/lib/python3.8/site-packages/nbformat/notebooknode.py:4 /usr/lib/python3.8/site-packages/nbformat/notebooknode.py:4: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working from collections import Mapping jupyterlab_server/tests/test_settings_api.py::SettingsAPITest::test_get /usr/lib/python3.8/site-packages/traitlets/config/configurable.py:82: DeprecationWarning: Passing unrecognized arguments to super(LabServerApp).__init__(app_dir='/tmp/tmp9_w60nwa/lab', lab_config=). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Configurable, self).__init__(**kwargs) jupyterlab_server/tests/test_workspaces_api.py::WorkspacesAPITest::test_bad_put /usr/lib/python3.8/site-packages/traitlets/config/configurable.py:82: DeprecationWarning: Passing unrecognized arguments to super(LabServerApp).__init__(app_dir='/tmp/tmpzvtmu63i/lab', lab_config=). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Configurable, self).__init__(**kwargs) -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ FAILED jupyterlab_server/tests/test_settings_api.py::SettingsAPITest::test_get FAILED jupyterlab_server/tests/test_settings_api.py::SettingsAPITest::test_get_bad FAILED jupyterlab_server/tests/test_settings_api.py::SettingsAPITest::test_listing FAILED jupyterlab_server/tests/test_settings_api.py::SettingsAPITest::test_patch FAILED jupyterlab_server/tests/test_settings_api.py::SettingsAPITest::test_patch_bad_data FAILED jupyterlab_server/tests/test_settings_api.py::SettingsAPITest::test_patch_wrong_id FAILED jupyterlab_server/tests/test_workspaces_api.py::WorkspacesAPITest::test_bad_put FAILED jupyterlab_server/tests/test_workspaces_api.py::WorkspacesAPITest::test_blank_put FAILED jupyterlab_server/tests/test_workspaces_api.py::WorkspacesAPITest::test_delete FAILED jupyterlab_server/tests/test_workspaces_api.py::WorkspacesAPITest::test_get FAILED jupyterlab_server/tests/test_workspaces_api.py::WorkspacesAPITest::test_listing FAILED jupyterlab_server/tests/test_workspaces_api.py::WorkspacesAPITest::test_put ======================== 12 failed, 4 warnings in 7.95s ======================== error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.fkSoGb (%check) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.fkSoGb (%check) I: [iurt_root_command] ERROR: chroot