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-370247-71428/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=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ewvfwf08:/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.ewvfwf08:/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', 'ddf69cc92ea843a08d8f7df5f74e7d79', '-D', '/var/lib/mock/dist-an23-build-python3.11-370247-71428/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ewvfwf08:/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-370247-71428/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=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ewvfwf08:/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.ewvfwf08:/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', 'b70f9ee076be4c079234470995bb2ef3', '-D', '/var/lib/mock/dist-an23-build-python3.11-370247-71428/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ewvfwf08:/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.amRdJ0 + 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.MsdTW2 + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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-370247-71428/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=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ewvfwf08:/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.ewvfwf08:/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', '0970c0d5f4644040a395fdcac199c187', '-D', '/var/lib/mock/dist-an23-build-python3.11-370247-71428/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ewvfwf08:/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.cnwFX2 + 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.TLXHl6 + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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-370247-71428/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=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ewvfwf08:/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.ewvfwf08:/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', '19cb782981fa4f528eb88b2d26478682', '-D', '/var/lib/mock/dist-an23-build-python3.11-370247-71428/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ewvfwf08:/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.Blo0Uw + 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.x2KWsJ + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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-370247-71428/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=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ewvfwf08:/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.ewvfwf08:/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', 'e3881042388c4169a97e314b90889f62', '-D', '/var/lib/mock/dist-an23-build-python3.11-370247-71428/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ewvfwf08:/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.VdVtP9 + 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.IU6s5z + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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-370247-71428/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=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ewvfwf08:/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.ewvfwf08:/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', 'f7fdec64cafb4040a29bafff16e0210f', '-D', '/var/lib/mock/dist-an23-build-python3.11-370247-71428/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ewvfwf08:/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.O73euA + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.GpyaeR + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.SAEioK + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.66BNBZ + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 0x7f82773d4fe0> 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 = ['', 'foo/bar', 'unicodé', 'foo', 'Directory with spaces in', 'å b', ...] 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-03-27 21:01:58.121 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:37389/a%40b/?token=40fbb93b5c786a57127f94133e07ec23ea004273249203cf INFO ServerApp:serverapp.py:2792 http://127.0.0.1:37389/a%40b/?token=40fbb93b5c786a57127f94133e07ec23ea004273249203cf 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:37389/a%40b/?token=40fbb93b5c786a57127f94133e07ec23ea004273249203cf http://127.0.0.1:37389/a%40b/?token=40fbb93b5c786a57127f94133e07ec23ea004273249203cf ------------------------------ 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: 91bde650630744f7ba5201c5fd4d9394 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/Directory%20with%20spaces%20in (91bde650630744f7ba5201c5fd4d9394@127.0.0.1) 0.93ms 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: 51098f44af5f452388b436afa52b53dc 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 (51098f44af5f452388b436afa52b53dc@127.0.0.1) 1.12ms 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: c625993b810041ad96b89edb9ee6ff48 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 (c625993b810041ad96b89edb9ee6ff48@127.0.0.1) 0.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: 9e8a027a224c4c0398ab5d03072d0f67 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 (9e8a027a224c4c0398ab5d03072d0f67@127.0.0.1) 0.98ms 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: 318fb4a554124508acf719d7bd5ebf8e DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/ordering (318fb4a554124508acf719d7bd5ebf8e@127.0.0.1) 1.25ms 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: fae22e5263914b15987c2fe254fb6f6d 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 (fae22e5263914b15987c2fe254fb6f6d@127.0.0.1) 1.98ms 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: 7f30943176a64ed080f0bee7852a4acf 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 (7f30943176a64ed080f0bee7852a4acf@127.0.0.1) 0.92ms 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: fd1a7264ae6e49ac8a86cb33fe29e953 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 (fd1a7264ae6e49ac8a86cb33fe29e953@127.0.0.1) 0.96ms 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: 33d28db8d9ec4ac08177f6e91f0b7747 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 (33d28db8d9ec4ac08177f6e91f0b7747@127.0.0.1) 0.93ms 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: bb14324eb93445a793e46abcca33e758 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 (bb14324eb93445a793e46abcca33e758@127.0.0.1) 0.93ms 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: 833267a5ca5844238fc414b22ef180d4 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 (833267a5ca5844238fc414b22ef180d4@127.0.0.1) 0.99ms 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: c5aee78683314fa49b9a6e958f30475e 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 (c5aee78683314fa49b9a6e958f30475e@127.0.0.1) 0.93ms 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: 15c5b1e9e9994840bd19f1c418744abd 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 (15c5b1e9e9994840bd19f1c418744abd@127.0.0.1) 0.93ms 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: 0cf0e71ca706473d9fea3e862a43b760 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 (0cf0e71ca706473d9fea3e862a43b760@127.0.0.1) 0.96ms 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: 3e9904c6cb594e94ab89757d6e26b4b6 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/foo/bar (3e9904c6cb594e94ab89757d6e26b4b6@127.0.0.1) 0.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: aa9a30fba9c64483a1e9574b569600ff 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 (aa9a30fba9c64483a1e9574b569600ff@127.0.0.1) 0.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: 57a52e84aa2a461b9e8643d20f6cc094 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 (57a52e84aa2a461b9e8643d20f6cc094@127.0.0.1) 0.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: 225a94ac2197443bb08c1c7f58edd8e6 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 (225a94ac2197443bb08c1c7f58edd8e6@127.0.0.1) 0.98ms 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: 29e09d79dc21481c8a80a64c95b3d1f2 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/unicod%C3%A9 (29e09d79dc21481c8a80a64c95b3d1f2@127.0.0.1) 0.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: b702939da7b64e169bb3a93675ea2839 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 (b702939da7b64e169bb3a93675ea2839@127.0.0.1) 0.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: edae769babeb4e64ab536056ee064aad 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 (edae769babeb4e64ab536056ee064aad@127.0.0.1) 0.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: 8ac40edfb8524e74b59fdfa2c7954334 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 (8ac40edfb8524e74b59fdfa2c7954334@127.0.0.1) 0.99ms 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: b92a3420bbd24624850cdd10a6e5886d DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/foo (b92a3420bbd24624850cdd10a6e5886d@127.0.0.1) 1.56ms 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: eaf3921a832045c886e56642315a729b 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:37389', 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:37389", "User-Agent": "Tornado/6.3.3" } ERROR ServerApp:log.py:98 500 DELETE /a%40b/api/contents/foo/bar (eaf3921a832045c886e56642315a729b@127.0.0.1) 3.28ms 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 0x7f8277657380> 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 = ['', 'foo/bar', 'unicodé', 'foo', 'Directory with spaces in', 'å b', ...] 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-03-27 21:01:58.252 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:43113/a%40b/?token=230a412360149a045142fb5692b936abed520c824113d5c1 INFO ServerApp:serverapp.py:2792 http://127.0.0.1:43113/a%40b/?token=230a412360149a045142fb5692b936abed520c824113d5c1 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:43113/a%40b/?token=230a412360149a045142fb5692b936abed520c824113d5c1 http://127.0.0.1:43113/a%40b/?token=230a412360149a045142fb5692b936abed520c824113d5c1 ------------------------------ 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: f164d54a4b6d451abef9a95d6e95a120 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/Directory%20with%20spaces%20in (f164d54a4b6d451abef9a95d6e95a120@127.0.0.1) 1.72ms 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: b37e69d9124345098baa000abad5195d 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 (b37e69d9124345098baa000abad5195d@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: cf4004ab9f1c40fca957360c77be905f 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 (cf4004ab9f1c40fca957360c77be905f@127.0.0.1) 1.42ms 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: f76ab5e72c5043ccb068dacfbaa75bc6 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 (f76ab5e72c5043ccb068dacfbaa75bc6@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: dd3cbd43761846df864376ff933552b8 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/ordering (dd3cbd43761846df864376ff933552b8@127.0.0.1) 2.51ms 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: 84bbca44c7d948ea8ceb1d9382529c3c 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 (84bbca44c7d948ea8ceb1d9382529c3c@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: bb18eaab16894ab8ac84c3e320d5a91b 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 (bb18eaab16894ab8ac84c3e320d5a91b@127.0.0.1) 1.47ms 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: 9867bedcd2414cf8a672d6a0193bc21a 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 (9867bedcd2414cf8a672d6a0193bc21a@127.0.0.1) 1.37ms 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: 11aa9a86e6d6439ca1641efb23d64922 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 (11aa9a86e6d6439ca1641efb23d64922@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: 24b87d8c47684ba6a956205f60e14b3c 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 (24b87d8c47684ba6a956205f60e14b3c@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: 14d2c777a43241b4a2fe311df2a9f353 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 (14d2c777a43241b4a2fe311df2a9f353@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: e57aa31ff0f544bb90f41542ce558744 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 (e57aa31ff0f544bb90f41542ce558744@127.0.0.1) 1.37ms 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: ca07176438c94ffaaba851adcda2999f 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 (ca07176438c94ffaaba851adcda2999f@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: 60ec75599a9343c09a5c578ab6efcf54 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 (60ec75599a9343c09a5c578ab6efcf54@127.0.0.1) 1.39ms 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: 1347aa11c6c74437a8f80acc95b1d8e0 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/foo/bar (1347aa11c6c74437a8f80acc95b1d8e0@127.0.0.1) 1.44ms 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: 4ec74f02b1a542679360b79e1a146103 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 (4ec74f02b1a542679360b79e1a146103@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: 676897b3a74f4dbabeb6df07be3f98d1 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 (676897b3a74f4dbabeb6df07be3f98d1@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: 4f1e4fd6d28b4a1f83a6bdd0d8fb3486 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 (4f1e4fd6d28b4a1f83a6bdd0d8fb3486@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: 365850ba6dab4a6f8e2c56b7dc32eb09 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/unicod%C3%A9 (365850ba6dab4a6f8e2c56b7dc32eb09@127.0.0.1) 1.45ms 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: 091ab72d82264702b29d799d9f7da12b 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 (091ab72d82264702b29d799d9f7da12b@127.0.0.1) 1.42ms 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: 2ab4858e2cd346aeb1536a8f945cb591 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 (2ab4858e2cd346aeb1536a8f945cb591@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: 73f421077be440f68774aa22799a5696 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 (73f421077be440f68774aa22799a5696@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: e3a7d6abe18547a5971f9568a4c02320 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/foo (e3a7d6abe18547a5971f9568a4c02320@127.0.0.1) 3.72ms 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: aa1ee9d863f34a18a54773fbfb8e305b 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:43113', 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:43113", "User-Agent": "Tornado/6.3.3" } ERROR ServerApp:log.py:98 500 DELETE /a%40b/api/contents/foo/bar (aa1ee9d863f34a18a54773fbfb8e305b@127.0.0.1) 3.83ms 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 0x7f82774b8c20> 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-03-27 21:01:58.436 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:46037/a%40b/?token=3ab4fdaf310946d28864f7c5472c5bdcff084c2ac3d29b92 INFO ServerApp:serverapp.py:2792 http://127.0.0.1:46037/a%40b/?token=3ab4fdaf310946d28864f7c5472c5bdcff084c2ac3d29b92 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:46037/a%40b/?token=3ab4fdaf310946d28864f7c5472c5bdcff084c2ac3d29b92 http://127.0.0.1:46037/a%40b/?token=3ab4fdaf310946d28864f7c5472c5bdcff084c2ac3d29b92 ------------------------------ 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: 02c9e25909f44296bad814ab4c48012d 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:46037', 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:46037", "User-Agent": "Tornado/6.3.3" } ERROR ServerApp:log.py:98 500 DELETE /a%40b/api/contents/%C3%A5%20b (02c9e25909f44296bad814ab4c48012d@127.0.0.1) 3.12ms 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 0x7f82773d47c0> 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-03-27 21:01:58.483 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:43323/a%40b/?token=709c609c368ab75a63c027516758d48105bc3d018d9f5348 INFO ServerApp:serverapp.py:2792 http://127.0.0.1:43323/a%40b/?token=709c609c368ab75a63c027516758d48105bc3d018d9f5348 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:43323/a%40b/?token=709c609c368ab75a63c027516758d48105bc3d018d9f5348 http://127.0.0.1:43323/a%40b/?token=709c609c368ab75a63c027516758d48105bc3d018d9f5348 ------------------------------ 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: 53a7e5410fbb4779a8271076c8df6336 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:43323', 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:43323", "User-Agent": "Tornado/6.3.3" } ERROR ServerApp:log.py:98 500 DELETE /a%40b/api/contents/%C3%A5%20b (53a7e5410fbb4779a8271076c8df6336@127.0.0.1) 3.65ms 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.45s call tests/services/kernels/test_cull.py::test_cull_idle[jp_server_config0] 7.38s call tests/services/kernels/test_cull.py::test_cull_idle[jp_server_config1] 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.12s teardown tests/auth/test_authorizer.py::test_authorized_requests[True-GET-/api/kernels/{kernel_id}/channels-None] 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_config0] 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 155.69s (0:02:35) ====== 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.66BNBZ (%check) Bad exit status from /var/tmp/rpm-tmp.66BNBZ (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M f7fdec64cafb4040a29bafff16e0210f -D /var/lib/mock/dist-an23-build-python3.11-370247-71428/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ewvfwf08:/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 f7fdec64cafb4040a29bafff16e0210f -D /var/lib/mock/dist-an23-build-python3.11-370247-71428/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ewvfwf08:/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