Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 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-ocs23-build-194608-13073/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['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'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-jupyter-server-2.10.0-2.ocs23.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-ocs23-build-194608-13073/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['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'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dlbcZk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jupyter_server-2.10.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/jupyter_server-2.10.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jupyter_server-2.10.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i '/"pre-commit"/d' pyproject.toml + sed -i '/"overrides.*"/d' pyproject.toml + sed -i '/from overrides import overrides/d' jupyter_server/services/kernels/kernelmanager.py + sed -i /@overrides/d jupyter_server/services/kernels/kernelmanager.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.24u7rX + umask 022 + cd /builddir/build/BUILD + cd jupyter_server-2.10.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -x test Import error: No module named 'toml' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-jupyter-server-2.10.0-2.ocs23.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-ocs23-build-194608-13073/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['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'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yaTNEU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jupyter_server-2.10.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/jupyter_server-2.10.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jupyter_server-2.10.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i '/"pre-commit"/d' pyproject.toml + sed -i '/"overrides.*"/d' pyproject.toml + sed -i '/from overrides import overrides/d' jupyter_server/services/kernels/kernelmanager.py + sed -i /@overrides/d jupyter_server/services/kernels/kernelmanager.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.0z0Q2v + umask 022 + cd /builddir/build/BUILD + cd jupyter_server-2.10.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -x test Handling hatchling >=1.11 from build-system.requires Requirement not satisfied: hatchling >=1.11 Exiting dependency generation pass: build backend + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-jupyter-server-2.10.0-2.ocs23.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-ocs23-build-194608-13073/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['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'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.42uzLG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jupyter_server-2.10.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/jupyter_server-2.10.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jupyter_server-2.10.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i '/"pre-commit"/d' pyproject.toml + sed -i '/"overrides.*"/d' pyproject.toml + sed -i '/from overrides import overrides/d' jupyter_server/services/kernels/kernelmanager.py + sed -i /@overrides/d jupyter_server/services/kernels/kernelmanager.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.RxLESd + umask 022 + cd /builddir/build/BUILD + cd jupyter_server-2.10.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -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 + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-jupyter-server-2.10.0-2.ocs23.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-ocs23-build-194608-13073/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['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'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.D9ka0r + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jupyter_server-2.10.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/jupyter_server-2.10.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jupyter_server-2.10.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i '/"pre-commit"/d' pyproject.toml + sed -i '/"overrides.*"/d' pyproject.toml + sed -i '/from overrides import overrides/d' jupyter_server/services/kernels/kernelmanager.py + sed -i /@overrides/d jupyter_server/services/kernels/kernelmanager.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.rteMUP + umask 022 + cd /builddir/build/BUILD + cd jupyter_server-2.10.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -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.9.0) Handling anyio>=3.1.0 from wheel metadata: Requires-Dist Requirement not satisfied: anyio>=3.1.0 Handling argon2-cffi from wheel metadata: Requires-Dist Requirement not satisfied: argon2-cffi Handling jinja2 from wheel metadata: Requires-Dist Requirement not satisfied: jinja2 Handling jupyter-client>=7.4.4 from wheel metadata: Requires-Dist Requirement not satisfied: jupyter-client>=7.4.4 Handling jupyter-core!=5.0.*,>=4.12 from wheel metadata: Requires-Dist Requirement not satisfied: jupyter-core!=5.0.*,>=4.12 Handling jupyter-events>=0.6.0 from wheel metadata: Requires-Dist Requirement not satisfied: jupyter-events>=0.6.0 Handling jupyter-server-terminals from wheel metadata: Requires-Dist Requirement not satisfied: jupyter-server-terminals Handling nbconvert>=6.4.4 from wheel metadata: Requires-Dist Requirement not satisfied: nbconvert>=6.4.4 Handling nbformat>=5.3.0 from wheel metadata: Requires-Dist Requirement not satisfied: nbformat>=5.3.0 Handling packaging from wheel metadata: Requires-Dist Requirement satisfied: packaging (installed: packaging 23.1) Handling prometheus-client from wheel metadata: Requires-Dist Requirement not satisfied: prometheus-client Handling pywinpty; os_name == 'nt' from wheel metadata: Requires-Dist Ignoring alien requirement: pywinpty; os_name == 'nt' Handling pyzmq>=24 from wheel metadata: Requires-Dist Requirement not satisfied: pyzmq>=24 Handling send2trash>=1.8.2 from wheel metadata: Requires-Dist Requirement not satisfied: send2trash>=1.8.2 Handling terminado>=0.8.3 from wheel metadata: Requires-Dist Requirement not satisfied: terminado>=0.8.3 Handling tornado>=6.2.0 from wheel metadata: Requires-Dist Requirement not satisfied: tornado>=6.2.0 Handling traitlets>=5.6.0 from wheel metadata: Requires-Dist Requirement not satisfied: traitlets>=5.6.0 Handling websocket-client from wheel metadata: Requires-Dist Requirement not satisfied: websocket-client Handling ipykernel; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: ipykernel; extra == 'docs' Handling jinja2; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: jinja2; extra == 'docs' Handling jupyter-client; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: jupyter-client; extra == 'docs' Handling jupyter-server; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: jupyter-server; extra == 'docs' Handling myst-parser; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: myst-parser; extra == 'docs' Handling nbformat; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: nbformat; extra == 'docs' Handling prometheus-client; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: prometheus-client; extra == 'docs' Handling pydata-sphinx-theme; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: pydata-sphinx-theme; extra == 'docs' Handling send2trash; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: send2trash; extra == 'docs' Handling sphinx-autodoc-typehints; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinx-autodoc-typehints; extra == 'docs' Handling sphinxcontrib-github-alt; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinxcontrib-github-alt; extra == 'docs' Handling sphinxcontrib-openapi>=0.8.0; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinxcontrib-openapi>=0.8.0; extra == 'docs' Handling sphinxcontrib-spelling; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinxcontrib-spelling; extra == 'docs' Handling sphinxemoji; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinxemoji; extra == 'docs' Handling tornado; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: tornado; extra == 'docs' Handling typing-extensions; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: typing-extensions; extra == 'docs' Handling flaky; extra == 'test' from wheel metadata: Requires-Dist Requirement not satisfied: flaky; extra == 'test' Handling ipykernel; extra == 'test' from wheel metadata: Requires-Dist Requirement not satisfied: ipykernel; extra == 'test' Handling pytest-console-scripts; extra == 'test' from wheel metadata: Requires-Dist Requirement not satisfied: pytest-console-scripts; extra == 'test' Handling pytest-jupyter[server]>=0.4; extra == 'test' from wheel metadata: Requires-Dist Requirement not satisfied: pytest-jupyter[server]>=0.4; extra == 'test' Handling pytest-timeout; extra == 'test' from wheel metadata: Requires-Dist Requirement not satisfied: pytest-timeout; extra == 'test' Handling pytest>=7.0; extra == 'test' from wheel metadata: Requires-Dist Requirement not satisfied: pytest>=7.0; extra == 'test' Handling requests; extra == 'test' from wheel metadata: Requires-Dist Requirement not satisfied: requests; extra == 'test' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-jupyter-server-2.10.0-2.ocs23.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-ocs23-build-194608-13073/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['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'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5YqmPv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jupyter_server-2.10.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/jupyter_server-2.10.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jupyter_server-2.10.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i '/"pre-commit"/d' pyproject.toml + sed -i '/"overrides.*"/d' pyproject.toml + sed -i '/from overrides import overrides/d' jupyter_server/services/kernels/kernelmanager.py + sed -i /@overrides/d jupyter_server/services/kernels/kernelmanager.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.d4Go0q + umask 022 + cd /builddir/build/BUILD + cd jupyter_server-2.10.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -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.9.0) Handling anyio>=3.1.0 from wheel metadata: Requires-Dist Requirement satisfied: anyio>=3.1.0 (installed: anyio 3.7.1) Handling argon2-cffi from wheel metadata: Requires-Dist Requirement satisfied: argon2-cffi (installed: argon2-cffi 23.1.0) Handling jinja2 from wheel metadata: Requires-Dist Requirement satisfied: jinja2 (installed: jinja2 3.1.4) Handling jupyter-client>=7.4.4 from wheel metadata: Requires-Dist Requirement satisfied: jupyter-client>=7.4.4 (installed: jupyter-client 8.6.1) Handling jupyter-core!=5.0.*,>=4.12 from wheel metadata: Requires-Dist Requirement satisfied: jupyter-core!=5.0.*,>=4.12 (installed: jupyter-core 5.7.2) Handling jupyter-events>=0.6.0 from wheel metadata: Requires-Dist Requirement satisfied: jupyter-events>=0.6.0 (installed: jupyter-events 0.6.3) Handling jupyter-server-terminals from wheel metadata: Requires-Dist Requirement satisfied: jupyter-server-terminals (installed: jupyter-server-terminals 0.5.3) Handling nbconvert>=6.4.4 from wheel metadata: Requires-Dist Requirement satisfied: nbconvert>=6.4.4 (installed: nbconvert 7.16.4) Handling nbformat>=5.3.0 from wheel metadata: Requires-Dist Requirement satisfied: nbformat>=5.3.0 (installed: nbformat 5.9.2) Handling packaging from wheel metadata: Requires-Dist Requirement satisfied: packaging (installed: packaging 23.1) Handling prometheus-client from wheel metadata: Requires-Dist Requirement satisfied: prometheus-client (installed: prometheus-client 0.17.1) Handling pywinpty; os_name == 'nt' from wheel metadata: Requires-Dist Ignoring alien requirement: pywinpty; os_name == 'nt' Handling pyzmq>=24 from wheel metadata: Requires-Dist Requirement satisfied: pyzmq>=24 (installed: pyzmq 25.1.1) Handling send2trash>=1.8.2 from wheel metadata: Requires-Dist Requirement satisfied: send2trash>=1.8.2 (installed: send2trash 1.8.2) Handling terminado>=0.8.3 from wheel metadata: Requires-Dist Requirement satisfied: terminado>=0.8.3 (installed: terminado 0.18.0) Handling tornado>=6.2.0 from wheel metadata: Requires-Dist Requirement satisfied: tornado>=6.2.0 (installed: tornado 6.3.3) Handling traitlets>=5.6.0 from wheel metadata: Requires-Dist Requirement satisfied: traitlets>=5.6.0 (installed: traitlets 5.13.0) Handling websocket-client from wheel metadata: Requires-Dist Requirement satisfied: websocket-client (installed: websocket-client 1.6.3) Handling ipykernel; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: ipykernel; extra == 'docs' Handling jinja2; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: jinja2; extra == 'docs' Handling jupyter-client; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: jupyter-client; extra == 'docs' Handling jupyter-server; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: jupyter-server; extra == 'docs' Handling myst-parser; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: myst-parser; extra == 'docs' Handling nbformat; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: nbformat; extra == 'docs' Handling prometheus-client; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: prometheus-client; extra == 'docs' Handling pydata-sphinx-theme; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: pydata-sphinx-theme; extra == 'docs' Handling send2trash; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: send2trash; extra == 'docs' Handling sphinx-autodoc-typehints; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinx-autodoc-typehints; extra == 'docs' Handling sphinxcontrib-github-alt; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinxcontrib-github-alt; extra == 'docs' Handling sphinxcontrib-openapi>=0.8.0; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinxcontrib-openapi>=0.8.0; extra == 'docs' Handling sphinxcontrib-spelling; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinxcontrib-spelling; extra == 'docs' Handling sphinxemoji; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinxemoji; extra == 'docs' Handling tornado; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: tornado; extra == 'docs' Handling typing-extensions; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: typing-extensions; extra == 'docs' Handling flaky; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: flaky; extra == 'test' (installed: flaky 3.7.0) Handling ipykernel; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: ipykernel; extra == 'test' (installed: ipykernel 6.29.3) Handling pytest-console-scripts; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: pytest-console-scripts; extra == 'test' (installed: pytest-console-scripts 1.4.1) Handling pytest-jupyter[server]>=0.4; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: pytest-jupyter[server]>=0.4; extra == 'test' (installed: pytest-jupyter 0.10.1) (extras are currently not checked) Handling pytest-timeout; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: pytest-timeout; extra == 'test' (installed: pytest-timeout 2.1.0) Handling pytest>=7.0; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: pytest>=7.0; extra == 'test' (installed: pytest 7.4.0) Handling requests; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: requests; extra == 'test' (installed: requests 2.28.2) + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-jupyter-server-2.10.0-2.ocs23.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-ocs23-build-194608-13073/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['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'} and shell False Building target platforms: noarch Building for target noarch Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.vV02Vp + umask 022 + cd /builddir/build/BUILD + cd jupyter_server-2.10.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv jupyter_server-2.10.0.dist-info/ removed 'jupyter_server-2.10.0.dist-info/METADATA' removed directory 'jupyter_server-2.10.0.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -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.9.0) Handling anyio>=3.1.0 from wheel metadata: Requires-Dist Requirement satisfied: anyio>=3.1.0 (installed: anyio 3.7.1) Handling argon2-cffi from wheel metadata: Requires-Dist Requirement satisfied: argon2-cffi (installed: argon2-cffi 23.1.0) Handling jinja2 from wheel metadata: Requires-Dist Requirement satisfied: jinja2 (installed: jinja2 3.1.4) Handling jupyter-client>=7.4.4 from wheel metadata: Requires-Dist Requirement satisfied: jupyter-client>=7.4.4 (installed: jupyter-client 8.6.1) Handling jupyter-core!=5.0.*,>=4.12 from wheel metadata: Requires-Dist Requirement satisfied: jupyter-core!=5.0.*,>=4.12 (installed: jupyter-core 5.7.2) Handling jupyter-events>=0.6.0 from wheel metadata: Requires-Dist Requirement satisfied: jupyter-events>=0.6.0 (installed: jupyter-events 0.6.3) Handling jupyter-server-terminals from wheel metadata: Requires-Dist Requirement satisfied: jupyter-server-terminals (installed: jupyter-server-terminals 0.5.3) Handling nbconvert>=6.4.4 from wheel metadata: Requires-Dist Requirement satisfied: nbconvert>=6.4.4 (installed: nbconvert 7.16.4) Handling nbformat>=5.3.0 from wheel metadata: Requires-Dist Requirement satisfied: nbformat>=5.3.0 (installed: nbformat 5.9.2) Handling packaging from wheel metadata: Requires-Dist Requirement satisfied: packaging (installed: packaging 23.1) Handling prometheus-client from wheel metadata: Requires-Dist Requirement satisfied: prometheus-client (installed: prometheus-client 0.17.1) Handling pywinpty; os_name == 'nt' from wheel metadata: Requires-Dist Ignoring alien requirement: pywinpty; os_name == 'nt' Handling pyzmq>=24 from wheel metadata: Requires-Dist Requirement satisfied: pyzmq>=24 (installed: pyzmq 25.1.1) Handling send2trash>=1.8.2 from wheel metadata: Requires-Dist Requirement satisfied: send2trash>=1.8.2 (installed: send2trash 1.8.2) Handling terminado>=0.8.3 from wheel metadata: Requires-Dist Requirement satisfied: terminado>=0.8.3 (installed: terminado 0.18.0) Handling tornado>=6.2.0 from wheel metadata: Requires-Dist Requirement satisfied: tornado>=6.2.0 (installed: tornado 6.3.3) Handling traitlets>=5.6.0 from wheel metadata: Requires-Dist Requirement satisfied: traitlets>=5.6.0 (installed: traitlets 5.13.0) Handling websocket-client from wheel metadata: Requires-Dist Requirement satisfied: websocket-client (installed: websocket-client 1.6.3) Handling ipykernel; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: ipykernel; extra == 'docs' Handling jinja2; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: jinja2; extra == 'docs' Handling jupyter-client; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: jupyter-client; extra == 'docs' Handling jupyter-server; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: jupyter-server; extra == 'docs' Handling myst-parser; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: myst-parser; extra == 'docs' Handling nbformat; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: nbformat; extra == 'docs' Handling prometheus-client; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: prometheus-client; extra == 'docs' Handling pydata-sphinx-theme; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: pydata-sphinx-theme; extra == 'docs' Handling send2trash; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: send2trash; extra == 'docs' Handling sphinx-autodoc-typehints; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinx-autodoc-typehints; extra == 'docs' Handling sphinxcontrib-github-alt; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinxcontrib-github-alt; extra == 'docs' Handling sphinxcontrib-openapi>=0.8.0; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinxcontrib-openapi>=0.8.0; extra == 'docs' Handling sphinxcontrib-spelling; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinxcontrib-spelling; extra == 'docs' Handling sphinxemoji; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinxemoji; extra == 'docs' Handling tornado; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: tornado; extra == 'docs' Handling typing-extensions; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: typing-extensions; extra == 'docs' Handling flaky; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: flaky; extra == 'test' (installed: flaky 3.7.0) Handling ipykernel; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: ipykernel; extra == 'test' (installed: ipykernel 6.29.3) Handling pytest-console-scripts; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: pytest-console-scripts; extra == 'test' (installed: pytest-console-scripts 1.4.1) Handling pytest-jupyter[server]>=0.4; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: pytest-jupyter[server]>=0.4; extra == 'test' (installed: pytest-jupyter 0.10.1) (extras are currently not checked) Handling pytest-timeout; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: pytest-timeout; extra == 'test' (installed: pytest-timeout 2.1.0) Handling pytest>=7.0; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: pytest>=7.0; extra == 'test' (installed: pytest 7.4.0) Handling requests; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: requests; extra == 'test' (installed: requests 2.28.2) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bAwNqT + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -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.10.0 + mkdir -p /builddir/build/BUILD/jupyter_server-2.10.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + TMPDIR=/builddir/build/BUILD/jupyter_server-2.10.0/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/jupyter_server-2.10.0/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/jupyter_server-2.10.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.10.0-py3-none-any.whl size=377851 sha256=d0bcc1219599ff69cc29e05cadfaf6bb5b8f6c0bec3b077726fa9e749554cf74 Stored in directory: /builddir/.cache/pip/wheels/d3/73/b5/72b93dd20527b5b66ba620ac74ef134062cdbd4c78d756558a Successfully built jupyter_server + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HIPkmr + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-jupyter-server-2.10.0-2.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-jupyter-server-2.10.0-2.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/python-jupyter-server-2.10.0-2.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-jupyter-server-2.10.0-2.ocs23.noarch + cd jupyter_server-2.10.0 ++ ls /builddir/build/BUILD/jupyter_server-2.10.0/pyproject-wheeldir/jupyter_server-2.10.0-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=jupyter_server==2.10.0 + TMPDIR=/builddir/build/BUILD/jupyter_server-2.10.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-jupyter-server-2.10.0-2.ocs23.noarch --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.10.0/pyproject-wheeldir jupyter_server==2.10.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.10.0/pyproject-wheeldir Processing ./pyproject-wheeldir/jupyter_server-2.10.0-py3-none-any.whl Installing collected packages: jupyter_server Creating /builddir/build/BUILDROOT/python-jupyter-server-2.10.0-2.ocs23.noarch/usr/bin changing mode of /builddir/build/BUILDROOT/python-jupyter-server-2.10.0-2.ocs23.noarch/usr/bin/jupyter-server to 755 Successfully installed jupyter_server-2.10.0 + '[' -d /builddir/build/BUILDROOT/python-jupyter-server-2.10.0-2.ocs23.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.10.0-2.ocs23.noarch/usr/bin/jupyter-server /builddir/build/BUILDROOT/python-jupyter-server-2.10.0-2.ocs23.noarch/usr/bin/jupyter-server: updating + rm -rfv /builddir/build/BUILDROOT/python-jupyter-server-2.10.0-2.ocs23.noarch/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-jupyter-server-2.10.0-2.ocs23.noarch/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/python-jupyter-server-2.10.0-2.ocs23.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-jupyter-server-2.10.0-2.ocs23.noarch/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-jupyter-server-2.10.0-2.ocs23.noarch/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-jupyter-server-2.10.0-2.ocs23.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/jupyter_server-2.10.0.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-jupyter-server-2.10.0-2.ocs23.noarch/usr/lib/python3.11/site-packages/jupyter_server-2.10.0.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/OpenCloudOS + /usr/bin/python3 -B /usr/lib/rpm/OpenCloudOS/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-jupyter-server-2.10.0-2.ocs23.noarch --record /builddir/build/BUILDROOT/python-jupyter-server-2.10.0-2.ocs23.noarch/usr/lib/python3.11/site-packages/jupyter_server-2.10.0.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-jupyter-server-2.10.0-2.ocs23.noarch/usr/lib/python3.11/site-packages/jupyter_server-2.10.0.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-jupyter-server-2.10.0-2.ocs23.noarch/usr/lib/python3.11/site-packages/jupyter_server-2.10.0.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-jupyter-server-2.10.0-2.ocs23.noarch/usr/lib/python3.11/site-packages/jupyter_server-2.10.0.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-jupyter-server-2.10.0-2.ocs23.noarch/usr/lib/python3.11/site-packages/jupyter_server-2.10.0.dist-info/REQUESTED' + /usr/bin/python3 /usr/lib/rpm/OpenCloudOS/pyproject_save_files.py --output-files /builddir/build/BUILD/pyproject-files --output-modules /builddir/build/BUILD/pyproject-modules --buildroot /builddir/build/BUILDROOT/python-jupyter-server-2.10.0-2.ocs23.noarch --sitelib /usr/lib/python3.11/site-packages --sitearch /usr/lib64/python3.11/site-packages --python-version 3.11 --pyproject-record /builddir/build/BUILD/pyproject-record --prefix /usr jupyter_server + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 2.10.0-2.ocs23 --unique-debug-suffix -2.10.0-2.ocs23.noarch --unique-debug-src-base python-jupyter-server-2.10.0-2.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/jupyter_server-2.10.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-jupyter-server-2.10.0-2.ocs23.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.aB0mrZ + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -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.10.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + PATH=/builddir/build/BUILDROOT/python-jupyter-server-2.10.0-2.ocs23.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-jupyter-server-2.10.0-2.ocs23.noarch/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python-jupyter-server-2.10.0-2.ocs23.noarch/usr/lib/python3.11/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/jupyter_server-2.10.0/.pyproject-builddir' + /usr/bin/pytest -W 'always:unclosed jp_base_url = '/a%40b/' jp_fetch = .client_fetch at 0x7f8cad89a340> jp_ws_fetch = .client_fetch at 0x7f8cad879300> session_is_ready = ._ at 0x7f8cad879440> @pytest.mark.timeout(TEST_TIMEOUT) async def test_restart_kernel(session_client, jp_base_url, jp_fetch, jp_ws_fetch, session_is_ready): # Create a session. resp = await session_client.create("foo/nb1.ipynb") assert resp.code == 201 new_session = j(resp) assert "id" in new_session assert new_session["path"] == "foo/nb1.ipynb" assert new_session["type"] == "notebook" assert resp.headers["Location"] == url_path_join( jp_base_url, "/api/sessions/", new_session["id"] ) sid = new_session["id"] await session_is_ready(sid)  kid = new_session["kernel"]["id"]  # Get kernel info r = await jp_fetch("api", "kernels", kid, method="GET") model = json.loads(r.body.decode()) assert model["connections"] == 0  # Open a websocket connection. ws = await jp_ws_fetch("api", "kernels", kid, "channels")  # Test that it was opened. r = await jp_fetch("api", "kernels", kid, method="GET") model = json.loads(r.body.decode()) assert model["connections"] == 1  # Restart kernel r = await jp_fetch( "api", "kernels", kid, "restart", method="POST", allow_nonstandard_methods=True ) restarted_kernel = json.loads(r.body.decode()) assert restarted_kernel["id"] == kid  # Close/open websocket ws.close() # give it some time to close on the other side: for _ in range(10): r = await jp_fetch("api", "kernels", kid, method="GET") model = json.loads(r.body.decode()) if model["connections"] > 0: time.sleep(0.1) else: break  r = await jp_fetch("api", "kernels", kid, method="GET") model = json.loads(r.body.decode()) > assert model["connections"] == 0 E assert 1 == 0 _ = 9 jp_base_url = '/a%40b/' jp_fetch = .client_fetch at 0x7f8cad89a340> jp_ws_fetch = .client_fetch at 0x7f8cad879300> kid = '2746180a-8334-47ae-aff0-6b06c37ba1d9' model = {'connections': 1, 'execution_state': 'idle', 'id': '2746180a-8334-47ae-aff0-6b06c37ba1d9', 'last_activity': '2024-06-28T06:26:08.315702Z', ...} new_session = {'id': '7cf8e406-db69-41e0-82f3-a0bb2dd2d933', 'kernel': {'connections': 0, 'execution_state': 'starting', 'id': '2746...activity': '2024-06-28T06:26:07.181787Z', ...}, 'name': None, 'notebook': {'name': None, 'path': 'foo/nb1.ipynb'}, ...} r = HTTPResponse(_body=b'{"id": "2746180a-8334-47ae-aff0-6b06c37ba1d9", "name": "python3", "last_activity": "2024-06-28T06...nt.HTTPRequest object at 0x7f8cadc7c6d0>,request_time=0.0016019344329833984,start_time=1719555968.8244574,time_info={}) resp = HTTPResponse(_body=b'{"id": "7cf8e406-db69-41e0-82f3-a0bb2dd2d933", "path": "foo/nb1.ipynb", "name": null, "type": "no...ient.HTTPRequest object at 0x7f8cadd37f10>,request_time=0.01615166664123535,start_time=1719555967.1663105,time_info={}) restarted_kernel = {'connections': 1, 'execution_state': 'starting', 'id': '2746180a-8334-47ae-aff0-6b06c37ba1d9', 'last_activity': '2024-06-28T06:26:07.181787Z', ...} session_client = session_is_ready = ._ at 0x7f8cad879440> sid = '7cf8e406-db69-41e0-82f3-a0bb2dd2d933' ws = tests/services/sessions/test_api.py:559: AssertionError ---------------------------- Captured stderr setup ----------------------------- [D 2024-06-28 14:26:07.149 ServerApp] Config changed: {'ServerApp': {'kernel_manager_class': 'jupyter_server.services.kernels.kernelmanager.MappingKernelManager', 'jpserver_extensions': {'jupyter_server_terminals': True}}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} ------------------------------ Captured log setup ------------------------------ DEBUG ServerApp:application.py:457 Config changed: {'ServerApp': {'kernel_manager_class': 'jupyter_server.services.kernels.kernelmanager.MappingKernelManager', 'jpserver_extensions': {'jupyter_server_terminals': True}}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} DEBUG ServerApp:application.py:194 Searching ['/tmp/pytest-of-mockbuild/pytest-0/test_restart_kernel_jp_server_0/config', '/tmp/pytest-of-mockbuild/pytest-0/test_restart_kernel_jp_server_0/env/etc/jupyter', '/tmp/pytest-of-mockbuild/pytest-0/test_restart_kernel_jp_server_0/etc/jupyter'] for config files DEBUG ServerApp:application.py:908 Looking for jupyter_config in /tmp/pytest-of-mockbuild/pytest-0/test_restart_kernel_jp_server_0/etc/jupyter DEBUG ServerApp:application.py:908 Looking for jupyter_config in /tmp/pytest-of-mockbuild/pytest-0/test_restart_kernel_jp_server_0/env/etc/jupyter DEBUG ServerApp:application.py:908 Looking for jupyter_config in /tmp/pytest-of-mockbuild/pytest-0/test_restart_kernel_jp_server_0/config DEBUG ServerApp:application.py:457 Config changed: {'ServerApp': {'kernel_manager_class': 'jupyter_server.services.kernels.kernelmanager.MappingKernelManager', 'jpserver_extensions': {'jupyter_server_terminals': True}}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} DEBUG ServerApp:application.py:908 Looking for jupyter_server_config in /tmp/pytest-of-mockbuild/pytest-0/test_restart_kernel_jp_server_0/etc/jupyter DEBUG ServerApp:application.py:908 Looking for jupyter_server_config in /tmp/pytest-of-mockbuild/pytest-0/test_restart_kernel_jp_server_0/env/etc/jupyter DEBUG ServerApp:application.py:908 Looking for jupyter_server_config in /tmp/pytest-of-mockbuild/pytest-0/test_restart_kernel_jp_server_0/config DEBUG ServerApp:application.py:457 Config changed: {'ServerApp': {'kernel_manager_class': 'jupyter_server.services.kernels.kernelmanager.MappingKernelManager', 'jpserver_extensions': {'jupyter_server_terminals': True}}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} DEBUG ServerApp:application.py:457 Config changed: {'ServerApp': {'kernel_manager_class': 'jupyter_server.services.kernels.kernelmanager.MappingKernelManager', 'jpserver_extensions': {'jupyter_server_terminals': True}}, 'NotebookNotary': {'db_file': ':memory:'}, 'IdentityProvider': {'token': }} INFO traitlets:utils.py:79 Package jupyter_server_terminals took 0.0000s to import INFO ServerApp:serverapp.py:2851 Serving notebooks from local directory: /tmp/pytest-of-mockbuild/pytest-0/test_restart_kernel_jp_server_0/root_dir INFO ServerApp:serverapp.py:2851 Jupyter Server 2.10.0 is running at: INFO ServerApp:serverapp.py:2851 http://localhost:36867/a%40b/?token=f542ef3cfb7a4ee103fe8a7d419413d7b4714f819f903211 INFO ServerApp:serverapp.py:2851 http://127.0.0.1:36867/a%40b/?token=f542ef3cfb7a4ee103fe8a7d419413d7b4714f819f903211 INFO ServerApp:serverapp.py:2852 Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). CRITICAL ServerApp:serverapp.py:2914 To access the server, open this file in a browser: file:///tmp/pytest-of-mockbuild/pytest-0/test_restart_kernel_jp_server_0/runtime/jpserver-4016334-open.html Or copy and paste one of these URLs: http://localhost:36867/a%40b/?token=f542ef3cfb7a4ee103fe8a7d419413d7b4714f819f903211 http://127.0.0.1:36867/a%40b/?token=f542ef3cfb7a4ee103fe8a7d419413d7b4714f819f903211 ----------------------------- Captured stderr call ----------------------------- [IPKernelApp] WARNING | debugpy_stream undefined, debugging will not be enabled [IPKernelApp] WARNING | debugpy_stream undefined, debugging will not be enabled ------------------------------ Captured log call ------------------------------- DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 DEBUG ServerApp:identity.py:478 Generating new user for token-authenticated request: 636fcb5e412f4a2aaa47815eda2daa96 DEBUG ServerApp:handlers.py:81 No kernel specified, using default kernel DEBUG ServerApp:fileio.py:256 Reading path from disk: foo/nb1.ipynb DEBUG ServerApp:factory.py:95 Instantiating kernel 'Python 3 (ipykernel)' with kernel provisioner: local-provisioner DEBUG ServerApp:manager.py:438 Starting kernel: ['/usr/bin/python3', '-m', 'ipykernel_launcher', '-f', '/tmp/pytest-of-mockbuild/pytest-0/test_restart_kernel_jp_server_0/runtime/kernel-2746180a-8334-47ae-aff0-6b06c37ba1d9.json'] DEBUG ServerApp:connect.py:653 Connecting to: tcp://127.0.0.1:52889 DEBUG ServerApp:connect.py:653 Connecting to: tcp://127.0.0.1:43651 INFO ServerApp:kernelmanager.py:243 Kernel started: 2746180a-8334-47ae-aff0-6b06c37ba1d9 DEBUG ServerApp:kernelmanager.py:244 Kernel args: {'kernel_name': None, 'env': {'PATH': '/builddir/build/BUILDROOT/python-jupyter-server-2.10.0-2.ocs23.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin', '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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection', 'PYTEST_ADDOPTS': ' --ignore=/builddir/build/BUILD/jupyter_server-2.10.0/.pyproject-builddir', 'PYTHONDONTWRITEBYTECODE': '1', 'PYTHONPATH': '/builddir/build/BUILD/jupyter_server-2.10.0:/builddir/build/BUILD/jupyter_server-2.10.0/tests/namespace-package-test/test_namespace:/builddir/build/BUILD/jupyter_server-2.10.0:/builddir/build/BUILD/jupyter_server-2.10.0/tests/base:/builddir/build/BUILD/jupyter_server-2.10.0:/usr/bin:/builddir/build/BUILDROOT/python-jupyter-server-2.10.0-2.ocs23.noarch/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python-jupyter-server-2.10.0-2.ocs23.noarch/usr/lib/python3.11/site-packages:/usr/lib64/python311.zip:/usr/lib64/python3.11:/usr/lib64/python3.11/lib-dynload:/usr/lib64/python3.11/site-packages:/usr/lib/python3.11/site-packages', 'LDFLAGS': '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1', 'SHELL': '/bin/bash', 'RPM_SOURCE_DIR': '/builddir/build/SOURCES', 'HISTCONTROL': 'ignoredups', 'PKG_CONFIG_PATH': ':/usr/lib/pkgconfig:/usr/share/pkgconfig', 'HOSTNAME': 'builder1.x64.stream.opencloudos.tech', 'HISTSIZE': '1000', 'FFLAGS': '-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules', 'PWD': '/builddir/build/BUILD/jupyter_server-2.10.0', 'LOGNAME': 'mockbuild', 'CXX': 'g++', '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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection', 'RPM_ARCH': 'noarch', 'HOME': '/tmp/pytest-of-mockbuild/pytest-0/test_restart_kernel_jp_server_0/home', 'LANG': 'C', 'RPM_LD_FLAGS': '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'RPM_PACKAGE_RELEASE': '2.ocs23', 'RPM_OS': 'linux', 'LT_SYS_LIBRARY_PATH': '/usr/lib:', 'FCFLAGS': '-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules', 'TERM': 'vt100', 'LESSOPEN': '||/usr/bin/lesspipe.sh %s', 'USER': 'mockbuild', 'SHLVL': '1', 'RPM_BUILD_DIR': '/builddir/build/BUILD', 'RPM_OPT_FLAGS': '-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection', 'RPM_DOC_DIR': '/usr/share/doc', 'RPM_PACKAGE_VERSION': '2.10.0', 'which_declare': 'declare -f', 'CONFIG_SITE': 'NONE', 'CC': 'gcc', 'MAIL': '/var/spool/mail/mockbuild', 'RPM_BUILD_NCPUS': '32', 'RPM_PACKAGE_NAME': 'python-jupyter-server', 'RPM_BUILD_ROOT': '/builddir/build/BUILDROOT/python-jupyter-server-2.10.0-2.ocs23.noarch', 'OLDPWD': '/builddir/build/BUILD', 'BASH_FUNC_which%%': '() { ( alias;\n eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@\n}', '_': '/usr/bin/pytest', 'LC_CTYPE': 'C.UTF-8', 'PYWINPTY_BACKEND': '1', 'KERNEL_LAUNCH_TIMEOUT': '90', 'KERNEL_USERNAME': 'alice', 'PYTEST_CURRENT_TEST': 'tests/services/sessions/test_api.py::test_restart_kernel[jp_server_config0] (call)', 'JUPYTER_CONFIG_DIR': '/tmp/pytest-of-mockbuild/pytest-0/test_restart_kernel_jp_server_0/config', 'JUPYTER_DATA_DIR': '/tmp/pytest-of-mockbuild/pytest-0/test_restart_kernel_jp_server_0/data', 'JUPYTER_RUNTIME_DIR': '/tmp/pytest-of-mockbuild/pytest-0/test_restart_kernel_jp_server_0/runtime', 'JPY_SESSION_NAME': 'foo/nb1.ipynb'}, 'cwd': '/tmp/pytest-of-mockbuild/pytest-0/test_restart_kernel_jp_server_0/root_dir/foo'} DEBUG ServerApp:log.py:98 201 POST /a%40b/api/sessions (636fcb5e412f4a2aaa47815eda2daa96@127.0.0.1) 14.84ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 DEBUG ServerApp:identity.py:478 Generating new user for token-authenticated request: 0f36e460b654400986f5d61c0673dfe3 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/kernels/2746180a-8334-47ae-aff0-6b06c37ba1d9 (0f36e460b654400986f5d61c0673dfe3@127.0.0.1) 0.50ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 DEBUG ServerApp:identity.py:478 Generating new user for token-authenticated request: 0922a630c91145fda28b3418d44aedb4 WARNING ServerApp:websocket.py:55 No session ID specified DEBUG ServerApp:channels.py:580 Requesting kernel info from 2746180a-8334-47ae-aff0-6b06c37ba1d9 DEBUG ServerApp:connect.py:653 Connecting to: tcp://127.0.0.1:34195 DEBUG ServerApp:channels.py:610 Received kernel info: {'status': 'ok', 'protocol_version': '5.3', 'implementation': 'ipython', 'implementation_version': '8.24.0', 'language_info': {'name': 'python', 'version': '3.11.6', 'mimetype': 'text/x-python', 'codemirror_mode': {'name': 'ipython', 'version': 3}, 'pygments_lexer': 'ipython3', 'nbconvert_exporter': 'python', 'file_extension': '.py'}, 'banner': "Python 3.11.6 (main, Jun 19 2024, 15:03:53) [GCC 12.3.1 20230912 (OpenCloudOS 12.3.1.2-1)]\nType 'copyright', 'credits' or 'license' for more information\nIPython 8.24.0 -- An enhanced Interactive Python. Type '?' for help.\n", 'help_links': [{'text': 'Python Reference', 'url': 'https://docs.python.org/3.11'}, {'text': 'IPython Reference', 'url': 'https://ipython.org/documentation.html'}, {'text': 'NumPy Reference', 'url': 'https://docs.scipy.org/doc/numpy/reference/'}, {'text': 'SciPy Reference', 'url': 'https://docs.scipy.org/doc/scipy/reference/'}, {'text': 'Matplotlib Reference', 'url': 'https://matplotlib.org/contents.html'}, {'text': 'SymPy Reference', 'url': 'http://docs.sympy.org/latest/index.html'}, {'text': 'pandas Reference', 'url': 'https://pandas.pydata.org/pandas-docs/stable/'}]} DEBUG ServerApp:log.py:98 101 GET /a%40b/api/kernels/2746180a-8334-47ae-aff0-6b06c37ba1d9/channels (0922a630c91145fda28b3418d44aedb4@127.0.0.1) 388.26ms DEBUG ServerApp:websocket.py:89 Opening websocket /a%40b/api/kernels/2746180a-8334-47ae-aff0-6b06c37ba1d9/channels INFO ServerApp:websocket.py:73 Connecting to kernel 2746180a-8334-47ae-aff0-6b06c37ba1d9. DEBUG ServerApp:kernelmanager.py:373 Getting buffer for 2746180a-8334-47ae-aff0-6b06c37ba1d9 DEBUG ServerApp:connect.py:653 Connecting to: tcp://127.0.0.1:43651 DEBUG ServerApp:connect.py:653 Connecting to: tcp://127.0.0.1:34195 DEBUG ServerApp:connect.py:653 Connecting to: tcp://127.0.0.1:52889 DEBUG ServerApp:connect.py:653 Connecting to: tcp://127.0.0.1:56149 DEBUG ServerApp:connect.py:653 Connecting to: tcp://127.0.0.1:34195 DEBUG ServerApp:connect.py:653 Connecting to: tcp://127.0.0.1:52889 DEBUG ServerApp:channels.py:260 Nudge: attempt 1 on kernel 2746180a-8334-47ae-aff0-6b06c37ba1d9 DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 DEBUG ServerApp:identity.py:478 Generating new user for token-authenticated request: c5d14dba8ace4f2fa1dd1f4e40a26799 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/kernels/2746180a-8334-47ae-aff0-6b06c37ba1d9 (c5d14dba8ace4f2fa1dd1f4e40a26799@127.0.0.1) 0.60ms DEBUG ServerApp:channels.py:225 Nudge: IOPub received: 2746180a-8334-47ae-aff0-6b06c37ba1d9 DEBUG ServerApp:channels.py:228 Nudge: resolving iopub future: 2746180a-8334-47ae-aff0-6b06c37ba1d9 DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 DEBUG ServerApp:identity.py:478 Generating new user for token-authenticated request: 87bcc86a8f0746eba01cf45149d8ebe8 DEBUG ServerApp:channels.py:211 Nudge: shell info reply received: 2746180a-8334-47ae-aff0-6b06c37ba1d9 DEBUG ServerApp:channels.py:213 Nudge: resolving shell future: 2746180a-8334-47ae-aff0-6b06c37ba1d9 DEBUG ServerApp:channels.py:218 Nudge: control info reply received: 2746180a-8334-47ae-aff0-6b06c37ba1d9 DEBUG ServerApp:manager.py:438 Starting kernel: ['/usr/bin/python3', '-m', 'ipykernel_launcher', '-f', '/tmp/pytest-of-mockbuild/pytest-0/test_restart_kernel_jp_server_0/runtime/kernel-2746180a-8334-47ae-aff0-6b06c37ba1d9.json'] DEBUG ServerApp:connect.py:653 Connecting to: tcp://127.0.0.1:52889 INFO ServerApp:multikernelmanager.py:436 Kernel restarted: 2746180a-8334-47ae-aff0-6b06c37ba1d9 DEBUG ServerApp:connect.py:653 Connecting to: tcp://127.0.0.1:34195 DEBUG ServerApp:log.py:98 200 POST /a%40b/api/kernels/2746180a-8334-47ae-aff0-6b06c37ba1d9/restart (87bcc86a8f0746eba01cf45149d8ebe8@127.0.0.1) 223.14ms ERROR ServerApp:web.py:1871 Uncaught exception GET /a%40b/api/kernels/2746180a-8334-47ae-aff0-6b06c37ba1d9/channels (127.0.0.1) HTTPServerRequest(protocol='http', host='localhost:36867', method='GET', uri='/a%40b/api/kernels/2746180a-8334-47ae-aff0-6b06c37ba1d9/channels', version='HTTP/1.1', remote_ip='127.0.0.1') 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.10.0/jupyter_server/services/kernels/websocket.py", line 65, in get await super().get(kernel_id=kernel_id) File "/usr/lib64/python3.11/site-packages/tornado/websocket.py", line 272, in get await self.ws_connection.accept_connection(self) File "/usr/lib64/python3.11/site-packages/tornado/websocket.py", line 862, in accept_connection await self._accept_connection(handler) File "/usr/lib64/python3.11/site-packages/tornado/websocket.py", line 945, in _accept_connection await self._receive_frame_loop() File "/usr/lib64/python3.11/site-packages/tornado/websocket.py", line 1101, in _receive_frame_loop await self._receive_frame() File "/usr/lib64/python3.11/site-packages/tornado/websocket.py", line 1190, in _receive_frame handled_future = self._handle_message(opcode, data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/site-packages/tornado/websocket.py", line 1229, in _handle_message self.close(self.close_code) File "/usr/lib64/python3.11/site-packages/tornado/websocket.py", line 1258, in close self._write_frame(True, 0x8, close_data) File "/usr/lib64/python3.11/site-packages/tornado/websocket.py", line 1056, in _write_frame return self.stream.write(frame) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/site-packages/tornado/iostream.py", line 533, in write self._write_buffer.append(data) File "/usr/lib64/python3.11/site-packages/tornado/iostream.py", line 157, in append b += data # type: ignore ^^^^^^^^^ BufferError: Existing exports of data: object cannot be re-sized WARNING ServerApp:channels.py:572 WARNING ServerApp:channels.py:572 WARNING ServerApp:channels.py:572 WARNING ServerApp:channels.py:572 DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 DEBUG ServerApp:identity.py:478 Generating new user for token-authenticated request: 975affa130864c75ac373d8a973aee5f DEBUG ServerApp:log.py:98 200 GET /a%40b/api/kernels/2746180a-8334-47ae-aff0-6b06c37ba1d9 (975affa130864c75ac373d8a973aee5f@127.0.0.1) 0.52ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 DEBUG ServerApp:identity.py:478 Generating new user for token-authenticated request: 2e22b80039e54bc0aa03fe834008a9dd DEBUG ServerApp:log.py:98 200 GET /a%40b/api/kernels/2746180a-8334-47ae-aff0-6b06c37ba1d9 (2e22b80039e54bc0aa03fe834008a9dd@127.0.0.1) 0.75ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 DEBUG ServerApp:identity.py:478 Generating new user for token-authenticated request: 514dd65a03604658b2e1ae775f97e364 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/kernels/2746180a-8334-47ae-aff0-6b06c37ba1d9 (514dd65a03604658b2e1ae775f97e364@127.0.0.1) 0.51ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 DEBUG ServerApp:identity.py:478 Generating new user for token-authenticated request: fa329a9185de4433bd2111a1874efcbd DEBUG ServerApp:log.py:98 200 GET /a%40b/api/kernels/2746180a-8334-47ae-aff0-6b06c37ba1d9 (fa329a9185de4433bd2111a1874efcbd@127.0.0.1) 0.53ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 DEBUG ServerApp:identity.py:478 Generating new user for token-authenticated request: 2aaa8002227042b1a88c5992a6dd76dc DEBUG ServerApp:log.py:98 200 GET /a%40b/api/kernels/2746180a-8334-47ae-aff0-6b06c37ba1d9 (2aaa8002227042b1a88c5992a6dd76dc@127.0.0.1) 0.57ms DEBUG ServerApp:kernelmanager.py:562 activity on 2746180a-8334-47ae-aff0-6b06c37ba1d9: status (busy) WARNING ServerApp:channels.py:572 WARNING ServerApp:channels.py:572 DEBUG ServerApp:kernelmanager.py:562 activity on 2746180a-8334-47ae-aff0-6b06c37ba1d9: status (idle) DEBUG ServerApp:kernelmanager.py:453 Kernel info reply received: 2746180a-8334-47ae-aff0-6b06c37ba1d9 DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 DEBUG ServerApp:identity.py:478 Generating new user for token-authenticated request: aac8f5a130b44193a738890085ffca56 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/kernels/2746180a-8334-47ae-aff0-6b06c37ba1d9 (aac8f5a130b44193a738890085ffca56@127.0.0.1) 0.49ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 DEBUG ServerApp:identity.py:478 Generating new user for token-authenticated request: 5b0e388fe6974d72bb43cd42749c310e DEBUG ServerApp:log.py:98 200 GET /a%40b/api/kernels/2746180a-8334-47ae-aff0-6b06c37ba1d9 (5b0e388fe6974d72bb43cd42749c310e@127.0.0.1) 0.48ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 DEBUG ServerApp:identity.py:478 Generating new user for token-authenticated request: 55ad5a420df84afea516657364942222 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/kernels/2746180a-8334-47ae-aff0-6b06c37ba1d9 (55ad5a420df84afea516657364942222@127.0.0.1) 0.56ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 DEBUG ServerApp:identity.py:478 Generating new user for token-authenticated request: 32116c0c523249668aaf03cdd3cdb464 DEBUG ServerApp:log.py:98 200 GET /a%40b/api/kernels/2746180a-8334-47ae-aff0-6b06c37ba1d9 (32116c0c523249668aaf03cdd3cdb464@127.0.0.1) 0.45ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 DEBUG ServerApp:identity.py:478 Generating new user for token-authenticated request: b3612d7ed3de4217bbb7ab32712172aa DEBUG ServerApp:log.py:98 200 GET /a%40b/api/kernels/2746180a-8334-47ae-aff0-6b06c37ba1d9 (b3612d7ed3de4217bbb7ab32712172aa@127.0.0.1) 0.57ms DEBUG ServerApp:identity.py:447 Accepting token-authenticated request from 127.0.0.1 DEBUG ServerApp:identity.py:478 Generating new user for token-authenticated request: 313c86a7067543459aa3fd2eb6d8c93b DEBUG ServerApp:log.py:98 200 GET /a%40b/api/kernels/2746180a-8334-47ae-aff0-6b06c37ba1d9 (313c86a7067543459aa3fd2eb6d8c93b@127.0.0.1) 0.56ms ---------------------------- Captured log teardown ----------------------------- INFO ServerApp:serverapp.py:2634 Shutting down 1 extension DEBUG ServerApp:manager.py:371 jupyter_server_terminals | extension app 'jupyter_server_terminals' stopping DEBUG ServerApp:manager.py:373 jupyter_server_terminals | extension app 'jupyter_server_terminals' stopped INFO ServerApp:serverapp.py:2623 Shutting down 1 kernel DEBUG ServerApp:kernelmanager.py:394 Clearing buffer for 2746180a-8334-47ae-aff0-6b06c37ba1d9 INFO ServerApp:multikernelmanager.py:306 Kernel shutdown: 2746180a-8334-47ae-aff0-6b06c37ba1d9 WARNING ServerApp:channels.py:572 WARNING ServerApp:channels.py:572 WARNING ServerApp:channels.py:572 WARNING ServerApp:channels.py:572 WARNING ServerApp:channels.py:572 DEBUG ServerApp:channels.py:400 Websocket closed 2746180a-8334-47ae-aff0-6b06c37ba1d9:95dc0ab2-9753a224f872872733673f00 =============================== warnings summary =============================== jupyter_server/base/handlers.py:23 /builddir/build/BUILD/jupyter_server-2.10.0/jupyter_server/base/handlers.py:23: 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.10.0/jupyter_server/serverapp.py:2432: 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/lib64/python3.11/asyncio/selector_events.py:265: ResourceWarning: unclosed key = self._selector.get_key(fd) 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_delete[jp_server_config2] /usr/lib/python3.11/site-packages/pluggy/_manager.py:498: 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_config2] /usr/lib64/python3.11/asyncio/selector_events.py:252: ResourceWarning: unclosed transport = self._transports[fileno] 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_config2] /usr/lib64/python3.11/asyncio/selector_events.py:252: ResourceWarning: unclosed transport = self._transports[fileno] 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_config2] /usr/lib64/python3.11/asyncio/selector_events.py:252: ResourceWarning: unclosed transport = self._transports[fileno] 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/unix_sockets/test_api.py::test_list_running_servers /builddir/build/BUILD/jupyter_server-2.10.0/jupyter_server/serverapp.py:3009: ResourceWarning: unclosed with open(os.path.join(runtime_dir, file_name), encoding="utf-8") as f: 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/unix_sockets/test_api.py::test_list_running_servers /builddir/build/BUILD/jupyter_server-2.10.0/jupyter_server/serverapp.py:3009: ResourceWarning: unclosed with open(os.path.join(runtime_dir, file_name), encoding="utf-8") as f: 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/unix_sockets/test_api.py::test_list_running_servers /builddir/build/BUILD/jupyter_server-2.10.0/jupyter_server/serverapp.py:3009: ResourceWarning: unclosed with open(os.path.join(runtime_dir, file_name), encoding="utf-8") as f: 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 ===Flaky Test Report=== test_culling_config passed 1 out of the required 1 times. Success! test_culling passed 1 out of the required 1 times. Success! ===End Flaky Test Report=== ============================= slowest 10 durations ============================= 12.89s call tests/services/kernels/test_cull.py::test_cull_idle_disable 12.12s call tests/test_terminal.py::test_culling 7.45s call tests/services/kernels/test_cull.py::test_cull_idle[jp_server_config0] 7.39s call tests/services/kernels/test_cull.py::test_cull_idle[jp_server_config1] 5.07s call tests/test_terminal.py::test_terminal_create_with_cwd 3.10s call tests/services/sessions/test_manager.py::test_pending_kernel 2.76s call tests/services/nbconvert/test_api.py::test_list_formats 1.68s call tests/auth/test_authorizer.py::test_authorized_requests[False-GET-/api/kernels-None] 1.66s call tests/services/sessions/test_api.py::test_restart_kernel[jp_server_config0] 1.43s teardown tests/services/kernels/test_connection.py::test_websocket_connection =========================== short test summary info ============================ SKIPPED [1] tests/test_terminal.py:161: Not yet working SKIPPED [1] tests/test_terminal.py:198: 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/sessions/test_api.py::test_restart_kernel[jp_server_config0] - assert 1 == 0 ====== 1 failed, 899 passed, 15 skipped, 19 warnings in 219.74s (0:03:39) ====== Task was destroyed but it is pending! task: wait_for= cb=[IOLoop.add_future..() at /usr/lib64/python3.11/site-packages/tornado/ioloop.py:685]> Task was destroyed but it is pending! task: wait_for=.finish() at /builddir/build/BUILD/jupyter_server-2.10.0/jupyter_server/services/kernels/connection/channels.py:189, <1 more>, Task.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.aB0mrZ (%check) Bad exit status from /var/tmp/rpm-tmp.aB0mrZ (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # 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.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-jupyter-server.spec