Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-jupyter-server.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-374533-71630/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2dfrykzu:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2dfrykzu:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '35ef18d6660645248eeeaba4a9fea57e', '-D', '/var/lib/mock/dist-an23-build-python3.11-374533-71630/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2dfrykzu:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-jupyter-server.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1711497600 Wrote: /builddir/build/SRPMS/python-jupyter-server-2.5.0-4.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-jupyter-server.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-374533-71630/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2dfrykzu:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2dfrykzu:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6859096dcc2e4571ba43dd4868f680de', '-D', '/var/lib/mock/dist-an23-build-python3.11-374533-71630/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2dfrykzu:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-jupyter-server.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1711497600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1tZ81Q + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jupyter_server-2.5.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/jupyter_server-2.5.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jupyter_server-2.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i '/"pre-commit"/d' pyproject.toml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.ck60Qq + umask 022 + cd /builddir/build/BUILD + cd jupyter_server-2.5.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/jupyter_server-2.5.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/jupyter_server-2.5.0/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/jupyter_server-2.5.0/pyproject-wheeldir --output /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-buildrequires -x test Handling hatchling >=1.11 from build-system.requires Requirement not satisfied: hatchling >=1.11 Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-jupyter-server-2.5.0-4.an23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-jupyter-server.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-374533-71630/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2dfrykzu:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2dfrykzu:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7cfd142111b847a99bee9a1c83058171', '-D', '/var/lib/mock/dist-an23-build-python3.11-374533-71630/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2dfrykzu:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-jupyter-server.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1711497600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ps76VG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jupyter_server-2.5.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/jupyter_server-2.5.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jupyter_server-2.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i '/"pre-commit"/d' pyproject.toml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.yAEr06 + umask 022 + cd /builddir/build/BUILD + cd jupyter_server-2.5.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/jupyter_server-2.5.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/jupyter_server-2.5.0/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/jupyter_server-2.5.0/pyproject-wheeldir --output /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-buildrequires -x test Handling hatchling >=1.11 from build-system.requires Requirement satisfied: hatchling >=1.11 (installed: hatchling 1.21.0) Handling hatch-jupyter-builder>=0.8.1 from get_requires_for_build_wheel Requirement not satisfied: hatch-jupyter-builder>=0.8.1 Exiting dependency generation pass: get_requires_for_build_wheel + cat /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-jupyter-server-2.5.0-4.an23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-jupyter-server.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-374533-71630/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2dfrykzu:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2dfrykzu:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'eb1db28cdd9d48e3896998fbfbbcbb2a', '-D', '/var/lib/mock/dist-an23-build-python3.11-374533-71630/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2dfrykzu:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-jupyter-server.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1711497600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hGqoLC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jupyter_server-2.5.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/jupyter_server-2.5.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jupyter_server-2.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i '/"pre-commit"/d' pyproject.toml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.KCGskW + umask 022 + cd /builddir/build/BUILD + cd jupyter_server-2.5.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/jupyter_server-2.5.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/jupyter_server-2.5.0/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/jupyter_server-2.5.0/pyproject-wheeldir --output /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-buildrequires -x test Handling hatchling >=1.11 from build-system.requires Requirement satisfied: hatchling >=1.11 (installed: hatchling 1.21.0) Handling hatch-jupyter-builder>=0.8.1 from get_requires_for_build_wheel Requirement satisfied: hatch-jupyter-builder>=0.8.1 (installed: hatch-jupyter-builder 0.8.3) Handling anyio>=3.1.0 from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: anyio>=3.1.0 Handling argon2-cffi from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: argon2-cffi Handling jinja2 from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: jinja2 Handling jupyter-client>=7.4.4 from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: jupyter-client>=7.4.4 Handling jupyter-core!=5.0.*,>=4.12 from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: jupyter-core!=5.0.*,>=4.12 Handling jupyter-events>=0.4.0 from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: jupyter-events>=0.4.0 Handling jupyter-server-terminals from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: jupyter-server-terminals Handling nbconvert>=6.4.4 from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: nbconvert>=6.4.4 Handling nbformat>=5.3.0 from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: nbformat>=5.3.0 Handling packaging from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: packaging (installed: packaging 23.0) Handling prometheus-client from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: prometheus-client Handling pywinpty; os_name == 'nt' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: pywinpty; os_name == 'nt' Handling pyzmq>=24 from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: pyzmq>=24 Handling send2trash from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: send2trash Handling terminado>=0.8.3 from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: terminado>=0.8.3 Handling tornado>=6.2.0 from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: tornado>=6.2.0 Handling traitlets>=5.6.0 from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: traitlets>=5.6.0 Handling websocket-client from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: websocket-client Handling docutils<0.20; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: docutils<0.20; extra == 'docs' Handling ipykernel; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: ipykernel; extra == 'docs' Handling jinja2; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: jinja2; extra == 'docs' Handling jupyter-client; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: jupyter-client; extra == 'docs' Handling jupyter-server; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: jupyter-server; extra == 'docs' Handling mistune<1.0.0; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: mistune<1.0.0; extra == 'docs' Handling myst-parser; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: myst-parser; extra == 'docs' Handling nbformat; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: nbformat; extra == 'docs' Handling prometheus-client; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: prometheus-client; extra == 'docs' Handling pydata-sphinx-theme; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: pydata-sphinx-theme; extra == 'docs' Handling send2trash; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: send2trash; extra == 'docs' Handling sphinx-autodoc-typehints; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: sphinx-autodoc-typehints; extra == 'docs' Handling sphinxcontrib-github-alt; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: sphinxcontrib-github-alt; extra == 'docs' Handling sphinxcontrib-openapi; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: sphinxcontrib-openapi; extra == 'docs' Handling sphinxcontrib-spelling; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: sphinxcontrib-spelling; extra == 'docs' Handling sphinxemoji; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: sphinxemoji; extra == 'docs' Handling tornado; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: tornado; extra == 'docs' Handling typing-extensions; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: typing-extensions; extra == 'docs' Handling ipykernel; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: ipykernel; extra == 'test' Handling pytest-console-scripts; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: pytest-console-scripts; extra == 'test' Handling pytest-jupyter[server]>=0.4; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: pytest-jupyter[server]>=0.4; extra == 'test' Handling pytest-timeout; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: pytest-timeout; extra == 'test' Handling pytest>=7.0; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: pytest>=7.0; extra == 'test' Handling requests; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: requests; extra == 'test' + cat /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-buildrequires + rm -rfv jupyter_server-2.5.0.dist-info/ removed 'jupyter_server-2.5.0.dist-info/METADATA' removed directory 'jupyter_server-2.5.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-jupyter-server-2.5.0-4.an23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-jupyter-server.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-374533-71630/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2dfrykzu:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2dfrykzu:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ba8b62f9555d41c58b2794e93f914408', '-D', '/var/lib/mock/dist-an23-build-python3.11-374533-71630/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2dfrykzu:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-jupyter-server.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1711497600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.C3Gofz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jupyter_server-2.5.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/jupyter_server-2.5.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jupyter_server-2.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i '/"pre-commit"/d' pyproject.toml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.TZ6qFP + umask 022 + cd /builddir/build/BUILD + cd jupyter_server-2.5.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/jupyter_server-2.5.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/jupyter_server-2.5.0/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/jupyter_server-2.5.0/pyproject-wheeldir --output /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-buildrequires -x test Handling hatchling >=1.11 from build-system.requires Requirement satisfied: hatchling >=1.11 (installed: hatchling 1.21.0) Handling hatch-jupyter-builder>=0.8.1 from get_requires_for_build_wheel Requirement satisfied: hatch-jupyter-builder>=0.8.1 (installed: hatch-jupyter-builder 0.8.3) Handling anyio>=3.1.0 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: anyio>=3.1.0 (installed: anyio 3.5.0) Handling argon2-cffi from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: argon2-cffi (installed: argon2-cffi 21.3.0) Handling jinja2 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: jinja2 (installed: jinja2 3.1.3) Handling jupyter-client>=7.4.4 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: jupyter-client>=7.4.4 (installed: jupyter-client 7.4.9) Handling jupyter-core!=5.0.*,>=4.12 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: jupyter-core!=5.0.*,>=4.12 (installed: jupyter-core 5.1.0) Handling jupyter-events>=0.4.0 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: jupyter-events>=0.4.0 (installed: jupyter-events 0.6.3) Handling jupyter-server-terminals from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: jupyter-server-terminals (installed: jupyter-server-terminals 0.4.2) Handling nbconvert>=6.4.4 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: nbconvert>=6.4.4 (installed: nbconvert 7.2.5) Handling nbformat>=5.3.0 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: nbformat>=5.3.0 (installed: nbformat 5.7.0) Handling packaging from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: packaging (installed: packaging 23.0) Handling prometheus-client from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: prometheus-client (installed: prometheus-client 0.16.0) Handling pywinpty; os_name == 'nt' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: pywinpty; os_name == 'nt' Handling pyzmq>=24 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: pyzmq>=24 (installed: pyzmq 24.0.1) Handling send2trash from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: send2trash (installed: send2trash 1.8.2) Handling terminado>=0.8.3 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: terminado>=0.8.3 (installed: terminado 0.17.1) Handling tornado>=6.2.0 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: tornado>=6.2.0 (installed: tornado 6.3.3) Handling traitlets>=5.6.0 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: traitlets>=5.6.0 (installed: traitlets 5.9.0) Handling websocket-client from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: websocket-client (installed: websocket-client 1.3.3) Handling docutils<0.20; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: docutils<0.20; extra == 'docs' Handling ipykernel; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: ipykernel; extra == 'docs' Handling jinja2; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: jinja2; extra == 'docs' Handling jupyter-client; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: jupyter-client; extra == 'docs' Handling jupyter-server; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: jupyter-server; extra == 'docs' Handling mistune<1.0.0; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: mistune<1.0.0; extra == 'docs' Handling myst-parser; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: myst-parser; extra == 'docs' Handling nbformat; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: nbformat; extra == 'docs' Handling prometheus-client; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: prometheus-client; extra == 'docs' Handling pydata-sphinx-theme; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: pydata-sphinx-theme; extra == 'docs' Handling send2trash; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: send2trash; extra == 'docs' Handling sphinx-autodoc-typehints; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: sphinx-autodoc-typehints; extra == 'docs' Handling sphinxcontrib-github-alt; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: sphinxcontrib-github-alt; extra == 'docs' Handling sphinxcontrib-openapi; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: sphinxcontrib-openapi; extra == 'docs' Handling sphinxcontrib-spelling; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: sphinxcontrib-spelling; extra == 'docs' Handling sphinxemoji; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: sphinxemoji; extra == 'docs' Handling tornado; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: tornado; extra == 'docs' Handling typing-extensions; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: typing-extensions; extra == 'docs' Handling ipykernel; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: ipykernel; extra == 'test' (installed: ipykernel 6.17.1) Handling pytest-console-scripts; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: pytest-console-scripts; extra == 'test' (installed: pytest-console-scripts 1.3.1) Handling pytest-jupyter[server]>=0.4; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: pytest-jupyter[server]>=0.4; extra == 'test' (installed: pytest-jupyter 0.7.0) (extras are currently not checked) Handling pytest-timeout; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: pytest-timeout; extra == 'test' (installed: pytest-timeout 2.1.0) Handling pytest>=7.0; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: pytest>=7.0; extra == 'test' (installed: pytest 7.3.1) Handling requests; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: requests; extra == 'test' (installed: requests 2.31.0) + cat /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-buildrequires + rm -rfv jupyter_server-2.5.0.dist-info/ removed 'jupyter_server-2.5.0.dist-info/METADATA' removed directory 'jupyter_server-2.5.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-jupyter-server-2.5.0-4.an23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-jupyter-server.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-374533-71630/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2dfrykzu:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2dfrykzu:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6958bfa332cc4b41b4e2d6cc1db2b5b4', '-D', '/var/lib/mock/dist-an23-build-python3.11-374533-71630/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2dfrykzu:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-jupyter-server.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1711497600 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.04zACa + umask 022 + cd /builddir/build/BUILD + cd jupyter_server-2.5.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/jupyter_server-2.5.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/jupyter_server-2.5.0/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/jupyter_server-2.5.0/pyproject-wheeldir --output /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-buildrequires -x test Handling hatchling >=1.11 from build-system.requires Requirement satisfied: hatchling >=1.11 (installed: hatchling 1.21.0) Handling hatch-jupyter-builder>=0.8.1 from get_requires_for_build_wheel Requirement satisfied: hatch-jupyter-builder>=0.8.1 (installed: hatch-jupyter-builder 0.8.3) Handling anyio>=3.1.0 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: anyio>=3.1.0 (installed: anyio 3.5.0) Handling argon2-cffi from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: argon2-cffi (installed: argon2-cffi 21.3.0) Handling jinja2 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: jinja2 (installed: jinja2 3.1.3) Handling jupyter-client>=7.4.4 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: jupyter-client>=7.4.4 (installed: jupyter-client 7.4.9) Handling jupyter-core!=5.0.*,>=4.12 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: jupyter-core!=5.0.*,>=4.12 (installed: jupyter-core 5.1.0) Handling jupyter-events>=0.4.0 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: jupyter-events>=0.4.0 (installed: jupyter-events 0.6.3) Handling jupyter-server-terminals from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: jupyter-server-terminals (installed: jupyter-server-terminals 0.4.2) Handling nbconvert>=6.4.4 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: nbconvert>=6.4.4 (installed: nbconvert 7.2.5) Handling nbformat>=5.3.0 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: nbformat>=5.3.0 (installed: nbformat 5.7.0) Handling packaging from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: packaging (installed: packaging 23.0) Handling prometheus-client from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: prometheus-client (installed: prometheus-client 0.16.0) Handling pywinpty; os_name == 'nt' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: pywinpty; os_name == 'nt' Handling pyzmq>=24 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: pyzmq>=24 (installed: pyzmq 24.0.1) Handling send2trash from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: send2trash (installed: send2trash 1.8.2) Handling terminado>=0.8.3 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: terminado>=0.8.3 (installed: terminado 0.17.1) Handling tornado>=6.2.0 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: tornado>=6.2.0 (installed: tornado 6.3.3) Handling traitlets>=5.6.0 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: traitlets>=5.6.0 (installed: traitlets 5.9.0) Handling websocket-client from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: websocket-client (installed: websocket-client 1.3.3) Handling docutils<0.20; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: docutils<0.20; extra == 'docs' Handling ipykernel; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: ipykernel; extra == 'docs' Handling jinja2; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: jinja2; extra == 'docs' Handling jupyter-client; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: jupyter-client; extra == 'docs' Handling jupyter-server; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: jupyter-server; extra == 'docs' Handling mistune<1.0.0; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: mistune<1.0.0; extra == 'docs' Handling myst-parser; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: myst-parser; extra == 'docs' Handling nbformat; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: nbformat; extra == 'docs' Handling prometheus-client; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: prometheus-client; extra == 'docs' Handling pydata-sphinx-theme; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: pydata-sphinx-theme; extra == 'docs' Handling send2trash; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: send2trash; extra == 'docs' Handling sphinx-autodoc-typehints; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: sphinx-autodoc-typehints; extra == 'docs' Handling sphinxcontrib-github-alt; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: sphinxcontrib-github-alt; extra == 'docs' Handling sphinxcontrib-openapi; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: sphinxcontrib-openapi; extra == 'docs' Handling sphinxcontrib-spelling; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: sphinxcontrib-spelling; extra == 'docs' Handling sphinxemoji; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: sphinxemoji; extra == 'docs' Handling tornado; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: tornado; extra == 'docs' Handling typing-extensions; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: typing-extensions; extra == 'docs' Handling ipykernel; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: ipykernel; extra == 'test' (installed: ipykernel 6.17.1) Handling pytest-console-scripts; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: pytest-console-scripts; extra == 'test' (installed: pytest-console-scripts 1.3.1) Handling pytest-jupyter[server]>=0.4; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: pytest-jupyter[server]>=0.4; extra == 'test' (installed: pytest-jupyter 0.7.0) (extras are currently not checked) Handling pytest-timeout; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: pytest-timeout; extra == 'test' (installed: pytest-timeout 2.1.0) Handling pytest>=7.0; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: pytest>=7.0; extra == 'test' (installed: pytest 7.3.1) Handling requests; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: requests; extra == 'test' (installed: requests 2.31.0) + cat /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-buildrequires + rm -rfv jupyter_server-2.5.0.dist-info/ removed 'jupyter_server-2.5.0.dist-info/METADATA' removed directory 'jupyter_server-2.5.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.efrtmv + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd jupyter_server-2.5.0 + mkdir -p /builddir/build/BUILD/jupyter_server-2.5.0/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/jupyter_server-2.5.0/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/anolis/pyproject_wheel.py /builddir/build/BUILD/jupyter_server-2.5.0/pyproject-wheeldir Looking in indexes: https://mirrors.aliyun.com/pypi/simple/ Processing /builddir/build/BUILD/jupyter_server-2.5.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) INFO:hatch_jupyter_builder.utils:Running jupyter-builder INFO:hatch_jupyter_builder.utils:Skip-if-exists file(s) found INFO:hatch_jupyter_builder.utils:Skipping build INFO:hatch_jupyter_builder.utils:Ensured target(s) exist! INFO:hatch_jupyter_builder.utils:Finished running jupyter-builder Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: jupyter_server Building wheel for jupyter_server (pyproject.toml): started Running command Building wheel for jupyter_server (pyproject.toml) Building wheel for jupyter_server (pyproject.toml): finished with status 'done' Created wheel for jupyter_server: filename=jupyter_server-2.5.0-py3-none-any.whl size=366832 sha256=8428a4c7b3967ccaeffa936301031c76ded574f3cc8404a1d0733a2406e616f9 Stored in directory: /builddir/.cache/pip/wheels/c7/5c/9e/89ec0088e00f8360a51a2b548e53d3e42d10c13dc766ccedd4 Successfully built jupyter_server + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dqFLDg + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch ++ dirname /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd jupyter_server-2.5.0 ++ ls /builddir/build/BUILD/jupyter_server-2.5.0/pyproject-wheeldir/jupyter_server-2.5.0-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=jupyter_server==2.5.0 + TMPDIR=/builddir/build/BUILD/jupyter_server-2.5.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/jupyter_server-2.5.0/pyproject-wheeldir jupyter_server==2.5.0 Using pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/jupyter_server-2.5.0/pyproject-wheeldir Processing ./pyproject-wheeldir/jupyter_server-2.5.0-py3-none-any.whl Installing collected packages: jupyter_server Creating /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/bin changing mode of /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/bin/jupyter-server to 755 Successfully installed jupyter_server-2.5.0 + '[' -d /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/bin ']' + '[' -f /usr/bin/pathfix3.11.py ']' + pathfix=/usr/bin/pathfix3.11.py + '[' -z s ']' + shebang_flags=-kas + /usr/bin/pathfix3.11.py -pni /usr/bin/python3 -kas /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/bin/jupyter-server /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/bin/jupyter-server: updating + rm -rfv /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/jupyter_server-2.5.0.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/lib/python3.11/site-packages/jupyter_server-2.5.0.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/anolis + /usr/bin/python3 -B /usr/lib/rpm/anolis/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch --record /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/lib/python3.11/site-packages/jupyter_server-2.5.0.dist-info/RECORD --output /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-record + rm -fv /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/lib/python3.11/site-packages/jupyter_server-2.5.0.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/lib/python3.11/site-packages/jupyter_server-2.5.0.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/lib/python3.11/site-packages/jupyter_server-2.5.0.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/lib/python3.11/site-packages/jupyter_server-2.5.0.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_PERCENTAGES_COUNT=8 + /usr/bin/python3 /usr/lib/rpm/anolis/pyproject_save_files.py --output-files /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-files --output-modules /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-modules --buildroot /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch --sitelib /usr/lib/python3.11/site-packages --sitearch /usr/lib64/python3.11/site-packages --python-version 3.11 --pyproject-record /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-record --prefix /usr jupyter_server + /usr/bin/find-debuginfo -j80 --strict-build-id -m -i --build-id-seed 2.5.0-4.an23 --unique-debug-suffix -2.5.0-4.an23.noarch --unique-debug-src-base python-jupyter-server-2.5.0-4.an23.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/jupyter_server-2.5.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + COMPRESS='zstd -f --rm -19 -T0' + COMPRESS_EXT=.zst + /usr/lib/rpm/brp-compress + /usr/lib/rpm/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/anolis/clean_perl + /usr/lib/rpm/anolis/check_elf_files + /usr/lib/rpm/anolis/brp-mangle-shebangs + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/check-desktop-files + /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/anolis/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.P9lCFu + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd jupyter_server-2.5.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/lib/python3.11/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/jupyter_server-2.5.0/.pyproject-builddir' + /usr/bin/pytest ============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.3.1, pluggy-1.0.0 rootdir: /builddir/build/BUILD/jupyter_server-2.5.0 configfile: pyproject.toml testpaths: tests/ plugins: anyio-3.5.0, console-scripts-1.3.1, timeout-2.1.0 timeout: 100.0s timeout method: thread timeout func_only: False collected 890 items tests/test_config_manager.py . [ 0%] tests/test_files.py .................... [ 2%] tests/test_gateway.py ......................... [ 5%] tests/test_paths.py ...... [ 5%] tests/test_serialize.py .. [ 6%] tests/test_serverapp.py ................................................ [ 11%] ...Task exception was never retrieved future: ._configurable_serverapp..initialize_app() done, defined at /usr/lib/python3.11/site-packages/pytest_jupyter/jupyter_server.py:245> exception=SystemExit(1)> Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/traitlets/config/application.py", line 113, in inner return method(app, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/serverapp.py", line 2539, in initialize self.init_configurables() File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/serverapp.py", line 1877, in init_configurables self.contents_manager = self.contents_manager_class( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/traitlets/config/configurable.py", line 109, in __init__ self.config = config ^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 732, in __set__ self.set(obj, value) File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 721, in set obj._notify_trait(self.name, old_value, new_value) File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1505, in _notify_trait self.notify_change( File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1517, in notify_change return self._notify_observers(change) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1564, in _notify_observers c(event) File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1146, in compatible_observer return func(self, change) ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/traitlets/config/configurable.py", line 218, in _config_changed self._load_config(change.new, traits=traits, section_names=section_names) File "/usr/lib/python3.11/site-packages/traitlets/config/configurable.py", line 167, in _load_config with self.hold_trait_notifications(): File "/usr/lib64/python3.11/contextlib.py", line 144, in __exit__ next(self.gen) File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1493, in hold_trait_notifications raise e File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1479, in hold_trait_notifications value = trait._cross_validate(self, getattr(self, name)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 746, in _cross_validate value = obj._trait_validators[self.name](obj, proposal) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1233, in __call__ return self.func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/filemanager.py", line 92, in _validate_preferred_dir return super()._validate_preferred_dir(proposal) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/manager.py", line 102, in _validate_preferred_dir raise TraitError(_i18n("Preferred directory not found: %r") % value) traitlets.traitlets.TraitError: Preferred directory not found: 'subdir' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/jupyter_server-2.5.0/tests/test_serverapp.py", line 397, in test_preferred_dir_validation jp_configurable_serverapp(**kwargs) File "/usr/lib/python3.11/site-packages/pytest_jupyter/jupyter_server.py", line 248, in _configurable_serverapp jp_asyncio_loop.run_until_complete(initialize_app()) File "/usr/lib/python3.11/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.11/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib64/python3.11/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.11/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib64/python3.11/asyncio/tasks.py", line 277, in __step result = coro.send(None) ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pytest_jupyter/jupyter_server.py", line 246, in initialize_app app.initialize(argv=argv, new_httpserver=False) File "/usr/lib/python3.11/site-packages/traitlets/config/application.py", line 117, in inner app.exit(1) File "/usr/lib/python3.11/site-packages/traitlets/config/application.py", line 1030, in exit sys.exit(exit_status) SystemExit: 1 Task exception was never retrieved future: ._configurable_serverapp..initialize_app() done, defined at /usr/lib/python3.11/site-packages/pytest_jupyter/jupyter_server.py:245> exception=SystemExit(1)> Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/traitlets/config/application.py", line 113, in inner return method(app, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/serverapp.py", line 2539, in initialize self.init_configurables() File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/serverapp.py", line 1883, in init_configurables self.contents_manager.preferred_dir File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 703, in __get__ return self.get(obj, cls) ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 659, in get default = obj.trait_defaults(self.name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1872, in trait_defaults return self._get_trait_default_generator(names[0])(self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1233, in __call__ return self.func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/filemanager.py", line 85, in _default_preferred_dir raise TraitError("%s is outside root contents directory" % value) from None traitlets.traitlets.TraitError: /tmp/pytest-of-mockbuild/pytest-0/test_preferred_dir_validation_16/subdir is outside root contents directory During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/jupyter_server-2.5.0/tests/test_serverapp.py", line 397, in test_preferred_dir_validation jp_configurable_serverapp(**kwargs) File "/usr/lib/python3.11/site-packages/pytest_jupyter/jupyter_server.py", line 248, in _configurable_serverapp jp_asyncio_loop.run_until_complete(initialize_app()) File "/usr/lib/python3.11/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.11/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib64/python3.11/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.11/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib64/python3.11/asyncio/tasks.py", line 277, in __step result = coro.send(None) ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pytest_jupyter/jupyter_server.py", line 246, in initialize_app app.initialize(argv=argv, new_httpserver=False) File "/usr/lib/python3.11/site-packages/traitlets/config/application.py", line 117, in inner app.exit(1) File "/usr/lib/python3.11/site-packages/traitlets/config/application.py", line 1030, in exit sys.exit(exit_status) SystemExit: 1 Task exception was never retrieved future: ._configurable_serverapp..initialize_app() done, defined at /usr/lib/python3.11/site-packages/pytest_jupyter/jupyter_server.py:245> exception=SystemExit(1)> Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/traitlets/config/application.py", line 113, in inner return method(app, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/serverapp.py", line 2539, in initialize self.init_configurables() File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/serverapp.py", line 1877, in init_configurables self.contents_manager = self.contents_manager_class( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/traitlets/config/configurable.py", line 109, in __init__ self.config = config ^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 732, in __set__ self.set(obj, value) File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 721, in set obj._notify_trait(self.name, old_value, new_value) File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1505, in _notify_trait self.notify_change( File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1517, in notify_change return self._notify_observers(change) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1564, in _notify_observers c(event) File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1146, in compatible_observer return func(self, change) ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/traitlets/config/configurable.py", line 218, in _config_changed self._load_config(change.new, traits=traits, section_names=section_names) File "/usr/lib/python3.11/site-packages/traitlets/config/configurable.py", line 167, in _load_config with self.hold_trait_notifications(): File "/usr/lib64/python3.11/contextlib.py", line 144, in __exit__ next(self.gen) File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1493, in hold_trait_notifications raise e File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1479, in hold_trait_notifications value = trait._cross_validate(self, getattr(self, name)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 746, in _cross_validate value = obj._trait_validators[self.name](obj, proposal) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1233, in __call__ return self.func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/filemanager.py", line 92, in _validate_preferred_dir return super()._validate_preferred_dir(proposal) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/manager.py", line 102, in _validate_preferred_dir raise TraitError(_i18n("Preferred directory not found: %r") % value) traitlets.traitlets.TraitError: Preferred directory not found: 'subdir' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/jupyter_server-2.5.0/tests/test_serverapp.py", line 397, in test_preferred_dir_validation jp_configurable_serverapp(**kwargs) File "/usr/lib/python3.11/site-packages/pytest_jupyter/jupyter_server.py", line 248, in _configurable_serverapp jp_asyncio_loop.run_until_complete(initialize_app()) File "/usr/lib/python3.11/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.11/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib64/python3.11/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.11/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib64/python3.11/asyncio/tasks.py", line 277, in __step result = coro.send(None) ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pytest_jupyter/jupyter_server.py", line 246, in initialize_app app.initialize(argv=argv, new_httpserver=False) File "/usr/lib/python3.11/site-packages/traitlets/config/application.py", line 117, in inner app.exit(1) File "/usr/lib/python3.11/site-packages/traitlets/config/application.py", line 1030, in exit sys.exit(exit_status) SystemExit: 1 .............. [ 13%] tests/test_terminal.py ....ss..... [ 14%] tests/test_traittypes.py ........... [ 15%] tests/test_utils.py ............... [ 17%] tests/test_version.py ........ [ 18%] tests/test_view.py .... [ 18%] tests/auth/test_authorizer.py .......................................... [ 23%] .................... [ 25%] tests/auth/test_identity.py .................... [ 28%] tests/auth/test_legacy_login.py .................. [ 30%] tests/auth/test_login.py .............. [ 31%] tests/auth/test_security.py .... [ 32%] tests/auth/test_utils.py ............ [ 33%] tests/base/test_handlers.py ....... [ 34%] tests/base/test_websocket.py .... [ 34%] tests/extension/test_app.py ................ [ 36%] tests/extension/test_config.py . [ 36%] tests/extension/test_entrypoint.py . [ 36%] tests/extension/test_handler.py ..... [ 37%] tests/extension/test_launch.py ... [ 37%] tests/extension/test_manager.py ............... [ 39%] tests/extension/test_serverextension.py ....... [ 40%] tests/extension/test_utils.py ... [ 40%] tests/nbconvert/test_handlers.py ssssss [ 41%] tests/services/api/test_api.py .............. [ 42%] tests/services/config/test_api.py ... [ 43%] tests/services/contents/test_api.py .................................... [ 47%] ........................................................................ [ 55%] ........................................................................ [ 63%] ............................FFFF...................... [ 69%] tests/services/contents/test_checkpoints.py ............ [ 70%] tests/services/contents/test_config.py ..... [ 71%] tests/services/contents/test_fileio.py ...... [ 71%] tests/services/contents/test_largefilemanager.py .............. [ 73%] tests/services/contents/test_manager.py ................................ [ 77%] ........................................................................ [ 85%] .. [ 85%] tests/services/events/test_api.py ......... [ 86%] tests/services/events/test_extension.py . [ 86%] tests/services/kernels/test_api.py ..................... [ 88%] tests/services/kernels/test_config.py ... [ 89%] tests/services/kernels/test_connection.py . [ 89%] tests/services/kernels/test_cull.py ... [ 89%] tests/services/kernelspecs/test_api.py ...... [ 90%] tests/services/nbconvert/test_api.py . [ 90%] tests/services/sessions/test_api.py .................................... [ 94%] ........................ [ 97%] tests/services/sessions/test_manager.py ................ [ 98%] tests/unix_sockets/test_api.py .. [ 99%] tests/unix_sockets/test_serverapp_integration.py sssssss [100%] =================================== FAILURES =================================== ____________________ test_delete_dirs[FileContentsManager] _____________________ jp_fetch = .client_fetch at 0xffff899e6700> contents = {'all': [[PosixPath('inroot.ipynb'), PosixPath('Directory with spaces in/inspace.ipynb'), PosixPath('unicodé/innonasci...nascii.ipynb'), PosixPath('foo/a.ipynb'), PosixPath('foo/b.ipynb'), PosixPath('foo/name with spaces.ipynb'), ...], ...} folders = ['', 'å b', 'Directory with spaces in', 'ordering', 'foo/bar', 'foo', ...] async def test_delete_dirs(jp_fetch, contents, folders): # Iterate over folders for name in sorted([*folders, "/"], key=len, reverse=True): r = await jp_fetch("api", "contents", name, method="GET") # Get JSON blobs for each content. listing = json.loads(r.body.decode())["content"] # Delete all content for model in listing: > await jp_fetch("api", "contents", model["path"], method="DELETE") tests/services/contents/test_api.py:679: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = None future = def __wakeup(self, future): try: > future.result() E tornado.httpclient.HTTPClientError: HTTP 500: Internal Server Error /usr/lib64/python3.11/asyncio/tasks.py:349: HTTPClientError ---------------------------- Captured stderr setup ----------------------------- [D 2024-04-17 15:20:13.793 ServerApp] Config changed: {'ServerApp': {'jpserver_extensions': {'jupyter_server_terminals': True}}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} ------------------------------ Captured log setup ------------------------------ DEBUG ServerApp:application.py:457 Config changed: {'ServerApp': {'jpserver_extensions': {'jupyter_server_terminals': True}}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} DEBUG ServerApp:application.py:190 Searching ['/tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/config', '/tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/env/etc/jupyter', '/tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/etc/jupyter'] for config files DEBUG ServerApp:application.py:902 Looking for jupyter_config in /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/etc/jupyter DEBUG ServerApp:application.py:902 Looking for jupyter_config in /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/env/etc/jupyter DEBUG ServerApp:application.py:902 Looking for jupyter_config in /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/config DEBUG ServerApp:application.py:457 Config changed: {'ServerApp': {'jpserver_extensions': {'jupyter_server_terminals': True}, 'contents_manager_class': 'jupyter_server.services.contents.filemanager.FileContentsManager'}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} DEBUG ServerApp:application.py:902 Looking for jupyter_server_config in /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/etc/jupyter DEBUG ServerApp:application.py:902 Looking for jupyter_server_config in /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/env/etc/jupyter DEBUG ServerApp:application.py:902 Looking for jupyter_server_config in /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/config DEBUG ServerApp:application.py:457 Config changed: {'ServerApp': {'jpserver_extensions': {'jupyter_server_terminals': True}, 'contents_manager_class': 'jupyter_server.services.contents.filemanager.FileContentsManager'}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} DEBUG ServerApp:application.py:457 Config changed: {'ServerApp': {'jpserver_extensions': {'jupyter_server_terminals': True}, 'contents_manager_class': 'jupyter_server.services.contents.filemanager.FileContentsManager'}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} INFO ServerApp:serverapp.py:2792 Serving notebooks from local directory: /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/root_dir INFO ServerApp:serverapp.py:2792 Jupyter Server 2.5.0 is running at: INFO ServerApp:serverapp.py:2792 http://localhost:35271/a%40b/?token=0807504762338795ee9d161c252505fb4243755ebe4a652b INFO ServerApp:serverapp.py:2792 http://127.0.0.1:35271/a%40b/?token=0807504762338795ee9d161c252505fb4243755ebe4a652b INFO ServerApp:serverapp.py:2793 Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). CRITICAL ServerApp:serverapp.py:2856 To access the server, open this file in a browser: file:///tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/runtime/jpserver-1312-open.html Or copy and paste one of these URLs: http://localhost:35271/a%40b/?token=0807504762338795ee9d161c252505fb4243755ebe4a652b http://127.0.0.1:35271/a%40b/?token=0807504762338795ee9d161c252505fb4243755ebe4a652b ------------------------------ Captured log call ------------------------------- DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: a853b6ad2b6e4217a6b82cd14404b5f4 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/Directory%20with%20spaces%20in (a853b6ad2b6e4217a6b82cd14404b5f4@127.0.0.1) 1.19ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 7e321df86424447db65b91c9298a2fa9 WARNING ServerApp:handlers.py:281 delete /Directory with spaces in/inspace.blob DEBUG ServerApp:filemanager.py:548 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/root_dir/Directory with spaces in/inspace.blob to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/Directory%20with%20spaces%20in/inspace.blob (7e321df86424447db65b91c9298a2fa9@127.0.0.1) 1.52ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: b9a723cca81644c184fe5264904fa0b9 WARNING ServerApp:handlers.py:281 delete /Directory with spaces in/inspace.txt DEBUG ServerApp:filemanager.py:548 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/root_dir/Directory with spaces in/inspace.txt to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/Directory%20with%20spaces%20in/inspace.txt (b9a723cca81644c184fe5264904fa0b9@127.0.0.1) 1.29ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 5e42573c3e2e46b29327d433ddc706c8 WARNING ServerApp:handlers.py:281 delete /Directory with spaces in/inspace.ipynb DEBUG ServerApp:filemanager.py:548 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/root_dir/Directory with spaces in/inspace.ipynb to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/Directory%20with%20spaces%20in/inspace.ipynb (5e42573c3e2e46b29327d433ddc706c8@127.0.0.1) 1.31ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 965cb094ad46458884bc4bbb30eeff84 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/ordering (965cb094ad46458884bc4bbb30eeff84@127.0.0.1) 1.55ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 482e98085f88480284bedd89b59c9649 WARNING ServerApp:handlers.py:281 delete /ordering/C.blob DEBUG ServerApp:filemanager.py:548 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/root_dir/ordering/C.blob to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/ordering/C.blob (482e98085f88480284bedd89b59c9649@127.0.0.1) 2.80ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 7b779a7ed5e94349aeaf57cf233d5e14 WARNING ServerApp:handlers.py:281 delete /ordering/C.txt DEBUG ServerApp:filemanager.py:548 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/root_dir/ordering/C.txt to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/ordering/C.txt (7b779a7ed5e94349aeaf57cf233d5e14@127.0.0.1) 1.26ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 1b5f9d40a906423596fd56d91dc33331 WARNING ServerApp:handlers.py:281 delete /ordering/C.ipynb DEBUG ServerApp:filemanager.py:548 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/root_dir/ordering/C.ipynb to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/ordering/C.ipynb (1b5f9d40a906423596fd56d91dc33331@127.0.0.1) 1.28ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 6a56b8467e2d4ab1885cfd867d586d73 WARNING ServerApp:handlers.py:281 delete /ordering/b.blob DEBUG ServerApp:filemanager.py:548 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/root_dir/ordering/b.blob to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/ordering/b.blob (6a56b8467e2d4ab1885cfd867d586d73@127.0.0.1) 1.23ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 88bbe2c0d9bd4f64ba63e7aed517f8cf WARNING ServerApp:handlers.py:281 delete /ordering/b.txt DEBUG ServerApp:filemanager.py:548 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/root_dir/ordering/b.txt to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/ordering/b.txt (88bbe2c0d9bd4f64ba63e7aed517f8cf@127.0.0.1) 1.33ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: f4b016dcfb264bbe845fa4b2f0f589a8 WARNING ServerApp:handlers.py:281 delete /ordering/b.ipynb DEBUG ServerApp:filemanager.py:548 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/root_dir/ordering/b.ipynb to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/ordering/b.ipynb (f4b016dcfb264bbe845fa4b2f0f589a8@127.0.0.1) 1.35ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 15b17d51a1274080b0e130d0f1101187 WARNING ServerApp:handlers.py:281 delete /ordering/A.blob DEBUG ServerApp:filemanager.py:548 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/root_dir/ordering/A.blob to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/ordering/A.blob (15b17d51a1274080b0e130d0f1101187@127.0.0.1) 1.27ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 50ebb5f3b8794e52aff9e9dff0e7567d WARNING ServerApp:handlers.py:281 delete /ordering/A.txt DEBUG ServerApp:filemanager.py:548 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/root_dir/ordering/A.txt to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/ordering/A.txt (50ebb5f3b8794e52aff9e9dff0e7567d@127.0.0.1) 1.30ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 3487e597411f4c3ab6ee2d0aab2d1869 WARNING ServerApp:handlers.py:281 delete /ordering/A.ipynb DEBUG ServerApp:filemanager.py:548 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/root_dir/ordering/A.ipynb to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/ordering/A.ipynb (3487e597411f4c3ab6ee2d0aab2d1869@127.0.0.1) 1.32ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 390af018d7d54b328bb789e009a69136 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/foo/bar (390af018d7d54b328bb789e009a69136@127.0.0.1) 1.16ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: c584e24ae69e4855a5a0a744f41f5c59 WARNING ServerApp:handlers.py:281 delete /foo/bar/baz.blob DEBUG ServerApp:filemanager.py:548 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/root_dir/foo/bar/baz.blob to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/foo/bar/baz.blob (c584e24ae69e4855a5a0a744f41f5c59@127.0.0.1) 1.29ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 92aa513bff7e4f1eb657b84361488844 WARNING ServerApp:handlers.py:281 delete /foo/bar/baz.txt DEBUG ServerApp:filemanager.py:548 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/root_dir/foo/bar/baz.txt to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/foo/bar/baz.txt (92aa513bff7e4f1eb657b84361488844@127.0.0.1) 1.30ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 9d9aacc595b14fe18f41e13d01b95ad5 WARNING ServerApp:handlers.py:281 delete /foo/bar/baz.ipynb DEBUG ServerApp:filemanager.py:548 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/root_dir/foo/bar/baz.ipynb to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/foo/bar/baz.ipynb (9d9aacc595b14fe18f41e13d01b95ad5@127.0.0.1) 1.34ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 12bba4c7a0904876b9309f292587bded DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/unicod%C3%A9 (12bba4c7a0904876b9309f292587bded@127.0.0.1) 1.11ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 78b8ba362e7b4859b337e5aefa9ad76a WARNING ServerApp:handlers.py:281 delete /unicodé/innonascii.blob DEBUG ServerApp:filemanager.py:548 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/root_dir/unicodé/innonascii.blob to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/unicod%C3%A9/innonascii.blob (78b8ba362e7b4859b337e5aefa9ad76a@127.0.0.1) 1.32ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 2b41d8b727764493a828bcc9eb23a6ca WARNING ServerApp:handlers.py:281 delete /unicodé/innonascii.txt DEBUG ServerApp:filemanager.py:548 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/root_dir/unicodé/innonascii.txt to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/unicod%C3%A9/innonascii.txt (2b41d8b727764493a828bcc9eb23a6ca@127.0.0.1) 1.34ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: c1adbf46525a42048c97a92cec1bf989 WARNING ServerApp:handlers.py:281 delete /unicodé/innonascii.ipynb DEBUG ServerApp:filemanager.py:548 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/root_dir/unicodé/innonascii.ipynb to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/unicod%C3%A9/innonascii.ipynb (c1adbf46525a42048c97a92cec1bf989@127.0.0.1) 1.36ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: d8aed2668a014771a9c4ca891209d95a DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/%C3%A5%20b (d8aed2668a014771a9c4ca891209d95a@127.0.0.1) 1.11ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: a7b68eb7924c46e28d6e225a0ee690c6 WARNING ServerApp:handlers.py:281 delete /å b/ç d.blob DEBUG ServerApp:filemanager.py:548 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/root_dir/å b/ç d.blob to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/%C3%A5%20b/%C3%A7%20d.blob (a7b68eb7924c46e28d6e225a0ee690c6@127.0.0.1) 1.33ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 2fd9829de98d429e86e1aa0ce25686f0 WARNING ServerApp:handlers.py:281 delete /å b/ç d.txt DEBUG ServerApp:filemanager.py:548 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/root_dir/å b/ç d.txt to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/%C3%A5%20b/%C3%A7%20d.txt (2fd9829de98d429e86e1aa0ce25686f0@127.0.0.1) 1.40ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 92ff4a88e0f84f149bf4078d18b6d1dd WARNING ServerApp:handlers.py:281 delete /å b/ç d.ipynb DEBUG ServerApp:filemanager.py:548 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/root_dir/å b/ç d.ipynb to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/%C3%A5%20b/%C3%A7%20d.ipynb (92ff4a88e0f84f149bf4078d18b6d1dd@127.0.0.1) 1.35ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 6f555cf981df4d4e9aaeb519f3a92661 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/foo (6f555cf981df4d4e9aaeb519f3a92661@127.0.0.1) 1.95ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: a9c58faf311f457da084c156c8b4428b WARNING ServerApp:handlers.py:281 delete /foo/bar DEBUG ServerApp:filemanager.py:548 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/root_dir/foo/bar to trash ERROR ServerApp:web.py:1871 Uncaught exception DELETE /a%40b/api/contents/foo/bar (127.0.0.1) HTTPServerRequest(protocol='http', host='127.0.0.1:35271', method='DELETE', uri='/a%40b/api/contents/foo/bar', version='HTTP/1.1', remote_ip='127.0.0.1') Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 212, in send2trash trash_move(path_b, dest_trash, topdir) File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 120, in trash_move os.rename(src, destpath) OSError: [Errno 18] Invalid cross-device link: b'/tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/root_dir/foo/bar' -> b'/builddir/.local/share/Trash/files/bar' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.11/shutil.py", line 825, in move os.rename(src, real_dst) OSError: [Errno 18] Invalid cross-device link: b'/tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/root_dir/foo/bar' -> b'/builddir/.local/share/Trash/files/bar 1' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.11/site-packages/tornado/web.py", line 1786, in _execute result = await result ^^^^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/handlers.py", line 282, in delete await ensure_async(cm.delete(path)) ^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/manager.py", line 477, in delete self.delete_file(path) File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/filemanager.py", line 549, in delete_file send2trash(os_path) File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 216, in send2trash trash_move(path_b, HOMETRASH_B, XDG_DATA_HOME, cross_dev=True) File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 118, in trash_move shutil.move(src, destpath) File "/usr/lib64/python3.11/shutil.py", line 832, in move if _destinsrc(src, dst): ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/shutil.py", line 852, in _destinsrc if not src.endswith(os.path.sep): ^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: endswith first arg must be bytes or a tuple of bytes, not str WARNING ServerApp:handlers.py:738 wrote error: 'Unhandled error' Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 212, in send2trash trash_move(path_b, dest_trash, topdir) File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 120, in trash_move os.rename(src, destpath) OSError: [Errno 18] Invalid cross-device link: b'/tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/root_dir/foo/bar' -> b'/builddir/.local/share/Trash/files/bar' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.11/shutil.py", line 825, in move os.rename(src, real_dst) OSError: [Errno 18] Invalid cross-device link: b'/tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_FileContentsM0/root_dir/foo/bar' -> b'/builddir/.local/share/Trash/files/bar 1' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.11/site-packages/tornado/web.py", line 1786, in _execute result = await result ^^^^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/handlers.py", line 282, in delete await ensure_async(cm.delete(path)) ^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/manager.py", line 477, in delete self.delete_file(path) File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/filemanager.py", line 549, in delete_file send2trash(os_path) File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 216, in send2trash trash_move(path_b, HOMETRASH_B, XDG_DATA_HOME, cross_dev=True) File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 118, in trash_move shutil.move(src, destpath) File "/usr/lib64/python3.11/shutil.py", line 832, in move if _destinsrc(src, dst): ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/shutil.py", line 852, in _destinsrc if not src.endswith(os.path.sep): ^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: endswith first arg must be bytes or a tuple of bytes, not str ERROR ServerApp:log.py:97 { "Host": "127.0.0.1:35271", "User-Agent": "Tornado/6.3.3" } ERROR ServerApp:log.py:98 500 DELETE /a%40b/api/contents/foo/bar (a9c58faf311f457da084c156c8b4428b@127.0.0.1) 4.26ms referer=None ---------------------------- Captured log teardown ----------------------------- INFO ServerApp:serverapp.py:2572 Shutting down 1 extension DEBUG ServerApp:manager.py:369 jupyter_server_terminals | extension app 'jupyter_server_terminals' stopping DEBUG ServerApp:manager.py:371 jupyter_server_terminals | extension app 'jupyter_server_terminals' stopped __________________ test_delete_dirs[AsyncFileContentsManager] __________________ jp_fetch = .client_fetch at 0xffff8814a200> contents = {'all': [[PosixPath('inroot.ipynb'), PosixPath('Directory with spaces in/inspace.ipynb'), PosixPath('unicodé/innonasci...nascii.ipynb'), PosixPath('foo/a.ipynb'), PosixPath('foo/b.ipynb'), PosixPath('foo/name with spaces.ipynb'), ...], ...} folders = ['', 'å b', 'Directory with spaces in', 'ordering', 'foo/bar', 'foo', ...] async def test_delete_dirs(jp_fetch, contents, folders): # Iterate over folders for name in sorted([*folders, "/"], key=len, reverse=True): r = await jp_fetch("api", "contents", name, method="GET") # Get JSON blobs for each content. listing = json.loads(r.body.decode())["content"] # Delete all content for model in listing: > await jp_fetch("api", "contents", model["path"], method="DELETE") tests/services/contents/test_api.py:679: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = None future = def __wakeup(self, future): try: > future.result() E tornado.httpclient.HTTPClientError: HTTP 500: Internal Server Error /usr/lib64/python3.11/asyncio/tasks.py:349: HTTPClientError ---------------------------- Captured stderr setup ----------------------------- [D 2024-04-17 15:20:13.967 ServerApp] Config changed: {'ServerApp': {'jpserver_extensions': {'jupyter_server_terminals': True}}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} ------------------------------ Captured log setup ------------------------------ DEBUG ServerApp:application.py:457 Config changed: {'ServerApp': {'jpserver_extensions': {'jupyter_server_terminals': True}}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} DEBUG ServerApp:application.py:190 Searching ['/tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/config', '/tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/env/etc/jupyter', '/tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/etc/jupyter'] for config files DEBUG ServerApp:application.py:902 Looking for jupyter_config in /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/etc/jupyter DEBUG ServerApp:application.py:902 Looking for jupyter_config in /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/env/etc/jupyter DEBUG ServerApp:application.py:902 Looking for jupyter_config in /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/config DEBUG ServerApp:application.py:457 Config changed: {'ServerApp': {'jpserver_extensions': {'jupyter_server_terminals': True}, 'contents_manager_class': 'jupyter_server.services.contents.filemanager.AsyncFileContentsManager'}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} DEBUG ServerApp:application.py:902 Looking for jupyter_server_config in /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/etc/jupyter DEBUG ServerApp:application.py:902 Looking for jupyter_server_config in /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/env/etc/jupyter DEBUG ServerApp:application.py:902 Looking for jupyter_server_config in /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/config DEBUG ServerApp:application.py:457 Config changed: {'ServerApp': {'jpserver_extensions': {'jupyter_server_terminals': True}, 'contents_manager_class': 'jupyter_server.services.contents.filemanager.AsyncFileContentsManager'}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} DEBUG ServerApp:application.py:457 Config changed: {'ServerApp': {'jpserver_extensions': {'jupyter_server_terminals': True}, 'contents_manager_class': 'jupyter_server.services.contents.filemanager.AsyncFileContentsManager'}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} INFO ServerApp:serverapp.py:2792 Serving notebooks from local directory: /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/root_dir INFO ServerApp:serverapp.py:2792 Jupyter Server 2.5.0 is running at: INFO ServerApp:serverapp.py:2792 http://localhost:42527/a%40b/?token=9f530ce8814836b438d2c0703cc75fca0d0063ada61f2c29 INFO ServerApp:serverapp.py:2792 http://127.0.0.1:42527/a%40b/?token=9f530ce8814836b438d2c0703cc75fca0d0063ada61f2c29 INFO ServerApp:serverapp.py:2793 Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). CRITICAL ServerApp:serverapp.py:2856 To access the server, open this file in a browser: file:///tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/runtime/jpserver-1312-open.html Or copy and paste one of these URLs: http://localhost:42527/a%40b/?token=9f530ce8814836b438d2c0703cc75fca0d0063ada61f2c29 http://127.0.0.1:42527/a%40b/?token=9f530ce8814836b438d2c0703cc75fca0d0063ada61f2c29 ------------------------------ Captured log call ------------------------------- DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 64bcffe2cdc944aba525cbc3ebafa21b DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/Directory%20with%20spaces%20in (64bcffe2cdc944aba525cbc3ebafa21b@127.0.0.1) 2.16ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 9229fb20c6194bdaa9ed5cc09795e4e9 WARNING ServerApp:handlers.py:281 delete /Directory with spaces in/inspace.blob DEBUG ServerApp:filemanager.py:1007 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/root_dir/Directory with spaces in/inspace.blob to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/Directory%20with%20spaces%20in/inspace.blob (9229fb20c6194bdaa9ed5cc09795e4e9@127.0.0.1) 2.24ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 482b050de0be46f58ba27da390121072 WARNING ServerApp:handlers.py:281 delete /Directory with spaces in/inspace.txt DEBUG ServerApp:filemanager.py:1007 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/root_dir/Directory with spaces in/inspace.txt to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/Directory%20with%20spaces%20in/inspace.txt (482b050de0be46f58ba27da390121072@127.0.0.1) 1.91ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 7ab98485fec648488cb2c6682ccf6e9b WARNING ServerApp:handlers.py:281 delete /Directory with spaces in/inspace.ipynb DEBUG ServerApp:filemanager.py:1007 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/root_dir/Directory with spaces in/inspace.ipynb to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/Directory%20with%20spaces%20in/inspace.ipynb (7ab98485fec648488cb2c6682ccf6e9b@127.0.0.1) 1.94ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: b41bc46942c544678de9d483dd25977c DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/ordering (b41bc46942c544678de9d483dd25977c@127.0.0.1) 3.15ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: ed69aeaf6bc4493c9015be94a3fa8699 WARNING ServerApp:handlers.py:281 delete /ordering/C.blob DEBUG ServerApp:filemanager.py:1007 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/root_dir/ordering/C.blob to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/ordering/C.blob (ed69aeaf6bc4493c9015be94a3fa8699@127.0.0.1) 1.86ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: e5eacc5d79ef4ec18ea3fd3e375a6bd7 WARNING ServerApp:handlers.py:281 delete /ordering/C.txt DEBUG ServerApp:filemanager.py:1007 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/root_dir/ordering/C.txt to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/ordering/C.txt (e5eacc5d79ef4ec18ea3fd3e375a6bd7@127.0.0.1) 1.88ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 1e4e3aa7d3784234a4df5f2b36acaa5f WARNING ServerApp:handlers.py:281 delete /ordering/C.ipynb DEBUG ServerApp:filemanager.py:1007 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/root_dir/ordering/C.ipynb to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/ordering/C.ipynb (1e4e3aa7d3784234a4df5f2b36acaa5f@127.0.0.1) 1.85ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: c6e7eda2c2a449d886aa613e4ccda6b3 WARNING ServerApp:handlers.py:281 delete /ordering/b.blob DEBUG ServerApp:filemanager.py:1007 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/root_dir/ordering/b.blob to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/ordering/b.blob (c6e7eda2c2a449d886aa613e4ccda6b3@127.0.0.1) 1.81ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 3d03ef614b6c4e518093ab390c8f2a58 WARNING ServerApp:handlers.py:281 delete /ordering/b.txt DEBUG ServerApp:filemanager.py:1007 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/root_dir/ordering/b.txt to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/ordering/b.txt (3d03ef614b6c4e518093ab390c8f2a58@127.0.0.1) 1.82ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 12d5beb59e4d4b52968b68681b4a862d WARNING ServerApp:handlers.py:281 delete /ordering/b.ipynb DEBUG ServerApp:filemanager.py:1007 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/root_dir/ordering/b.ipynb to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/ordering/b.ipynb (12d5beb59e4d4b52968b68681b4a862d@127.0.0.1) 1.94ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: d78fb981a03c4111b6cc0cbf80b4b06c WARNING ServerApp:handlers.py:281 delete /ordering/A.blob DEBUG ServerApp:filemanager.py:1007 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/root_dir/ordering/A.blob to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/ordering/A.blob (d78fb981a03c4111b6cc0cbf80b4b06c@127.0.0.1) 1.82ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 9ef970ff8ff547aea50cb6ce52ce6320 WARNING ServerApp:handlers.py:281 delete /ordering/A.txt DEBUG ServerApp:filemanager.py:1007 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/root_dir/ordering/A.txt to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/ordering/A.txt (9ef970ff8ff547aea50cb6ce52ce6320@127.0.0.1) 1.80ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 59d99c83a58c48de98db90beb7220fb1 WARNING ServerApp:handlers.py:281 delete /ordering/A.ipynb DEBUG ServerApp:filemanager.py:1007 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/root_dir/ordering/A.ipynb to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/ordering/A.ipynb (59d99c83a58c48de98db90beb7220fb1@127.0.0.1) 1.83ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: cf884b799717461189f4d0dc4362fa9c DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/foo/bar (cf884b799717461189f4d0dc4362fa9c@127.0.0.1) 1.87ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: bbe56a08e2b4422b93969e3adda3d15d WARNING ServerApp:handlers.py:281 delete /foo/bar/baz.blob DEBUG ServerApp:filemanager.py:1007 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/root_dir/foo/bar/baz.blob to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/foo/bar/baz.blob (bbe56a08e2b4422b93969e3adda3d15d@127.0.0.1) 1.82ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 4eb77155d3294edfa85afdd3224eae2d WARNING ServerApp:handlers.py:281 delete /foo/bar/baz.txt DEBUG ServerApp:filemanager.py:1007 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/root_dir/foo/bar/baz.txt to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/foo/bar/baz.txt (4eb77155d3294edfa85afdd3224eae2d@127.0.0.1) 1.87ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: e814ebc1d7ba492b934a15b44af06379 WARNING ServerApp:handlers.py:281 delete /foo/bar/baz.ipynb DEBUG ServerApp:filemanager.py:1007 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/root_dir/foo/bar/baz.ipynb to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/foo/bar/baz.ipynb (e814ebc1d7ba492b934a15b44af06379@127.0.0.1) 1.88ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: be7887966a6341369ff053524fa46fec DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/unicod%C3%A9 (be7887966a6341369ff053524fa46fec@127.0.0.1) 1.87ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 2c8ff442856b4234b3f8f0d94e04ebd2 WARNING ServerApp:handlers.py:281 delete /unicodé/innonascii.blob DEBUG ServerApp:filemanager.py:1007 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/root_dir/unicodé/innonascii.blob to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/unicod%C3%A9/innonascii.blob (2c8ff442856b4234b3f8f0d94e04ebd2@127.0.0.1) 1.84ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 492ae860e1e746d2abab27e3649b4cac WARNING ServerApp:handlers.py:281 delete /unicodé/innonascii.txt DEBUG ServerApp:filemanager.py:1007 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/root_dir/unicodé/innonascii.txt to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/unicod%C3%A9/innonascii.txt (492ae860e1e746d2abab27e3649b4cac@127.0.0.1) 1.86ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: d7134496f8914ffb9804776121cd8e20 WARNING ServerApp:handlers.py:281 delete /unicodé/innonascii.ipynb DEBUG ServerApp:filemanager.py:1007 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/root_dir/unicodé/innonascii.ipynb to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/unicod%C3%A9/innonascii.ipynb (d7134496f8914ffb9804776121cd8e20@127.0.0.1) 1.89ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 62f8156543e8494ca3af541c47cd0748 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/%C3%A5%20b (62f8156543e8494ca3af541c47cd0748@127.0.0.1) 1.91ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: c7d3821486a149dbbf1106d333d469e7 WARNING ServerApp:handlers.py:281 delete /å b/ç d.blob DEBUG ServerApp:filemanager.py:1007 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/root_dir/å b/ç d.blob to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/%C3%A5%20b/%C3%A7%20d.blob (c7d3821486a149dbbf1106d333d469e7@127.0.0.1) 2.05ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: d9447202af65449b9984a0d2f4445b97 WARNING ServerApp:handlers.py:281 delete /å b/ç d.txt DEBUG ServerApp:filemanager.py:1007 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/root_dir/å b/ç d.txt to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/%C3%A5%20b/%C3%A7%20d.txt (d9447202af65449b9984a0d2f4445b97@127.0.0.1) 1.85ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: b6736ee404df48f39597b4ab277eb053 WARNING ServerApp:handlers.py:281 delete /å b/ç d.ipynb DEBUG ServerApp:filemanager.py:1007 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/root_dir/å b/ç d.ipynb to trash DEBUG ServerApp:log.py:98 204 DELETE /a%40b/api/contents/%C3%A5%20b/%C3%A7%20d.ipynb (b6736ee404df48f39597b4ab277eb053@127.0.0.1) 1.94ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: ea476e2ecd314630bbca370fda5fa436 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/foo (ea476e2ecd314630bbca370fda5fa436@127.0.0.1) 3.87ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 929220d84ca54dc5b718e86347e22988 WARNING ServerApp:handlers.py:281 delete /foo/bar DEBUG ServerApp:filemanager.py:1007 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/root_dir/foo/bar to trash ERROR ServerApp:web.py:1871 Uncaught exception DELETE /a%40b/api/contents/foo/bar (127.0.0.1) HTTPServerRequest(protocol='http', host='127.0.0.1:42527', method='DELETE', uri='/a%40b/api/contents/foo/bar', version='HTTP/1.1', remote_ip='127.0.0.1') Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 212, in send2trash trash_move(path_b, dest_trash, topdir) File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 120, in trash_move os.rename(src, destpath) OSError: [Errno 18] Invalid cross-device link: b'/tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/root_dir/foo/bar' -> b'/builddir/.local/share/Trash/files/bar 2' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.11/shutil.py", line 825, in move os.rename(src, real_dst) OSError: [Errno 18] Invalid cross-device link: b'/tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/root_dir/foo/bar' -> b'/builddir/.local/share/Trash/files/bar 3' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.11/site-packages/tornado/web.py", line 1786, in _execute result = await result ^^^^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/handlers.py", line 282, in delete await ensure_async(cm.delete(path)) File "/usr/lib/python3.11/site-packages/jupyter_core/utils/__init__.py", line 172, in ensure_async result = await obj ^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/manager.py", line 882, in delete await self.delete_file(path) File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/filemanager.py", line 1008, in delete_file send2trash(os_path) File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 216, in send2trash trash_move(path_b, HOMETRASH_B, XDG_DATA_HOME, cross_dev=True) File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 118, in trash_move shutil.move(src, destpath) File "/usr/lib64/python3.11/shutil.py", line 832, in move if _destinsrc(src, dst): ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/shutil.py", line 852, in _destinsrc if not src.endswith(os.path.sep): ^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: endswith first arg must be bytes or a tuple of bytes, not str WARNING ServerApp:handlers.py:738 wrote error: 'Unhandled error' Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 212, in send2trash trash_move(path_b, dest_trash, topdir) File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 120, in trash_move os.rename(src, destpath) OSError: [Errno 18] Invalid cross-device link: b'/tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/root_dir/foo/bar' -> b'/builddir/.local/share/Trash/files/bar 2' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.11/shutil.py", line 825, in move os.rename(src, real_dst) OSError: [Errno 18] Invalid cross-device link: b'/tmp/pytest-of-mockbuild/pytest-0/test_delete_dirs_AsyncFileCont0/root_dir/foo/bar' -> b'/builddir/.local/share/Trash/files/bar 3' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.11/site-packages/tornado/web.py", line 1786, in _execute result = await result ^^^^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/handlers.py", line 282, in delete await ensure_async(cm.delete(path)) File "/usr/lib/python3.11/site-packages/jupyter_core/utils/__init__.py", line 172, in ensure_async result = await obj ^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/manager.py", line 882, in delete await self.delete_file(path) File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/filemanager.py", line 1008, in delete_file send2trash(os_path) File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 216, in send2trash trash_move(path_b, HOMETRASH_B, XDG_DATA_HOME, cross_dev=True) File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 118, in trash_move shutil.move(src, destpath) File "/usr/lib64/python3.11/shutil.py", line 832, in move if _destinsrc(src, dst): ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/shutil.py", line 852, in _destinsrc if not src.endswith(os.path.sep): ^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: endswith first arg must be bytes or a tuple of bytes, not str ERROR ServerApp:log.py:97 { "Host": "127.0.0.1:42527", "User-Agent": "Tornado/6.3.3" } ERROR ServerApp:log.py:98 500 DELETE /a%40b/api/contents/foo/bar (929220d84ca54dc5b718e86347e22988@127.0.0.1) 4.51ms referer=None ---------------------------- Captured log teardown ----------------------------- INFO ServerApp:serverapp.py:2572 Shutting down 1 extension DEBUG ServerApp:manager.py:369 jupyter_server_terminals | extension app 'jupyter_server_terminals' stopping DEBUG ServerApp:manager.py:371 jupyter_server_terminals | extension app 'jupyter_server_terminals' stopped ________________ test_delete_non_empty_dir[FileContentsManager] ________________ jp_fetch = .client_fetch at 0xffff880f09a0> contents = {'all': [[PosixPath('inroot.ipynb'), PosixPath('Directory with spaces in/inspace.ipynb'), PosixPath('unicodé/innonasci...nascii.ipynb'), PosixPath('foo/a.ipynb'), PosixPath('foo/b.ipynb'), PosixPath('foo/name with spaces.ipynb'), ...], ...} @pytest.mark.xfail(sys.platform == "win32", reason="Deleting non-empty dirs on Windows") async def test_delete_non_empty_dir(jp_fetch, contents): # Delete a folder > await jp_fetch("api", "contents", "å b", method="DELETE") tests/services/contents/test_api.py:689: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = None future = def __wakeup(self, future): try: > future.result() E tornado.httpclient.HTTPClientError: HTTP 500: Internal Server Error /usr/lib64/python3.11/asyncio/tasks.py:349: HTTPClientError ---------------------------- Captured stderr setup ----------------------------- [D 2024-04-17 15:20:14.194 ServerApp] Config changed: {'ServerApp': {'jpserver_extensions': {'jupyter_server_terminals': True}}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} ------------------------------ Captured log setup ------------------------------ DEBUG ServerApp:application.py:457 Config changed: {'ServerApp': {'jpserver_extensions': {'jupyter_server_terminals': True}}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} DEBUG ServerApp:application.py:190 Searching ['/tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_File0/config', '/tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_File0/env/etc/jupyter', '/tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_File0/etc/jupyter'] for config files DEBUG ServerApp:application.py:902 Looking for jupyter_config in /tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_File0/etc/jupyter DEBUG ServerApp:application.py:902 Looking for jupyter_config in /tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_File0/env/etc/jupyter DEBUG ServerApp:application.py:902 Looking for jupyter_config in /tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_File0/config DEBUG ServerApp:application.py:457 Config changed: {'ServerApp': {'jpserver_extensions': {'jupyter_server_terminals': True}, 'contents_manager_class': 'jupyter_server.services.contents.filemanager.FileContentsManager'}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} DEBUG ServerApp:application.py:902 Looking for jupyter_server_config in /tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_File0/etc/jupyter DEBUG ServerApp:application.py:902 Looking for jupyter_server_config in /tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_File0/env/etc/jupyter DEBUG ServerApp:application.py:902 Looking for jupyter_server_config in /tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_File0/config DEBUG ServerApp:application.py:457 Config changed: {'ServerApp': {'jpserver_extensions': {'jupyter_server_terminals': True}, 'contents_manager_class': 'jupyter_server.services.contents.filemanager.FileContentsManager'}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} DEBUG ServerApp:application.py:457 Config changed: {'ServerApp': {'jpserver_extensions': {'jupyter_server_terminals': True}, 'contents_manager_class': 'jupyter_server.services.contents.filemanager.FileContentsManager'}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} INFO ServerApp:serverapp.py:2792 Serving notebooks from local directory: /tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_File0/root_dir INFO ServerApp:serverapp.py:2792 Jupyter Server 2.5.0 is running at: INFO ServerApp:serverapp.py:2792 http://localhost:34615/a%40b/?token=4b75122617fef80de7dd9ea20af8030b513f383e5b2a5a63 INFO ServerApp:serverapp.py:2792 http://127.0.0.1:34615/a%40b/?token=4b75122617fef80de7dd9ea20af8030b513f383e5b2a5a63 INFO ServerApp:serverapp.py:2793 Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). CRITICAL ServerApp:serverapp.py:2856 To access the server, open this file in a browser: file:///tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_File0/runtime/jpserver-1312-open.html Or copy and paste one of these URLs: http://localhost:34615/a%40b/?token=4b75122617fef80de7dd9ea20af8030b513f383e5b2a5a63 http://127.0.0.1:34615/a%40b/?token=4b75122617fef80de7dd9ea20af8030b513f383e5b2a5a63 ------------------------------ Captured log call ------------------------------- DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: bfe539e383ff42faa0ebced659fdb2c3 WARNING ServerApp:handlers.py:281 delete /å b DEBUG ServerApp:filemanager.py:548 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_File0/root_dir/å b to trash ERROR ServerApp:web.py:1871 Uncaught exception DELETE /a%40b/api/contents/%C3%A5%20b (127.0.0.1) HTTPServerRequest(protocol='http', host='127.0.0.1:34615', method='DELETE', uri='/a%40b/api/contents/%C3%A5%20b', version='HTTP/1.1', remote_ip='127.0.0.1') Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 212, in send2trash trash_move(path_b, dest_trash, topdir) File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 120, in trash_move os.rename(src, destpath) OSError: [Errno 18] Invalid cross-device link: b'/tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_File0/root_dir/\xc3\xa5 b' -> b'/builddir/.local/share/Trash/files/\xc3\xa5 b' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.11/shutil.py", line 825, in move os.rename(src, real_dst) OSError: [Errno 18] Invalid cross-device link: b'/tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_File0/root_dir/\xc3\xa5 b' -> b'/builddir/.local/share/Trash/files/\xc3\xa5 b 1' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.11/site-packages/tornado/web.py", line 1786, in _execute result = await result ^^^^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/handlers.py", line 282, in delete await ensure_async(cm.delete(path)) ^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/manager.py", line 477, in delete self.delete_file(path) File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/filemanager.py", line 549, in delete_file send2trash(os_path) File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 216, in send2trash trash_move(path_b, HOMETRASH_B, XDG_DATA_HOME, cross_dev=True) File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 118, in trash_move shutil.move(src, destpath) File "/usr/lib64/python3.11/shutil.py", line 832, in move if _destinsrc(src, dst): ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/shutil.py", line 852, in _destinsrc if not src.endswith(os.path.sep): ^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: endswith first arg must be bytes or a tuple of bytes, not str WARNING ServerApp:handlers.py:738 wrote error: 'Unhandled error' Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 212, in send2trash trash_move(path_b, dest_trash, topdir) File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 120, in trash_move os.rename(src, destpath) OSError: [Errno 18] Invalid cross-device link: b'/tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_File0/root_dir/\xc3\xa5 b' -> b'/builddir/.local/share/Trash/files/\xc3\xa5 b' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.11/shutil.py", line 825, in move os.rename(src, real_dst) OSError: [Errno 18] Invalid cross-device link: b'/tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_File0/root_dir/\xc3\xa5 b' -> b'/builddir/.local/share/Trash/files/\xc3\xa5 b 1' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.11/site-packages/tornado/web.py", line 1786, in _execute result = await result ^^^^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/handlers.py", line 282, in delete await ensure_async(cm.delete(path)) ^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/manager.py", line 477, in delete self.delete_file(path) File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/filemanager.py", line 549, in delete_file send2trash(os_path) File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 216, in send2trash trash_move(path_b, HOMETRASH_B, XDG_DATA_HOME, cross_dev=True) File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 118, in trash_move shutil.move(src, destpath) File "/usr/lib64/python3.11/shutil.py", line 832, in move if _destinsrc(src, dst): ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/shutil.py", line 852, in _destinsrc if not src.endswith(os.path.sep): ^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: endswith first arg must be bytes or a tuple of bytes, not str ERROR ServerApp:log.py:97 { "Host": "127.0.0.1:34615", "User-Agent": "Tornado/6.3.3" } ERROR ServerApp:log.py:98 500 DELETE /a%40b/api/contents/%C3%A5%20b (bfe539e383ff42faa0ebced659fdb2c3@127.0.0.1) 4.06ms referer=None ---------------------------- Captured log teardown ----------------------------- INFO ServerApp:serverapp.py:2572 Shutting down 1 extension DEBUG ServerApp:manager.py:369 jupyter_server_terminals | extension app 'jupyter_server_terminals' stopping DEBUG ServerApp:manager.py:371 jupyter_server_terminals | extension app 'jupyter_server_terminals' stopped _____________ test_delete_non_empty_dir[AsyncFileContentsManager] ______________ jp_fetch = .client_fetch at 0xffff899e56c0> contents = {'all': [[PosixPath('inroot.ipynb'), PosixPath('Directory with spaces in/inspace.ipynb'), PosixPath('unicodé/innonasci...nascii.ipynb'), PosixPath('foo/a.ipynb'), PosixPath('foo/b.ipynb'), PosixPath('foo/name with spaces.ipynb'), ...], ...} @pytest.mark.xfail(sys.platform == "win32", reason="Deleting non-empty dirs on Windows") async def test_delete_non_empty_dir(jp_fetch, contents): # Delete a folder > await jp_fetch("api", "contents", "å b", method="DELETE") tests/services/contents/test_api.py:689: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = None future = def __wakeup(self, future): try: > future.result() E tornado.httpclient.HTTPClientError: HTTP 500: Internal Server Error /usr/lib64/python3.11/asyncio/tasks.py:349: HTTPClientError ---------------------------- Captured stderr setup ----------------------------- [D 2024-04-17 15:20:14.254 ServerApp] Config changed: {'ServerApp': {'jpserver_extensions': {'jupyter_server_terminals': True}}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} ------------------------------ Captured log setup ------------------------------ DEBUG ServerApp:application.py:457 Config changed: {'ServerApp': {'jpserver_extensions': {'jupyter_server_terminals': True}}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} DEBUG ServerApp:application.py:190 Searching ['/tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_Asyn0/config', '/tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_Asyn0/env/etc/jupyter', '/tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_Asyn0/etc/jupyter'] for config files DEBUG ServerApp:application.py:902 Looking for jupyter_config in /tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_Asyn0/etc/jupyter DEBUG ServerApp:application.py:902 Looking for jupyter_config in /tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_Asyn0/env/etc/jupyter DEBUG ServerApp:application.py:902 Looking for jupyter_config in /tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_Asyn0/config DEBUG ServerApp:application.py:457 Config changed: {'ServerApp': {'jpserver_extensions': {'jupyter_server_terminals': True}, 'contents_manager_class': 'jupyter_server.services.contents.filemanager.AsyncFileContentsManager'}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} DEBUG ServerApp:application.py:902 Looking for jupyter_server_config in /tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_Asyn0/etc/jupyter DEBUG ServerApp:application.py:902 Looking for jupyter_server_config in /tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_Asyn0/env/etc/jupyter DEBUG ServerApp:application.py:902 Looking for jupyter_server_config in /tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_Asyn0/config DEBUG ServerApp:application.py:457 Config changed: {'ServerApp': {'jpserver_extensions': {'jupyter_server_terminals': True}, 'contents_manager_class': 'jupyter_server.services.contents.filemanager.AsyncFileContentsManager'}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} DEBUG ServerApp:application.py:457 Config changed: {'ServerApp': {'jpserver_extensions': {'jupyter_server_terminals': True}, 'contents_manager_class': 'jupyter_server.services.contents.filemanager.AsyncFileContentsManager'}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} INFO ServerApp:serverapp.py:2792 Serving notebooks from local directory: /tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_Asyn0/root_dir INFO ServerApp:serverapp.py:2792 Jupyter Server 2.5.0 is running at: INFO ServerApp:serverapp.py:2792 http://localhost:43143/a%40b/?token=2d1aa86e0194b586fc8e557ada4f5d90d0577e28ff797368 INFO ServerApp:serverapp.py:2792 http://127.0.0.1:43143/a%40b/?token=2d1aa86e0194b586fc8e557ada4f5d90d0577e28ff797368 INFO ServerApp:serverapp.py:2793 Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). CRITICAL ServerApp:serverapp.py:2856 To access the server, open this file in a browser: file:///tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_Asyn0/runtime/jpserver-1312-open.html Or copy and paste one of these URLs: http://localhost:43143/a%40b/?token=2d1aa86e0194b586fc8e557ada4f5d90d0577e28ff797368 http://127.0.0.1:43143/a%40b/?token=2d1aa86e0194b586fc8e557ada4f5d90d0577e28ff797368 ------------------------------ Captured log call ------------------------------- DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 5c265701302648e6abcb745f0be58351 WARNING ServerApp:handlers.py:281 delete /å b DEBUG ServerApp:filemanager.py:1007 Sending /tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_Asyn0/root_dir/å b to trash ERROR ServerApp:web.py:1871 Uncaught exception DELETE /a%40b/api/contents/%C3%A5%20b (127.0.0.1) HTTPServerRequest(protocol='http', host='127.0.0.1:43143', method='DELETE', uri='/a%40b/api/contents/%C3%A5%20b', version='HTTP/1.1', remote_ip='127.0.0.1') Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 212, in send2trash trash_move(path_b, dest_trash, topdir) File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 120, in trash_move os.rename(src, destpath) OSError: [Errno 18] Invalid cross-device link: b'/tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_Asyn0/root_dir/\xc3\xa5 b' -> b'/builddir/.local/share/Trash/files/\xc3\xa5 b 2' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.11/shutil.py", line 825, in move os.rename(src, real_dst) OSError: [Errno 18] Invalid cross-device link: b'/tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_Asyn0/root_dir/\xc3\xa5 b' -> b'/builddir/.local/share/Trash/files/\xc3\xa5 b 3' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.11/site-packages/tornado/web.py", line 1786, in _execute result = await result ^^^^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/handlers.py", line 282, in delete await ensure_async(cm.delete(path)) File "/usr/lib/python3.11/site-packages/jupyter_core/utils/__init__.py", line 172, in ensure_async result = await obj ^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/manager.py", line 882, in delete await self.delete_file(path) File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/filemanager.py", line 1008, in delete_file send2trash(os_path) File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 216, in send2trash trash_move(path_b, HOMETRASH_B, XDG_DATA_HOME, cross_dev=True) File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 118, in trash_move shutil.move(src, destpath) File "/usr/lib64/python3.11/shutil.py", line 832, in move if _destinsrc(src, dst): ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/shutil.py", line 852, in _destinsrc if not src.endswith(os.path.sep): ^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: endswith first arg must be bytes or a tuple of bytes, not str WARNING ServerApp:handlers.py:738 wrote error: 'Unhandled error' Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 212, in send2trash trash_move(path_b, dest_trash, topdir) File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 120, in trash_move os.rename(src, destpath) OSError: [Errno 18] Invalid cross-device link: b'/tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_Asyn0/root_dir/\xc3\xa5 b' -> b'/builddir/.local/share/Trash/files/\xc3\xa5 b 2' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.11/shutil.py", line 825, in move os.rename(src, real_dst) OSError: [Errno 18] Invalid cross-device link: b'/tmp/pytest-of-mockbuild/pytest-0/test_delete_non_empty_dir_Asyn0/root_dir/\xc3\xa5 b' -> b'/builddir/.local/share/Trash/files/\xc3\xa5 b 3' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.11/site-packages/tornado/web.py", line 1786, in _execute result = await result ^^^^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/handlers.py", line 282, in delete await ensure_async(cm.delete(path)) File "/usr/lib/python3.11/site-packages/jupyter_core/utils/__init__.py", line 172, in ensure_async result = await obj ^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/manager.py", line 882, in delete await self.delete_file(path) File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/filemanager.py", line 1008, in delete_file send2trash(os_path) File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 216, in send2trash trash_move(path_b, HOMETRASH_B, XDG_DATA_HOME, cross_dev=True) File "/usr/lib/python3.11/site-packages/send2trash/plat_other.py", line 118, in trash_move shutil.move(src, destpath) File "/usr/lib64/python3.11/shutil.py", line 832, in move if _destinsrc(src, dst): ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/shutil.py", line 852, in _destinsrc if not src.endswith(os.path.sep): ^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: endswith first arg must be bytes or a tuple of bytes, not str ERROR ServerApp:log.py:97 { "Host": "127.0.0.1:43143", "User-Agent": "Tornado/6.3.3" } ERROR ServerApp:log.py:98 500 DELETE /a%40b/api/contents/%C3%A5%20b (5c265701302648e6abcb745f0be58351@127.0.0.1) 4.73ms referer=None ---------------------------- Captured log teardown ----------------------------- INFO ServerApp:serverapp.py:2572 Shutting down 1 extension DEBUG ServerApp:manager.py:369 jupyter_server_terminals | extension app 'jupyter_server_terminals' stopping DEBUG ServerApp:manager.py:371 jupyter_server_terminals | extension app 'jupyter_server_terminals' stopped =============================== warnings summary =============================== jupyter_server/base/handlers.py:22 /builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/base/handlers.py:22: DeprecationWarning: Jupyter is migrating its paths to use standard platformdirs given by the platformdirs library. To remove this warning and see the appropriate new directories, set the environment variable `JUPYTER_PLATFORM_DIRS=1` and then run `jupyter --paths`. The use of platformdirs will be the default in `jupyter_core` v6 from jupyter_core.paths import is_hidden tests/extension/test_app.py: 10 warnings /builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/serverapp.py:2370: ResourceWarning: unclosed self._find_http_port() Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/services/kernels/test_cull.py::test_cull_idle[jp_server_config1] /usr/lib/python3.11/site-packages/traitlets/traitlets.py:1776: ResourceWarning: unclosed for name, trait in traits.items(): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/services/sessions/test_api.py::test_modify_path[jp_server_config2] /usr/lib/python3.11/site-packages/pluggy/_manager.py:356: ResourceWarning: unclosed plugins_to_remove = [plug for plug in remove_plugins if hasattr(plug, name)] Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/services/sessions/test_api.py::test_modify_path[jp_server_config2] /usr/lib/python3.11/site-packages/pluggy/_manager.py:356: ResourceWarning: unclosed plugins_to_remove = [plug for plug in remove_plugins if hasattr(plug, name)] Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/services/sessions/test_api.py::test_restart_kernel[jp_server_config3] /usr/lib64/python3.11/weakref.py:136: ResourceWarning: unclosed o = self.data[key]() Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/services/sessions/test_api.py::test_restart_kernel[jp_server_config3] /usr/lib64/python3.11/weakref.py:136: ResourceWarning: unclosed o = self.data[key]() Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/services/sessions/test_api.py::test_restart_kernel[jp_server_config3] /usr/lib64/python3.11/weakref.py:136: ResourceWarning: unclosed o = self.data[key]() Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/services/sessions/test_api.py::test_restart_kernel[jp_server_config3] /usr/lib64/python3.11/weakref.py:136: ResourceWarning: unclosed o = self.data[key]() Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/services/sessions/test_api.py::test_restart_kernel[jp_server_config3] /usr/lib64/python3.11/weakref.py:136: ResourceWarning: unclosed o = self.data[key]() Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/services/sessions/test_api.py::test_restart_kernel[jp_server_config3] /usr/lib64/python3.11/weakref.py:136: ResourceWarning: unclosed o = self.data[key]() Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ============================= slowest 10 durations ============================= 12.11s call tests/test_terminal.py::test_culling 7.58s call tests/services/kernels/test_cull.py::test_cull_idle[jp_server_config1] 7.53s call tests/services/kernels/test_cull.py::test_cull_idle[jp_server_config0] 5.06s call tests/test_terminal.py::test_terminal_create_with_cwd 3.10s call tests/services/sessions/test_manager.py::test_pending_kernel 1.22s teardown tests/services/kernels/test_connection.py::test_websocket_connection 1.11s teardown tests/services/sessions/test_api.py::test_restart_kernel[jp_server_config0] 1.11s teardown tests/services/sessions/test_api.py::test_restart_kernel[jp_server_config1] 1.11s teardown tests/services/sessions/test_api.py::test_restart_kernel[jp_server_config3] 1.11s teardown tests/services/sessions/test_api.py::test_restart_kernel[jp_server_config2] =========================== short test summary info ============================ SKIPPED [1] tests/test_terminal.py:160: Not yet working SKIPPED [1] tests/test_terminal.py:197: Not yet working SKIPPED [1] tests/nbconvert/test_handlers.py:48: Command 'pandoc' is not available SKIPPED [1] tests/nbconvert/test_handlers.py:77: Command 'pandoc' is not available SKIPPED [1] tests/nbconvert/test_handlers.py:90: Command 'pandoc' is not available SKIPPED [1] tests/nbconvert/test_handlers.py:104: Command 'pandoc' is not available SKIPPED [1] tests/nbconvert/test_handlers.py:117: Command 'pandoc' is not available SKIPPED [1] tests/nbconvert/test_handlers.py:136: Command 'pandoc' is not available SKIPPED [7] tests/conftest.py:37: Skipping this test because it's marked 'integration_test'. Run integration tests using the `--integration_tests` flag. FAILED tests/services/contents/test_api.py::test_delete_dirs[FileContentsManager] - tornado.httpclient.HTTPClientError: HTTP 500: Internal Server Error FAILED tests/services/contents/test_api.py::test_delete_dirs[AsyncFileContentsManager] - tornado.httpclient.HTTPClientError: HTTP 500: Internal Server Error FAILED tests/services/contents/test_api.py::test_delete_non_empty_dir[FileContentsManager] - tornado.httpclient.HTTPClientError: HTTP 500: Internal Server Error FAILED tests/services/contents/test_api.py::test_delete_non_empty_dir[AsyncFileContentsManager] - tornado.httpclient.HTTPClientError: HTTP 500: Internal Server Error ====== 4 failed, 871 passed, 15 skipped, 20 warnings in 161.17s (0:02:41) ====== Task was destroyed but it is pending! task: wait_for= cb=[IOLoop.add_future..() at /usr/lib64/python3.11/site-packages/tornado/ioloop.py:692]> Task was destroyed but it is pending! task: wait_for=.finish() at /builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/kernels/connection/channels.py:199, <1 more>, Task.__wakeup()]> cb=[_HandlerDelegate.execute..() at /usr/lib64/python3.11/site-packages/tornado/web.py:2434]> Task was destroyed but it is pending! task: wait_for= cb=[IOLoop.add_future..() at /usr/lib64/python3.11/site-packages/tornado/ioloop.py:692]> Task was destroyed but it is pending! task: wait_for=.finish() at /builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/kernels/connection/channels.py:199, <1 more>, Task.__wakeup()]> cb=[_HandlerDelegate.execute..() at /usr/lib64/python3.11/site-packages/tornado/web.py:2434]> error: Bad exit status from /var/tmp/rpm-tmp.P9lCFu (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.P9lCFu (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 6958bfa332cc4b41b4e2d6cc1db2b5b4 -D /var/lib/mock/dist-an23-build-python3.11-374533-71630/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.2dfrykzu:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\\033]0;\\007" --setenv=PS1= \\s-\\v\\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-jupyter-server.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 6958bfa332cc4b41b4e2d6cc1db2b5b4 -D /var/lib/mock/dist-an23-build-python3.11-374533-71630/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.2dfrykzu:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-jupyter-server.spec