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-370249-71428/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e7sgp3rl:/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.e7sgp3rl:/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', 'c8a8e6d010994cf7b34b11f3485bd0d0', '-D', '/var/lib/mock/dist-an23-build-python3.11-370249-71428/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e7sgp3rl:/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-370249-71428/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e7sgp3rl:/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.e7sgp3rl:/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', '28673fc8744a4789bc5fba73bdc813d5', '-D', '/var/lib/mock/dist-an23-build-python3.11-370249-71428/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e7sgp3rl:/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.ibu79Q + 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.TNAmcX + umask 022 + cd /builddir/build/BUILD + cd jupyter_server-2.5.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/jupyter_server-2.5.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/jupyter_server-2.5.0/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/jupyter_server-2.5.0/pyproject-wheeldir --output /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-buildrequires -x test Handling hatchling >=1.11 from build-system.requires Requirement not satisfied: hatchling >=1.11 Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-jupyter-server-2.5.0-4.an23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-jupyter-server.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-370249-71428/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e7sgp3rl:/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.e7sgp3rl:/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', '1578313680ba454ab5bbd8a6ea75743e', '-D', '/var/lib/mock/dist-an23-build-python3.11-370249-71428/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e7sgp3rl:/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.GG1Kkq + 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.NRmRYc + umask 022 + cd /builddir/build/BUILD + cd jupyter_server-2.5.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/jupyter_server-2.5.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/jupyter_server-2.5.0/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/jupyter_server-2.5.0/pyproject-wheeldir --output /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-buildrequires -x test Handling hatchling >=1.11 from build-system.requires Requirement satisfied: hatchling >=1.11 (installed: hatchling 1.21.0) Handling hatch-jupyter-builder>=0.8.1 from get_requires_for_build_wheel Requirement not satisfied: hatch-jupyter-builder>=0.8.1 Exiting dependency generation pass: get_requires_for_build_wheel + cat /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-jupyter-server-2.5.0-4.an23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-jupyter-server.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-370249-71428/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e7sgp3rl:/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.e7sgp3rl:/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', '462eda9a609f45b6b0d512bf1f77a0f3', '-D', '/var/lib/mock/dist-an23-build-python3.11-370249-71428/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e7sgp3rl:/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.9dPF28 + 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.PRNlJY + umask 022 + cd /builddir/build/BUILD + cd jupyter_server-2.5.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/jupyter_server-2.5.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/jupyter_server-2.5.0/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/jupyter_server-2.5.0/pyproject-wheeldir --output /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-buildrequires -x test Handling hatchling >=1.11 from build-system.requires Requirement satisfied: hatchling >=1.11 (installed: hatchling 1.21.0) Handling hatch-jupyter-builder>=0.8.1 from get_requires_for_build_wheel Requirement satisfied: hatch-jupyter-builder>=0.8.1 (installed: hatch-jupyter-builder 0.8.3) Handling anyio>=3.1.0 from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: anyio>=3.1.0 Handling argon2-cffi from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: argon2-cffi Handling jinja2 from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: jinja2 Handling jupyter-client>=7.4.4 from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: jupyter-client>=7.4.4 Handling jupyter-core!=5.0.*,>=4.12 from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: jupyter-core!=5.0.*,>=4.12 Handling jupyter-events>=0.4.0 from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: jupyter-events>=0.4.0 Handling jupyter-server-terminals from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: jupyter-server-terminals Handling nbconvert>=6.4.4 from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: nbconvert>=6.4.4 Handling nbformat>=5.3.0 from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: nbformat>=5.3.0 Handling packaging from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: packaging (installed: packaging 23.0) Handling prometheus-client from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: prometheus-client Handling pywinpty; os_name == 'nt' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: pywinpty; os_name == 'nt' Handling pyzmq>=24 from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: pyzmq>=24 Handling send2trash from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: send2trash Handling terminado>=0.8.3 from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: terminado>=0.8.3 Handling tornado>=6.2.0 from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: tornado>=6.2.0 Handling traitlets>=5.6.0 from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: traitlets>=5.6.0 Handling websocket-client from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: websocket-client Handling docutils<0.20; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: docutils<0.20; extra == 'docs' Handling ipykernel; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: ipykernel; extra == 'docs' Handling jinja2; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: jinja2; extra == 'docs' Handling jupyter-client; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: jupyter-client; extra == 'docs' Handling jupyter-server; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: jupyter-server; extra == 'docs' Handling mistune<1.0.0; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: mistune<1.0.0; extra == 'docs' Handling myst-parser; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: myst-parser; extra == 'docs' Handling nbformat; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: nbformat; extra == 'docs' Handling prometheus-client; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: prometheus-client; extra == 'docs' Handling pydata-sphinx-theme; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: pydata-sphinx-theme; extra == 'docs' Handling send2trash; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: send2trash; extra == 'docs' Handling sphinx-autodoc-typehints; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: sphinx-autodoc-typehints; extra == 'docs' Handling sphinxcontrib-github-alt; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: sphinxcontrib-github-alt; extra == 'docs' Handling sphinxcontrib-openapi; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: sphinxcontrib-openapi; extra == 'docs' Handling sphinxcontrib-spelling; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: sphinxcontrib-spelling; extra == 'docs' Handling sphinxemoji; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: sphinxemoji; extra == 'docs' Handling tornado; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: tornado; extra == 'docs' Handling typing-extensions; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: typing-extensions; extra == 'docs' Handling ipykernel; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: ipykernel; extra == 'test' Handling pytest-console-scripts; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: pytest-console-scripts; extra == 'test' Handling pytest-jupyter[server]>=0.4; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: pytest-jupyter[server]>=0.4; extra == 'test' Handling pytest-timeout; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: pytest-timeout; extra == 'test' Handling pytest>=7.0; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: pytest>=7.0; extra == 'test' Handling requests; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement not satisfied: requests; extra == 'test' + cat /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-buildrequires + rm -rfv jupyter_server-2.5.0.dist-info/ removed 'jupyter_server-2.5.0.dist-info/METADATA' removed directory 'jupyter_server-2.5.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-jupyter-server-2.5.0-4.an23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-jupyter-server.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-370249-71428/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e7sgp3rl:/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.e7sgp3rl:/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', '6e90b56fcc424cce89d14ff8fd40e4bb', '-D', '/var/lib/mock/dist-an23-build-python3.11-370249-71428/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e7sgp3rl:/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.rjzIpI + 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.OluJhw + umask 022 + cd /builddir/build/BUILD + cd jupyter_server-2.5.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/jupyter_server-2.5.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/jupyter_server-2.5.0/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/jupyter_server-2.5.0/pyproject-wheeldir --output /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-buildrequires -x test Handling hatchling >=1.11 from build-system.requires Requirement satisfied: hatchling >=1.11 (installed: hatchling 1.21.0) Handling hatch-jupyter-builder>=0.8.1 from get_requires_for_build_wheel Requirement satisfied: hatch-jupyter-builder>=0.8.1 (installed: hatch-jupyter-builder 0.8.3) Handling anyio>=3.1.0 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: anyio>=3.1.0 (installed: anyio 3.5.0) Handling argon2-cffi from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: argon2-cffi (installed: argon2-cffi 21.3.0) Handling jinja2 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: jinja2 (installed: jinja2 3.1.3) Handling jupyter-client>=7.4.4 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: jupyter-client>=7.4.4 (installed: jupyter-client 7.4.9) Handling jupyter-core!=5.0.*,>=4.12 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: jupyter-core!=5.0.*,>=4.12 (installed: jupyter-core 5.1.0) Handling jupyter-events>=0.4.0 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: jupyter-events>=0.4.0 (installed: jupyter-events 0.6.3) Handling jupyter-server-terminals from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: jupyter-server-terminals (installed: jupyter-server-terminals 0.4.2) Handling nbconvert>=6.4.4 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: nbconvert>=6.4.4 (installed: nbconvert 7.2.5) Handling nbformat>=5.3.0 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: nbformat>=5.3.0 (installed: nbformat 5.7.0) Handling packaging from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: packaging (installed: packaging 23.0) Handling prometheus-client from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: prometheus-client (installed: prometheus-client 0.16.0) Handling pywinpty; os_name == 'nt' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: pywinpty; os_name == 'nt' Handling pyzmq>=24 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: pyzmq>=24 (installed: pyzmq 24.0.1) Handling send2trash from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: send2trash (installed: send2trash 1.8.2) Handling terminado>=0.8.3 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: terminado>=0.8.3 (installed: terminado 0.17.1) Handling tornado>=6.2.0 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: tornado>=6.2.0 (installed: tornado 6.3.3) Handling traitlets>=5.6.0 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: traitlets>=5.6.0 (installed: traitlets 5.9.0) Handling websocket-client from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: websocket-client (installed: websocket-client 1.3.3) Handling docutils<0.20; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: docutils<0.20; extra == 'docs' Handling ipykernel; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: ipykernel; extra == 'docs' Handling jinja2; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: jinja2; extra == 'docs' Handling jupyter-client; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: jupyter-client; extra == 'docs' Handling jupyter-server; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: jupyter-server; extra == 'docs' Handling mistune<1.0.0; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: mistune<1.0.0; extra == 'docs' Handling myst-parser; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: myst-parser; extra == 'docs' Handling nbformat; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: nbformat; extra == 'docs' Handling prometheus-client; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: prometheus-client; extra == 'docs' Handling pydata-sphinx-theme; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: pydata-sphinx-theme; extra == 'docs' Handling send2trash; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: send2trash; extra == 'docs' Handling sphinx-autodoc-typehints; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: sphinx-autodoc-typehints; extra == 'docs' Handling sphinxcontrib-github-alt; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: sphinxcontrib-github-alt; extra == 'docs' Handling sphinxcontrib-openapi; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: sphinxcontrib-openapi; extra == 'docs' Handling sphinxcontrib-spelling; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: sphinxcontrib-spelling; extra == 'docs' Handling sphinxemoji; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: sphinxemoji; extra == 'docs' Handling tornado; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: tornado; extra == 'docs' Handling typing-extensions; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: typing-extensions; extra == 'docs' Handling ipykernel; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: ipykernel; extra == 'test' (installed: ipykernel 6.17.1) Handling pytest-console-scripts; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: pytest-console-scripts; extra == 'test' (installed: pytest-console-scripts 1.3.1) Handling pytest-jupyter[server]>=0.4; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: pytest-jupyter[server]>=0.4; extra == 'test' (installed: pytest-jupyter 0.7.0) (extras are currently not checked) Handling pytest-timeout; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: pytest-timeout; extra == 'test' (installed: pytest-timeout 2.1.0) Handling pytest>=7.0; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: pytest>=7.0; extra == 'test' (installed: pytest 7.3.1) Handling requests; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: requests; extra == 'test' (installed: requests 2.31.0) + cat /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-buildrequires + rm -rfv jupyter_server-2.5.0.dist-info/ removed 'jupyter_server-2.5.0.dist-info/METADATA' removed directory 'jupyter_server-2.5.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-jupyter-server-2.5.0-4.an23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-jupyter-server.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-370249-71428/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e7sgp3rl:/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.e7sgp3rl:/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', '6d31f84f20754670a55342c180a06b3d', '-D', '/var/lib/mock/dist-an23-build-python3.11-370249-71428/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e7sgp3rl:/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.A0sK89 + umask 022 + cd /builddir/build/BUILD + cd jupyter_server-2.5.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/jupyter_server-2.5.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/jupyter_server-2.5.0/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/jupyter_server-2.5.0/pyproject-wheeldir --output /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-buildrequires -x test Handling hatchling >=1.11 from build-system.requires Requirement satisfied: hatchling >=1.11 (installed: hatchling 1.21.0) Handling hatch-jupyter-builder>=0.8.1 from get_requires_for_build_wheel Requirement satisfied: hatch-jupyter-builder>=0.8.1 (installed: hatch-jupyter-builder 0.8.3) Handling anyio>=3.1.0 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: anyio>=3.1.0 (installed: anyio 3.5.0) Handling argon2-cffi from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: argon2-cffi (installed: argon2-cffi 21.3.0) Handling jinja2 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: jinja2 (installed: jinja2 3.1.3) Handling jupyter-client>=7.4.4 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: jupyter-client>=7.4.4 (installed: jupyter-client 7.4.9) Handling jupyter-core!=5.0.*,>=4.12 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: jupyter-core!=5.0.*,>=4.12 (installed: jupyter-core 5.1.0) Handling jupyter-events>=0.4.0 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: jupyter-events>=0.4.0 (installed: jupyter-events 0.6.3) Handling jupyter-server-terminals from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: jupyter-server-terminals (installed: jupyter-server-terminals 0.4.2) Handling nbconvert>=6.4.4 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: nbconvert>=6.4.4 (installed: nbconvert 7.2.5) Handling nbformat>=5.3.0 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: nbformat>=5.3.0 (installed: nbformat 5.7.0) Handling packaging from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: packaging (installed: packaging 23.0) Handling prometheus-client from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: prometheus-client (installed: prometheus-client 0.16.0) Handling pywinpty; os_name == 'nt' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: pywinpty; os_name == 'nt' Handling pyzmq>=24 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: pyzmq>=24 (installed: pyzmq 24.0.1) Handling send2trash from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: send2trash (installed: send2trash 1.8.2) Handling terminado>=0.8.3 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: terminado>=0.8.3 (installed: terminado 0.17.1) Handling tornado>=6.2.0 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: tornado>=6.2.0 (installed: tornado 6.3.3) Handling traitlets>=5.6.0 from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: traitlets>=5.6.0 (installed: traitlets 5.9.0) Handling websocket-client from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: websocket-client (installed: websocket-client 1.3.3) Handling docutils<0.20; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: docutils<0.20; extra == 'docs' Handling ipykernel; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: ipykernel; extra == 'docs' Handling jinja2; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: jinja2; extra == 'docs' Handling jupyter-client; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: jupyter-client; extra == 'docs' Handling jupyter-server; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: jupyter-server; extra == 'docs' Handling mistune<1.0.0; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: mistune<1.0.0; extra == 'docs' Handling myst-parser; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: myst-parser; extra == 'docs' Handling nbformat; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: nbformat; extra == 'docs' Handling prometheus-client; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: prometheus-client; extra == 'docs' Handling pydata-sphinx-theme; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: pydata-sphinx-theme; extra == 'docs' Handling send2trash; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: send2trash; extra == 'docs' Handling sphinx-autodoc-typehints; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: sphinx-autodoc-typehints; extra == 'docs' Handling sphinxcontrib-github-alt; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: sphinxcontrib-github-alt; extra == 'docs' Handling sphinxcontrib-openapi; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: sphinxcontrib-openapi; extra == 'docs' Handling sphinxcontrib-spelling; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: sphinxcontrib-spelling; extra == 'docs' Handling sphinxemoji; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: sphinxemoji; extra == 'docs' Handling tornado; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: tornado; extra == 'docs' Handling typing-extensions; extra == 'docs' from hook generated metadata: Requires-Dist (jupyter_server) Ignoring alien requirement: typing-extensions; extra == 'docs' Handling ipykernel; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: ipykernel; extra == 'test' (installed: ipykernel 6.17.1) Handling pytest-console-scripts; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: pytest-console-scripts; extra == 'test' (installed: pytest-console-scripts 1.3.1) Handling pytest-jupyter[server]>=0.4; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: pytest-jupyter[server]>=0.4; extra == 'test' (installed: pytest-jupyter 0.7.0) (extras are currently not checked) Handling pytest-timeout; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: pytest-timeout; extra == 'test' (installed: pytest-timeout 2.1.0) Handling pytest>=7.0; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: pytest>=7.0; extra == 'test' (installed: pytest 7.3.1) Handling requests; extra == 'test' from hook generated metadata: Requires-Dist (jupyter_server) Requirement satisfied: requests; extra == 'test' (installed: requests 2.31.0) + cat /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-buildrequires + rm -rfv jupyter_server-2.5.0.dist-info/ removed 'jupyter_server-2.5.0.dist-info/METADATA' removed directory 'jupyter_server-2.5.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.i8AYzR + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd jupyter_server-2.5.0 + mkdir -p /builddir/build/BUILD/jupyter_server-2.5.0/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/jupyter_server-2.5.0/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/anolis/pyproject_wheel.py /builddir/build/BUILD/jupyter_server-2.5.0/pyproject-wheeldir Looking in indexes: https://mirrors.aliyun.com/pypi/simple/ Processing /builddir/build/BUILD/jupyter_server-2.5.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) INFO:hatch_jupyter_builder.utils:Running jupyter-builder INFO:hatch_jupyter_builder.utils:Skip-if-exists file(s) found INFO:hatch_jupyter_builder.utils:Skipping build INFO:hatch_jupyter_builder.utils:Ensured target(s) exist! INFO:hatch_jupyter_builder.utils:Finished running jupyter-builder Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: jupyter_server Building wheel for jupyter_server (pyproject.toml): started Running command Building wheel for jupyter_server (pyproject.toml) Building wheel for jupyter_server (pyproject.toml): finished with status 'done' Created wheel for jupyter_server: filename=jupyter_server-2.5.0-py3-none-any.whl size=366832 sha256=8428a4c7b3967ccaeffa936301031c76ded574f3cc8404a1d0733a2406e616f9 Stored in directory: /builddir/.cache/pip/wheels/c7/5c/9e/89ec0088e00f8360a51a2b548e53d3e42d10c13dc766ccedd4 Successfully built jupyter_server + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.nRy0Yg + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch ++ dirname /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd jupyter_server-2.5.0 ++ ls /builddir/build/BUILD/jupyter_server-2.5.0/pyproject-wheeldir/jupyter_server-2.5.0-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=jupyter_server==2.5.0 + TMPDIR=/builddir/build/BUILD/jupyter_server-2.5.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/jupyter_server-2.5.0/pyproject-wheeldir jupyter_server==2.5.0 Using pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/jupyter_server-2.5.0/pyproject-wheeldir Processing ./pyproject-wheeldir/jupyter_server-2.5.0-py3-none-any.whl Installing collected packages: jupyter_server Creating /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/bin changing mode of /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/bin/jupyter-server to 755 Successfully installed jupyter_server-2.5.0 + '[' -d /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/bin ']' + '[' -f /usr/bin/pathfix3.11.py ']' + pathfix=/usr/bin/pathfix3.11.py + '[' -z s ']' + shebang_flags=-kas + /usr/bin/pathfix3.11.py -pni /usr/bin/python3 -kas /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/bin/jupyter-server /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/bin/jupyter-server: updating + rm -rfv /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/jupyter_server-2.5.0.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/lib/python3.11/site-packages/jupyter_server-2.5.0.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/anolis + /usr/bin/python3 -B /usr/lib/rpm/anolis/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch --record /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/lib/python3.11/site-packages/jupyter_server-2.5.0.dist-info/RECORD --output /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-record + rm -fv /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/lib/python3.11/site-packages/jupyter_server-2.5.0.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/lib/python3.11/site-packages/jupyter_server-2.5.0.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/lib/python3.11/site-packages/jupyter_server-2.5.0.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/lib/python3.11/site-packages/jupyter_server-2.5.0.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_PERCENTAGES_COUNT=8 + /usr/bin/python3 /usr/lib/rpm/anolis/pyproject_save_files.py --output-files /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-files --output-modules /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-modules --buildroot /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch --sitelib /usr/lib/python3.11/site-packages --sitearch /usr/lib64/python3.11/site-packages --python-version 3.11 --pyproject-record /builddir/build/BUILD/python-jupyter-server-2.5.0-4.an23.noarch-pyproject-record --prefix /usr jupyter_server + /usr/bin/find-debuginfo -j80 --strict-build-id -m -i --build-id-seed 2.5.0-4.an23 --unique-debug-suffix -2.5.0-4.an23.noarch --unique-debug-src-base python-jupyter-server-2.5.0-4.an23.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/jupyter_server-2.5.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + COMPRESS='zstd -f --rm -19 -T0' + COMPRESS_EXT=.zst + /usr/lib/rpm/brp-compress + /usr/lib/rpm/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/anolis/clean_perl + /usr/lib/rpm/anolis/check_elf_files + /usr/lib/rpm/anolis/brp-mangle-shebangs + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/check-desktop-files + /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/anolis/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.7h4XF2 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd jupyter_server-2.5.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python-jupyter-server-2.5.0-4.an23.noarch/usr/lib/python3.11/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/jupyter_server-2.5.0/.pyproject-builddir' + /usr/bin/pytest ============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.3.1, pluggy-1.0.0 rootdir: /builddir/build/BUILD/jupyter_server-2.5.0 configfile: pyproject.toml testpaths: tests/ plugins: anyio-3.5.0, console-scripts-1.3.1, timeout-2.1.0 timeout: 100.0s timeout method: thread timeout func_only: False collected 890 items tests/test_config_manager.py . [ 0%] tests/test_files.py .................... [ 2%] tests/test_gateway.py ......................... [ 5%] tests/test_paths.py ...... [ 5%] tests/test_serialize.py .. [ 6%] tests/test_serverapp.py ................................................ [ 11%] ...Task exception was never retrieved future: ._configurable_serverapp..initialize_app() done, defined at /usr/lib/python3.11/site-packages/pytest_jupyter/jupyter_server.py:245> exception=SystemExit(1)> Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/traitlets/config/application.py", line 113, in inner return method(app, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/serverapp.py", line 2539, in initialize self.init_configurables() File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/serverapp.py", line 1877, in init_configurables self.contents_manager = self.contents_manager_class( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/traitlets/config/configurable.py", line 109, in __init__ self.config = config ^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 732, in __set__ self.set(obj, value) File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 721, in set obj._notify_trait(self.name, old_value, new_value) File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1505, in _notify_trait self.notify_change( File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1517, in notify_change return self._notify_observers(change) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1564, in _notify_observers c(event) File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1146, in compatible_observer return func(self, change) ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/traitlets/config/configurable.py", line 218, in _config_changed self._load_config(change.new, traits=traits, section_names=section_names) File "/usr/lib/python3.11/site-packages/traitlets/config/configurable.py", line 167, in _load_config with self.hold_trait_notifications(): File "/usr/lib64/python3.11/contextlib.py", line 144, in __exit__ next(self.gen) File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1493, in hold_trait_notifications raise e File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1479, in hold_trait_notifications value = trait._cross_validate(self, getattr(self, name)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 746, in _cross_validate value = obj._trait_validators[self.name](obj, proposal) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1233, in __call__ return self.func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/filemanager.py", line 92, in _validate_preferred_dir return super()._validate_preferred_dir(proposal) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/manager.py", line 102, in _validate_preferred_dir raise TraitError(_i18n("Preferred directory not found: %r") % value) traitlets.traitlets.TraitError: Preferred directory not found: 'subdir' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/jupyter_server-2.5.0/tests/test_serverapp.py", line 397, in test_preferred_dir_validation jp_configurable_serverapp(**kwargs) File "/usr/lib/python3.11/site-packages/pytest_jupyter/jupyter_server.py", line 248, in _configurable_serverapp jp_asyncio_loop.run_until_complete(initialize_app()) File "/usr/lib/python3.11/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.11/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib64/python3.11/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.11/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib64/python3.11/asyncio/tasks.py", line 277, in __step result = coro.send(None) ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pytest_jupyter/jupyter_server.py", line 246, in initialize_app app.initialize(argv=argv, new_httpserver=False) File "/usr/lib/python3.11/site-packages/traitlets/config/application.py", line 117, in inner app.exit(1) File "/usr/lib/python3.11/site-packages/traitlets/config/application.py", line 1030, in exit sys.exit(exit_status) SystemExit: 1 Task exception was never retrieved future: ._configurable_serverapp..initialize_app() done, defined at /usr/lib/python3.11/site-packages/pytest_jupyter/jupyter_server.py:245> exception=SystemExit(1)> Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/traitlets/config/application.py", line 113, in inner return method(app, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/serverapp.py", line 2539, in initialize self.init_configurables() File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/serverapp.py", line 1883, in init_configurables self.contents_manager.preferred_dir File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 703, in __get__ return self.get(obj, cls) ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 659, in get default = obj.trait_defaults(self.name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1872, in trait_defaults return self._get_trait_default_generator(names[0])(self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1233, in __call__ return self.func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/filemanager.py", line 85, in _default_preferred_dir raise TraitError("%s is outside root contents directory" % value) from None traitlets.traitlets.TraitError: /tmp/pytest-of-mockbuild/pytest-0/test_preferred_dir_validation_16/subdir is outside root contents directory During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/jupyter_server-2.5.0/tests/test_serverapp.py", line 397, in test_preferred_dir_validation jp_configurable_serverapp(**kwargs) File "/usr/lib/python3.11/site-packages/pytest_jupyter/jupyter_server.py", line 248, in _configurable_serverapp jp_asyncio_loop.run_until_complete(initialize_app()) File "/usr/lib/python3.11/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.11/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib64/python3.11/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.11/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib64/python3.11/asyncio/tasks.py", line 277, in __step result = coro.send(None) ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pytest_jupyter/jupyter_server.py", line 246, in initialize_app app.initialize(argv=argv, new_httpserver=False) File "/usr/lib/python3.11/site-packages/traitlets/config/application.py", line 117, in inner app.exit(1) File "/usr/lib/python3.11/site-packages/traitlets/config/application.py", line 1030, in exit sys.exit(exit_status) SystemExit: 1 Task exception was never retrieved future: ._configurable_serverapp..initialize_app() done, defined at /usr/lib/python3.11/site-packages/pytest_jupyter/jupyter_server.py:245> exception=SystemExit(1)> Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/traitlets/config/application.py", line 113, in inner return method(app, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/serverapp.py", line 2539, in initialize self.init_configurables() File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/serverapp.py", line 1877, in init_configurables self.contents_manager = self.contents_manager_class( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/traitlets/config/configurable.py", line 109, in __init__ self.config = config ^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 732, in __set__ self.set(obj, value) File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 721, in set obj._notify_trait(self.name, old_value, new_value) File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1505, in _notify_trait self.notify_change( File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1517, in notify_change return self._notify_observers(change) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1564, in _notify_observers c(event) File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1146, in compatible_observer return func(self, change) ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/traitlets/config/configurable.py", line 218, in _config_changed self._load_config(change.new, traits=traits, section_names=section_names) File "/usr/lib/python3.11/site-packages/traitlets/config/configurable.py", line 167, in _load_config with self.hold_trait_notifications(): File "/usr/lib64/python3.11/contextlib.py", line 144, in __exit__ next(self.gen) File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1493, in hold_trait_notifications raise e File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1479, in hold_trait_notifications value = trait._cross_validate(self, getattr(self, name)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 746, in _cross_validate value = obj._trait_validators[self.name](obj, proposal) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/traitlets/traitlets.py", line 1233, in __call__ return self.func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/filemanager.py", line 92, in _validate_preferred_dir return super()._validate_preferred_dir(proposal) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/services/contents/manager.py", line 102, in _validate_preferred_dir raise TraitError(_i18n("Preferred directory not found: %r") % value) traitlets.traitlets.TraitError: Preferred directory not found: 'subdir' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/jupyter_server-2.5.0/tests/test_serverapp.py", line 397, in test_preferred_dir_validation jp_configurable_serverapp(**kwargs) File "/usr/lib/python3.11/site-packages/pytest_jupyter/jupyter_server.py", line 248, in _configurable_serverapp jp_asyncio_loop.run_until_complete(initialize_app()) File "/usr/lib/python3.11/site-packages/nest_asyncio.py", line 84, in run_until_complete self._run_once() File "/usr/lib/python3.11/site-packages/nest_asyncio.py", line 120, in _run_once handle._run() File "/usr/lib64/python3.11/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.11/site-packages/nest_asyncio.py", line 196, in step step_orig(task, exc) File "/usr/lib64/python3.11/asyncio/tasks.py", line 277, in __step result = coro.send(None) ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pytest_jupyter/jupyter_server.py", line 246, in initialize_app app.initialize(argv=argv, new_httpserver=False) File "/usr/lib/python3.11/site-packages/traitlets/config/application.py", line 117, in inner app.exit(1) File "/usr/lib/python3.11/site-packages/traitlets/config/application.py", line 1030, in exit sys.exit(exit_status) SystemExit: 1 .............. [ 13%] tests/test_terminal.py ....ss..... [ 14%] tests/test_traittypes.py ........... [ 15%] tests/test_utils.py ............... [ 17%] tests/test_version.py ........ [ 18%] tests/test_view.py .... [ 18%] tests/auth/test_authorizer.py .......................................... [ 23%] .................... [ 25%] tests/auth/test_identity.py .................... [ 28%] tests/auth/test_legacy_login.py .................. [ 30%] tests/auth/test_login.py .............. [ 31%] tests/auth/test_security.py .... [ 32%] tests/auth/test_utils.py ............ [ 33%] tests/base/test_handlers.py ....... [ 34%] tests/base/test_websocket.py .... [ 34%] tests/extension/test_app.py ................ [ 36%] tests/extension/test_config.py . [ 36%] tests/extension/test_entrypoint.py . [ 36%] tests/extension/test_handler.py ..... [ 37%] tests/extension/test_launch.py ... [ 37%] tests/extension/test_manager.py ............... [ 39%] tests/extension/test_serverextension.py ....... [ 40%] tests/extension/test_utils.py ... [ 40%] tests/nbconvert/test_handlers.py ssssss [ 41%] tests/services/api/test_api.py .............. [ 42%] tests/services/config/test_api.py ... [ 43%] tests/services/contents/test_api.py .................................... [ 47%] ........................................................................ [ 55%] ........................................................................ [ 63%] ............................FFFF...................... [ 69%] tests/services/contents/test_checkpoints.py ............ [ 70%] tests/services/contents/test_config.py ..... [ 71%] tests/services/contents/test_fileio.py ...... [ 71%] tests/services/contents/test_largefilemanager.py .............. [ 73%] tests/services/contents/test_manager.py ................................ [ 77%] ........................................................................ [ 85%] .. [ 85%] tests/services/events/test_api.py ......... [ 86%] tests/services/events/test_extension.py . [ 86%] tests/services/kernels/test_api.py ..................... [ 88%] tests/services/kernels/test_config.py ... [ 89%] tests/services/kernels/test_connection.py . [ 89%] tests/services/kernels/test_cull.py ... [ 89%] tests/services/kernelspecs/test_api.py ...... [ 90%] tests/services/nbconvert/test_api.py . [ 90%] tests/services/sessions/test_api.py .................................... [ 94%] ........................ [ 97%] tests/services/sessions/test_manager.py ................ [ 98%] tests/unix_sockets/test_api.py .. [ 99%] tests/unix_sockets/test_serverapp_integration.py sssssss [100%] =================================== FAILURES =================================== ____________________ test_delete_dirs[FileContentsManager] _____________________ jp_fetch = .client_fetch at 0xffff8ba4e980> contents = {'all': [[PosixPath('inroot.ipynb'), PosixPath('Directory with spaces in/inspace.ipynb'), PosixPath('unicodé/innonasci...nascii.ipynb'), PosixPath('foo/a.ipynb'), PosixPath('foo/b.ipynb'), PosixPath('foo/name with spaces.ipynb'), ...], ...} folders = ['', 'foo', 'unicodé', 'foo/bar', 'ordering', 'å b', ...] async def test_delete_dirs(jp_fetch, contents, folders): # Iterate over folders for name in sorted([*folders, "/"], key=len, reverse=True): r = await jp_fetch("api", "contents", name, method="GET") # Get JSON blobs for each content. listing = json.loads(r.body.decode())["content"] # Delete all content for model in listing: > await jp_fetch("api", "contents", model["path"], method="DELETE") tests/services/contents/test_api.py:679: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = None future = def __wakeup(self, future): try: > future.result() E tornado.httpclient.HTTPClientError: HTTP 500: Internal Server Error /usr/lib64/python3.11/asyncio/tasks.py:349: HTTPClientError ---------------------------- Captured stderr setup ----------------------------- [D 2024-03-27 21:03:13.785 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:43329/a%40b/?token=f727c03ecafafc6bd849a04a228f0c075c48602c0c2fa469 INFO ServerApp:serverapp.py:2792 http://127.0.0.1:43329/a%40b/?token=f727c03ecafafc6bd849a04a228f0c075c48602c0c2fa469 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:43329/a%40b/?token=f727c03ecafafc6bd849a04a228f0c075c48602c0c2fa469 http://127.0.0.1:43329/a%40b/?token=f727c03ecafafc6bd849a04a228f0c075c48602c0c2fa469 ------------------------------ 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: 646cc335d797430a8efab134a719cb92 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/Directory%20with%20spaces%20in (646cc335d797430a8efab134a719cb92@127.0.0.1) 1.12ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: e283ab24664e41a6b457781f4bade488 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 (e283ab24664e41a6b457781f4bade488@127.0.0.1) 1.44ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 31aeaf8cda4b4d35aa3601cf7ba2265f 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 (31aeaf8cda4b4d35aa3601cf7ba2265f@127.0.0.1) 1.22ms 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: 1c6049bc94a142a5b41d3fa62663445d 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 (1c6049bc94a142a5b41d3fa62663445d@127.0.0.1) 1.25ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: aca4011d8654498582ee7bf554614f99 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/ordering (aca4011d8654498582ee7bf554614f99@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: e273699513894f989bd29b22ff08f838 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 (e273699513894f989bd29b22ff08f838@127.0.0.1) 2.76ms 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: e7116f5389304ed8923e9added7edd17 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 (e7116f5389304ed8923e9added7edd17@127.0.0.1) 1.18ms 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: c9ce139555b643fdbf66654c79a9ab30 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 (c9ce139555b643fdbf66654c79a9ab30@127.0.0.1) 1.21ms 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: 484abfd29d7a4bc39a02fe408f6bf466 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 (484abfd29d7a4bc39a02fe408f6bf466@127.0.0.1) 1.17ms 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: a1d8fa313e4d42eb8e483b89e61e65e6 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 (a1d8fa313e4d42eb8e483b89e61e65e6@127.0.0.1) 1.17ms 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: d495aa7559ec4de6b29b5c0175cc313c 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 (d495aa7559ec4de6b29b5c0175cc313c@127.0.0.1) 1.24ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 0a4fe2bb05304368a23277248fdd00fe 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 (0a4fe2bb05304368a23277248fdd00fe@127.0.0.1) 1.16ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 8ed325f7013c47aeb5310eeb8c907733 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 (8ed325f7013c47aeb5310eeb8c907733@127.0.0.1) 1.17ms 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: f566806afdb1411c8e4e89c1a6dcad70 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 (f566806afdb1411c8e4e89c1a6dcad70@127.0.0.1) 1.22ms 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: 451907f3bd484dd4827662e2a10e26a5 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/unicod%C3%A9 (451907f3bd484dd4827662e2a10e26a5@127.0.0.1) 1.03ms 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: 4e6b69ddac814a7bb288e8dc5ac97a87 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 (4e6b69ddac814a7bb288e8dc5ac97a87@127.0.0.1) 1.22ms 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: 8ae59b9d3f6043d9813b18e2e32657cf 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 (8ae59b9d3f6043d9813b18e2e32657cf@127.0.0.1) 1.21ms 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: 070c2cee1a314f768cf8dadae50acf27 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 (070c2cee1a314f768cf8dadae50acf27@127.0.0.1) 1.28ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 11d257852ec9439ebf3030576ab77eba DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/foo/bar (11d257852ec9439ebf3030576ab77eba@127.0.0.1) 1.05ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 72415be4d9c34c6eaad02b1242bb278b 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 (72415be4d9c34c6eaad02b1242bb278b@127.0.0.1) 1.19ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: f8056e29a62c4958b8601aae2789a655 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 (f8056e29a62c4958b8601aae2789a655@127.0.0.1) 1.19ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 020cda6bdaa844c6a09c5e21c8e83da6 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 (020cda6bdaa844c6a09c5e21c8e83da6@127.0.0.1) 1.23ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 1223859ca06a49b78c559064158a7903 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/foo (1223859ca06a49b78c559064158a7903@127.0.0.1) 1.84ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: f7396e59ee0b4cc9b9d7d608d691471f 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:43329', 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:43329", "User-Agent": "Tornado/6.3.3" } ERROR ServerApp:log.py:98 500 DELETE /a%40b/api/contents/foo/bar (f7396e59ee0b4cc9b9d7d608d691471f@127.0.0.1) 4.06ms referer=None ---------------------------- Captured log teardown ----------------------------- INFO ServerApp:serverapp.py:2572 Shutting down 1 extension DEBUG ServerApp:manager.py:369 jupyter_server_terminals | extension app 'jupyter_server_terminals' stopping DEBUG ServerApp:manager.py:371 jupyter_server_terminals | extension app 'jupyter_server_terminals' stopped __________________ test_delete_dirs[AsyncFileContentsManager] __________________ jp_fetch = .client_fetch at 0xffff8bdb27a0> contents = {'all': [[PosixPath('inroot.ipynb'), PosixPath('Directory with spaces in/inspace.ipynb'), PosixPath('unicodé/innonasci...nascii.ipynb'), PosixPath('foo/a.ipynb'), PosixPath('foo/b.ipynb'), PosixPath('foo/name with spaces.ipynb'), ...], ...} folders = ['', 'foo', 'unicodé', 'foo/bar', 'ordering', 'å b', ...] async def test_delete_dirs(jp_fetch, contents, folders): # Iterate over folders for name in sorted([*folders, "/"], key=len, reverse=True): r = await jp_fetch("api", "contents", name, method="GET") # Get JSON blobs for each content. listing = json.loads(r.body.decode())["content"] # Delete all content for model in listing: > await jp_fetch("api", "contents", model["path"], method="DELETE") tests/services/contents/test_api.py:679: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = None future = def __wakeup(self, future): try: > future.result() E tornado.httpclient.HTTPClientError: HTTP 500: Internal Server Error /usr/lib64/python3.11/asyncio/tasks.py:349: HTTPClientError ---------------------------- Captured stderr setup ----------------------------- [D 2024-03-27 21:03:13.943 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:43411/a%40b/?token=36c17ab207fe66e1fdc3d7e318189795218b54b0caf890e8 INFO ServerApp:serverapp.py:2792 http://127.0.0.1:43411/a%40b/?token=36c17ab207fe66e1fdc3d7e318189795218b54b0caf890e8 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:43411/a%40b/?token=36c17ab207fe66e1fdc3d7e318189795218b54b0caf890e8 http://127.0.0.1:43411/a%40b/?token=36c17ab207fe66e1fdc3d7e318189795218b54b0caf890e8 ------------------------------ 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: 2c634251345148c9be18e46f58c0b011 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/Directory%20with%20spaces%20in (2c634251345148c9be18e46f58c0b011@127.0.0.1) 2.16ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 8cf5638e0f5342188bdcdcbd259bfe27 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 (8cf5638e0f5342188bdcdcbd259bfe27@127.0.0.1) 2.23ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 2e6d0cda583b440792b4191d77ccad0c 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 (2e6d0cda583b440792b4191d77ccad0c@127.0.0.1) 1.91ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 267e04ed28394516a69b5fad42275fef 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 (267e04ed28394516a69b5fad42275fef@127.0.0.1) 1.95ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 776537ae9c2645f7bb14a0ae065b94e8 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/ordering (776537ae9c2645f7bb14a0ae065b94e8@127.0.0.1) 3.14ms 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: b4d9f9191748490ebd31143f12b1bce4 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 (b4d9f9191748490ebd31143f12b1bce4@127.0.0.1) 1.86ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 9adffdccfa144c5f901580f11cc54f80 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 (9adffdccfa144c5f901580f11cc54f80@127.0.0.1) 1.87ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 0ccd67b93e1e46219ed175ec440e93f8 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 (0ccd67b93e1e46219ed175ec440e93f8@127.0.0.1) 1.89ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 05c6fed37da14965bdf501a446079671 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 (05c6fed37da14965bdf501a446079671@127.0.0.1) 1.87ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: e2c1578accca46638098418cfc37b4a8 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 (e2c1578accca46638098418cfc37b4a8@127.0.0.1) 1.91ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 87e8f77ec4714c56b9ce82b6a748e6ad 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 (87e8f77ec4714c56b9ce82b6a748e6ad@127.0.0.1) 1.95ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 50df489e7362498fb814633c168af7e8 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 (50df489e7362498fb814633c168af7e8@127.0.0.1) 1.89ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: d71f30fffbc74d2e8a5b4563c27328d0 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 (d71f30fffbc74d2e8a5b4563c27328d0@127.0.0.1) 1.87ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 3fd130df92c44fc38bca1e0424b295e6 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 (3fd130df92c44fc38bca1e0424b295e6@127.0.0.1) 1.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: 469d8df98cd24951b4fb36ec7d1c45c3 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/unicod%C3%A9 (469d8df98cd24951b4fb36ec7d1c45c3@127.0.0.1) 1.91ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: b97977198f534fc39f46bd94e973d6da 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 (b97977198f534fc39f46bd94e973d6da@127.0.0.1) 1.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: 76a39401fee74c05be45f4d489e59a72 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 (76a39401fee74c05be45f4d489e59a72@127.0.0.1) 1.89ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 8bf34ad503b14f9c880a0fc9532be7f6 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 (8bf34ad503b14f9c880a0fc9532be7f6@127.0.0.1) 1.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: 5a4466122b93443f9c1b8d964448b031 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/foo/bar (5a4466122b93443f9c1b8d964448b031@127.0.0.1) 1.91ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: f93166f0b0b84d57b34981ae69af478e 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 (f93166f0b0b84d57b34981ae69af478e@127.0.0.1) 1.82ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: 368dd191dacd48bd82ad8c5120ddf4d0 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 (368dd191dacd48bd82ad8c5120ddf4d0@127.0.0.1) 1.90ms 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: e034803d551c4e2593831ccf0fce7d92 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 (e034803d551c4e2593831ccf0fce7d92@127.0.0.1) 1.94ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 INFO ServerApp:identity.py:478 Generating new user for token-authenticated request: cceadba2324246f4896a56b9c997c002 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/contents/foo (cceadba2324246f4896a56b9c997c002@127.0.0.1) 3.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: ab8294e9dc20487f9b2e100ed558e638 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:43411', 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:43411", "User-Agent": "Tornado/6.3.3" } ERROR ServerApp:log.py:98 500 DELETE /a%40b/api/contents/foo/bar (ab8294e9dc20487f9b2e100ed558e638@127.0.0.1) 4.78ms 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 0xffff8915ce00> contents = {'all': [[PosixPath('inroot.ipynb'), PosixPath('Directory with spaces in/inspace.ipynb'), PosixPath('unicodé/innonasci...nascii.ipynb'), PosixPath('foo/a.ipynb'), PosixPath('foo/b.ipynb'), PosixPath('foo/name with spaces.ipynb'), ...], ...} @pytest.mark.xfail(sys.platform == "win32", reason="Deleting non-empty dirs on Windows") async def test_delete_non_empty_dir(jp_fetch, contents): # Delete a folder > await jp_fetch("api", "contents", "å b", method="DELETE") tests/services/contents/test_api.py:689: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = None future = def __wakeup(self, future): try: > future.result() E tornado.httpclient.HTTPClientError: HTTP 500: Internal Server Error /usr/lib64/python3.11/asyncio/tasks.py:349: HTTPClientError ---------------------------- Captured stderr setup ----------------------------- [D 2024-03-27 21:03:14.174 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:39363/a%40b/?token=e5183dd3ba1bbde26ab58a44587e069227ce5df7669d344b INFO ServerApp:serverapp.py:2792 http://127.0.0.1:39363/a%40b/?token=e5183dd3ba1bbde26ab58a44587e069227ce5df7669d344b 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:39363/a%40b/?token=e5183dd3ba1bbde26ab58a44587e069227ce5df7669d344b http://127.0.0.1:39363/a%40b/?token=e5183dd3ba1bbde26ab58a44587e069227ce5df7669d344b ------------------------------ 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: 9efb48e8cbb64870b43d5b65d1e1ee6f 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:39363', 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:39363", "User-Agent": "Tornado/6.3.3" } ERROR ServerApp:log.py:98 500 DELETE /a%40b/api/contents/%C3%A5%20b (9efb48e8cbb64870b43d5b65d1e1ee6f@127.0.0.1) 4.23ms 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 0xffff8bc258a0> contents = {'all': [[PosixPath('inroot.ipynb'), PosixPath('Directory with spaces in/inspace.ipynb'), PosixPath('unicodé/innonasci...nascii.ipynb'), PosixPath('foo/a.ipynb'), PosixPath('foo/b.ipynb'), PosixPath('foo/name with spaces.ipynb'), ...], ...} @pytest.mark.xfail(sys.platform == "win32", reason="Deleting non-empty dirs on Windows") async def test_delete_non_empty_dir(jp_fetch, contents): # Delete a folder > await jp_fetch("api", "contents", "å b", method="DELETE") tests/services/contents/test_api.py:689: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = None future = def __wakeup(self, future): try: > future.result() E tornado.httpclient.HTTPClientError: HTTP 500: Internal Server Error /usr/lib64/python3.11/asyncio/tasks.py:349: HTTPClientError ---------------------------- Captured stderr setup ----------------------------- [D 2024-03-27 21:03:14.237 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:34233/a%40b/?token=ebe72ca61c6f755d8250b9285100fd6118aa31c992d75268 INFO ServerApp:serverapp.py:2792 http://127.0.0.1:34233/a%40b/?token=ebe72ca61c6f755d8250b9285100fd6118aa31c992d75268 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:34233/a%40b/?token=ebe72ca61c6f755d8250b9285100fd6118aa31c992d75268 http://127.0.0.1:34233/a%40b/?token=ebe72ca61c6f755d8250b9285100fd6118aa31c992d75268 ------------------------------ 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: cea0aa17284046219c8d39f9f1d59dbf 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:34233', 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:34233", "User-Agent": "Tornado/6.3.3" } ERROR ServerApp:log.py:98 500 DELETE /a%40b/api/contents/%C3%A5%20b (cea0aa17284046219c8d39f9f1d59dbf@127.0.0.1) 4.89ms referer=None ---------------------------- Captured log teardown ----------------------------- INFO ServerApp:serverapp.py:2572 Shutting down 1 extension DEBUG ServerApp:manager.py:369 jupyter_server_terminals | extension app 'jupyter_server_terminals' stopping DEBUG ServerApp:manager.py:371 jupyter_server_terminals | extension app 'jupyter_server_terminals' stopped =============================== warnings summary =============================== jupyter_server/base/handlers.py:22 /builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/base/handlers.py:22: DeprecationWarning: Jupyter is migrating its paths to use standard platformdirs given by the platformdirs library. To remove this warning and see the appropriate new directories, set the environment variable `JUPYTER_PLATFORM_DIRS=1` and then run `jupyter --paths`. The use of platformdirs will be the default in `jupyter_core` v6 from jupyter_core.paths import is_hidden tests/extension/test_app.py: 10 warnings /builddir/build/BUILD/jupyter_server-2.5.0/jupyter_server/serverapp.py:2370: ResourceWarning: unclosed self._find_http_port() Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/services/kernels/test_cull.py::test_cull_idle[jp_server_config1] /usr/lib/python3.11/site-packages/traitlets/traitlets.py:1776: ResourceWarning: unclosed for name, trait in traits.items(): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/services/sessions/test_api.py::test_modify_path[jp_server_config2] /usr/lib/python3.11/site-packages/pluggy/_manager.py:356: ResourceWarning: unclosed plugins_to_remove = [plug for plug in remove_plugins if hasattr(plug, name)] Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/services/sessions/test_api.py::test_modify_path[jp_server_config2] /usr/lib/python3.11/site-packages/pluggy/_manager.py:356: ResourceWarning: unclosed plugins_to_remove = [plug for plug in remove_plugins if hasattr(plug, name)] Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/services/sessions/test_api.py::test_restart_kernel[jp_server_config3] /usr/lib64/python3.11/weakref.py:136: ResourceWarning: unclosed o = self.data[key]() Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/services/sessions/test_api.py::test_restart_kernel[jp_server_config3] /usr/lib64/python3.11/weakref.py:136: ResourceWarning: unclosed o = self.data[key]() Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/services/sessions/test_api.py::test_restart_kernel[jp_server_config3] /usr/lib64/python3.11/weakref.py:136: ResourceWarning: unclosed o = self.data[key]() Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/services/sessions/test_api.py::test_restart_kernel[jp_server_config3] /usr/lib64/python3.11/weakref.py:136: ResourceWarning: unclosed o = self.data[key]() Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/services/sessions/test_api.py::test_restart_kernel[jp_server_config3] /usr/lib64/python3.11/weakref.py:136: ResourceWarning: unclosed o = self.data[key]() Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/services/sessions/test_api.py::test_restart_kernel[jp_server_config3] /usr/lib64/python3.11/weakref.py:136: ResourceWarning: unclosed o = self.data[key]() Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ============================= slowest 10 durations ============================= 12.11s call tests/test_terminal.py::test_culling 7.57s call tests/services/kernels/test_cull.py::test_cull_idle[jp_server_config0] 7.43s call tests/services/kernels/test_cull.py::test_cull_idle[jp_server_config1] 5.08s call tests/test_terminal.py::test_terminal_create_with_cwd 3.10s call tests/services/sessions/test_manager.py::test_pending_kernel 1.21s 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_config0] 1.11s teardown tests/services/sessions/test_api.py::test_restart_kernel[jp_server_config1] 1.11s teardown tests/services/sessions/test_api.py::test_restart_kernel[jp_server_config2] =========================== short test summary info ============================ SKIPPED [1] tests/test_terminal.py:160: Not yet working SKIPPED [1] tests/test_terminal.py:197: Not yet working SKIPPED [1] tests/nbconvert/test_handlers.py:48: Command 'pandoc' is not available SKIPPED [1] tests/nbconvert/test_handlers.py:77: Command 'pandoc' is not available SKIPPED [1] tests/nbconvert/test_handlers.py:90: Command 'pandoc' is not available SKIPPED [1] tests/nbconvert/test_handlers.py:104: Command 'pandoc' is not available SKIPPED [1] tests/nbconvert/test_handlers.py:117: Command 'pandoc' is not available SKIPPED [1] tests/nbconvert/test_handlers.py:136: Command 'pandoc' is not available SKIPPED [7] tests/conftest.py:37: Skipping this test because it's marked 'integration_test'. Run integration tests using the `--integration_tests` flag. FAILED tests/services/contents/test_api.py::test_delete_dirs[FileContentsManager] - tornado.httpclient.HTTPClientError: HTTP 500: Internal Server Error FAILED tests/services/contents/test_api.py::test_delete_dirs[AsyncFileContentsManager] - tornado.httpclient.HTTPClientError: HTTP 500: Internal Server Error FAILED tests/services/contents/test_api.py::test_delete_non_empty_dir[FileContentsManager] - tornado.httpclient.HTTPClientError: HTTP 500: Internal Server Error FAILED tests/services/contents/test_api.py::test_delete_non_empty_dir[AsyncFileContentsManager] - tornado.httpclient.HTTPClientError: HTTP 500: Internal Server Error ====== 4 failed, 871 passed, 15 skipped, 20 warnings in 160.96s (0:02:40) ====== 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.7h4XF2 (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.7h4XF2 (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 6d31f84f20754670a55342c180a06b3d -D /var/lib/mock/dist-an23-build-python3.11-370249-71428/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.e7sgp3rl:/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 6d31f84f20754670a55342c180a06b3d -D /var/lib/mock/dist-an23-build-python3.11-370249-71428/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.e7sgp3rl:/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