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-375754-71729/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.sqp5xq7_:/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.sqp5xq7_:/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', 'c033cb31b8ab48dbb64ca1d846bc3ae8', '-D', '/var/lib/mock/dist-an23-build-python3.11-375754-71729/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sqp5xq7_:/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-375754-71729/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.sqp5xq7_:/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.sqp5xq7_:/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', '7ea223875c434f4085e440b64bed98e3', '-D', '/var/lib/mock/dist-an23-build-python3.11-375754-71729/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sqp5xq7_:/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.FFPr3p + 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.vcL496 + 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-375754-71729/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.sqp5xq7_:/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.sqp5xq7_:/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', '93bf4adae90149c3be3d20ed47fb73da', '-D', '/var/lib/mock/dist-an23-build-python3.11-375754-71729/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sqp5xq7_:/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.98G1in + 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.Jaw28g + 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-375754-71729/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.sqp5xq7_:/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.sqp5xq7_:/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', '3599cd5dc5424762aa786df800c07cfd', '-D', '/var/lib/mock/dist-an23-build-python3.11-375754-71729/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sqp5xq7_:/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.wyrCoN + 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.DyJI1S + 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-375754-71729/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.sqp5xq7_:/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.sqp5xq7_:/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', '2d55e188ea974dc1a146a02a8aa5b481', '-D', '/var/lib/mock/dist-an23-build-python3.11-375754-71729/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sqp5xq7_:/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.7TyMx3 + 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.aP9X40 + 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-375754-71729/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.sqp5xq7_:/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.sqp5xq7_:/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', '7c24f60e987c4303ae6dec2e46b4b39b', '-D', '/var/lib/mock/dist-an23-build-python3.11-375754-71729/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sqp5xq7_:/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.exXrUK + 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.z95itj + 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.asEcsF + 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.mPrs5S + 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 0x7f0a5438e980> 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 = ['', 'Directory with spaces in', 'ordering', 'foo/bar', 'foo', 'unicodé', ...] async def test_delete_dirs(jp_fetch, contents, folders): # Iterate over folders for name in sorted([*folders, "/"], key=len, reverse=True): r = await jp_fetch("api", "contents", name, method="GET") # Get JSON blobs for each content. listing = json.loads(r.body.decode())["content"] # Delete all content for model in listing: > await jp_fetch("api", "contents", model["path"], method="DELETE") tests/services/contents/test_api.py:679: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = None future = def __wakeup(self, future): try: > future.result() E tornado.httpclient.HTTPClientError: HTTP 500: Internal Server Error /usr/lib64/python3.11/asyncio/tasks.py:349: HTTPClientError ---------------------------- Captured stderr setup ----------------------------- [D 2024-04-29 16:23:06.070 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:42985/a%40b/?token=1f5d5eb23a6e29a287fcddd8a587800e067d1cdf6e74438c INFO ServerApp:serverapp.py:2792 http://127.0.0.1:42985/a%40b/?token=1f5d5eb23a6e29a287fcddd8a587800e067d1cdf6e74438c 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:42985/a%40b/?token=1f5d5eb23a6e29a287fcddd8a587800e067d1cdf6e74438c http://127.0.0.1:42985/a%40b/?token=1f5d5eb23a6e29a287fcddd8a587800e067d1cdf6e74438c ------------------------------ 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: 9d5d9b56dcef411491544e802c6ae85c DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/Directory%20with%20spaces%20in (9d5d9b56dcef411491544e802c6ae85c@127.0.0.1) 0.91ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 0a15a2e7d92a48018bddbce8ac297606 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 (0a15a2e7d92a48018bddbce8ac297606@127.0.0.1) 1.13ms 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: fb0db1af3fb549b8a1468b9764655d98 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 (fb0db1af3fb549b8a1468b9764655d98@127.0.0.1) 0.97ms 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: 77f0065de78e440495c13c598c44f98a 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 (77f0065de78e440495c13c598c44f98a@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: 3a275d031ac345b5bc7694838c35f7b6 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/ordering (3a275d031ac345b5bc7694838c35f7b6@127.0.0.1) 1.26ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 2cc41734c0d545b6b6137e56075ed0b8 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 (2cc41734c0d545b6b6137e56075ed0b8@127.0.0.1) 2.01ms 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: 108236af50874035a063b7eec7be8296 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 (108236af50874035a063b7eec7be8296@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: 31ea4296840f4cb3925e0803a74a3838 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 (31ea4296840f4cb3925e0803a74a3838@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: 7cad22da6a6b4406a9f8648ee75541ba 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 (7cad22da6a6b4406a9f8648ee75541ba@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: 8e4f1b7cfbc84a7ba569ec8c67c4f7f0 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 (8e4f1b7cfbc84a7ba569ec8c67c4f7f0@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: 10de0d6e79694f8aaefed9d622668524 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 (10de0d6e79694f8aaefed9d622668524@127.0.0.1) 1.00ms 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: 452f4171a2e94a36b7dbc405530c4ed7 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 (452f4171a2e94a36b7dbc405530c4ed7@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: d0954f26a80a4585853f551b92d03789 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 (d0954f26a80a4585853f551b92d03789@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: 5ae47bd1d07e4d22994fe9903a5a78bb 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 (5ae47bd1d07e4d22994fe9903a5a78bb@127.0.0.1) 0.97ms 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: c7d4fea6d8fb4605a52a6ef746d0b5dc DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/foo/bar (c7d4fea6d8fb4605a52a6ef746d0b5dc@127.0.0.1) 0.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: 204158d5c10c47fcbeba91a58add4280 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 (204158d5c10c47fcbeba91a58add4280@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: 55e23bf223894b68a5b0093dbf1803d3 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 (55e23bf223894b68a5b0093dbf1803d3@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: 4642f32de7d448128147dd52cdb077f4 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 (4642f32de7d448128147dd52cdb077f4@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: 6cd7e236ec674ca0b65606a30823e989 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/unicod%C3%A9 (6cd7e236ec674ca0b65606a30823e989@127.0.0.1) 0.85ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: c5f2591b26264e9788792f9c30ca7949 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 (c5f2591b26264e9788792f9c30ca7949@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: f9c0ad3802ba40b6832b312985ae0c84 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 (f9c0ad3802ba40b6832b312985ae0c84@127.0.0.1) 0.97ms 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: 9c416ce3fa824c5b9c32e0bd74f88807 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 (9c416ce3fa824c5b9c32e0bd74f88807@127.0.0.1) 1.01ms 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: 6518c244071a46fc941001ef188d35c8 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/foo (6518c244071a46fc941001ef188d35c8@127.0.0.1) 1.57ms 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: 0e5f567c181f4c818cd0c32929d932be 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:42985', 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:42985", "User-Agent": "Tornado/6.3.3" } ERROR ServerApp:log.py:98 500 DELETE /a%40b/api/contents/foo/bar (0e5f567c181f4c818cd0c32929d932be@127.0.0.1) 3.21ms 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 0x7f0a542a31a0> 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 = ['', 'Directory with spaces in', 'ordering', 'foo/bar', 'foo', 'unicodé', ...] async def test_delete_dirs(jp_fetch, contents, folders): # Iterate over folders for name in sorted([*folders, "/"], key=len, reverse=True): r = await jp_fetch("api", "contents", name, method="GET") # Get JSON blobs for each content. listing = json.loads(r.body.decode())["content"] # Delete all content for model in listing: > await jp_fetch("api", "contents", model["path"], method="DELETE") tests/services/contents/test_api.py:679: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = None future = def __wakeup(self, future): try: > future.result() E tornado.httpclient.HTTPClientError: HTTP 500: Internal Server Error /usr/lib64/python3.11/asyncio/tasks.py:349: HTTPClientError ---------------------------- Captured stderr setup ----------------------------- [D 2024-04-29 16:23:06.199 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:43875/a%40b/?token=36bf76e811f6e2d85547a0b2cb833ffcef5ccd5500c13492 INFO ServerApp:serverapp.py:2792 http://127.0.0.1:43875/a%40b/?token=36bf76e811f6e2d85547a0b2cb833ffcef5ccd5500c13492 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:43875/a%40b/?token=36bf76e811f6e2d85547a0b2cb833ffcef5ccd5500c13492 http://127.0.0.1:43875/a%40b/?token=36bf76e811f6e2d85547a0b2cb833ffcef5ccd5500c13492 ------------------------------ 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: b3619f6f023745e68533d8d92a8c1c2f DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/Directory%20with%20spaces%20in (b3619f6f023745e68533d8d92a8c1c2f@127.0.0.1) 1.67ms 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: 00ae83af27e54fa5bdd1874d51010295 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 (00ae83af27e54fa5bdd1874d51010295@127.0.0.1) 1.69ms 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: 6cd79b990d2d447ea3a2d3c075bb2862 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 (6cd79b990d2d447ea3a2d3c075bb2862@127.0.0.1) 1.43ms 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: b69b3b6e02fe405383a9b1bd62560805 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 (b69b3b6e02fe405383a9b1bd62560805@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: 47a24f0eef6c40228605bd146ff641a3 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/ordering (47a24f0eef6c40228605bd146ff641a3@127.0.0.1) 2.57ms 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: 48d4c8a0c3ea4a4ea741a9cf98ba0bc3 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 (48d4c8a0c3ea4a4ea741a9cf98ba0bc3@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: 9ba025c1a188446e9c93bdfa3e840dc1 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 (9ba025c1a188446e9c93bdfa3e840dc1@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: ab976e9e803d4573962e8c809dc4c0ab 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 (ab976e9e803d4573962e8c809dc4c0ab@127.0.0.1) 1.41ms 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: cb825a5042bf44aa82c2da23b278dd88 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 (cb825a5042bf44aa82c2da23b278dd88@127.0.0.1) 1.35ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 4180d1ad92e14cc3a389b0ac2e3ddc9b 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 (4180d1ad92e14cc3a389b0ac2e3ddc9b@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: 6455970e8ff4421b9090f99bad6f75d3 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 (6455970e8ff4421b9090f99bad6f75d3@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: 8602eccc8355455c92921610b6c7de19 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 (8602eccc8355455c92921610b6c7de19@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: 9048c126d41349ed954e05330c1f2fb6 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 (9048c126d41349ed954e05330c1f2fb6@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: e868717546a04ae6828faaddf053bdab 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 (e868717546a04ae6828faaddf053bdab@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: db7a9d0386cf4470b236dc0cb7ff37a2 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/foo/bar (db7a9d0386cf4470b236dc0cb7ff37a2@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: c354b05cd75a4d35894d12d95c25fadb 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 (c354b05cd75a4d35894d12d95c25fadb@127.0.0.1) 1.35ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 4a5890de36a0436a8baa60499ba95a80 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 (4a5890de36a0436a8baa60499ba95a80@127.0.0.1) 1.46ms 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: 734a6ccebbfb4b7aa34ab873bc797c04 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 (734a6ccebbfb4b7aa34ab873bc797c04@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: d5c84bfdf12a4b46ba2e82bd129de421 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/unicod%C3%A9 (d5c84bfdf12a4b46ba2e82bd129de421@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: 7eb47e3cf57b4b298eb169833797d0f2 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 (7eb47e3cf57b4b298eb169833797d0f2@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: f2a232e50bfb42c6bcfb8b721069cc14 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 (f2a232e50bfb42c6bcfb8b721069cc14@127.0.0.1) 1.38ms 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: b9803dc6deb2450496a76b20d07d4177 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 (b9803dc6deb2450496a76b20d07d4177@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: 31aa17d1233c4e758fa623c8eb745c25 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/foo (31aa17d1233c4e758fa623c8eb745c25@127.0.0.1) 3.26ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 259accb2208946c48cb1a34b3ddf3a50 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:43875', 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:43875", "User-Agent": "Tornado/6.3.3" } ERROR ServerApp:log.py:98 500 DELETE /a%40b/api/contents/foo/bar (259accb2208946c48cb1a34b3ddf3a50@127.0.0.1) 3.60ms 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 0x7f0a547c31a0> contents = {'all': [[PosixPath('inroot.ipynb'), PosixPath('Directory with spaces in/inspace.ipynb'), PosixPath('unicodé/innonasci...nascii.ipynb'), PosixPath('foo/a.ipynb'), PosixPath('foo/b.ipynb'), PosixPath('foo/name with spaces.ipynb'), ...], ...} @pytest.mark.xfail(sys.platform == "win32", reason="Deleting non-empty dirs on Windows") async def test_delete_non_empty_dir(jp_fetch, contents): # Delete a folder > await jp_fetch("api", "contents", "å b", method="DELETE") tests/services/contents/test_api.py:689: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = None future = def __wakeup(self, future): try: > future.result() E tornado.httpclient.HTTPClientError: HTTP 500: Internal Server Error /usr/lib64/python3.11/asyncio/tasks.py:349: HTTPClientError ---------------------------- Captured stderr setup ----------------------------- [D 2024-04-29 16:23:06.367 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:32883/a%40b/?token=f4b43f2e42a75abd696bfea67db7d4f67541069929e615da INFO ServerApp:serverapp.py:2792 http://127.0.0.1:32883/a%40b/?token=f4b43f2e42a75abd696bfea67db7d4f67541069929e615da 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:32883/a%40b/?token=f4b43f2e42a75abd696bfea67db7d4f67541069929e615da http://127.0.0.1:32883/a%40b/?token=f4b43f2e42a75abd696bfea67db7d4f67541069929e615da ------------------------------ 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: 1235becae6b944c98d7620d7da133bff 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:32883', 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:32883", "User-Agent": "Tornado/6.3.3" } ERROR ServerApp:log.py:98 500 DELETE /a%40b/api/contents/%C3%A5%20b (1235becae6b944c98d7620d7da133bff@127.0.0.1) 3.16ms 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 0x7f0a54407240> contents = {'all': [[PosixPath('inroot.ipynb'), PosixPath('Directory with spaces in/inspace.ipynb'), PosixPath('unicodé/innonasci...nascii.ipynb'), PosixPath('foo/a.ipynb'), PosixPath('foo/b.ipynb'), PosixPath('foo/name with spaces.ipynb'), ...], ...} @pytest.mark.xfail(sys.platform == "win32", reason="Deleting non-empty dirs on Windows") async def test_delete_non_empty_dir(jp_fetch, contents): # Delete a folder > await jp_fetch("api", "contents", "å b", method="DELETE") tests/services/contents/test_api.py:689: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = None future = def __wakeup(self, future): try: > future.result() E tornado.httpclient.HTTPClientError: HTTP 500: Internal Server Error /usr/lib64/python3.11/asyncio/tasks.py:349: HTTPClientError ---------------------------- Captured stderr setup ----------------------------- [D 2024-04-29 16:23:06.414 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:34699/a%40b/?token=4cf84ad870564425f38bc4f91f5522e68988ced9ef6f2110 INFO ServerApp:serverapp.py:2792 http://127.0.0.1:34699/a%40b/?token=4cf84ad870564425f38bc4f91f5522e68988ced9ef6f2110 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:34699/a%40b/?token=4cf84ad870564425f38bc4f91f5522e68988ced9ef6f2110 http://127.0.0.1:34699/a%40b/?token=4cf84ad870564425f38bc4f91f5522e68988ced9ef6f2110 ------------------------------ 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: 38eba6fa793f40ec9186a88f4a368b8b 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:34699', 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:34699", "User-Agent": "Tornado/6.3.3" } ERROR ServerApp:log.py:98 500 DELETE /a%40b/api/contents/%C3%A5%20b (38eba6fa793f40ec9186a88f4a368b8b@127.0.0.1) 3.69ms 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_restart_kernel[jp_server_config3] /usr/lib64/python3.11/selectors.py:192: ResourceWarning: unclosed raise KeyError("{!r} is not registered".format(fileobj)) from None 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/selectors.py:192: ResourceWarning: unclosed raise KeyError("{!r} is not registered".format(fileobj)) from None 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/selectors.py:192: ResourceWarning: unclosed raise KeyError("{!r} is not registered".format(fileobj)) from None 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/selectors.py:192: ResourceWarning: unclosed raise KeyError("{!r} is not registered".format(fileobj)) from None 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/selectors.py:192: ResourceWarning: unclosed raise KeyError("{!r} is not registered".format(fileobj)) from None 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/selectors.py:192: ResourceWarning: unclosed raise KeyError("{!r} is not registered".format(fileobj)) from None 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.37s call tests/services/kernels/test_cull.py::test_cull_idle[jp_server_config0] 7.37s 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.11s teardown tests/services/kernels/test_connection.py::test_websocket_connection 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_config1] 1.11s teardown tests/services/sessions/test_api.py::test_restart_kernel[jp_server_config2] 1.11s teardown tests/services/sessions/test_api.py::test_restart_kernel[jp_server_config0] =========================== 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, 19 warnings in 155.40s (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.mPrs5S (%check) Bad exit status from /var/tmp/rpm-tmp.mPrs5S (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 7c24f60e987c4303ae6dec2e46b4b39b -D /var/lib/mock/dist-an23-build-python3.11-375754-71729/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.sqp5xq7_:/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 7c24f60e987c4303ae6dec2e46b4b39b -D /var/lib/mock/dist-an23-build-python3.11-375754-71729/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.sqp5xq7_:/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