Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-jupyter-client.spec'], chrootPath='/var/lib/mock/f40-build-2321129-58490/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=864000uid=996gid=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-client.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 setting SOURCE_DATE_EPOCH=1706227200 Wrote: /builddir/build/SRPMS/python-jupyter-client-7.4.9-7.fc40.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-client.spec'], chrootPath='/var/lib/mock/f40-build-2321129-58490/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=864000uid=996gid=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-client.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 setting SOURCE_DATE_EPOCH=1706227200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.haJiuc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jupyter_client-7.4.9 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/jupyter_client-7.4.9.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jupyter_client-7.4.9 + rm -rf /builddir/build/BUILD/jupyter_client-7.4.9-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/jupyter_client-7.4.9-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -Ei '/\b(codecov|coverage|mypy|pre-commit|pytest-cov)\b/d' pyproject.toml + sed -i /check_untyped/Q pyproject.toml + sed -i 's|\(('\''http://ipython.readthedocs.io/en/stable/'\'', \)None)|\1'\''/usr/share/doc/python3-ipython-doc/html/objects.inv'\'')|' docs/conf.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.VBFJ2j + umask 022 + cd /builddir/build/BUILD + cd jupyter_client-7.4.9 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-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_client-7.4.9/.pyproject-builddir + echo -n + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/jupyter_client-7.4.9/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/jupyter_client-7.4.9/pyproject-wheeldir --output /builddir/build/BUILD/python-jupyter-client-7.4.9-7.fc40.noarch-pyproject-buildrequires -w -x test -x doc Handling hatchling>=0.25 from build-system.requires Requirement not satisfied: hatchling>=0.25 Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-jupyter-client-7.4.9-7.fc40.noarch-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-jupyter-client-7.4.9-7.fc40.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-client.spec'], chrootPath='/var/lib/mock/f40-build-2321129-58490/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=864000uid=996gid=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-client.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 setting SOURCE_DATE_EPOCH=1706227200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tfpB6s + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jupyter_client-7.4.9 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/jupyter_client-7.4.9.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jupyter_client-7.4.9 + rm -rf /builddir/build/BUILD/jupyter_client-7.4.9-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/jupyter_client-7.4.9-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -Ei '/\b(codecov|coverage|mypy|pre-commit|pytest-cov)\b/d' pyproject.toml + sed -i /check_untyped/Q pyproject.toml + sed -i 's|\(('\''http://ipython.readthedocs.io/en/stable/'\'', \)None)|\1'\''/usr/share/doc/python3-ipython-doc/html/objects.inv'\'')|' docs/conf.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.9mlinY + umask 022 + cd /builddir/build/BUILD + cd jupyter_client-7.4.9 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-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_client-7.4.9/.pyproject-builddir + echo -n + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/jupyter_client-7.4.9/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/jupyter_client-7.4.9/pyproject-wheeldir --output /builddir/build/BUILD/python-jupyter-client-7.4.9-7.fc40.noarch-pyproject-buildrequires -w -x test -x doc Handling hatchling>=0.25 from build-system.requires Requirement satisfied: hatchling>=0.25 (installed: hatchling 1.21.1) Handling pip >= 19 from %pyproject_buildrequires -w Requirement satisfied: pip >= 19 (installed: pip 23.3.2) Processing /builddir/build/BUILD/jupyter_client-7.4.9 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: jupyter_client Building wheel for jupyter_client (pyproject.toml): started Running command Building wheel for jupyter_client (pyproject.toml) Building wheel for jupyter_client (pyproject.toml): finished with status 'done' Created wheel for jupyter_client: filename=jupyter_client-7.4.9-py3-none-any.whl size=132724 sha256=5a40af52851ca0b5343ca36b50b0975dee29de2abda37cc10e1b5fe62b490592 Stored in directory: /builddir/.cache/pip/wheels/40/aa/aa/3d3faff0f7490d7b4316f4127201ea1457f0e6efe97cbc6de1 Successfully built jupyter_client Reading metadata from /builddir/build/BUILD/jupyter_client-7.4.9/pyproject-wheeldir/jupyter_client-7.4.9-py3-none-any.whl Handling entrypoints from built wheel metadata: Requires-Dist (jupyter_client) Requirement not satisfied: entrypoints Handling jupyter-core>=4.9.2 from built wheel metadata: Requires-Dist (jupyter_client) Requirement not satisfied: jupyter-core>=4.9.2 Handling nest-asyncio>=1.5.4 from built wheel metadata: Requires-Dist (jupyter_client) Requirement not satisfied: nest-asyncio>=1.5.4 Handling python-dateutil>=2.8.2 from built wheel metadata: Requires-Dist (jupyter_client) Requirement not satisfied: python-dateutil>=2.8.2 Handling pyzmq>=23.0 from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: pyzmq>=23.0 (installed: pyzmq 25.1.0) Handling tornado>=6.2 from built wheel metadata: Requires-Dist (jupyter_client) Requirement not satisfied: tornado>=6.2 Handling traitlets from built wheel metadata: Requires-Dist (jupyter_client) Requirement not satisfied: traitlets Handling ipykernel; extra == 'doc' from built wheel metadata: Requires-Dist (jupyter_client) Requirement not satisfied: ipykernel; extra == 'doc' Handling myst-parser; extra == 'doc' from built wheel metadata: Requires-Dist (jupyter_client) Requirement not satisfied: myst-parser; extra == 'doc' Handling sphinx-rtd-theme; extra == 'doc' from built wheel metadata: Requires-Dist (jupyter_client) Requirement not satisfied: sphinx-rtd-theme; extra == 'doc' Handling sphinx>=1.3.6; extra == 'doc' from built wheel metadata: Requires-Dist (jupyter_client) Requirement not satisfied: sphinx>=1.3.6; extra == 'doc' Handling sphinxcontrib-github-alt; extra == 'doc' from built wheel metadata: Requires-Dist (jupyter_client) Requirement not satisfied: sphinxcontrib-github-alt; extra == 'doc' Handling ipykernel>=6.12; extra == 'test' from built wheel metadata: Requires-Dist (jupyter_client) Requirement not satisfied: ipykernel>=6.12; extra == 'test' Handling ipython; extra == 'test' from built wheel metadata: Requires-Dist (jupyter_client) Requirement not satisfied: ipython; extra == 'test' Handling pytest; extra == 'test' from built wheel metadata: Requires-Dist (jupyter_client) Requirement not satisfied: pytest; extra == 'test' Handling pytest-asyncio>=0.18; extra == 'test' from built wheel metadata: Requires-Dist (jupyter_client) Requirement not satisfied: pytest-asyncio>=0.18; extra == 'test' Handling pytest-timeout; extra == 'test' from built wheel metadata: Requires-Dist (jupyter_client) Requirement not satisfied: pytest-timeout; extra == 'test' + cat /builddir/build/BUILD/python-jupyter-client-7.4.9-7.fc40.noarch-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-jupyter-client-7.4.9-7.fc40.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-client.spec'], chrootPath='/var/lib/mock/f40-build-2321129-58490/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=864000uid=996gid=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-client.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 setting SOURCE_DATE_EPOCH=1706227200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RvFO3Q + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jupyter_client-7.4.9 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/jupyter_client-7.4.9.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jupyter_client-7.4.9 + rm -rf /builddir/build/BUILD/jupyter_client-7.4.9-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/jupyter_client-7.4.9-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -Ei '/\b(codecov|coverage|mypy|pre-commit|pytest-cov)\b/d' pyproject.toml + sed -i /check_untyped/Q pyproject.toml + sed -i 's|\(('\''http://ipython.readthedocs.io/en/stable/'\'', \)None)|\1'\''/usr/share/doc/python3-ipython-doc/html/objects.inv'\'')|' docs/conf.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.LbrNy7 + umask 022 + cd /builddir/build/BUILD + cd jupyter_client-7.4.9 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-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_client-7.4.9/.pyproject-builddir + echo -n + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/jupyter_client-7.4.9/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/jupyter_client-7.4.9/pyproject-wheeldir --output /builddir/build/BUILD/python-jupyter-client-7.4.9-7.fc40.noarch-pyproject-buildrequires -w -x test -x doc Handling hatchling>=0.25 from build-system.requires Requirement satisfied: hatchling>=0.25 (installed: hatchling 1.21.1) Handling pip >= 19 from %pyproject_buildrequires -w Requirement satisfied: pip >= 19 (installed: pip 23.3.2) Processing /builddir/build/BUILD/jupyter_client-7.4.9 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: jupyter_client Building wheel for jupyter_client (pyproject.toml): started Running command Building wheel for jupyter_client (pyproject.toml) Building wheel for jupyter_client (pyproject.toml): finished with status 'done' Created wheel for jupyter_client: filename=jupyter_client-7.4.9-py3-none-any.whl size=132724 sha256=5a40af52851ca0b5343ca36b50b0975dee29de2abda37cc10e1b5fe62b490592 Stored in directory: /builddir/.cache/pip/wheels/40/aa/aa/3d3faff0f7490d7b4316f4127201ea1457f0e6efe97cbc6de1 Successfully built jupyter_client Reading metadata from /builddir/build/BUILD/jupyter_client-7.4.9/pyproject-wheeldir/jupyter_client-7.4.9-py3-none-any.whl Handling entrypoints from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: entrypoints (installed: entrypoints 0.4) Handling jupyter-core>=4.9.2 from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: jupyter-core>=4.9.2 (installed: jupyter-core 5.1.0) Handling nest-asyncio>=1.5.4 from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: nest-asyncio>=1.5.4 (installed: nest-asyncio 1.6.0) Handling python-dateutil>=2.8.2 from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: python-dateutil>=2.8.2 (installed: python-dateutil 2.8.2) Handling pyzmq>=23.0 from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: pyzmq>=23.0 (installed: pyzmq 25.1.0) Handling tornado>=6.2 from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: tornado>=6.2 (installed: tornado 6.3.3) Handling traitlets from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: traitlets (installed: traitlets 5.11.2) Handling ipykernel; extra == 'doc' from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: ipykernel; extra == 'doc' (installed: ipykernel 6.25.1) Handling myst-parser; extra == 'doc' from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: myst-parser; extra == 'doc' (installed: myst-parser 2.0.0) Handling sphinx-rtd-theme; extra == 'doc' from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: sphinx-rtd-theme; extra == 'doc' (installed: sphinx-rtd-theme 2.0.0) Handling sphinx>=1.3.6; extra == 'doc' from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: sphinx>=1.3.6; extra == 'doc' (installed: sphinx 7.2.6) Handling sphinxcontrib-github-alt; extra == 'doc' from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: sphinxcontrib-github-alt; extra == 'doc' (installed: sphinxcontrib-github-alt 1.2) Handling ipykernel>=6.12; extra == 'test' from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: ipykernel>=6.12; extra == 'test' (installed: ipykernel 6.25.1) Handling ipython; extra == 'test' from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: ipython; extra == 'test' (installed: ipython 8.14.0) Handling pytest; extra == 'test' from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: pytest; extra == 'test' (installed: pytest 7.3.2) Handling pytest-asyncio>=0.18; extra == 'test' from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: pytest-asyncio>=0.18; extra == 'test' (installed: pytest-asyncio 0.21.0) Handling pytest-timeout; extra == 'test' from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: pytest-timeout; extra == 'test' (installed: pytest-timeout 2.2.0) + cat /builddir/build/BUILD/python-jupyter-client-7.4.9-7.fc40.noarch-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-jupyter-client-7.4.9-7.fc40.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-client.spec'], chrootPath='/var/lib/mock/f40-build-2321129-58490/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=864000uid=996gid=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-client.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 setting SOURCE_DATE_EPOCH=1706227200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.qgsQIz + umask 022 + cd /builddir/build/BUILD + cd jupyter_client-7.4.9 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-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_client-7.4.9/.pyproject-builddir + echo -n + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/jupyter_client-7.4.9/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/jupyter_client-7.4.9/pyproject-wheeldir --output /builddir/build/BUILD/python-jupyter-client-7.4.9-7.fc40.noarch-pyproject-buildrequires -w -x test -x doc Handling hatchling>=0.25 from build-system.requires Requirement satisfied: hatchling>=0.25 (installed: hatchling 1.21.1) Reading metadata from /builddir/build/BUILD/jupyter_client-7.4.9/pyproject-wheeldir/jupyter_client-7.4.9-py3-none-any.whl Handling entrypoints from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: entrypoints (installed: entrypoints 0.4) Handling jupyter-core>=4.9.2 from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: jupyter-core>=4.9.2 (installed: jupyter-core 5.1.0) Handling nest-asyncio>=1.5.4 from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: nest-asyncio>=1.5.4 (installed: nest-asyncio 1.6.0) Handling python-dateutil>=2.8.2 from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: python-dateutil>=2.8.2 (installed: python-dateutil 2.8.2) Handling pyzmq>=23.0 from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: pyzmq>=23.0 (installed: pyzmq 25.1.0) Handling tornado>=6.2 from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: tornado>=6.2 (installed: tornado 6.3.3) Handling traitlets from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: traitlets (installed: traitlets 5.11.2) Handling ipykernel; extra == 'doc' from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: ipykernel; extra == 'doc' (installed: ipykernel 6.25.1) Handling myst-parser; extra == 'doc' from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: myst-parser; extra == 'doc' (installed: myst-parser 2.0.0) Handling sphinx-rtd-theme; extra == 'doc' from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: sphinx-rtd-theme; extra == 'doc' (installed: sphinx-rtd-theme 2.0.0) Handling sphinx>=1.3.6; extra == 'doc' from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: sphinx>=1.3.6; extra == 'doc' (installed: sphinx 7.2.6) Handling sphinxcontrib-github-alt; extra == 'doc' from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: sphinxcontrib-github-alt; extra == 'doc' (installed: sphinxcontrib-github-alt 1.2) Handling ipykernel>=6.12; extra == 'test' from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: ipykernel>=6.12; extra == 'test' (installed: ipykernel 6.25.1) Handling ipython; extra == 'test' from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: ipython; extra == 'test' (installed: ipython 8.14.0) Handling pytest; extra == 'test' from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: pytest; extra == 'test' (installed: pytest 7.3.2) Handling pytest-asyncio>=0.18; extra == 'test' from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: pytest-asyncio>=0.18; extra == 'test' (installed: pytest-asyncio 0.21.0) Handling pytest-timeout; extra == 'test' from built wheel metadata: Requires-Dist (jupyter_client) Requirement satisfied: pytest-timeout; extra == 'test' (installed: pytest-timeout 2.2.0) + cat /builddir/build/BUILD/python-jupyter-client-7.4.9-7.fc40.noarch-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2xAio8 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-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_client-7.4.9 + mkdir -p /builddir/build/BUILD/jupyter_client-7.4.9/.pyproject-builddir + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/jupyter_client-7.4.9/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/jupyter_client-7.4.9/pyproject-wheeldir Processing /builddir/build/BUILD/jupyter_client-7.4.9 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: jupyter_client Building wheel for jupyter_client (pyproject.toml): started Running command Building wheel for jupyter_client (pyproject.toml) Building wheel for jupyter_client (pyproject.toml): finished with status 'done' Created wheel for jupyter_client: filename=jupyter_client-7.4.9-py3-none-any.whl size=132724 sha256=5a40af52851ca0b5343ca36b50b0975dee29de2abda37cc10e1b5fe62b490592 Stored in directory: /builddir/.cache/pip/wheels/40/aa/aa/3d3faff0f7490d7b4316f4127201ea1457f0e6efe97cbc6de1 Successfully built jupyter_client + PYTHONPATH=build/lib/ + sphinx-build-3 docs html Running Sphinx v7.2.6 Initializing GitHub plugin making output directory... done myst v2.0.0: MdParserConfig(commonmark_only=False, gfm_only=False, enable_extensions={'html_image'}, disable_syntax=[], all_links_external=False, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, fence_as_directive=set(), number_code_blocks=[], title_to_header=False, heading_anchors=0, heading_slug_func=None, html_meta={}, footnote_transition=True, words_per_minute=200, substitutions={}, linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area', enable_checkboxes=False, suppress_warnings=[], highlight_code_blocks=True) loading intersphinx inventory from /usr/share/doc/python3-ipython-doc/html/objects.inv... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory '/usr/share/doc/python3-ipython-doc/html/objects.inv' not fetchable due to : [Errno 2] No such file or directory: '/usr/share/doc/python3-ipython-doc/html/objects.inv' building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 13 source files that are out of date updating environment: [new config] 13 added, 0 changed, 0 removed reading sources... [ 8%] api/client reading sources... [ 15%] api/index reading sources... [ 23%] api/kernelspec reading sources... [ 31%] api/manager reading sources... [ 38%] api/provisioners reading sources... [ 46%] changelog reading sources... [ 54%] index reading sources... [ 62%] kernels reading sources... [ 69%] messaging reading sources... [ 77%] migration reading sources... [ 85%] pending-kernels reading sources... [ 92%] provisioning reading sources... [100%] wrapperkernels looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... copying static files... done copying extra files... done done writing output... [ 8%] api/client writing output... [ 15%] api/index writing output... [ 23%] api/kernelspec writing output... [ 31%] api/manager writing output... [ 38%] api/provisioners writing output... [ 46%] changelog writing output... [ 54%] index writing output... [ 62%] kernels writing output... [ 69%] messaging writing output... [ 77%] migration writing output... [ 85%] pending-kernels writing output... [ 92%] provisioning writing output... [100%] wrapperkernels generating indices... /builddir/build/BUILD/jupyter_client-7.4.9/docs/messaging.rst:501: WARNING: undefined label: 'execution_semantics' genindex py-modindex done writing additional pages... search done copying images... [100%] figs/frontend-kernel.png dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 2 warnings. The HTML pages are in html. + rm -r html/.doctrees html/.buildinfo + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.3ApIrc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch ++ dirname /builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-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_client-7.4.9 ++ xargs basename --multiple ++ ls /builddir/build/BUILD/jupyter_client-7.4.9/pyproject-wheeldir/jupyter_client-7.4.9-py3-none-any.whl ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=jupyter_client==7.4.9 + '[' -z jupyter_client==7.4.9 ']' + TMPDIR=/builddir/build/BUILD/jupyter_client-7.4.9/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.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_client-7.4.9/pyproject-wheeldir jupyter_client==7.4.9 Using pip 23.3.2 from /usr/lib/python3.12/site-packages/pip (python 3.12) Looking in links: /builddir/build/BUILD/jupyter_client-7.4.9/pyproject-wheeldir Processing ./pyproject-wheeldir/jupyter_client-7.4.9-py3-none-any.whl Installing collected packages: jupyter_client Creating /builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch/usr/bin changing mode of /builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch/usr/bin/jupyter-kernel to 755 changing mode of /builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch/usr/bin/jupyter-kernelspec to 755 changing mode of /builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch/usr/bin/jupyter-run to 755 Successfully installed jupyter_client-7.4.9 + '[' -d /builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch/usr/bin ']' + '[' -z P ']' + shebang_flags=-kaP + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kaP /builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch/usr/bin/jupyter-kernel /builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch/usr/bin/jupyter-kernelspec /builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch/usr/bin/jupyter-run /builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch/usr/bin/jupyter-kernel: updating /builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch/usr/bin/jupyter-kernelspec: updating /builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch/usr/bin/jupyter-run: updating + rm -rfv /builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/python-jupyter-client-7.4.9-7.fc40.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch/usr/lib/python3.12/site-packages ']' + site_dirs+=("/usr/lib/python3.12/site-packages") + '[' /builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch/usr/lib64/python3.12/site-packages '!=' /builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch/usr/lib/python3.12/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch/usr/lib64/python3.12/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.12/site-packages/jupyter_client-7.4.9.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_client-7.4.9.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch --record /builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_client-7.4.9.dist-info/RECORD --output /builddir/build/BUILD/python-jupyter-client-7.4.9-7.fc40.noarch-pyproject-record + rm -fv /builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_client-7.4.9.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_client-7.4.9.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_client-7.4.9.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch/usr/lib/python3.12/site-packages/jupyter_client-7.4.9.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-jupyter-client-7.4.9-7.fc40.noarch-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_PERCENTAGES_COUNT=2 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-jupyter-client-7.4.9-7.fc40.noarch-pyproject-files --output-modules /builddir/build/BUILD/python-jupyter-client-7.4.9-7.fc40.noarch-pyproject-modules --buildroot /builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch --sitelib /usr/lib/python3.12/site-packages --sitearch /usr/lib64/python3.12/site-packages --python-version 3.12 --pyproject-record /builddir/build/BUILD/python-jupyter-client-7.4.9-7.fc40.noarch-pyproject-record --prefix /usr jupyter_client + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 7.4.9-7.fc40 --unique-debug-suffix -7.4.9-7.fc40.noarch --unique-debug-src-base python-jupyter-client-7.4.9-7.fc40.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/jupyter_client-7.4.9 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find: ‘debug’: No such file or directory find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 Bytecompiling .py files below /builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch/usr/lib/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.2SyJiu + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-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_client-7.4.9 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-jupyter-client-7.4.9-7.fc40.noarch/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/jupyter_client-7.4.9/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=8 + /usr/bin/pytest -Wdefault -v -k 'not test_signal_kernel_subprocesses and not test_async_signal_kernel_subprocesses' ============================= test session starts ============================== platform linux -- Python 3.12.0, pytest-7.3.2, pluggy-1.3.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/jupyter_client-7.4.9 configfile: pyproject.toml testpaths: jupyter_client/tests/ plugins: asyncio-0.21.0, timeout-2.2.0 asyncio: mode=Mode.AUTO timeout: 300.0s timeout method: signal timeout func_only: False collecting ... collected 184 items / 8 deselected / 176 selected jupyter_client/tests/test_adapter.py::test_default_version PASSED [ 0%] jupyter_client/tests/test_adapter.py::test_code_to_line_no_code PASSED [ 1%] jupyter_client/tests/test_adapter.py::V4toV5TestCase::test_complete_reply PASSED [ 1%] jupyter_client/tests/test_adapter.py::V4toV5TestCase::test_complete_request PASSED [ 2%] jupyter_client/tests/test_adapter.py::V4toV5TestCase::test_display_data PASSED [ 2%] jupyter_client/tests/test_adapter.py::V4toV5TestCase::test_execute_reply PASSED [ 3%] jupyter_client/tests/test_adapter.py::V4toV5TestCase::test_execute_request PASSED [ 3%] jupyter_client/tests/test_adapter.py::V4toV5TestCase::test_input_request PASSED [ 4%] jupyter_client/tests/test_adapter.py::V4toV5TestCase::test_kernel_info_reply PASSED [ 5%] jupyter_client/tests/test_adapter.py::V4toV5TestCase::test_no_adapt PASSED [ 5%] jupyter_client/tests/test_adapter.py::V4toV5TestCase::test_object_info_reply PASSED [ 6%] jupyter_client/tests/test_adapter.py::V4toV5TestCase::test_object_info_reply_not_found PASSED [ 6%] jupyter_client/tests/test_adapter.py::V4toV5TestCase::test_object_info_request PASSED [ 7%] jupyter_client/tests/test_adapter.py::V4toV5TestCase::test_rename_type PASSED [ 7%] jupyter_client/tests/test_adapter.py::V4toV5TestCase::test_same_version PASSED [ 8%] jupyter_client/tests/test_adapter.py::V5toV4TestCase::test_complete_reply PASSED [ 9%] jupyter_client/tests/test_adapter.py::V5toV4TestCase::test_complete_request PASSED [ 9%] jupyter_client/tests/test_adapter.py::V5toV4TestCase::test_display_data PASSED [ 10%] jupyter_client/tests/test_adapter.py::V5toV4TestCase::test_execute_request PASSED [ 10%] jupyter_client/tests/test_adapter.py::V5toV4TestCase::test_input_request PASSED [ 11%] jupyter_client/tests/test_adapter.py::V5toV4TestCase::test_inspect_reply PASSED [ 11%] jupyter_client/tests/test_adapter.py::V5toV4TestCase::test_inspect_request PASSED [ 12%] jupyter_client/tests/test_adapter.py::V5toV4TestCase::test_inspect_request_token PASSED [ 13%] jupyter_client/tests/test_adapter.py::V5toV4TestCase::test_kernel_info_reply PASSED [ 13%] jupyter_client/tests/test_adapter.py::V5toV4TestCase::test_no_adapt PASSED [ 14%] jupyter_client/tests/test_adapter.py::V5toV4TestCase::test_rename_type PASSED [ 14%] jupyter_client/tests/test_adapter.py::V5toV4TestCase::test_same_version PASSED [ 15%] jupyter_client/tests/test_client.py::TestKernelClient::test_comm_info PASSED [ 15%] jupyter_client/tests/test_client.py::TestKernelClient::test_complete FAILED [ 16%] jupyter_client/tests/test_client.py::TestKernelClient::test_execute_interactive PASSED [ 17%] jupyter_client/tests/test_client.py::TestKernelClient::test_history PASSED [ 17%] jupyter_client/tests/test_client.py::TestKernelClient::test_inspect PASSED [ 18%] jupyter_client/tests/test_client.py::TestKernelClient::test_kernel_info PASSED [ 18%] jupyter_client/tests/test_client.py::TestKernelClient::test_shutdown PASSED [ 19%] jupyter_client/tests/test_client.py::TestKernelClient::test_shutdown_id PASSED [ 19%] jupyter_client/tests/test_connect.py::test_write_connection_file PASSED [ 20%] jupyter_client/tests/test_connect.py::test_load_connection_file_session PASSED [ 21%] jupyter_client/tests/test_connect.py::test_load_connection_file_session_with_kn PASSED [ 21%] jupyter_client/tests/test_connect.py::test_app_load_connection_file PASSED [ 22%] jupyter_client/tests/test_connect.py::test_load_connection_info PASSED [ 22%] jupyter_client/tests/test_connect.py::test_find_connection_file PASSED [ 23%] jupyter_client/tests/test_connect.py::test_find_connection_file_local PASSED [ 23%] jupyter_client/tests/test_connect.py::test_find_connection_file_relative PASSED [ 24%] jupyter_client/tests/test_connect.py::test_find_connection_file_abspath PASSED [ 25%] jupyter_client/tests/test_connect.py::test_mixin_record_random_ports PASSED [ 25%] jupyter_client/tests/test_connect.py::test_mixin_cleanup_random_ports PASSED [ 26%] jupyter_client/tests/test_connect.py::test_reconcile_connection_info[True-True] PASSED [ 26%] jupyter_client/tests/test_connect.py::test_reconcile_connection_info[True-False] PASSED [ 27%] jupyter_client/tests/test_connect.py::test_reconcile_connection_info[False-True] PASSED [ 27%] jupyter_client/tests/test_connect.py::test_reconcile_connection_info[False-False] PASSED [ 28%] jupyter_client/tests/test_jsonutil.py::test_extract_date_from_naive PASSED [ 28%] jupyter_client/tests/test_jsonutil.py::test_extract_dates PASSED [ 29%] jupyter_client/tests/test_jsonutil.py::test_parse_ms_precision PASSED [ 30%] jupyter_client/tests/test_jsonutil.py::test_json_default_date PASSED [ 30%] jupyter_client/tests/test_jsonutil.py::test_json_default PASSED [ 31%] jupyter_client/tests/test_kernelapp.py::test_kernelapp_lifecycle PASSED [ 31%] jupyter_client/tests/test_kernelmanager.py::TestKernelManager::test_lifecycle[tcp] PASSED [ 32%] jupyter_client/tests/test_kernelmanager.py::TestKernelManager::test_lifecycle[ipc] PASSED [ 32%] jupyter_client/tests/test_kernelmanager.py::TestKernelManager::test_get_connect_info[tcp] PASSED [ 33%] jupyter_client/tests/test_kernelmanager.py::TestKernelManager::test_get_connect_info[ipc] PASSED [ 34%] jupyter_client/tests/test_kernelmanager.py::TestKernelManager::test_start_new_kernel PASSED [ 34%] jupyter_client/tests/test_kernelmanager.py::TestKernelManager::test_templated_kspec_env PASSED [ 35%] jupyter_client/tests/test_kernelmanager.py::TestKernelManager::test_cleanup_context[tcp] PASSED [ 35%] jupyter_client/tests/test_kernelmanager.py::TestKernelManager::test_cleanup_context[ipc] PASSED [ 36%] jupyter_client/tests/test_kernelmanager.py::TestKernelManager::test_no_cleanup_shared_context PASSED [ 36%] jupyter_client/tests/test_kernelmanager.py::TestKernelManager::test_subclass_callables[tcp] PASSED [ 37%] jupyter_client/tests/test_kernelmanager.py::TestKernelManager::test_subclass_callables[ipc] PASSED [ 38%] jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_sequence_kernels[tcp] FAILED [ 38%] jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_sequence_kernels[ipc] FAILED [ 39%] jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_parallel_thread_kernels[tcp] FAILED [ 39%] jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_parallel_thread_kernels[ipc] SKIPPED [ 40%] jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_parallel_process_kernels[tcp] FAILED [ 40%] jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_parallel_process_kernels[ipc] SKIPPED [ 41%] jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_sequence_process_kernels[tcp] FAILED [ 42%] jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_sequence_process_kernels[ipc] SKIPPED [ 42%] jupyter_client/tests/test_kernelmanager.py::TestAsyncKernelManager::test_lifecycle[AsyncKernelManager-tcp] PASSED [ 43%] jupyter_client/tests/test_kernelmanager.py::TestAsyncKernelManager::test_lifecycle[AsyncKernelManager-ipc] PASSED [ 43%] jupyter_client/tests/test_kernelmanager.py::TestAsyncKernelManager::test_lifecycle[AsyncKMSubclass-tcp] PASSED [ 44%] jupyter_client/tests/test_kernelmanager.py::TestAsyncKernelManager::test_lifecycle[AsyncKMSubclass-ipc] PASSED [ 44%] jupyter_client/tests/test_kernelmanager.py::TestAsyncKernelManager::test_get_connect_info[AsyncKernelManager-tcp] PASSED [ 45%] jupyter_client/tests/test_kernelmanager.py::TestAsyncKernelManager::test_get_connect_info[AsyncKernelManager-ipc] PASSED [ 46%] jupyter_client/tests/test_kernelmanager.py::TestAsyncKernelManager::test_get_connect_info[AsyncKMSubclass-tcp] PASSED [ 46%] jupyter_client/tests/test_kernelmanager.py::TestAsyncKernelManager::test_get_connect_info[AsyncKMSubclass-ipc] PASSED [ 47%] jupyter_client/tests/test_kernelmanager.py::TestAsyncKernelManager::test_start_new_async_kernel ERROR [ 47%] jupyter_client/tests/test_kernelmanager.py::TestAsyncKernelManager::test_subclass_callables[tcp] PASSED [ 48%] jupyter_client/tests/test_kernelmanager.py::TestAsyncKernelManager::test_subclass_callables[ipc] PASSED [ 48%] jupyter_client/tests/test_kernelspec.py::KernelSpecTests::test_allowed_kernel_names PASSED [ 49%] jupyter_client/tests/test_kernelspec.py::KernelSpecTests::test_cant_install_kernel_spec PASSED [ 50%] jupyter_client/tests/test_kernelspec.py::KernelSpecTests::test_deprecated_whitelist PASSED [ 50%] jupyter_client/tests/test_kernelspec.py::KernelSpecTests::test_find_all_specs PASSED [ 51%] jupyter_client/tests/test_kernelspec.py::KernelSpecTests::test_find_kernel_specs PASSED [ 51%] jupyter_client/tests/test_kernelspec.py::KernelSpecTests::test_get_kernel_spec PASSED [ 52%] jupyter_client/tests/test_kernelspec.py::KernelSpecTests::test_install_kernel_spec PASSED [ 52%] jupyter_client/tests/test_kernelspec.py::KernelSpecTests::test_install_kernel_spec_prefix PASSED [ 53%] jupyter_client/tests/test_kernelspec.py::KernelSpecTests::test_kernel_spec_priority PASSED [ 53%] jupyter_client/tests/test_kernelspec.py::KernelSpecTests::test_remove_kernel_spec PASSED [ 54%] jupyter_client/tests/test_kernelspec.py::KernelSpecTests::test_remove_kernel_spec_app PASSED [ 55%] jupyter_client/tests/test_kernelspec.py::KernelSpecTests::test_subclass PASSED [ 55%] jupyter_client/tests/test_kernelspec.py::KernelSpecTests::test_validate_kernel_name PASSED [ 56%] jupyter_client/tests/test_localinterfaces.py::test_load_ips PASSED [ 56%] jupyter_client/tests/test_manager.py::test_connection_file_real_path PASSED [ 57%] jupyter_client/tests/test_multikernelmanager.py::TestKernelManager::test_ipc_cinfo PASSED [ 57%] jupyter_client/tests/test_multikernelmanager.py::TestKernelManager::test_ipc_lifecycle PASSED [ 58%] jupyter_client/tests/test_multikernelmanager.py::TestKernelManager::test_shutdown_all PASSED [ 59%] jupyter_client/tests/test_multikernelmanager.py::TestKernelManager::test_start_parallel_process_kernels PASSED [ 59%] jupyter_client/tests/test_multikernelmanager.py::TestKernelManager::test_start_parallel_thread_kernels PASSED [ 60%] jupyter_client/tests/test_multikernelmanager.py::TestKernelManager::test_start_sequence_ipc_kernels PASSED [ 60%] jupyter_client/tests/test_multikernelmanager.py::TestKernelManager::test_start_sequence_tcp_kernels PASSED [ 61%] jupyter_client/tests/test_multikernelmanager.py::TestKernelManager::test_subclass_callables PASSED [ 61%] jupyter_client/tests/test_multikernelmanager.py::TestKernelManager::test_tcp_cinfo PASSED [ 62%] jupyter_client/tests/test_multikernelmanager.py::TestKernelManager::test_tcp_lifecycle PASSED [ 63%] jupyter_client/tests/test_multikernelmanager.py::TestKernelManager::test_tcp_lifecycle_with_kernel_id PASSED [ 63%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_bad_kernelspec PASSED [ 64%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_bad_kernelspec_pending PASSED [ 64%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_ipc_cinfo PASSED [ 65%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_ipc_lifecycle PASSED [ 65%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_shutdown_all PASSED [ 66%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_shutdown_all_while_starting PASSED [ 67%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_start_parallel_process_kernels PASSED [ 67%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_start_parallel_thread_kernels PASSED [ 68%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_start_sequence_ipc_kernels FAILED [ 68%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_start_sequence_tcp_kernels +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-18 (72057590204326272) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/threading.py", line 634, in wait signaled = self._cond.wait(timeout) File "/usr/lib64/python3.12/threading.py", line 338, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-17 (72057590657302912) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/threading.py", line 634, in wait signaled = self._cond.wait(timeout) File "/usr/lib64/python3.12/threading.py", line 338, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-16 (72057590908952960) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/threading.py", line 634, in wait signaled = self._cond.wait(timeout) File "/usr/lib64/python3.12/threading.py", line 338, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-14 (72057591454216576) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/threading.py", line 634, in wait signaled = self._cond.wait(timeout) File "/usr/lib64/python3.12/threading.py", line 338, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-13 (72057591851159936) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/threading.py", line 634, in wait signaled = self._cond.wait(timeout) File "/usr/lib64/python3.12/threading.py", line 338, in wait gotit = waiter.acquire(True, timeout) +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ Exception ignored in: Traceback (most recent call last): File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/multikernelmanager.py", line 123, in __del__ self.context.destroy() File "/usr/lib64/python3.12/site-packages/zmq/sugar/context.py", line 333, in destroy self.term() File "/usr/lib64/python3.12/site-packages/zmq/sugar/context.py", line 275, in term super().term() File "zmq/backend/cython/context.pyx", line 83, in zmq.backend.cython.context.Context.term File "zmq/backend/cython/checkrc.pxd", line 13, in zmq.backend.cython.checkrc._check_rc File "/usr/lib/python3.12/site-packages/pytest_timeout.py", line 264, in handler timeout_sigalrm(item, settings) File "/usr/lib/python3.12/site-packages/pytest_timeout.py", line 448, in timeout_sigalrm pytest.fail("Timeout >%ss" % settings.timeout) File "/usr/lib/python3.12/site-packages/_pytest/outcomes.py", line 198, in fail raise Failed(msg=reason, pytrace=pytrace) Failed: Timeout >300.0s FAILED [ 69%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_subclass_callables PASSED [ 69%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_tcp_cinfo PASSED [ 70%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_tcp_lifecycle PASSED [ 71%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_tcp_lifecycle_with_kernel_id PASSED [ 71%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_use_after_shutdown_all PASSED [ 72%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_use_pending_kernels PASSED [ 72%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_use_pending_kernels_early_interrupt PASSED [ 73%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_use_pending_kernels_early_restart PASSED [ 73%] jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_use_pending_kernels_early_shutdown PASSED [ 74%] jupyter_client/tests/test_provisioning.py::TestDiscovery::test_find_all_specs PASSED [ 75%] jupyter_client/tests/test_provisioning.py::TestDiscovery::test_get_missing PASSED [ 75%] jupyter_client/tests/test_provisioning.py::TestDiscovery::test_get_new PASSED [ 76%] jupyter_client/tests/test_provisioning.py::TestRuntime::test_existing[no_provisioner] PASSED [ 76%] jupyter_client/tests/test_provisioning.py::TestRuntime::test_existing[default_provisioner] PASSED [ 77%] jupyter_client/tests/test_provisioning.py::TestRuntime::test_existing[missing_provisioner] PASSED [ 77%] jupyter_client/tests/test_provisioning.py::TestRuntime::test_existing[custom_provisioner] PASSED [ 78%] jupyter_client/tests/test_provisioning.py::TestRuntime::test_existing[subclassed_provisioner] PASSED [ 78%] jupyter_client/tests/test_provisioning.py::TestRuntime::test_new PASSED [ 79%] jupyter_client/tests/test_provisioning.py::TestRuntime::test_custom_lifecycle PASSED [ 80%] jupyter_client/tests/test_provisioning.py::TestRuntime::test_default_provisioner_config PASSED [ 80%] jupyter_client/tests/test_public_api.py::test_kms PASSED [ 81%] jupyter_client/tests/test_public_api.py::test_kcs PASSED [ 81%] jupyter_client/tests/test_public_api.py::test_launcher PASSED [ 82%] jupyter_client/tests/test_public_api.py::test_connect PASSED [ 82%] jupyter_client/tests/test_restarter.py::test_restart_check[tcp] PASSED [ 83%] jupyter_client/tests/test_restarter.py::test_restart_check[ipc] PASSED [ 84%] jupyter_client/tests/test_restarter.py::test_restarter_gives_up[tcp] FAILED [ 84%] jupyter_client/tests/test_restarter.py::test_restarter_gives_up[ipc] FAILED [ 85%] jupyter_client/tests/test_restarter.py::test_async_restart_check[tcp] PASSED [ 85%] jupyter_client/tests/test_restarter.py::test_async_restart_check[ipc] PASSED [ 86%] jupyter_client/tests/test_restarter.py::test_async_restarter_gives_up[tcp] FAILED [ 86%] jupyter_client/tests/test_restarter.py::test_async_restarter_gives_up[ipc] FAILED [ 87%] jupyter_client/tests/test_session.py::TestSession::test_args PASSED [ 88%] jupyter_client/tests/test_session.py::TestSession::test_bad_pack PASSED [ 88%] jupyter_client/tests/test_session.py::TestSession::test_bad_packer PASSED [ 89%] jupyter_client/tests/test_session.py::TestSession::test_bad_roundtrip PASSED [ 89%] jupyter_client/tests/test_session.py::TestSession::test_bad_unpack PASSED [ 90%] jupyter_client/tests/test_session.py::TestSession::test_bad_unpacker PASSED [ 90%] jupyter_client/tests/test_session.py::TestSession::test_clone PASSED [ 91%] jupyter_client/tests/test_session.py::TestSession::test_cull_digest_history PASSED [ 92%] jupyter_client/tests/test_session.py::TestSession::test_datetimes PASSED [ 92%] jupyter_client/tests/test_session.py::TestSession::test_datetimes_msgpack PASSED [ 93%] jupyter_client/tests/test_session.py::TestSession::test_datetimes_pickle PASSED [ 93%] jupyter_client/tests/test_session.py::TestSession::test_default_secure PASSED [ 94%] jupyter_client/tests/test_session.py::TestSession::test_feed_identities PASSED [ 94%] jupyter_client/tests/test_session.py::TestSession::test_msg PASSED [ 95%] jupyter_client/tests/test_session.py::TestSession::test_send PASSED [ 96%] jupyter_client/tests/test_session.py::TestSession::test_send_raw PASSED [ 96%] jupyter_client/tests/test_session.py::TestSession::test_serialize PASSED [ 97%] jupyter_client/tests/test_session.py::TestSession::test_session_id PASSED [ 97%] jupyter_client/tests/test_session.py::TestSession::test_tracking PASSED [ 98%] jupyter_client/tests/test_session.py::TestSession::test_unique_msg_ids PASSED [ 98%] jupyter_client/tests/test_session.py::TestSession::test_zero_digest_history PASSED [ 99%] jupyter_client/tests/test_ssh.py::test_random_ports PASSED [100%] ==================================== ERRORS ==================================== _____ ERROR at setup of TestAsyncKernelManager.test_start_new_async_kernel _____ event_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> request = > kwargs = {}, func = setup = ._asyncgen_fixture_wrapper..setup at 0xffffff7c1e4400> finalizer = ._asyncgen_fixture_wrapper..finalizer at 0xffffff7c1e4360> @functools.wraps(fixture) def _asyncgen_fixture_wrapper( event_loop: asyncio.AbstractEventLoop, request: SubRequest, **kwargs: Any ): func = _perhaps_rebind_fixture_func( fixture, request.instance, fixturedef.unittest ) gen_obj = func(**_add_kwargs(func, kwargs, event_loop, request))  async def setup(): res = await gen_obj.__anext__() return res  def finalizer() -> None: """Yield again, to finalize."""  async def async_finalizer() -> None: try: await gen_obj.__anext__() except StopAsyncIteration: pass else: msg = "Async generator fixture didn't stop." msg += "Yield only once." raise ValueError(msg)  event_loop.run_until_complete(async_finalizer())  > result = event_loop.run_until_complete(setup()) /usr/lib/python3.12/site-packages/pytest_asyncio/plugin.py:298: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/nest_asyncio.py:92: in run_until_complete self._run_once() /usr/lib/python3.12/site-packages/nest_asyncio.py:115: in _run_once event_list = self._selector.select(timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , timeout = 1.0 def select(self, timeout=None): if timeout is None: timeout = -1 elif timeout <= 0: timeout = 0 else: # epoll_wait() has a resolution of 1 millisecond, round away # from zero to wait *at least* timeout seconds. timeout = math.ceil(timeout * 1e3) * 1e-3  # epoll_wait() expects `maxevents` to be greater than zero; # we want to make sure that `select()` can be called when no # FD is registered. max_ev = max(len(self._fd_to_key), 1)  ready = [] try: > fd_event_list = self._selector.poll(timeout, max_ev) E Failed: Timeout >10.0s /usr/lib64/python3.12/selectors.py:468: Failed ---------------------------- Captured stderr setup ----------------------------- +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-18 (72057590204326272) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/threading.py", line 634, in wait signaled = self._cond.wait(timeout) File "/usr/lib64/python3.12/threading.py", line 338, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-17 (72057590657302912) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/threading.py", line 634, in wait signaled = self._cond.wait(timeout) File "/usr/lib64/python3.12/threading.py", line 338, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-16 (72057590908952960) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/threading.py", line 634, in wait signaled = self._cond.wait(timeout) File "/usr/lib64/python3.12/threading.py", line 338, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-14 (72057591454216576) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/threading.py", line 634, in wait signaled = self._cond.wait(timeout) File "/usr/lib64/python3.12/threading.py", line 338, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-13 (72057591851159936) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/threading.py", line 634, in wait signaled = self._cond.wait(timeout) File "/usr/lib64/python3.12/threading.py", line 338, in wait gotit = waiter.acquire(True, timeout) +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ =================================== FAILURES =================================== ________________________ TestKernelClient.test_complete ________________________ self = msg_id = 'f25d7de3-ac9913ba8147ddb78d65479c_1074669_47' timeout = 21.574862899258733, channel = 'shell' async def _async_recv_reply( self, msg_id: str, timeout: t.Optional[float] = None, channel: str = "shell" ) -> t.Dict[str, t.Any]: """Receive and return the reply for a given request""" if timeout is not None: deadline = time.monotonic() + timeout while True: if timeout is not None: timeout = max(0, deadline - time.monotonic()) try: if channel == "control": reply = await self._async_get_control_msg(timeout=timeout) else: > reply = await self._async_get_shell_msg(timeout=timeout) jupyter_client/client.py:228: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = (), kwargs = {'timeout': 21.574862899258733} async def _async_get_shell_msg(self, *args: t.Any, **kwargs: t.Any) -> t.Dict[str, t.Any]: """Get a message from the shell channel""" > return await self.shell_channel.get_msg(*args, **kwargs) jupyter_client/client.py:143: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = timeout = 21574.862899258733 async def get_msg(self, timeout: t.Optional[float] = None) -> t.Dict[str, t.Any]: """Gets a message if there is one that is ready.""" assert self.socket is not None if timeout is not None: timeout *= 1000 # seconds to ms ready = await self.socket.poll(timeout)  if ready: res = await self._recv() return res else: > raise Empty E _queue.Empty jupyter_client/channels.py:230: Empty The above exception was the direct cause of the following exception: self = def test_complete(self): kc = self.kc msg_id = kc.complete("who cares") self.assertIsInstance(msg_id, str) > reply = kc.complete("code", reply=True, timeout=TIMEOUT) jupyter_client/tests/test_client.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jupyter_client/blocking/client.py:23: in _ return run_sync(self._async_recv_reply)(msg_id, timeout=timeout, channel=channel) jupyter_client/utils.py:30: in wrapped raise e jupyter_client/utils.py:27: in wrapped return loop.run_until_complete(future) /usr/lib/python3.12/site-packages/nest_asyncio.py:98: in run_until_complete return f.result() /usr/lib64/python3.12/asyncio/futures.py:203: in result raise self._exception.with_traceback(self._exception_tb) /usr/lib64/python3.12/asyncio/tasks.py:304: in __step_run_and_handle_result result = coro.send(None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg_id = 'f25d7de3-ac9913ba8147ddb78d65479c_1074669_47' timeout = 21.574862899258733, channel = 'shell' async def _async_recv_reply( self, msg_id: str, timeout: t.Optional[float] = None, channel: str = "shell" ) -> t.Dict[str, t.Any]: """Receive and return the reply for a given request""" if timeout is not None: deadline = time.monotonic() + timeout while True: if timeout is not None: timeout = max(0, deadline - time.monotonic()) try: if channel == "control": reply = await self._async_get_control_msg(timeout=timeout) else: reply = await self._async_get_shell_msg(timeout=timeout) except Empty as e: > raise TimeoutError("Timeout waiting for reply") from e E TimeoutError: Timeout waiting for reply jupyter_client/client.py:230: TimeoutError ----------------------------- Captured stderr call ----------------------------- [IPKernelApp] WARNING | debugpy_stream undefined, debugging will not be enabled Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/IPython/core/completer.py", line 3171, in _complete result = matcher(context) ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/IPython/core/completer.py", line 2224, in _jedi_matcher matches = self._jedi_matches( ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/IPython/core/completer.py", line 2305, in _jedi_matches return filter(completion_filter, interpreter.complete(column=cursor_column, line=cursor_line + 1)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/jedi/api/helpers.py", line 487, in wrapper return func(self, line, column, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/jedi/api/__init__.py", line 215, in complete return completion.complete() ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/jedi/api/completion.py", line 170, in complete cached_name, completion_names = self._complete_python(leaf) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/jedi/api/completion.py", line 319, in _complete_python completion_names += self._complete_keywords( File "/usr/lib/python3.12/site-packages/jedi/api/completion.py", line 367, in _complete_keywords yield keywords.KeywordName(self._inference_state, k) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/jedi/inference/names.py", line 103, in __init__ self.parent_context = inference_state.builtins_module ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/jedi/inference/cache.py", line 44, in wrapper rv = function(obj, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/jedi/inference/__init__.py", line 129, in builtins_module builtins_module, = self.import_module((module_name,), sys_path=[]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/jedi/inference/__init__.py", line 112, in import_module return imports.import_module_by_names( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/jedi/inference/imports.py", line 377, in import_module_by_names import_module( File "/usr/lib/python3.12/site-packages/jedi/plugins/__init__.py", line 21, in wrapper return built_functions[public_name](*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/jedi/plugins/flask.py", line 20, in wrapper return callback(inference_state, import_names, module_context, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/jedi/inference/gradual/typeshed.py", line 124, in wrapper stub = try_to_load_stub_cached(inference_state, import_names, python_value_set, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/jedi/inference/gradual/typeshed.py", line 146, in try_to_load_stub_cached _try_to_load_stub(inference_state, import_names, *args, **kwargs) File "/usr/lib/python3.12/site-packages/jedi/inference/gradual/typeshed.py", line 213, in _try_to_load_stub m = _load_from_typeshed(inference_state, python_value_set, parent_module_value, import_names) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/jedi/inference/gradual/typeshed.py", line 263, in _load_from_typeshed return _try_to_load_stub_from_file( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/jedi/inference/gradual/typeshed.py", line 273, in _try_to_load_stub_from_file stub_module_node = parse_stub_module(inference_state, file_io) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/jedi/inference/gradual/typeshed.py", line 285, in parse_stub_module return inference_state.parse( ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/jedi/inference/__init__.py", line 199, in parse return self.parse_and_get_code(*args, **kwargs)[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/jedi/inference/__init__.py", line 196, in parse_and_get_code return grammar.parse(code=code, path=path, file_io=file_io, **kwargs), code ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/parso/grammar.py", line 156, in parse root_node = p.parse(tokens=tokens) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/parso/python/parser.py", line 79, in parse return super().parse(tokens) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/parso/parser.py", line 129, in parse self._add_token(token) File "/usr/lib/python3.12/site-packages/parso/parser.py", line 180, in _add_token plan = stack[-1].dfa.transitions[transition] ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^ File "/usr/lib64/python3.12/enum.py", line 1251, in __hash__ def __hash__(self): KeyboardInterrupt ________________ TestParallel.test_start_sequence_kernels[tcp] _________________ self = config = {'KernelManager': {'transport': 'tcp'}}, install_kernel = None @pytest.mark.timeout(TIMEOUT) def test_start_sequence_kernels(self, config, install_kernel): """Ensure that a sequence of kernel startups doesn't break anything.""" > self._run_signaltest_lifecycle(config) jupyter_client/tests/test_kernelmanager.py:362: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jupyter_client/tests/test_kernelmanager.py:422: in _run_signaltest_lifecycle kc = self._prepare_kernel(km, stdout=PIPE, stderr=PIPE) jupyter_client/tests/test_kernelmanager.py:412: in _prepare_kernel kc.wait_for_ready(timeout=startup_timeout) jupyter_client/utils.py:30: in wrapped raise e jupyter_client/utils.py:27: in wrapped return loop.run_until_complete(future) /usr/lib/python3.12/site-packages/nest_asyncio.py:92: in run_until_complete self._run_once() /usr/lib/python3.12/site-packages/nest_asyncio.py:115: in _run_once event_list = self._selector.select(timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , timeout = 1.0 def select(self, timeout=None): if timeout is None: timeout = -1 elif timeout <= 0: timeout = 0 else: # epoll_wait() has a resolution of 1 millisecond, round away # from zero to wait *at least* timeout seconds. timeout = math.ceil(timeout * 1e3) * 1e-3  # epoll_wait() expects `maxevents` to be greater than zero; # we want to make sure that `select()` can be called when no # FD is registered. max_ev = max(len(self._fd_to_key), 1)  ready = [] try: > fd_event_list = self._selector.poll(timeout, max_ev) E Failed: Timeout >30.0s /usr/lib64/python3.12/selectors.py:468: Failed ----------------------------- Captured stderr call ----------------------------- +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-13 (72057591851159936) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/threading.py", line 634, in wait signaled = self._cond.wait(timeout) File "/usr/lib64/python3.12/threading.py", line 338, in wait gotit = waiter.acquire(True, timeout) +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ________________ TestParallel.test_start_sequence_kernels[ipc] _________________ self = config = {'KernelManager': {'transport': 'ipc', 'ip': 'test'}} install_kernel = None @pytest.mark.timeout(TIMEOUT) def test_start_sequence_kernels(self, config, install_kernel): """Ensure that a sequence of kernel startups doesn't break anything.""" > self._run_signaltest_lifecycle(config) jupyter_client/tests/test_kernelmanager.py:362: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jupyter_client/tests/test_kernelmanager.py:422: in _run_signaltest_lifecycle kc = self._prepare_kernel(km, stdout=PIPE, stderr=PIPE) jupyter_client/tests/test_kernelmanager.py:412: in _prepare_kernel kc.wait_for_ready(timeout=startup_timeout) jupyter_client/utils.py:30: in wrapped raise e jupyter_client/utils.py:27: in wrapped return loop.run_until_complete(future) /usr/lib/python3.12/site-packages/nest_asyncio.py:92: in run_until_complete self._run_once() /usr/lib/python3.12/site-packages/nest_asyncio.py:115: in _run_once event_list = self._selector.select(timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , timeout = 1.0 def select(self, timeout=None): if timeout is None: timeout = -1 elif timeout <= 0: timeout = 0 else: # epoll_wait() has a resolution of 1 millisecond, round away # from zero to wait *at least* timeout seconds. timeout = math.ceil(timeout * 1e3) * 1e-3  # epoll_wait() expects `maxevents` to be greater than zero; # we want to make sure that `select()` can be called when no # FD is registered. max_ev = max(len(self._fd_to_key), 1)  ready = [] try: > fd_event_list = self._selector.poll(timeout, max_ev) E Failed: Timeout >30.0s /usr/lib64/python3.12/selectors.py:468: Failed ----------------------------- Captured stderr call ----------------------------- +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-14 (72057591454216576) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/site-packages/zmq/_future.py", line 341, in send return self._add_send_event('send', msg=data, kwargs=kwargs) File "/usr/lib64/python3.12/site-packages/zmq/_future.py", line 530, in _add_send_event return f File "/usr/lib64/python3.12/site-packages/zmq/sugar/socket.py", line 696, in send return super().send(data, flags=flags, copy=copy, track=track) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-13 (72057591851159936) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/threading.py", line 634, in wait signaled = self._cond.wait(timeout) File "/usr/lib64/python3.12/threading.py", line 338, in wait gotit = waiter.acquire(True, timeout) +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ _____________ TestParallel.test_start_parallel_thread_kernels[tcp] _____________ self = config = {'KernelManager': {'transport': 'tcp'}}, install_kernel = None @pytest.mark.timeout(TIMEOUT + 10) def test_start_parallel_thread_kernels(self, config, install_kernel): if config.KernelManager.transport == "ipc": # FIXME pytest.skip("IPC transport is currently not working for this test!") > self._run_signaltest_lifecycle(config) jupyter_client/tests/test_kernelmanager.py:370: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jupyter_client/tests/test_kernelmanager.py:422: in _run_signaltest_lifecycle kc = self._prepare_kernel(km, stdout=PIPE, stderr=PIPE) jupyter_client/tests/test_kernelmanager.py:412: in _prepare_kernel kc.wait_for_ready(timeout=startup_timeout) jupyter_client/utils.py:30: in wrapped raise e jupyter_client/utils.py:27: in wrapped return loop.run_until_complete(future) /usr/lib/python3.12/site-packages/nest_asyncio.py:98: in run_until_complete return f.result() /usr/lib64/python3.12/asyncio/futures.py:203: in result raise self._exception.with_traceback(self._exception_tb) /usr/lib64/python3.12/asyncio/tasks.py:304: in __step_run_and_handle_result result = coro.send(None) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = timeout = 30 async def _async_wait_for_ready(self, timeout: t.Optional[float] = None) -> None: """Waits for a response when a client is blocked  - Sets future time for timeout - Blocks on shell channel until a message is received - Exit if the kernel has died - If client times out before receiving a message from the kernel, send RuntimeError - Flush the IOPub channel """ if timeout is None: timeout = float("inf") abs_timeout = time.time() + timeout  from .manager import KernelManager  if not isinstance(self.parent, KernelManager): # This Client was not created by a KernelManager, # so wait for kernel to become responsive to heartbeats # before checking for kernel_info reply while not await ensure_async(self.is_alive()): if time.time() > abs_timeout: raise RuntimeError( "Kernel didn't respond to heartbeats in %d seconds and timed out" % timeout ) await asyncio.sleep(0.2)  # Wait for kernel info reply on shell channel while True: self.kernel_info() try: msg = await self.shell_channel.get_msg(timeout=1) except Empty: pass else: if msg["msg_type"] == "kernel_info_reply": # Checking that IOPub is connected. If it is not connected, start over. try: await self.iopub_channel.get_msg(timeout=0.2) except Empty: pass else: self._handle_kernel_info_reply(msg) break  if not await ensure_async(self.is_alive()): raise RuntimeError("Kernel died before replying to kernel_info")  # Check if current time is ready check time plus timeout if time.time() > abs_timeout: > raise RuntimeError("Kernel didn't respond in %d seconds" % timeout) E RuntimeError: Kernel didn't respond in 30 seconds jupyter_client/client.py:206: RuntimeError ____________ TestParallel.test_start_parallel_process_kernels[tcp] _____________ self = config = {'KernelManager': {'transport': 'tcp'}}, install_kernel = None @pytest.mark.timeout(TIMEOUT) @pytest.mark.skipif( (sys.platform == "darwin") and (sys.version_info >= (3, 6)) and (sys.version_info < (3, 8)), reason='"Bad file descriptor" error', ) def test_start_parallel_process_kernels(self, config, install_kernel): if config.KernelManager.transport == "ipc": # FIXME pytest.skip("IPC transport is currently not working for this test!") > self._run_signaltest_lifecycle(config) jupyter_client/tests/test_kernelmanager.py:386: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jupyter_client/tests/test_kernelmanager.py:422: in _run_signaltest_lifecycle kc = self._prepare_kernel(km, stdout=PIPE, stderr=PIPE) jupyter_client/tests/test_kernelmanager.py:412: in _prepare_kernel kc.wait_for_ready(timeout=startup_timeout) jupyter_client/utils.py:30: in wrapped raise e jupyter_client/utils.py:27: in wrapped return loop.run_until_complete(future) /usr/lib/python3.12/site-packages/nest_asyncio.py:92: in run_until_complete self._run_once() /usr/lib/python3.12/site-packages/nest_asyncio.py:115: in _run_once event_list = self._selector.select(timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , timeout = 1.0 def select(self, timeout=None): if timeout is None: timeout = -1 elif timeout <= 0: timeout = 0 else: # epoll_wait() has a resolution of 1 millisecond, round away # from zero to wait *at least* timeout seconds. timeout = math.ceil(timeout * 1e3) * 1e-3  # epoll_wait() expects `maxevents` to be greater than zero; # we want to make sure that `select()` can be called when no # FD is registered. max_ev = max(len(self._fd_to_key), 1)  ready = [] try: > fd_event_list = self._selector.poll(timeout, max_ev) E Failed: Timeout >30.0s /usr/lib64/python3.12/selectors.py:468: Failed ----------------------------- Captured stderr call ----------------------------- +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-16 (72057590908952960) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/threading.py", line 634, in wait signaled = self._cond.wait(timeout) File "/usr/lib64/python3.12/threading.py", line 338, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-14 (72057591454216576) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/threading.py", line 634, in wait signaled = self._cond.wait(timeout) File "/usr/lib64/python3.12/threading.py", line 338, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-13 (72057591851159936) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/threading.py", line 634, in wait signaled = self._cond.wait(timeout) File "/usr/lib64/python3.12/threading.py", line 338, in wait gotit = waiter.acquire(True, timeout) +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ____________ TestParallel.test_start_sequence_process_kernels[tcp] _____________ self = config = {'KernelManager': {'transport': 'tcp'}}, install_kernel = None @pytest.mark.timeout(TIMEOUT) @pytest.mark.skipif( (sys.platform == "darwin") and (sys.version_info >= (3, 6)) and (sys.version_info < (3, 8)), reason='"Bad file descriptor" error', ) def test_start_sequence_process_kernels(self, config, install_kernel): if config.KernelManager.transport == "ipc": # FIXME pytest.skip("IPC transport is currently not working for this test!") > self._run_signaltest_lifecycle(config) jupyter_client/tests/test_kernelmanager.py:402: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jupyter_client/tests/test_kernelmanager.py:422: in _run_signaltest_lifecycle kc = self._prepare_kernel(km, stdout=PIPE, stderr=PIPE) jupyter_client/tests/test_kernelmanager.py:412: in _prepare_kernel kc.wait_for_ready(timeout=startup_timeout) jupyter_client/utils.py:30: in wrapped raise e jupyter_client/utils.py:27: in wrapped return loop.run_until_complete(future) /usr/lib/python3.12/site-packages/nest_asyncio.py:92: in run_until_complete self._run_once() /usr/lib/python3.12/site-packages/nest_asyncio.py:115: in _run_once event_list = self._selector.select(timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , timeout = 1.0 def select(self, timeout=None): if timeout is None: timeout = -1 elif timeout <= 0: timeout = 0 else: # epoll_wait() has a resolution of 1 millisecond, round away # from zero to wait *at least* timeout seconds. timeout = math.ceil(timeout * 1e3) * 1e-3  # epoll_wait() expects `maxevents` to be greater than zero; # we want to make sure that `select()` can be called when no # FD is registered. max_ev = max(len(self._fd_to_key), 1)  ready = [] try: > fd_event_list = self._selector.poll(timeout, max_ev) E Failed: Timeout >30.0s /usr/lib64/python3.12/selectors.py:468: Failed ----------------------------- Captured stderr call ----------------------------- +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-17 (72057590657302912) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/threading.py", line 634, in wait signaled = self._cond.wait(timeout) File "/usr/lib64/python3.12/threading.py", line 338, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-16 (72057590908952960) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/threading.py", line 634, in wait signaled = self._cond.wait(timeout) File "/usr/lib64/python3.12/threading.py", line 338, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-14 (72057591454216576) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/threading.py", line 634, in wait signaled = self._cond.wait(timeout) File "/usr/lib64/python3.12/threading.py", line 338, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-13 (72057591851159936) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/threading.py", line 634, in wait signaled = self._cond.wait(timeout) File "/usr/lib64/python3.12/threading.py", line 338, in wait gotit = waiter.acquire(True, timeout) +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ____________ TestAsyncKernelManager.test_start_sequence_ipc_kernels ____________ /usr/lib64/python3.12/site-packages/tornado/testing.py:102: in __call__ result = self.orig_method(*args, **kwargs) /usr/lib64/python3.12/site-packages/tornado/testing.py:620: in post_coroutine return self.io_loop.run_sync( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = func = functools.partial(, ) timeout = 5 def run_sync(self, func: Callable, timeout: Optional[float] = None) -> Any: """Starts the `IOLoop`, runs the given function, and stops the loop.  The function must return either an awaitable object or ``None``. If the function returns an awaitable object, the `IOLoop` will run until the awaitable is resolved (and `run_sync()` will return the awaitable's result). If it raises an exception, the `IOLoop` will stop and the exception will be re-raised to the caller.  The keyword-only argument ``timeout`` may be used to set a maximum duration for the function. If the timeout expires, a `asyncio.TimeoutError` is raised.  This method is useful to allow asynchronous calls in a ``main()`` function::  async def main(): # do stuff...  if __name__ == '__main__': IOLoop.current().run_sync(main)  .. versionchanged:: 4.3 Returning a non-``None``, non-awaitable value is now an error.  .. versionchanged:: 5.0 If a timeout occurs, the ``func`` coroutine will be cancelled.  .. versionchanged:: 6.2 ``tornado.util.TimeoutError`` is now an alias to ``asyncio.TimeoutError``. """ future_cell = [None] # type: List[Optional[Future]]  def run() -> None: try: result = func() if result is not None: from tornado.gen import convert_yielded  result = convert_yielded(result) except Exception: fut = Future() # type: Future[Any] future_cell[0] = fut future_set_exc_info(fut, sys.exc_info()) else: if is_future(result): future_cell[0] = result else: fut = Future() future_cell[0] = fut fut.set_result(result) assert future_cell[0] is not None self.add_future(future_cell[0], lambda future: self.stop())  self.add_callback(run) if timeout is not None:  def timeout_callback() -> None: # If we can cancel the future, do so and wait on it. If not, # Just stop the loop and return with the task still pending. # (If we neither cancel nor wait for the task, a warning # will be logged). assert future_cell[0] is not None if not future_cell[0].cancel(): self.stop()  timeout_handle = self.add_timeout(self.time() + timeout, timeout_callback) self.start() if timeout is not None: self.remove_timeout(timeout_handle) assert future_cell[0] is not None if future_cell[0].cancelled() or not future_cell[0].done(): > raise TimeoutError("Operation timed out after %s seconds" % timeout) E TimeoutError: Operation timed out after 5 seconds /usr/lib64/python3.12/site-packages/tornado/ioloop.py:526: TimeoutError ____________ TestAsyncKernelManager.test_start_sequence_tcp_kernels ____________ /usr/lib64/python3.12/site-packages/tornado/testing.py:102: in __call__ result = self.orig_method(*args, **kwargs) /usr/lib64/python3.12/site-packages/tornado/testing.py:620: in post_coroutine return self.io_loop.run_sync( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = func = functools.partial(, ) timeout = 5 def run_sync(self, func: Callable, timeout: Optional[float] = None) -> Any: """Starts the `IOLoop`, runs the given function, and stops the loop.  The function must return either an awaitable object or ``None``. If the function returns an awaitable object, the `IOLoop` will run until the awaitable is resolved (and `run_sync()` will return the awaitable's result). If it raises an exception, the `IOLoop` will stop and the exception will be re-raised to the caller.  The keyword-only argument ``timeout`` may be used to set a maximum duration for the function. If the timeout expires, a `asyncio.TimeoutError` is raised.  This method is useful to allow asynchronous calls in a ``main()`` function::  async def main(): # do stuff...  if __name__ == '__main__': IOLoop.current().run_sync(main)  .. versionchanged:: 4.3 Returning a non-``None``, non-awaitable value is now an error.  .. versionchanged:: 5.0 If a timeout occurs, the ``func`` coroutine will be cancelled.  .. versionchanged:: 6.2 ``tornado.util.TimeoutError`` is now an alias to ``asyncio.TimeoutError``. """ future_cell = [None] # type: List[Optional[Future]]  def run() -> None: try: result = func() if result is not None: from tornado.gen import convert_yielded  result = convert_yielded(result) except Exception: fut = Future() # type: Future[Any] future_cell[0] = fut future_set_exc_info(fut, sys.exc_info()) else: if is_future(result): future_cell[0] = result else: fut = Future() future_cell[0] = fut fut.set_result(result) assert future_cell[0] is not None self.add_future(future_cell[0], lambda future: self.stop())  self.add_callback(run) if timeout is not None:  def timeout_callback() -> None: # If we can cancel the future, do so and wait on it. If not, # Just stop the loop and return with the task still pending. # (If we neither cancel nor wait for the task, a warning # will be logged). assert future_cell[0] is not None if not future_cell[0].cancel(): self.stop()  timeout_handle = self.add_timeout(self.time() + timeout, timeout_callback) self.start() if timeout is not None: self.remove_timeout(timeout_handle) assert future_cell[0] is not None if future_cell[0].cancelled() or not future_cell[0].done(): > raise TimeoutError("Operation timed out after %s seconds" % timeout) E TimeoutError: Operation timed out after 5 seconds /usr/lib64/python3.12/site-packages/tornado/ioloop.py:526: TimeoutError _________________________ test_restarter_gives_up[tcp] _________________________ args = () kwargs = {'config': {'KernelManager': {'transport': 'tcp'}, 'KernelRestarter': {'restart_limit': 1, 'debug': True}}, 'debug_logging': None, 'install_fail_kernel': 'problemtest-fail'} coro = task = wait_for=> @functools.wraps(func) def inner(*args, **kwargs): coro = func(*args, **kwargs) if not inspect.isawaitable(coro): pyfuncitem.warn( pytest.PytestWarning( f"The test {pyfuncitem} is marked with '@pytest.mark.asyncio' " "but it is not an async function. " "Please remove asyncio marker. " "If the test is not marked explicitly, " "check for global markers applied via 'pytestmark'." ) ) return task = asyncio.ensure_future(coro, loop=_loop) try: > _loop.run_until_complete(task) /usr/lib/python3.12/site-packages/pytest_asyncio/plugin.py:525: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/nest_asyncio.py:92: in run_until_complete self._run_once() /usr/lib/python3.12/site-packages/nest_asyncio.py:115: in _run_once event_list = self._selector.select(timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , timeout = 2.968 def select(self, timeout=None): if timeout is None: timeout = -1 elif timeout <= 0: timeout = 0 else: # epoll_wait() has a resolution of 1 millisecond, round away # from zero to wait *at least* timeout seconds. timeout = math.ceil(timeout * 1e3) * 1e-3  # epoll_wait() expects `maxevents` to be greater than zero; # we want to make sure that `select()` can be called when no # FD is registered. max_ev = max(len(self._fd_to_key), 1)  ready = [] try: > fd_event_list = self._selector.poll(timeout, max_ev) E Failed: Timeout >300.0s /usr/lib64/python3.12/selectors.py:468: Failed ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 1052, in launch_instance app.initialize(argv) File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 117, in inner return method(app, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 689, in initialize self.init_sockets() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 1052, in launch_instance app.initialize(argv) File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 117, in inner return method(app, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 689, in initialize self.init_sockets() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 1052, in launch_instance app.initialize(argv) File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 117, in inner return method(app, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 689, in initialize self.init_sockets() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 1052, in launch_instance app.initialize(argv) File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 117, in inner return method(app, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 689, in initialize self.init_sockets() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 1052, in launch_instance app.initialize(argv) File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 117, in inner return method(app, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 689, in initialize self.init_sockets() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-18 (72057590204326272) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/site-packages/zmq/_future.py", line 341, in send return self._add_send_event('send', msg=data, kwargs=kwargs) File "/usr/lib64/python3.12/site-packages/zmq/_future.py", line 530, in _add_send_event return f File "/usr/lib64/python3.12/site-packages/zmq/sugar/socket.py", line 696, in send return super().send(data, flags=flags, copy=copy, track=track) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-17 (72057590657302912) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/threading.py", line 634, in wait signaled = self._cond.wait(timeout) File "/usr/lib64/python3.12/threading.py", line 338, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-16 (72057590908952960) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/threading.py", line 634, in wait signaled = self._cond.wait(timeout) File "/usr/lib64/python3.12/threading.py", line 338, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-14 (72057591454216576) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/threading.py", line 634, in wait signaled = self._cond.wait(timeout) File "/usr/lib64/python3.12/threading.py", line 338, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-13 (72057591851159936) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 139, in _async_run await self.socket.recv() File "/usr/lib64/python3.12/site-packages/zmq/_future.py", line 309, in recv return self._add_recv_event('recv', dict(flags=flags, copy=copy, track=track)) File "/usr/lib64/python3.12/site-packages/zmq/_future.py", line 462, in _add_recv_event if kind.startswith('recv') and kwargs.get('flags', 0) & _zmq.DONTWAIT: File "/usr/lib64/python3.12/enum.py", line 1546, in __and__ return self.__class__(value & other) File "/usr/lib64/python3.12/enum.py", line 709, in __call__ def __call__(cls, value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None): File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/multikernelmanager.py", line 123, in __del__ self.context.destroy() File "/usr/lib64/python3.12/site-packages/zmq/sugar/context.py", line 333, in destroy self.term() File "/usr/lib64/python3.12/site-packages/zmq/sugar/context.py", line 275, in term super().term() +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ------------------------------ Captured log call ------------------------------- DEBUG traitlets:factory.py:96 Instantiating kernel 'Problematic Test Kernel' with kernel provisioner: custom-test-provisioner DEBUG traitlets:manager.py:394 Starting kernel: ['/usr/bin/python3', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpeipyms7y.json'] DEBUG traitlets:connect.py:657 Connecting to: tcp://127.0.0.1:52977 DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... INFO traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports DEBUG traitlets:manager.py:394 Starting kernel: ['/usr/bin/python3', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpeipyms7y.json'] DEBUG traitlets:connect.py:657 Connecting to: tcp://127.0.0.1:52977 DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... INFO traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff64648f40> failed Traceback (most recent call last): File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG traitlets:manager.py:394 Starting kernel: ['/usr/bin/python3', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpeipyms7y.json'] DEBUG traitlets:connect.py:657 Connecting to: tcp://127.0.0.1:52977 DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:client.py:128 Destroying zmq context for WARNING traitlets:client.py:125 Could not destroy zmq context for WARNING traitlets:client.py:125 Could not destroy zmq context for WARNING traitlets:client.py:125 Could not destroy zmq context for DEBUG traitlets:client.py:128 Destroying zmq context for WARNING traitlets:client.py:125 Could not destroy zmq context for WARNING traitlets:client.py:125 Could not destroy zmq context for ERROR asyncio:base_events.py:1785 Task was destroyed but it is pending! task: wait_for=> DEBUG traitlets:multikernelmanager.py:122 Destroying zmq context for DEBUG traitlets:multikernelmanager.py:122 Destroying zmq context for DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... INFO traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff64648f40> failed Traceback (most recent call last): File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG traitlets:manager.py:394 Starting kernel: ['/usr/bin/python3', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpeipyms7y.json'] DEBUG traitlets:connect.py:657 Connecting to: tcp://127.0.0.1:52977 DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... INFO traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff64648f40> failed Traceback (most recent call last): File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG traitlets:manager.py:394 Starting kernel: ['/usr/bin/python3', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpeipyms7y.json'] DEBUG traitlets:connect.py:657 Connecting to: tcp://127.0.0.1:52977 DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... INFO traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff64648f40> failed Traceback (most recent call last): File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG traitlets:manager.py:394 Starting kernel: ['/usr/bin/python3', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpeipyms7y.json'] DEBUG traitlets:connect.py:657 Connecting to: tcp://127.0.0.1:52977 _________________________ test_restarter_gives_up[ipc] _________________________ args = () kwargs = {'config': {'KernelManager': {'transport': 'ipc', 'ip': 'test'}, 'KernelRestarter': {'restart_limit': 1, 'debug': True}}, 'debug_logging': None, 'install_fail_kernel': 'problemtest-fail'} coro = task = wait_for=> @functools.wraps(func) def inner(*args, **kwargs): coro = func(*args, **kwargs) if not inspect.isawaitable(coro): pyfuncitem.warn( pytest.PytestWarning( f"The test {pyfuncitem} is marked with '@pytest.mark.asyncio' " "but it is not an async function. " "Please remove asyncio marker. " "If the test is not marked explicitly, " "check for global markers applied via 'pytestmark'." ) ) return task = asyncio.ensure_future(coro, loop=_loop) try: > _loop.run_until_complete(task) /usr/lib/python3.12/site-packages/pytest_asyncio/plugin.py:525: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/nest_asyncio.py:92: in run_until_complete self._run_once() /usr/lib/python3.12/site-packages/nest_asyncio.py:115: in _run_once event_list = self._selector.select(timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , timeout = 2.988 def select(self, timeout=None): if timeout is None: timeout = -1 elif timeout <= 0: timeout = 0 else: # epoll_wait() has a resolution of 1 millisecond, round away # from zero to wait *at least* timeout seconds. timeout = math.ceil(timeout * 1e3) * 1e-3  # epoll_wait() expects `maxevents` to be greater than zero; # we want to make sure that `select()` can be called when no # FD is registered. max_ev = max(len(self._fd_to_key), 1)  ready = [] try: > fd_event_list = self._selector.poll(timeout, max_ev) E Failed: Timeout >300.0s /usr/lib64/python3.12/selectors.py:468: Failed ----------------------------- Captured stderr call ----------------------------- /usr/lib/python3.12/site-packages/IPython/paths.py:69: UserWarning: IPython parent '/tmp/tmp9s1gu80d' is not a writable location, using a temp directory. warn("IPython parent '{0}' is not a writable location," Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 1052, in launch_instance app.initialize(argv) File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 117, in inner return method(app, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 689, in initialize self.init_sockets() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 1052, in launch_instance app.initialize(argv) File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 117, in inner return method(app, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 689, in initialize self.init_sockets() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 1052, in launch_instance app.initialize(argv) File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 117, in inner return method(app, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 689, in initialize self.init_sockets() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 1052, in launch_instance app.initialize(argv) File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 117, in inner return method(app, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 689, in initialize self.init_sockets() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 1052, in launch_instance app.initialize(argv) File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 117, in inner return method(app, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 689, in initialize self.init_sockets() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 1052, in launch_instance app.initialize(argv) File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 117, in inner return method(app, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 689, in initialize self.init_sockets() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-18 (72057590204326272) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/site-packages/zmq/_future.py", line 341, in send return self._add_send_event('send', msg=data, kwargs=kwargs) File "/usr/lib64/python3.12/site-packages/zmq/_future.py", line 530, in _add_send_event return f File "/usr/lib64/python3.12/site-packages/zmq/sugar/socket.py", line 696, in send return super().send(data, flags=flags, copy=copy, track=track) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-17 (72057590657302912) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/threading.py", line 634, in wait signaled = self._cond.wait(timeout) File "/usr/lib64/python3.12/threading.py", line 338, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-16 (72057590908952960) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/site-packages/zmq/sugar/poll.py", line 104, in poll return zmq_poll(self.sockets, timeout=timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-14 (72057591454216576) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/threading.py", line 634, in wait signaled = self._cond.wait(timeout) File "/usr/lib64/python3.12/threading.py", line 338, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-13 (72057591851159936) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 139, in _async_run await self.socket.recv() File "/usr/lib64/python3.12/site-packages/zmq/_future.py", line 309, in recv return self._add_recv_event('recv', dict(flags=flags, copy=copy, track=track)) File "/usr/lib64/python3.12/site-packages/zmq/_future.py", line 462, in _add_recv_event if kind.startswith('recv') and kwargs.get('flags', 0) & _zmq.DONTWAIT: File "/usr/lib64/python3.12/enum.py", line 1546, in __and__ return self.__class__(value & other) File "/usr/lib64/python3.12/enum.py", line 709, in __call__ def __call__(cls, value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None): File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/multikernelmanager.py", line 123, in __del__ self.context.destroy() File "/usr/lib64/python3.12/site-packages/zmq/sugar/context.py", line 333, in destroy self.term() File "/usr/lib64/python3.12/site-packages/zmq/sugar/context.py", line 275, in term super().term() +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ------------------------------ Captured log call ------------------------------- DEBUG traitlets:factory.py:96 Instantiating kernel 'Problematic Test Kernel' with kernel provisioner: custom-test-provisioner DEBUG traitlets:manager.py:394 Starting kernel: ['/usr/bin/python3', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpwco_ug44.json'] DEBUG traitlets:connect.py:657 Connecting to: ipc://test-14 DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... INFO traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports DEBUG traitlets:manager.py:394 Starting kernel: ['/usr/bin/python3', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpwco_ug44.json'] DEBUG traitlets:connect.py:657 Connecting to: ipc://test-14 DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... INFO traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff7e99fa60> failed Traceback (most recent call last): File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG traitlets:manager.py:394 Starting kernel: ['/usr/bin/python3', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpwco_ug44.json'] DEBUG traitlets:connect.py:657 Connecting to: ipc://test-14 DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... INFO traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff7e99fa60> failed Traceback (most recent call last): File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG traitlets:manager.py:394 Starting kernel: ['/usr/bin/python3', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpwco_ug44.json'] DEBUG traitlets:connect.py:657 Connecting to: ipc://test-14 DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... INFO traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff7e99fa60> failed Traceback (most recent call last): File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG traitlets:manager.py:394 Starting kernel: ['/usr/bin/python3', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpwco_ug44.json'] DEBUG traitlets:connect.py:657 Connecting to: ipc://test-14 DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... INFO traitlets:restarter.py:136 KernelRestarter: restarting kernel (1/1), keep random ports ERROR traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff7e99fa60> failed Traceback (most recent call last): File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/test_restarter.py", line 153, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 1 times! DEBUG traitlets:manager.py:394 Starting kernel: ['/usr/bin/python3', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpwco_ug44.json'] DEBUG traitlets:connect.py:657 Connecting to: ipc://test-14 DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:161 KernelRestarter: restart apparently succeeded DEBUG traitlets:restarter.py:116 Polling kernel... DEBUG traitlets:restarter.py:116 Polling kernel... ______________________ test_async_restarter_gives_up[tcp] ______________________ args = () kwargs = {'config': {'KernelManager': {'transport': 'tcp'}, 'KernelRestarter': {'restart_limit': 2, 'debug': True, 'stable_start_time': 30.0}}, 'debug_logging': None, 'install_slow_fail_kernel': 'problemtest-slow'} coro = task = wait_for=> @functools.wraps(func) def inner(*args, **kwargs): coro = func(*args, **kwargs) if not inspect.isawaitable(coro): pyfuncitem.warn( pytest.PytestWarning( f"The test {pyfuncitem} is marked with '@pytest.mark.asyncio' " "but it is not an async function. " "Please remove asyncio marker. " "If the test is not marked explicitly, " "check for global markers applied via 'pytestmark'." ) ) return task = asyncio.ensure_future(coro, loop=_loop) try: > _loop.run_until_complete(task) /usr/lib/python3.12/site-packages/pytest_asyncio/plugin.py:525: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/nest_asyncio.py:92: in run_until_complete self._run_once() /usr/lib/python3.12/site-packages/nest_asyncio.py:115: in _run_once event_list = self._selector.select(timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = timeout = 2.7720000000000002 def select(self, timeout=None): if timeout is None: timeout = -1 elif timeout <= 0: timeout = 0 else: # epoll_wait() has a resolution of 1 millisecond, round away # from zero to wait *at least* timeout seconds. timeout = math.ceil(timeout * 1e3) * 1e-3  # epoll_wait() expects `maxevents` to be greater than zero; # we want to make sure that `select()` can be called when no # FD is registered. max_ev = max(len(self._fd_to_key), 1)  ready = [] try: > fd_event_list = self._selector.poll(timeout, max_ev) E Failed: Timeout >300.0s /usr/lib64/python3.12/selectors.py:468: Failed ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 1052, in launch_instance app.initialize(argv) File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 117, in inner return method(app, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 689, in initialize self.init_sockets() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 1052, in launch_instance app.initialize(argv) File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 117, in inner return method(app, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 689, in initialize self.init_sockets() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 1052, in launch_instance app.initialize(argv) File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 117, in inner return method(app, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 689, in initialize self.init_sockets() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 1052, in launch_instance app.initialize(argv) File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 117, in inner return method(app, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 689, in initialize self.init_sockets() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-18 (72057590204326272) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/threading.py", line 634, in wait signaled = self._cond.wait(timeout) File "/usr/lib64/python3.12/threading.py", line 338, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-17 (72057590657302912) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/site-packages/zmq/_future.py", line 341, in send return self._add_send_event('send', msg=data, kwargs=kwargs) File "/usr/lib64/python3.12/site-packages/zmq/_future.py", line 530, in _add_send_event return f File "/usr/lib64/python3.12/site-packages/zmq/sugar/socket.py", line 696, in send return super().send(data, flags=flags, copy=copy, track=track) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-16 (72057590908952960) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/site-packages/zmq/_future.py", line 341, in send return self._add_send_event('send', msg=data, kwargs=kwargs) File "/usr/lib64/python3.12/site-packages/zmq/_future.py", line 530, in _add_send_event return f File "/usr/lib64/python3.12/site-packages/zmq/sugar/socket.py", line 696, in send return super().send(data, flags=flags, copy=copy, track=track) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-14 (72057591454216576) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/site-packages/zmq/sugar/poll.py", line 104, in poll return zmq_poll(self.sockets, timeout=timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-13 (72057591851159936) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 139, in _async_run await self.socket.recv() File "/usr/lib64/python3.12/site-packages/zmq/_future.py", line 309, in recv return self._add_recv_event('recv', dict(flags=flags, copy=copy, track=track)) File "/usr/lib64/python3.12/site-packages/zmq/_future.py", line 462, in _add_recv_event if kind.startswith('recv') and kwargs.get('flags', 0) & _zmq.DONTWAIT: File "/usr/lib64/python3.12/enum.py", line 1546, in __and__ return self.__class__(value & other) File "/usr/lib64/python3.12/enum.py", line 709, in __call__ def __call__(cls, value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None): File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/multikernelmanager.py", line 123, in __del__ self.context.destroy() File "/usr/lib64/python3.12/site-packages/zmq/sugar/context.py", line 333, in destroy self.term() File "/usr/lib64/python3.12/site-packages/zmq/sugar/context.py", line 275, in term super().term() +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ------------------------------ Captured log call ------------------------------- DEBUG traitlets:factory.py:96 Instantiating kernel 'Problematic Test Kernel' with kernel provisioner: custom-test-provisioner DEBUG traitlets:manager.py:394 Starting kernel: ['/usr/bin/python3', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpknm69hks.json'] DEBUG traitlets:connect.py:657 Connecting to: tcp://127.0.0.1:33207 DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... INFO traitlets:restarter.py:72 AsyncIOLoopKernelRestarter: restarting kernel (1/2), keep random ports DEBUG traitlets:manager.py:394 Starting kernel: ['/usr/bin/python3', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpknm69hks.json'] DEBUG traitlets:connect.py:657 Connecting to: tcp://127.0.0.1:33207 DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:97 AsyncIOLoopKernelRestarter: restart apparently succeeded DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... INFO traitlets:restarter.py:72 AsyncIOLoopKernelRestarter: restarting kernel (1/2), keep random ports DEBUG traitlets:manager.py:394 Starting kernel: ['/usr/bin/python3', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpknm69hks.json'] DEBUG traitlets:connect.py:657 Connecting to: tcp://127.0.0.1:33207 DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:97 AsyncIOLoopKernelRestarter: restart apparently succeeded DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... INFO traitlets:restarter.py:72 AsyncIOLoopKernelRestarter: restarting kernel (1/2), keep random ports ERROR traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff7e9fdee0> failed Traceback (most recent call last): File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/test_restarter.py", line 256, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 2 times! DEBUG traitlets:manager.py:394 Starting kernel: ['/usr/bin/python3', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpknm69hks.json'] DEBUG traitlets:connect.py:657 Connecting to: tcp://127.0.0.1:33207 DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:97 AsyncIOLoopKernelRestarter: restart apparently succeeded DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... INFO traitlets:restarter.py:72 AsyncIOLoopKernelRestarter: restarting kernel (1/2), keep random ports ERROR traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff7e9fdee0> failed Traceback (most recent call last): File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/test_restarter.py", line 256, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 2 times! DEBUG traitlets:manager.py:394 Starting kernel: ['/usr/bin/python3', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmpknm69hks.json'] DEBUG traitlets:connect.py:657 Connecting to: tcp://127.0.0.1:33207 DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:97 AsyncIOLoopKernelRestarter: restart apparently succeeded DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... ______________________ test_async_restarter_gives_up[ipc] ______________________ args = () kwargs = {'config': {'KernelManager': {'transport': 'ipc', 'ip': 'test'}, 'KernelRestarter': {'restart_limit': 2, 'debug': True, 'stable_start_time': 30.0}}, 'debug_logging': None, 'install_slow_fail_kernel': 'problemtest-slow'} coro = task = wait_for=> @functools.wraps(func) def inner(*args, **kwargs): coro = func(*args, **kwargs) if not inspect.isawaitable(coro): pyfuncitem.warn( pytest.PytestWarning( f"The test {pyfuncitem} is marked with '@pytest.mark.asyncio' " "but it is not an async function. " "Please remove asyncio marker. " "If the test is not marked explicitly, " "check for global markers applied via 'pytestmark'." ) ) return task = asyncio.ensure_future(coro, loop=_loop) try: > _loop.run_until_complete(task) /usr/lib/python3.12/site-packages/pytest_asyncio/plugin.py:525: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/nest_asyncio.py:92: in run_until_complete self._run_once() /usr/lib/python3.12/site-packages/nest_asyncio.py:115: in _run_once event_list = self._selector.select(timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , timeout = 2.993 def select(self, timeout=None): if timeout is None: timeout = -1 elif timeout <= 0: timeout = 0 else: # epoll_wait() has a resolution of 1 millisecond, round away # from zero to wait *at least* timeout seconds. timeout = math.ceil(timeout * 1e3) * 1e-3  # epoll_wait() expects `maxevents` to be greater than zero; # we want to make sure that `select()` can be called when no # FD is registered. max_ev = max(len(self._fd_to_key), 1)  ready = [] try: > fd_event_list = self._selector.poll(timeout, max_ev) E Failed: Timeout >300.0s /usr/lib64/python3.12/selectors.py:468: Failed ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 1052, in launch_instance app.initialize(argv) File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 117, in inner return method(app, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 689, in initialize self.init_sockets() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 1052, in launch_instance app.initialize(argv) File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 117, in inner return method(app, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 689, in initialize self.init_sockets() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 1052, in launch_instance app.initialize(argv) File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 117, in inner return method(app, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 689, in initialize self.init_sockets() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 1052, in launch_instance app.initialize(argv) File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 117, in inner return method(app, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 689, in initialize self.init_sockets() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 1052, in launch_instance app.initialize(argv) File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 117, in inner return method(app, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 689, in initialize self.init_sockets() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 39, in ProblemTestApp.launch_instance() File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 1052, in launch_instance app.initialize(argv) File "/usr/lib/python3.12/site-packages/traitlets/config/application.py", line 117, in inner return method(app, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 689, in initialize self.init_sockets() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/problemkernel.py", line 30, in init_sockets raise RuntimeError("Failed for testing purposes") RuntimeError: Failed for testing purposes +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-18 (72057590204326272) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/threading.py", line 634, in wait signaled = self._cond.wait(timeout) File "/usr/lib64/python3.12/threading.py", line 338, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-17 (72057590657302912) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/threading.py", line 634, in wait signaled = self._cond.wait(timeout) File "/usr/lib64/python3.12/threading.py", line 338, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-16 (72057590908952960) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/threading.py", line 634, in wait signaled = self._cond.wait(timeout) File "/usr/lib64/python3.12/threading.py", line 338, in wait gotit = waiter.acquire(True, timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-14 (72057591454216576) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 134, in _async_run self._exit.wait(self.time_to_dead) File "/usr/lib64/python3.12/threading.py", line 631, in wait with self._cond: File "/usr/lib64/python3.12/threading.py", line 346, in wait self._waiters.remove(waiter) ~~~~~~~~~~~~~~~~~~~~ Stack of Thread-13 (72057591851159936) ~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.12/threading.py", line 1009, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner self.run() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 112, in run loop.run_until_complete(self._async_run()) File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 92, in run_until_complete self._run_once() File "/usr/lib/python3.12/site-packages/nest_asyncio.py", line 133, in _run_once handle._run() File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) File "/usr/lib64/python3.12/asyncio/tasks.py", line 293, in __step self.__step_run_and_handle_result(exc) File "/usr/lib64/python3.12/asyncio/tasks.py", line 304, in __step_run_and_handle_result result = coro.send(None) File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/channels.py", line 139, in _async_run await self.socket.recv() File "/usr/lib64/python3.12/site-packages/zmq/_future.py", line 309, in recv return self._add_recv_event('recv', dict(flags=flags, copy=copy, track=track)) File "/usr/lib64/python3.12/site-packages/zmq/_future.py", line 462, in _add_recv_event if kind.startswith('recv') and kwargs.get('flags', 0) & _zmq.DONTWAIT: File "/usr/lib64/python3.12/enum.py", line 1546, in __and__ return self.__class__(value & other) File "/usr/lib64/python3.12/enum.py", line 709, in __call__ def __call__(cls, value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None): File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/multikernelmanager.py", line 123, in __del__ self.context.destroy() File "/usr/lib64/python3.12/site-packages/zmq/sugar/context.py", line 333, in destroy self.term() File "/usr/lib64/python3.12/site-packages/zmq/sugar/context.py", line 275, in term super().term() +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ------------------------------ Captured log call ------------------------------- DEBUG traitlets:factory.py:96 Instantiating kernel 'Problematic Test Kernel' with kernel provisioner: custom-test-provisioner DEBUG traitlets:manager.py:394 Starting kernel: ['/usr/bin/python3', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmp09z009yf.json'] DEBUG traitlets:connect.py:657 Connecting to: ipc://test-14 DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... INFO traitlets:restarter.py:72 AsyncIOLoopKernelRestarter: restarting kernel (1/2), keep random ports DEBUG traitlets:manager.py:394 Starting kernel: ['/usr/bin/python3', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmp09z009yf.json'] DEBUG traitlets:connect.py:657 Connecting to: ipc://test-14 DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:97 AsyncIOLoopKernelRestarter: restart apparently succeeded DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... INFO traitlets:restarter.py:72 AsyncIOLoopKernelRestarter: restarting kernel (1/2), keep random ports DEBUG traitlets:manager.py:394 Starting kernel: ['/usr/bin/python3', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmp09z009yf.json'] DEBUG traitlets:connect.py:657 Connecting to: ipc://test-14 DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:97 AsyncIOLoopKernelRestarter: restart apparently succeeded DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... INFO traitlets:restarter.py:72 AsyncIOLoopKernelRestarter: restarting kernel (1/2), keep random ports ERROR traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff7e7a6f20> failed Traceback (most recent call last): File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/test_restarter.py", line 256, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 2 times! DEBUG traitlets:manager.py:394 Starting kernel: ['/usr/bin/python3', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmp09z009yf.json'] DEBUG traitlets:connect.py:657 Connecting to: ipc://test-14 DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:97 AsyncIOLoopKernelRestarter: restart apparently succeeded DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... INFO traitlets:restarter.py:72 AsyncIOLoopKernelRestarter: restarting kernel (1/2), keep random ports ERROR traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff7e7a6f20> failed Traceback (most recent call last): File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/test_restarter.py", line 256, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 2 times! DEBUG traitlets:manager.py:394 Starting kernel: ['/usr/bin/python3', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmp09z009yf.json'] DEBUG traitlets:connect.py:657 Connecting to: ipc://test-14 DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:97 AsyncIOLoopKernelRestarter: restart apparently succeeded DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... INFO traitlets:restarter.py:72 AsyncIOLoopKernelRestarter: restarting kernel (1/2), keep random ports ERROR traitlets:restarter.py:107 KernelRestarter: restart callback .cb at 0xffffff7e7a6f20> failed Traceback (most recent call last): File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/tests/test_restarter.py", line 256, in cb raise RuntimeError("Kernel restarted more than %d times!" % N_restarts) RuntimeError: Kernel restarted more than 2 times! DEBUG traitlets:manager.py:394 Starting kernel: ['/usr/bin/python3', '-m', 'jupyter_client.tests.problemkernel', '-f', '/tmp/tmp09z009yf.json'] DEBUG traitlets:connect.py:657 Connecting to: ipc://test-14 DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... DEBUG traitlets:restarter.py:54 Polling kernel... =============================== warnings summary =============================== jupyter_client/connect.py:27 /builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/connect.py:27: 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 jupyter_data_dir jupyter_client/tests/test_adapter.py: 26 warnings jupyter_client/tests/test_client.py: 8 warnings jupyter_client/tests/test_connect.py: 10 warnings jupyter_client/tests/test_jsonutil.py: 1 warning jupyter_client/tests/test_kernelmanager.py: 27 warnings jupyter_client/tests/test_multikernelmanager.py: 30 warnings jupyter_client/tests/test_provisioning.py: 7 warnings jupyter_client/tests/test_restarter.py: 8 warnings jupyter_client/tests/test_session.py: 22 warnings /builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/session.py:203: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). return datetime.utcnow().replace(tzinfo=utc) jupyter_client/tests/test_client.py::TestKernelClient::test_comm_info /builddir/build/BUILD/jupyter_client-7.4.9/jupyter_client/utils.py:18: DeprecationWarning: There is no current event loop loop = asyncio.get_event_loop_policy().get_event_loop() jupyter_client/tests/test_multikernelmanager.py::TestKernelManager::test_start_parallel_process_kernels jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_start_parallel_process_kernels /usr/lib64/python3.12/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=1074669) is multi-threaded, use of fork() may lead to deadlocks in the child. self.pid = os.fork() jupyter_client/tests/test_restarter.py::test_restarter_gives_up[tcp] /usr/lib64/python3.12/enum.py:709: ResourceWarning: Unclosed socket def __call__(cls, value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. jupyter_client/tests/test_restarter.py::test_restarter_gives_up[tcp] /usr/lib64/python3.12/enum.py:709: ResourceWarning: Unclosed socket def __call__(cls, value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. jupyter_client/tests/test_restarter.py::test_restarter_gives_up[tcp] /usr/lib64/python3.12/enum.py:709: ResourceWarning: Unclosed socket def __call__(cls, value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. jupyter_client/tests/test_restarter.py::test_restarter_gives_up[tcp] /usr/lib64/python3.12/enum.py:709: ResourceWarning: Unclosed socket def __call__(cls, value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. jupyter_client/tests/test_restarter.py::test_restarter_gives_up[tcp] /usr/lib64/python3.12/enum.py:709: ResourceWarning: Unclosed socket def __call__(cls, value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. jupyter_client/tests/test_restarter.py::test_restarter_gives_up[tcp] /usr/lib64/python3.12/enum.py:709: ResourceWarning: Unclosed socket def __call__(cls, value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. jupyter_client/tests/test_restarter.py::test_restarter_gives_up[tcp] /usr/lib64/python3.12/enum.py:709: ResourceWarning: Unclosed socket def __call__(cls, value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. jupyter_client/tests/test_restarter.py::test_restarter_gives_up[tcp] /usr/lib64/python3.12/enum.py:709: ResourceWarning: Unclosed socket def __call__(cls, value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. jupyter_client/tests/test_restarter.py::test_restarter_gives_up[tcp] /usr/lib64/python3.12/enum.py:709: ResourceWarning: Unclosed socket def __call__(cls, value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. jupyter_client/tests/test_restarter.py::test_restarter_gives_up[tcp] /usr/lib64/python3.12/enum.py:709: ResourceWarning: Unclosed socket def __call__(cls, value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. jupyter_client/tests/test_restarter.py::test_restarter_gives_up[tcp] /usr/lib64/python3.12/enum.py:709: ResourceWarning: Unclosed socket def __call__(cls, value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. jupyter_client/tests/test_restarter.py::test_restarter_gives_up[tcp] /usr/lib64/python3.12/enum.py:709: ResourceWarning: Unclosed socket def __call__(cls, value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. jupyter_client/tests/test_restarter.py::test_restarter_gives_up[tcp] /usr/lib64/python3.12/enum.py:709: ResourceWarning: Unclosed socket def __call__(cls, value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. jupyter_client/tests/test_restarter.py::test_restarter_gives_up[tcp] /usr/lib64/python3.12/enum.py:709: ResourceWarning: Unclosed socket def __call__(cls, value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. jupyter_client/tests/test_restarter.py::test_restarter_gives_up[tcp] /usr/lib64/python3.12/enum.py:709: ResourceWarning: Unclosed socket def __call__(cls, value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. jupyter_client/tests/test_restarter.py::test_restarter_gives_up[tcp] /usr/lib64/python3.12/enum.py:709: ResourceWarning: Unclosed socket def __call__(cls, value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. jupyter_client/tests/test_restarter.py::test_restarter_gives_up[tcp] /usr/lib64/python3.12/enum.py:709: ResourceWarning: Unclosed socket def __call__(cls, value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. jupyter_client/tests/test_restarter.py::test_restarter_gives_up[tcp] /usr/lib64/python3.12/enum.py:709: ResourceWarning: Unclosed socket def __call__(cls, value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. jupyter_client/tests/test_restarter.py::test_restarter_gives_up[tcp] /usr/lib64/python3.12/enum.py:709: ResourceWarning: Unclosed socket def __call__(cls, value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. jupyter_client/tests/test_restarter.py::test_restarter_gives_up[tcp] /usr/lib64/python3.12/enum.py:709: ResourceWarning: Unclosed socket def __call__(cls, value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. jupyter_client/tests/test_session.py: 21 warnings /usr/lib64/python3.12/unittest/case.py:586: DeprecationWarning: zmq.tests.BaseZMQTestCase is deprecated in pyzmq 25, we recommend managing your own contexts and sockets. self.setUp() -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ============================= slowest 10 durations ============================= 300.40s call jupyter_client/tests/test_restarter.py::test_restarter_gives_up[tcp] 300.38s call jupyter_client/tests/test_restarter.py::test_async_restarter_gives_up[ipc] 300.18s call jupyter_client/tests/test_restarter.py::test_async_restarter_gives_up[tcp] 300.07s call jupyter_client/tests/test_restarter.py::test_restarter_gives_up[ipc] 114.04s call jupyter_client/tests/test_restarter.py::test_restart_check[tcp] 112.34s call jupyter_client/tests/test_restarter.py::test_async_restart_check[tcp] 107.23s call jupyter_client/tests/test_restarter.py::test_async_restart_check[ipc] 106.20s call jupyter_client/tests/test_restarter.py::test_restart_check[ipc] 88.34s call jupyter_client/tests/test_client.py::TestKernelClient::test_complete 73.28s call jupyter_client/tests/test_client.py::TestKernelClient::test_comm_info =========================== short test summary info ============================ SKIPPED [1] jupyter_client/tests/test_kernelmanager.py:369: IPC transport is currently not working for this test! SKIPPED [1] jupyter_client/tests/test_kernelmanager.py:385: IPC transport is currently not working for this test! SKIPPED [1] jupyter_client/tests/test_kernelmanager.py:401: IPC transport is currently not working for this test! ERROR jupyter_client/tests/test_kernelmanager.py::TestAsyncKernelManager::test_start_new_async_kernel - Failed: Timeout >10.0s FAILED jupyter_client/tests/test_client.py::TestKernelClient::test_complete - TimeoutError: Timeout waiting for reply FAILED jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_sequence_kernels[tcp] - Failed: Timeout >30.0s FAILED jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_sequence_kernels[ipc] - Failed: Timeout >30.0s FAILED jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_parallel_thread_kernels[tcp] - RuntimeError: Kernel didn't respond in 30 seconds FAILED jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_parallel_process_kernels[tcp] - Failed: Timeout >30.0s FAILED jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_sequence_process_kernels[tcp] - Failed: Timeout >30.0s FAILED jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_start_sequence_ipc_kernels - TimeoutError: Operation timed out after 5 seconds FAILED jupyter_client/tests/test_multikernelmanager.py::TestAsyncKernelManager::test_start_sequence_tcp_kernels - TimeoutError: Operation timed out after 5 seconds FAILED jupyter_client/tests/test_restarter.py::test_restarter_gives_up[tcp] - Failed: Timeout >300.0s FAILED jupyter_client/tests/test_restarter.py::test_restarter_gives_up[ipc] - Failed: Timeout >300.0s FAILED jupyter_client/tests/test_restarter.py::test_async_restarter_gives_up[tcp] - Failed: Timeout >300.0s FAILED jupyter_client/tests/test_restarter.py::test_async_restarter_gives_up[ipc] - Failed: Timeout >300.0s = 12 failed, 160 passed, 3 skipped, 8 deselected, 184 warnings, 1 error in 3298.44s (0:54:58) = RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.2SyJiu (%check) Bad exit status from /var/tmp/rpm-tmp.2SyJiu (%check) 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-client.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-client.spec