Created
November 27, 2024 10:23
-
-
Save FliegendeWurst/807356cbe8f273045a167198350e3d9c to your computer and use it in GitHub Desktop.
nbmake test failures
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sourcing python-remove-tests-dir-hook | |
Sourcing python-catch-conflicts-hook.sh | |
Sourcing python-remove-bin-bytecode-hook.sh | |
Sourcing pypa-build-hook | |
Using pypaBuildPhase | |
Sourcing python-runtime-deps-check-hook | |
Using pythonRuntimeDepsCheckHook | |
Sourcing pypa-install-hook | |
Using pypaInstallPhase | |
Sourcing python-imports-check-hook.sh | |
Using pythonImportsCheckPhase | |
Sourcing python-namespaces-hook | |
Sourcing python-catch-conflicts-hook.sh | |
Sourcing pytest-check-hook | |
Using pytestCheckPhase | |
Running phase: unpackPhase | |
@nix { "action": "setPhase", "phase": "unpackPhase" } | |
unpacking source archive /nix/store/yd85ay5h7n6ba7vjif5rdysyp1sjdmh7-source | |
source root is source | |
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/tests/test_pytest_plugin.py | |
Running phase: patchPhase | |
@nix { "action": "setPhase", "phase": "patchPhase" } | |
Running phase: updateAutotoolsGnuConfigScriptsPhase | |
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" } | |
Running phase: configurePhase | |
@nix { "action": "setPhase", "phase": "configurePhase" } | |
no configure script, doing nothing | |
Running phase: buildPhase | |
@nix { "action": "setPhase", "phase": "buildPhase" } | |
Executing pypaBuildPhase | |
Creating a wheel... | |
pypa build flags: --no-isolation --outdir dist/ --wheel | |
[1m* Getting build dependencies for wheel...[0m | |
[1m* Building wheel...[0m | |
[1m[92mSuccessfully built [4mnbmake-1.5.3-py3-none-any.whl[0m[1m[92m[0m | |
Finished creating a wheel... | |
/build/source/dist /build/source | |
Unpacking to: unpacked/nbmake-1.5.3...OK | |
Repacking wheel as ./nbmake-1.5.3-py3-none-any.whl...OK | |
/build/source | |
Finished executing pypaBuildPhase | |
Running phase: pythonRuntimeDepsCheckHook | |
@nix { "action": "setPhase", "phase": "pythonRuntimeDepsCheckHook" } | |
Executing pythonRuntimeDepsCheck | |
Checking runtime dependencies for nbmake-1.5.3-py3-none-any.whl | |
Finished executing pythonRuntimeDepsCheck | |
Running phase: installPhase | |
@nix { "action": "setPhase", "phase": "installPhase" } | |
Executing pypaInstallPhase | |
Successfully installed nbmake-1.5.3-py3-none-any.whl | |
Finished executing pypaInstallPhase | |
Running phase: pythonOutputDistPhase | |
@nix { "action": "setPhase", "phase": "pythonOutputDistPhase" } | |
Executing pythonOutputDistPhase | |
Finished executing pythonOutputDistPhase | |
Running phase: fixupPhase | |
@nix { "action": "setPhase", "phase": "fixupPhase" } | |
shrinking RPATHs of ELF executables and libraries in /nix/store/r3wf3f35qm72py2dw1n95b5r6xf0jlb2-python3.12-nbmake-1.5.4 | |
checking for references to /build/ in /nix/store/r3wf3f35qm72py2dw1n95b5r6xf0jlb2-python3.12-nbmake-1.5.4... | |
patching script interpreter paths in /nix/store/r3wf3f35qm72py2dw1n95b5r6xf0jlb2-python3.12-nbmake-1.5.4 | |
stripping (with command strip and flags -S -p) in /nix/store/r3wf3f35qm72py2dw1n95b5r6xf0jlb2-python3.12-nbmake-1.5.4/lib | |
shrinking RPATHs of ELF executables and libraries in /nix/store/86rf44i4fwy2yim3h2n3kf7qx0wz4hcl-python3.12-nbmake-1.5.4-dist | |
checking for references to /build/ in /nix/store/86rf44i4fwy2yim3h2n3kf7qx0wz4hcl-python3.12-nbmake-1.5.4-dist... | |
patching script interpreter paths in /nix/store/86rf44i4fwy2yim3h2n3kf7qx0wz4hcl-python3.12-nbmake-1.5.4-dist | |
Executing pythonRemoveTestsDir | |
Finished executing pythonRemoveTestsDir | |
Running phase: installCheckPhase | |
@nix { "action": "setPhase", "phase": "installCheckPhase" } | |
no Makefile or custom installCheckPhase, doing nothing | |
Running phase: pythonCatchConflictsPhase | |
@nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" } | |
Running phase: pythonRemoveBinBytecodePhase | |
@nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" } | |
Running phase: pythonImportsCheckPhase | |
@nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" } | |
Executing pythonImportsCheckPhase | |
Check whether the following modules can be imported: nbmake | |
Running phase: pytestXdistHook | |
@nix { "action": "setPhase", "phase": "pytestXdistHook" } | |
Running phase: pytestCheckPhase | |
@nix { "action": "setPhase", "phase": "pytestCheckPhase" } | |
Executing pytestCheckPhase | |
003 | |
[1m============================= test session starts ==============================[0m | |
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 | |
rootdir: /build/source | |
configfile: pytest.ini | |
testpaths: tests | |
plugins: nbmake-1.5.3, xdist-3.6.1 | |
[1m | |
created: 32/32 workers[0m[1m | |
initialized: 1/32 workers[0m[1m | |
initialized: 2/32 workers[0m[1m | |
initialized: 3/32 workers[0m[1m | |
initialized: 4/32 workers[0m[1m | |
initialized: 5/32 workers[0m[1m | |
initialized: 6/32 workers[0m[1m | |
initialized: 7/32 workers[0m[1m | |
initialized: 8/32 workers[0m[1m | |
initialized: 9/32 workers[0m[1m | |
initialized: 10/32 workers[0m[1m | |
initialized: 11/32 workers[0m[1m | |
initialized: 12/32 workers[0m[1m | |
initialized: 13/32 workers[0m[1m | |
initialized: 14/32 workers[0m[1m | |
initialized: 15/32 workers[0m[1m | |
initialized: 16/32 workers[0m[1m | |
initialized: 17/32 workers[0m[1m | |
initialized: 18/32 workers[0m[1m | |
initialized: 19/32 workers[0m[1m | |
initialized: 20/32 workers[0m[1m | |
initialized: 21/32 workers[0m[1m | |
initialized: 22/32 workers[0m[1m | |
initialized: 23/32 workers[0m[1m | |
initialized: 24/32 workers[0m[1m | |
initialized: 25/32 workers[0m[1m | |
initialized: 26/32 workers[0m[1m | |
initialized: 27/32 workers[0m[1m | |
initialized: 28/32 workers[0m[1m | |
initialized: 29/32 workers[0m[1m | |
initialized: 30/32 workers[0m[1m | |
initialized: 31/32 workers[0m[1m | |
initialized: 32/32 workers[0m[1m | |
ready: 1/32 workers [0m[1m | |
ready: 2/32 workers[0m[1m | |
collecting: 1/32 workers[0m[1m | |
collecting: 2/32 workers[0m[1m | |
collecting: 2/32 workers[0m[1m | |
collecting: 3/32 workers[0m[1m | |
collecting: 3/32 workers[0m[1m | |
collecting: 3/32 workers[0m[1m | |
collecting: 4/32 workers[0m[1m | |
collecting: 5/32 workers[0m[1m | |
collecting: 5/32 workers[0m[1m | |
collecting: 6/32 workers[0m[1m | |
collecting: 6/32 workers[0m[1m | |
collecting: 6/32 workers[0m[1m | |
collecting: 7/32 workers[0m[1m | |
collecting: 8/32 workers[0m[1m | |
collecting: 8/32 workers[0m[1m | |
collecting: 8/32 workers[0m[1m | |
collecting: 9/32 workers[0m[1m | |
collecting: 10/32 workers[0m[1m | |
collecting: 10/32 workers[0m[1m | |
collecting: 11/32 workers[0m[1m | |
collecting: 11/32 workers[0m[1m | |
collecting: 11/32 workers[0m[1m | |
collecting: 12/32 workers[0m[1m | |
collecting: 13/32 workers[0m[1m | |
collecting: 13/32 workers[0m[1m | |
collecting: 13/32 workers[0m[1m | |
collecting: 14/32 workers[0m[1m | |
collecting: 14/32 workers[0m[1m | |
collecting: 15/32 workers[0m[1m | |
collecting: 16/32 workers[0m[1m | |
collecting: 16/32 workers[0m[1m | |
collecting: 16/32 workers[0m[1m | |
collecting: 17/32 workers[0m[1m | |
collecting: 18/32 workers[0m[1m | |
collecting: 18/32 workers[0m[1m | |
collecting: 19/32 workers[0m[1m | |
collecting: 19/32 workers[0m[1m | |
collecting: 20/32 workers[0m[1m | |
collecting: 20/32 workers[0m[1m | |
collecting: 20/32 workers[0m[1m | |
collecting: 21/32 workers[0m[1m | |
collecting: 22/32 workers[0m[1m | |
collecting: 22/32 workers[0m[1m | |
collecting: 22/32 workers[0m[1m | |
collecting: 23/32 workers[0m[1m | |
collecting: 23/32 workers[0m[1m | |
collecting: 24/32 workers[0m[1m | |
collecting: 25/32 workers[0m[1m | |
collecting: 25/32 workers[0m[1m | |
collecting: 25/32 workers[0m[1m | |
collecting: 26/32 workers[0m[1m | |
collecting: 26/32 workers[0m[1m | |
collecting: 27/32 workers[0m[1m | |
collecting: 28/32 workers[0m[1m | |
collecting: 28/32 workers[0m[1m | |
collecting: 28/32 workers[0m[1m | |
collecting: 29/32 workers[0m[1m | |
collecting: 30/32 workers[0m[1m | |
collecting: 30/32 workers[0m[1m | |
collecting: 31/32 workers[0m[1m | |
collecting: 31/32 workers[0m[1m | |
32 workers [33 items] [0m | |
[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[31mF[0m[31m [100%][0m | |
=================================== FAILURES =================================== | |
[31m[1m____________________ test_when_parallel_passing_nbs_then_ok ____________________[0m | |
[gw20] linux -- Python 3.12.7 /nix/store/g1zx5x7mmclk2gmwkbd3f33cmc8a6hz2-python3-3.12.7/bin/python3.12 | |
pytester = <Pytester PosixPath('/build/pytest-of-nixbld/pytest-0/popen-gw20/test_when_parallel_passing_nbs_then_ok0')> | |
testdir2 = None | |
[0m[94mdef[39;49;00m [92mtest_when_parallel_passing_nbs_then_ok[39;49;00m(pytester: Pytester, testdir2: Never):[90m[39;49;00m | |
[write_nb(passing_nb, Path([33mf[39;49;00m[33m"[39;49;00m[33m{[39;49;00mi[33m}[39;49;00m[33m.ipynb[39;49;00m[33m"[39;49;00m)) [94mfor[39;49;00m i [95min[39;49;00m [96mrange[39;49;00m([94m20[39;49;00m)][90m[39;49;00m | |
[90m[39;49;00m | |
hook_recorder = pytester.inline_run([33m"[39;49;00m[33m--nbmake[39;49;00m[33m"[39;49;00m, [33m"[39;49;00m[33m-n=auto[39;49;00m[33m"[39;49;00m)[90m[39;49;00m | |
[90m[39;49;00m | |
> [94massert[39;49;00m hook_recorder.ret == ExitCode.OK[90m[39;49;00m | |
[1m[31mE assert <ExitCode.TESTS_FAILED: 1> == <ExitCode.OK: 0>[0m | |
[1m[31mE + where <ExitCode.TESTS_FAILED: 1> = <_pytest.pytester.HookRecorder object at 0x7ffff4554710>.ret[0m | |
[1m[31mE + and <ExitCode.OK: 0> = ExitCode.OK[0m | |
[1m[31m/build/source/tests/test_pytest_plugin.py[0m:61: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
============================= test session starts ============================== | |
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 | |
rootdir: /build/pytest-of-nixbld/pytest-0/popen-gw20/test_when_parallel_passing_nbs_then_ok0 | |
plugins: nbmake-1.5.3, xdist-3.6.1 | |
created: 16/16 workers | |
16 workers [20 items] | |
...............F.... [100%] | |
=================================== FAILURES =================================== | |
_ /build/pytest-of-nixbld/pytest-0/popen-gw20/test_when_parallel_passing_nbs_then_ok0/1.ipynb _ | |
[gw1] linux -- Python 3.12.7 /nix/store/g1zx5x7mmclk2gmwkbd3f33cmc8a6hz2-python3-3.12.7/bin/python3.12 | |
NBMAKE INTERNAL ERROR | |
Kernel died before replying to kernel_info | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/runner.py"[39m, line [38;2;102;102;102m341[39m, in from_call | |
[38;2;187;187;187m [39mresult: TResult [38;2;102;102;102m|[39m [38;2;0;128;0;01mNone[39;00m [38;2;102;102;102m=[39m func() | |
[38;2;187;187;187m [39m^^^^^^ | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/runner.py"[39m, line [38;2;102;102;102m242[39m, in <lambda> | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mlambda[39;00m: runtest_hook(item[38;2;102;102;102m=[39mitem, [38;2;102;102;102m*[39m[38;2;102;102;102m*[39mkwds), when[38;2;102;102;102m=[39mwhen, reraise[38;2;102;102;102m=[39mreraise | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/i21y6qanjlmnvyxpj9g2i664qrj81jgf-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_hooks.py"[39m, line [38;2;102;102;102m513[39m, in __call__ | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mreturn[39;00m [38;2;0;128;0mself[39m[38;2;102;102;102m.[39m_hookexec([38;2;0;128;0mself[39m[38;2;102;102;102m.[39mname, [38;2;0;128;0mself[39m[38;2;102;102;102m.[39m_hookimpls[38;2;102;102;102m.[39mcopy(), kwargs, firstresult) | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/i21y6qanjlmnvyxpj9g2i664qrj81jgf-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_manager.py"[39m, line [38;2;102;102;102m120[39m, in _hookexec | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mreturn[39;00m [38;2;0;128;0mself[39m[38;2;102;102;102m.[39m_inner_hookexec(hook_name, methods, kwargs, firstresult) | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/i21y6qanjlmnvyxpj9g2i664qrj81jgf-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py"[39m, line [38;2;102;102;102m139[39m, in _multicall | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mraise[39;00m exception[38;2;102;102;102m.[39mwith_traceback(exception[38;2;102;102;102m.[39m__traceback__) | |
File [38;2;0;128;0m"/nix/store/i21y6qanjlmnvyxpj9g2i664qrj81jgf-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py"[39m, line [38;2;102;102;102m122[39m, in _multicall | |
[38;2;187;187;187m [39mteardown[38;2;102;102;102m.[39mthrow(exception) [38;2;61;123;123;03m# type: ignore[union-attr][39;00m | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/threadexception.py"[39m, line [38;2;102;102;102m92[39m, in pytest_runtest_call | |
[38;2;187;187;187m [39m[38;2;0;128;0;01myield from[39;00m thread_exception_runtest_hook() | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/threadexception.py"[39m, line [38;2;102;102;102m68[39m, in thread_exception_runtest_hook | |
[38;2;187;187;187m [39m[38;2;0;128;0;01myield[39;00m | |
File [38;2;0;128;0m"/nix/store/i21y6qanjlmnvyxpj9g2i664qrj81jgf-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py"[39m, line [38;2;102;102;102m122[39m, in _multicall | |
[38;2;187;187;187m [39mteardown[38;2;102;102;102m.[39mthrow(exception) [38;2;61;123;123;03m# type: ignore[union-attr][39;00m | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/unraisableexception.py"[39m, line [38;2;102;102;102m95[39m, in pytest_runtest_call | |
[38;2;187;187;187m [39m[38;2;0;128;0;01myield from[39;00m unraisable_exception_runtest_hook() | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/unraisableexception.py"[39m, line [38;2;102;102;102m70[39m, in unraisable_exception_runtest_hook | |
[38;2;187;187;187m [39m[38;2;0;128;0;01myield[39;00m | |
File [38;2;0;128;0m"/nix/store/i21y6qanjlmnvyxpj9g2i664qrj81jgf-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py"[39m, line [38;2;102;102;102m122[39m, in _multicall | |
[38;2;187;187;187m [39mteardown[38;2;102;102;102m.[39mthrow(exception) [38;2;61;123;123;03m# type: ignore[union-attr][39;00m | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/logging.py"[39m, line [38;2;102;102;102m846[39m, in pytest_runtest_call | |
[38;2;187;187;187m [39m[38;2;0;128;0;01myield from[39;00m [38;2;0;128;0mself[39m[38;2;102;102;102m.[39m_runtest_for(item, [38;2;186;33;33m"[39m[38;2;186;33;33mcall[39m[38;2;186;33;33m"[39m) | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/logging.py"[39m, line [38;2;102;102;102m829[39m, in _runtest_for | |
[38;2;187;187;187m [39m[38;2;0;128;0;01myield[39;00m | |
File [38;2;0;128;0m"/nix/store/i21y6qanjlmnvyxpj9g2i664qrj81jgf-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py"[39m, line [38;2;102;102;102m122[39m, in _multicall | |
[38;2;187;187;187m [39mteardown[38;2;102;102;102m.[39mthrow(exception) [38;2;61;123;123;03m# type: ignore[union-attr][39;00m | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/capture.py"[39m, line [38;2;102;102;102m880[39m, in pytest_runtest_call | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mreturn[39;00m ([38;2;0;128;0;01myield[39;00m) | |
[38;2;187;187;187m [39m^^^^^ | |
File [38;2;0;128;0m"/nix/store/i21y6qanjlmnvyxpj9g2i664qrj81jgf-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py"[39m, line [38;2;102;102;102m122[39m, in _multicall | |
[38;2;187;187;187m [39mteardown[38;2;102;102;102m.[39mthrow(exception) [38;2;61;123;123;03m# type: ignore[union-attr][39;00m | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/skipping.py"[39m, line [38;2;102;102;102m257[39m, in pytest_runtest_call | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mreturn[39;00m ([38;2;0;128;0;01myield[39;00m) | |
[38;2;187;187;187m [39m^^^^^ | |
File [38;2;0;128;0m"/nix/store/i21y6qanjlmnvyxpj9g2i664qrj81jgf-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py"[39m, line [38;2;102;102;102m103[39m, in _multicall | |
[38;2;187;187;187m [39mres [38;2;102;102;102m=[39m hook_impl[38;2;102;102;102m.[39mfunction([38;2;102;102;102m*[39margs) | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/runner.py"[39m, line [38;2;102;102;102m174[39m, in pytest_runtest_call | |
[38;2;187;187;187m [39mitem[38;2;102;102;102m.[39mruntest() | |
File [38;2;0;128;0m"/nix/store/r3wf3f35qm72py2dw1n95b5r6xf0jlb2-python3.12-nbmake-1.5.4/lib/python3.12/site-packages/nbmake/pytest_items.py"[39m, line [38;2;102;102;102m54[39m, in runtest | |
[38;2;187;187;187m [39mres: NotebookResult [38;2;102;102;102m=[39m run[38;2;102;102;102m.[39mexecute() | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/r3wf3f35qm72py2dw1n95b5r6xf0jlb2-python3.12-nbmake-1.5.4/lib/python3.12/site-packages/nbmake/nb_run.py"[39m, line [38;2;102;102;102m131[39m, in execute | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mraise[39;00m err | |
File [38;2;0;128;0m"/nix/store/r3wf3f35qm72py2dw1n95b5r6xf0jlb2-python3.12-nbmake-1.5.4/lib/python3.12/site-packages/nbmake/nb_run.py"[39m, line [38;2;102;102;102m113[39m, in execute | |
[38;2;187;187;187m [39mc[38;2;102;102;102m.[39mexecute(cwd[38;2;102;102;102m=[39m[38;2;0;128;0mself[39m[38;2;102;102;102m.[39mfilename[38;2;102;102;102m.[39mparent) | |
File [38;2;0;128;0m"/nix/store/9crcl5py932s5gb34pzrwa93vcsyjw89-python3.12-jupyter-core-5.7.2/lib/python3.12/site-packages/jupyter_core/utils/__init__.py"[39m, line [38;2;102;102;102m165[39m, in wrapped | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mreturn[39;00m loop[38;2;102;102;102m.[39mrun_until_complete(inner) | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/g1zx5x7mmclk2gmwkbd3f33cmc8a6hz2-python3-3.12.7/lib/python3.12/asyncio/base_events.py"[39m, line [38;2;102;102;102m687[39m, in run_until_complete | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mreturn[39;00m future[38;2;102;102;102m.[39mresult() | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/csshh1zi4824ap1rc0zhrw4rd5g77zmm-python3.12-nbclient-0.10.0/lib/python3.12/site-packages/nbclient/client.py"[39m, line [38;2;102;102;102m693[39m, in async_execute | |
[38;2;187;187;187m [39m[38;2;0;128;0;01masync[39;00m [38;2;0;128;0;01mwith[39;00m [38;2;0;128;0mself[39m[38;2;102;102;102m.[39masync_setup_kernel([38;2;102;102;102m*[39m[38;2;102;102;102m*[39mkwargs): | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/g1zx5x7mmclk2gmwkbd3f33cmc8a6hz2-python3-3.12.7/lib/python3.12/contextlib.py"[39m, line [38;2;102;102;102m210[39m, in __aenter__ | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mreturn[39;00m [38;2;0;128;0;01mawait[39;00m anext([38;2;0;128;0mself[39m[38;2;102;102;102m.[39mgen) | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/csshh1zi4824ap1rc0zhrw4rd5g77zmm-python3.12-nbclient-0.10.0/lib/python3.12/site-packages/nbclient/client.py"[39m, line [38;2;102;102;102m651[39m, in async_setup_kernel | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mawait[39;00m [38;2;0;128;0mself[39m[38;2;102;102;102m.[39masync_start_new_kernel_client() | |
File [38;2;0;128;0m"/nix/store/csshh1zi4824ap1rc0zhrw4rd5g77zmm-python3.12-nbclient-0.10.0/lib/python3.12/site-packages/nbclient/client.py"[39m, line [38;2;102;102;102m566[39m, in async_start_new_kernel_client | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mawait[39;00m ensure_async([38;2;0;128;0mself[39m[38;2;102;102;102m.[39mkc[38;2;102;102;102m.[39mwait_for_ready(timeout[38;2;102;102;102m=[39m[38;2;0;128;0mself[39m[38;2;102;102;102m.[39mstartup_timeout)) | |
File [38;2;0;128;0m"/nix/store/9crcl5py932s5gb34pzrwa93vcsyjw89-python3.12-jupyter-core-5.7.2/lib/python3.12/site-packages/jupyter_core/utils/__init__.py"[39m, line [38;2;102;102;102m198[39m, in ensure_async | |
[38;2;187;187;187m [39mresult [38;2;102;102;102m=[39m [38;2;0;128;0;01mawait[39;00m obj | |
[38;2;187;187;187m [39m^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/m8i8li4hafiff2jl6d2g8r8i1myxqgdy-python3.12-jupyter-client-8.6.3/lib/python3.12/site-packages/jupyter_client/client.py"[39m, line [38;2;102;102;102m203[39m, in _async_wait_for_ready | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mraise[39;00m [38;2;203;63;56;01mRuntimeError[39;00m(msg) | |
----------------------------- Captured stderr call ----------------------------- | |
Traceback (most recent call last): | |
File "<frozen runpy>", line 198, in _run_module_as_main | |
File "<frozen runpy>", line 88, in _run_code | |
File "/nix/store/pbz2lm69mrzxmdbxqvxp9x3j89a3r0z7-python3.12-ipykernel-6.29.5/lib/python3.12/site-packages/ipykernel_launcher.py", line 18, in <module> | |
app.launch_new_instance() | |
File "/nix/store/6hx5sfr1dr62nr2xc9szchclaqybi5v7-python3.12-traitlets-5.14.3/lib/python3.12/site-packages/traitlets/config/application.py", line 1074, in launch_instance | |
app.initialize(argv) | |
File "/nix/store/6hx5sfr1dr62nr2xc9szchclaqybi5v7-python3.12-traitlets-5.14.3/lib/python3.12/site-packages/traitlets/config/application.py", line 118, in inner | |
return method(app, *args, **kwargs) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/nix/store/pbz2lm69mrzxmdbxqvxp9x3j89a3r0z7-python3.12-ipykernel-6.29.5/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 692, in initialize | |
self.init_sockets() | |
File "/nix/store/pbz2lm69mrzxmdbxqvxp9x3j89a3r0z7-python3.12-ipykernel-6.29.5/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 331, in init_sockets | |
self.shell_port = self._bind_socket(self.shell_socket, self.shell_port) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/nix/store/pbz2lm69mrzxmdbxqvxp9x3j89a3r0z7-python3.12-ipykernel-6.29.5/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 253, in _bind_socket | |
return self._try_bind_socket(s, port) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/nix/store/pbz2lm69mrzxmdbxqvxp9x3j89a3r0z7-python3.12-ipykernel-6.29.5/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 229, in _try_bind_socket | |
s.bind("tcp://%s:%i" % (self.ip, port)) | |
File "/nix/store/i0d9y5a5xpfph465fiwc67rh91n25z91-python3.12-pyzmq-26.2.0/lib/python3.12/site-packages/zmq/sugar/socket.py", line 311, in bind | |
super().bind(addr) | |
File "_zmq.py", line 917, in zmq.backend.cython._zmq.Socket.bind | |
File "_zmq.py", line 179, in zmq.backend.cython._zmq._check_rc | |
zmq.error.ZMQError: Address already in use (addr='tcp://127.0.0.1:50607') | |
------------------------------ Captured log call ------------------------------- | |
ERROR traitlets:client.py:568 Error occurred while starting new kernel client for kernel 95bf912a-0d9e-419a-8ae5-3b4fd9c31f6e: Kernel died before replying to kernel_info | |
Learn more about nbmake at https://github.com/treebeardtech/nbmake | |
=========================== short test summary info ============================ | |
FAILED 1.ipynb:: | |
======================== 1 failed, 19 passed in 20.63s ========================= | |
----------------------------- Captured stderr call ----------------------------- | |
Exception ignored in atexit callback: <bound method run_sync.<locals>.wrapped of <nbclient.client.NotebookClient object at 0x7ffff47f4c20>> | |
Traceback (most recent call last): | |
File "/nix/store/9crcl5py932s5gb34pzrwa93vcsyjw89-python3.12-jupyter-core-5.7.2/lib/python3.12/site-packages/jupyter_core/utils/__init__.py", line 165, in wrapped | |
return loop.run_until_complete(inner) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/nix/store/g1zx5x7mmclk2gmwkbd3f33cmc8a6hz2-python3-3.12.7/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete | |
return future.result() | |
^^^^^^^^^^^^^^^ | |
File "/nix/store/csshh1zi4824ap1rc0zhrw4rd5g77zmm-python3.12-nbclient-0.10.0/lib/python3.12/site-packages/nbclient/client.py", line 504, in _async_cleanup_kernel | |
assert self.km is not None | |
^^^^^^^^^^^^^^^^^^^ | |
AssertionError: | |
[36m[1m=========================== short test summary info ============================[0m | |
[31mFAILED[0m tests/test_pytest_plugin.py::[1mtest_when_parallel_passing_nbs_then_ok[0m - assert <ExitCode.TESTS_FAILED: 1> == <ExitCode.OK: 0> | |
[31m======================== [31m[1m1 failed[0m, [32m32 passed[0m[31m in 37.29s[0m[31m =========================[0m |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sourcing python-remove-tests-dir-hook | |
Sourcing python-catch-conflicts-hook.sh | |
Sourcing python-remove-bin-bytecode-hook.sh | |
Sourcing pypa-build-hook | |
Using pypaBuildPhase | |
Sourcing python-runtime-deps-check-hook | |
Using pythonRuntimeDepsCheckHook | |
Sourcing pypa-install-hook | |
Using pypaInstallPhase | |
Sourcing python-imports-check-hook.sh | |
Using pythonImportsCheckPhase | |
Sourcing python-namespaces-hook | |
Sourcing python-catch-conflicts-hook.sh | |
Sourcing pytest-check-hook | |
Using pytestCheckPhase | |
Running phase: unpackPhase | |
@nix { "action": "setPhase", "phase": "unpackPhase" } | |
unpacking source archive /nix/store/yd85ay5h7n6ba7vjif5rdysyp1sjdmh7-source | |
source root is source | |
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/tests/test_pytest_plugin.py | |
Running phase: patchPhase | |
@nix { "action": "setPhase", "phase": "patchPhase" } | |
Running phase: updateAutotoolsGnuConfigScriptsPhase | |
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" } | |
Running phase: configurePhase | |
@nix { "action": "setPhase", "phase": "configurePhase" } | |
no configure script, doing nothing | |
Running phase: buildPhase | |
@nix { "action": "setPhase", "phase": "buildPhase" } | |
Executing pypaBuildPhase | |
Creating a wheel... | |
pypa build flags: --no-isolation --outdir dist/ --wheel | |
[1m* Getting build dependencies for wheel...[0m | |
[1m* Building wheel...[0m | |
[1m[92mSuccessfully built [4mnbmake-1.5.3-py3-none-any.whl[0m[1m[92m[0m | |
Finished creating a wheel... | |
/build/source/dist /build/source | |
Unpacking to: unpacked/nbmake-1.5.3...OK | |
Repacking wheel as ./nbmake-1.5.3-py3-none-any.whl...OK | |
/build/source | |
Finished executing pypaBuildPhase | |
Running phase: pythonRuntimeDepsCheckHook | |
@nix { "action": "setPhase", "phase": "pythonRuntimeDepsCheckHook" } | |
Executing pythonRuntimeDepsCheck | |
Checking runtime dependencies for nbmake-1.5.3-py3-none-any.whl | |
Finished executing pythonRuntimeDepsCheck | |
Running phase: installPhase | |
@nix { "action": "setPhase", "phase": "installPhase" } | |
Executing pypaInstallPhase | |
Successfully installed nbmake-1.5.3-py3-none-any.whl | |
Finished executing pypaInstallPhase | |
Running phase: pythonOutputDistPhase | |
@nix { "action": "setPhase", "phase": "pythonOutputDistPhase" } | |
Executing pythonOutputDistPhase | |
Finished executing pythonOutputDistPhase | |
Running phase: fixupPhase | |
@nix { "action": "setPhase", "phase": "fixupPhase" } | |
shrinking RPATHs of ELF executables and libraries in /nix/store/alnyb6si30lw2p7caljap0gq5zh7vy9w-python3.12-nbmake-1.5.4 | |
checking for references to /build/ in /nix/store/alnyb6si30lw2p7caljap0gq5zh7vy9w-python3.12-nbmake-1.5.4... | |
patching script interpreter paths in /nix/store/alnyb6si30lw2p7caljap0gq5zh7vy9w-python3.12-nbmake-1.5.4 | |
stripping (with command strip and flags -S -p) in /nix/store/alnyb6si30lw2p7caljap0gq5zh7vy9w-python3.12-nbmake-1.5.4/lib | |
shrinking RPATHs of ELF executables and libraries in /nix/store/iagvhh6jp7q76s9crr5i7vk8bgp7griy-python3.12-nbmake-1.5.4-dist | |
checking for references to /build/ in /nix/store/iagvhh6jp7q76s9crr5i7vk8bgp7griy-python3.12-nbmake-1.5.4-dist... | |
patching script interpreter paths in /nix/store/iagvhh6jp7q76s9crr5i7vk8bgp7griy-python3.12-nbmake-1.5.4-dist | |
Executing pythonRemoveTestsDir | |
Finished executing pythonRemoveTestsDir | |
Running phase: installCheckPhase | |
@nix { "action": "setPhase", "phase": "installCheckPhase" } | |
no Makefile or custom installCheckPhase, doing nothing | |
Running phase: pythonCatchConflictsPhase | |
@nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" } | |
Running phase: pythonRemoveBinBytecodePhase | |
@nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" } | |
Running phase: pythonImportsCheckPhase | |
@nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" } | |
Executing pythonImportsCheckPhase | |
Check whether the following modules can be imported: nbmake | |
Running phase: pytestXdistHook | |
@nix { "action": "setPhase", "phase": "pytestXdistHook" } | |
Running phase: pytestCheckPhase | |
@nix { "action": "setPhase", "phase": "pytestCheckPhase" } | |
Executing pytestCheckPhase | |
006 | |
[1m============================= test session starts ==============================[0m | |
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 | |
rootdir: /build/source | |
configfile: pytest.ini | |
testpaths: tests | |
plugins: nbmake-1.5.3, xdist-3.6.1 | |
[1m | |
created: 32/32 workers[0m[1m | |
initialized: 1/32 workers[0m[1m | |
initialized: 2/32 workers[0m[1m | |
initialized: 3/32 workers[0m[1m | |
initialized: 4/32 workers[0m[1m | |
initialized: 5/32 workers[0m[1m | |
initialized: 6/32 workers[0m[1m | |
initialized: 7/32 workers[0m[1m | |
initialized: 8/32 workers[0m[1m | |
initialized: 9/32 workers[0m[1m | |
initialized: 10/32 workers[0m[1m | |
initialized: 11/32 workers[0m[1m | |
initialized: 12/32 workers[0m[1m | |
initialized: 13/32 workers[0m[1m | |
initialized: 14/32 workers[0m[1m | |
initialized: 15/32 workers[0m[1m | |
initialized: 16/32 workers[0m[1m | |
initialized: 17/32 workers[0m[1m | |
initialized: 18/32 workers[0m[1m | |
initialized: 19/32 workers[0m[1m | |
initialized: 20/32 workers[0m[1m | |
initialized: 21/32 workers[0m[1m | |
initialized: 22/32 workers[0m[1m | |
initialized: 23/32 workers[0m[1m | |
initialized: 24/32 workers[0m[1m | |
initialized: 25/32 workers[0m[1m | |
initialized: 26/32 workers[0m[1m | |
initialized: 27/32 workers[0m[1m | |
initialized: 28/32 workers[0m[1m | |
initialized: 29/32 workers[0m[1m | |
initialized: 30/32 workers[0m[1m | |
initialized: 31/32 workers[0m[1m | |
initialized: 32/32 workers[0m[1m | |
ready: 1/32 workers [0m[1m | |
ready: 2/32 workers[0m[1m | |
ready: 3/32 workers[0m[1m | |
collecting: 1/32 workers[0m[1m | |
collecting: 1/32 workers[0m[1m | |
collecting: 2/32 workers[0m[1m | |
collecting: 3/32 workers[0m[1m | |
collecting: 4/32 workers[0m[1m | |
collecting: 4/32 workers[0m[1m | |
collecting: 5/32 workers[0m[1m | |
collecting: 5/32 workers[0m[1m | |
collecting: 6/32 workers[0m[1m | |
collecting: 6/32 workers[0m[1m | |
collecting: 6/32 workers[0m[1m | |
collecting: 7/32 workers[0m[1m | |
collecting: 8/32 workers[0m[1m | |
collecting: 8/32 workers[0m[1m | |
collecting: 8/32 workers[0m[1m | |
collecting: 8/32 workers[0m[1m | |
collecting: 9/32 workers[0m[1m | |
collecting: 9/32 workers[0m[1m | |
collecting: 10/32 workers[0m[1m | |
collecting: 11/32 workers[0m[1m | |
collecting: 11/32 workers[0m[1m | |
collecting: 12/32 workers[0m[1m | |
collecting: 12/32 workers[0m[1m | |
collecting: 13/32 workers[0m[1m | |
collecting: 14/32 workers[0m[1m | |
collecting: 14/32 workers[0m[1m | |
collecting: 14/32 workers[0m[1m | |
collecting: 15/32 workers[0m[1m | |
collecting: 15/32 workers[0m[1m | |
collecting: 16/32 workers[0m[1m | |
collecting: 17/32 workers[0m[1m | |
collecting: 17/32 workers[0m[1m | |
collecting: 18/32 workers[0m[1m | |
collecting: 18/32 workers[0m[1m | |
collecting: 19/32 workers[0m[1m | |
collecting: 19/32 workers[0m[1m | |
collecting: 19/32 workers[0m[1m | |
collecting: 20/32 workers[0m[1m | |
collecting: 21/32 workers[0m[1m | |
collecting: 21/32 workers[0m[1m | |
collecting: 21/32 workers[0m[1m | |
collecting: 21/32 workers[0m[1m | |
collecting: 22/32 workers[0m[1m | |
collecting: 23/32 workers[0m[1m | |
collecting: 24/32 workers[0m[1m | |
collecting: 24/32 workers[0m[1m | |
collecting: 25/32 workers[0m[1m | |
collecting: 25/32 workers[0m[1m | |
collecting: 25/32 workers[0m[1m | |
collecting: 26/32 workers[0m[1m | |
collecting: 26/32 workers[0m[1m | |
collecting: 27/32 workers[0m[1m | |
collecting: 28/32 workers[0m[1m | |
collecting: 28/32 workers[0m[1m | |
collecting: 29/32 workers[0m[1m | |
collecting: 29/32 workers[0m[1m | |
collecting: 29/32 workers[0m[1m | |
collecting: 30/32 workers[0m[1m | |
collecting: 31/32 workers[0m[1m | |
collecting: 31/32 workers[0m[1m | |
32 workers [33 items] [0m | |
[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[31mF[0m[31m [100%][0m | |
=================================== FAILURES =================================== | |
[31m[1m____________________ test_when_parallel_passing_nbs_then_ok ____________________[0m | |
[gw20] linux -- Python 3.12.7 /nix/store/g1zx5x7mmclk2gmwkbd3f33cmc8a6hz2-python3-3.12.7/bin/python3.12 | |
pytester = <Pytester PosixPath('/build/pytest-of-nixbld/pytest-0/popen-gw20/test_when_parallel_passing_nbs_then_ok0')> | |
testdir2 = None | |
[0m[94mdef[39;49;00m [92mtest_when_parallel_passing_nbs_then_ok[39;49;00m(pytester: Pytester, testdir2: Never):[90m[39;49;00m | |
[write_nb(passing_nb, Path([33mf[39;49;00m[33m"[39;49;00m[33m{[39;49;00mi[33m}[39;49;00m[33m.ipynb[39;49;00m[33m"[39;49;00m)) [94mfor[39;49;00m i [95min[39;49;00m [96mrange[39;49;00m([94m20[39;49;00m)][90m[39;49;00m | |
[90m[39;49;00m | |
hook_recorder = pytester.inline_run([33m"[39;49;00m[33m--nbmake[39;49;00m[33m"[39;49;00m, [33m"[39;49;00m[33m-n=auto[39;49;00m[33m"[39;49;00m)[90m[39;49;00m | |
[90m[39;49;00m | |
> [94massert[39;49;00m hook_recorder.ret == ExitCode.OK[90m[39;49;00m | |
[1m[31mE assert <ExitCode.TESTS_FAILED: 1> == <ExitCode.OK: 0>[0m | |
[1m[31mE + where <ExitCode.TESTS_FAILED: 1> = <_pytest.pytester.HookRecorder object at 0x7ffff4501be0>.ret[0m | |
[1m[31mE + and <ExitCode.OK: 0> = ExitCode.OK[0m | |
[1m[31m/build/source/tests/test_pytest_plugin.py[0m:61: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
============================= test session starts ============================== | |
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 | |
rootdir: /build/pytest-of-nixbld/pytest-0/popen-gw20/test_when_parallel_passing_nbs_then_ok0 | |
plugins: nbmake-1.5.3, xdist-3.6.1 | |
created: 16/16 workers | |
16 workers [20 items] | |
..................F. [100%] | |
=================================== FAILURES =================================== | |
_ /build/pytest-of-nixbld/pytest-0/popen-gw20/test_when_parallel_passing_nbs_then_ok0/10.ipynb _ | |
[gw6] linux -- Python 3.12.7 /nix/store/g1zx5x7mmclk2gmwkbd3f33cmc8a6hz2-python3-3.12.7/bin/python3.12 | |
NBMAKE INTERNAL ERROR | |
Kernel didn't respond in 60 seconds | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/runner.py"[39m, line [38;2;102;102;102m341[39m, in from_call | |
[38;2;187;187;187m [39mresult: TResult [38;2;102;102;102m|[39m [38;2;0;128;0;01mNone[39;00m [38;2;102;102;102m=[39m func() | |
[38;2;187;187;187m [39m^^^^^^ | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/runner.py"[39m, line [38;2;102;102;102m242[39m, in <lambda> | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mlambda[39;00m: runtest_hook(item[38;2;102;102;102m=[39mitem, [38;2;102;102;102m*[39m[38;2;102;102;102m*[39mkwds), when[38;2;102;102;102m=[39mwhen, reraise[38;2;102;102;102m=[39mreraise | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/i21y6qanjlmnvyxpj9g2i664qrj81jgf-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_hooks.py"[39m, line [38;2;102;102;102m513[39m, in __call__ | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mreturn[39;00m [38;2;0;128;0mself[39m[38;2;102;102;102m.[39m_hookexec([38;2;0;128;0mself[39m[38;2;102;102;102m.[39mname, [38;2;0;128;0mself[39m[38;2;102;102;102m.[39m_hookimpls[38;2;102;102;102m.[39mcopy(), kwargs, firstresult) | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/i21y6qanjlmnvyxpj9g2i664qrj81jgf-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_manager.py"[39m, line [38;2;102;102;102m120[39m, in _hookexec | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mreturn[39;00m [38;2;0;128;0mself[39m[38;2;102;102;102m.[39m_inner_hookexec(hook_name, methods, kwargs, firstresult) | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/i21y6qanjlmnvyxpj9g2i664qrj81jgf-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py"[39m, line [38;2;102;102;102m139[39m, in _multicall | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mraise[39;00m exception[38;2;102;102;102m.[39mwith_traceback(exception[38;2;102;102;102m.[39m__traceback__) | |
File [38;2;0;128;0m"/nix/store/i21y6qanjlmnvyxpj9g2i664qrj81jgf-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py"[39m, line [38;2;102;102;102m122[39m, in _multicall | |
[38;2;187;187;187m [39mteardown[38;2;102;102;102m.[39mthrow(exception) [38;2;61;123;123;03m# type: ignore[union-attr][39;00m | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/threadexception.py"[39m, line [38;2;102;102;102m92[39m, in pytest_runtest_call | |
[38;2;187;187;187m [39m[38;2;0;128;0;01myield from[39;00m thread_exception_runtest_hook() | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/threadexception.py"[39m, line [38;2;102;102;102m68[39m, in thread_exception_runtest_hook | |
[38;2;187;187;187m [39m[38;2;0;128;0;01myield[39;00m | |
File [38;2;0;128;0m"/nix/store/i21y6qanjlmnvyxpj9g2i664qrj81jgf-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py"[39m, line [38;2;102;102;102m122[39m, in _multicall | |
[38;2;187;187;187m [39mteardown[38;2;102;102;102m.[39mthrow(exception) [38;2;61;123;123;03m# type: ignore[union-attr][39;00m | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/unraisableexception.py"[39m, line [38;2;102;102;102m95[39m, in pytest_runtest_call | |
[38;2;187;187;187m [39m[38;2;0;128;0;01myield from[39;00m unraisable_exception_runtest_hook() | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/unraisableexception.py"[39m, line [38;2;102;102;102m70[39m, in unraisable_exception_runtest_hook | |
[38;2;187;187;187m [39m[38;2;0;128;0;01myield[39;00m | |
File [38;2;0;128;0m"/nix/store/i21y6qanjlmnvyxpj9g2i664qrj81jgf-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py"[39m, line [38;2;102;102;102m122[39m, in _multicall | |
[38;2;187;187;187m [39mteardown[38;2;102;102;102m.[39mthrow(exception) [38;2;61;123;123;03m# type: ignore[union-attr][39;00m | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/logging.py"[39m, line [38;2;102;102;102m846[39m, in pytest_runtest_call | |
[38;2;187;187;187m [39m[38;2;0;128;0;01myield from[39;00m [38;2;0;128;0mself[39m[38;2;102;102;102m.[39m_runtest_for(item, [38;2;186;33;33m"[39m[38;2;186;33;33mcall[39m[38;2;186;33;33m"[39m) | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/logging.py"[39m, line [38;2;102;102;102m829[39m, in _runtest_for | |
[38;2;187;187;187m [39m[38;2;0;128;0;01myield[39;00m | |
File [38;2;0;128;0m"/nix/store/i21y6qanjlmnvyxpj9g2i664qrj81jgf-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py"[39m, line [38;2;102;102;102m122[39m, in _multicall | |
[38;2;187;187;187m [39mteardown[38;2;102;102;102m.[39mthrow(exception) [38;2;61;123;123;03m# type: ignore[union-attr][39;00m | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/capture.py"[39m, line [38;2;102;102;102m880[39m, in pytest_runtest_call | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mreturn[39;00m ([38;2;0;128;0;01myield[39;00m) | |
[38;2;187;187;187m [39m^^^^^ | |
File [38;2;0;128;0m"/nix/store/i21y6qanjlmnvyxpj9g2i664qrj81jgf-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py"[39m, line [38;2;102;102;102m122[39m, in _multicall | |
[38;2;187;187;187m [39mteardown[38;2;102;102;102m.[39mthrow(exception) [38;2;61;123;123;03m# type: ignore[union-attr][39;00m | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/skipping.py"[39m, line [38;2;102;102;102m257[39m, in pytest_runtest_call | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mreturn[39;00m ([38;2;0;128;0;01myield[39;00m) | |
[38;2;187;187;187m [39m^^^^^ | |
File [38;2;0;128;0m"/nix/store/i21y6qanjlmnvyxpj9g2i664qrj81jgf-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py"[39m, line [38;2;102;102;102m103[39m, in _multicall | |
[38;2;187;187;187m [39mres [38;2;102;102;102m=[39m hook_impl[38;2;102;102;102m.[39mfunction([38;2;102;102;102m*[39margs) | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/runner.py"[39m, line [38;2;102;102;102m174[39m, in pytest_runtest_call | |
[38;2;187;187;187m [39mitem[38;2;102;102;102m.[39mruntest() | |
File [38;2;0;128;0m"/nix/store/alnyb6si30lw2p7caljap0gq5zh7vy9w-python3.12-nbmake-1.5.4/lib/python3.12/site-packages/nbmake/pytest_items.py"[39m, line [38;2;102;102;102m54[39m, in runtest | |
[38;2;187;187;187m [39mres: NotebookResult [38;2;102;102;102m=[39m run[38;2;102;102;102m.[39mexecute() | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/alnyb6si30lw2p7caljap0gq5zh7vy9w-python3.12-nbmake-1.5.4/lib/python3.12/site-packages/nbmake/nb_run.py"[39m, line [38;2;102;102;102m131[39m, in execute | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mraise[39;00m err | |
File [38;2;0;128;0m"/nix/store/alnyb6si30lw2p7caljap0gq5zh7vy9w-python3.12-nbmake-1.5.4/lib/python3.12/site-packages/nbmake/nb_run.py"[39m, line [38;2;102;102;102m113[39m, in execute | |
[38;2;187;187;187m [39mc[38;2;102;102;102m.[39mexecute(cwd[38;2;102;102;102m=[39m[38;2;0;128;0mself[39m[38;2;102;102;102m.[39mfilename[38;2;102;102;102m.[39mparent) | |
File [38;2;0;128;0m"/nix/store/9crcl5py932s5gb34pzrwa93vcsyjw89-python3.12-jupyter-core-5.7.2/lib/python3.12/site-packages/jupyter_core/utils/__init__.py"[39m, line [38;2;102;102;102m165[39m, in wrapped | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mreturn[39;00m loop[38;2;102;102;102m.[39mrun_until_complete(inner) | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/g1zx5x7mmclk2gmwkbd3f33cmc8a6hz2-python3-3.12.7/lib/python3.12/asyncio/base_events.py"[39m, line [38;2;102;102;102m687[39m, in run_until_complete | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mreturn[39;00m future[38;2;102;102;102m.[39mresult() | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/csshh1zi4824ap1rc0zhrw4rd5g77zmm-python3.12-nbclient-0.10.0/lib/python3.12/site-packages/nbclient/client.py"[39m, line [38;2;102;102;102m693[39m, in async_execute | |
[38;2;187;187;187m [39m[38;2;0;128;0;01masync[39;00m [38;2;0;128;0;01mwith[39;00m [38;2;0;128;0mself[39m[38;2;102;102;102m.[39masync_setup_kernel([38;2;102;102;102m*[39m[38;2;102;102;102m*[39mkwargs): | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/g1zx5x7mmclk2gmwkbd3f33cmc8a6hz2-python3-3.12.7/lib/python3.12/contextlib.py"[39m, line [38;2;102;102;102m210[39m, in __aenter__ | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mreturn[39;00m [38;2;0;128;0;01mawait[39;00m anext([38;2;0;128;0mself[39m[38;2;102;102;102m.[39mgen) | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/csshh1zi4824ap1rc0zhrw4rd5g77zmm-python3.12-nbclient-0.10.0/lib/python3.12/site-packages/nbclient/client.py"[39m, line [38;2;102;102;102m651[39m, in async_setup_kernel | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mawait[39;00m [38;2;0;128;0mself[39m[38;2;102;102;102m.[39masync_start_new_kernel_client() | |
File [38;2;0;128;0m"/nix/store/csshh1zi4824ap1rc0zhrw4rd5g77zmm-python3.12-nbclient-0.10.0/lib/python3.12/site-packages/nbclient/client.py"[39m, line [38;2;102;102;102m566[39m, in async_start_new_kernel_client | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mawait[39;00m ensure_async([38;2;0;128;0mself[39m[38;2;102;102;102m.[39mkc[38;2;102;102;102m.[39mwait_for_ready(timeout[38;2;102;102;102m=[39m[38;2;0;128;0mself[39m[38;2;102;102;102m.[39mstartup_timeout)) | |
File [38;2;0;128;0m"/nix/store/9crcl5py932s5gb34pzrwa93vcsyjw89-python3.12-jupyter-core-5.7.2/lib/python3.12/site-packages/jupyter_core/utils/__init__.py"[39m, line [38;2;102;102;102m198[39m, in ensure_async | |
[38;2;187;187;187m [39mresult [38;2;102;102;102m=[39m [38;2;0;128;0;01mawait[39;00m obj | |
[38;2;187;187;187m [39m^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/m8i8li4hafiff2jl6d2g8r8i1myxqgdy-python3.12-jupyter-client-8.6.3/lib/python3.12/site-packages/jupyter_client/client.py"[39m, line [38;2;102;102;102m207[39m, in _async_wait_for_ready | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mraise[39;00m [38;2;203;63;56;01mRuntimeError[39;00m([38;2;186;33;33m"[39m[38;2;186;33;33mKernel didn[39m[38;2;186;33;33m'[39m[38;2;186;33;33mt respond in [39m[38;2;164;90;119;01m%d[39;00m[38;2;186;33;33m seconds[39m[38;2;186;33;33m"[39m [38;2;102;102;102m%[39m timeout) | |
------------------------------ Captured log call ------------------------------- | |
ERROR traitlets:client.py:568 Error occurred while starting new kernel client for kernel fc8ac83e-1017-412a-95de-475b0d83c8ba: Kernel didn't respond in 60 seconds | |
Learn more about nbmake at https://github.com/treebeardtech/nbmake | |
=========================== short test summary info ============================ | |
FAILED 10.ipynb:: | |
=================== 1 failed, 19 passed in 80.48s (0:01:20) ==================== | |
----------------------------- Captured stderr call ----------------------------- | |
Exception ignored in atexit callback: <bound method run_sync.<locals>.wrapped of <nbclient.client.NotebookClient object at 0x7ffff5a74290>> | |
Traceback (most recent call last): | |
File "/nix/store/9crcl5py932s5gb34pzrwa93vcsyjw89-python3.12-jupyter-core-5.7.2/lib/python3.12/site-packages/jupyter_core/utils/__init__.py", line 165, in wrapped | |
return loop.run_until_complete(inner) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/nix/store/g1zx5x7mmclk2gmwkbd3f33cmc8a6hz2-python3-3.12.7/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete | |
return future.result() | |
^^^^^^^^^^^^^^^ | |
File "/nix/store/csshh1zi4824ap1rc0zhrw4rd5g77zmm-python3.12-nbclient-0.10.0/lib/python3.12/site-packages/nbclient/client.py", line 504, in _async_cleanup_kernel | |
assert self.km is not None | |
^^^^^^^^^^^^^^^^^^^ | |
AssertionError: | |
[36m[1m=========================== short test summary info ============================[0m | |
[31mFAILED[0m tests/test_pytest_plugin.py::[1mtest_when_parallel_passing_nbs_then_ok[0m - assert <ExitCode.TESTS_FAILED: 1> == <ExitCode.OK: 0> | |
[31m=================== [31m[1m1 failed[0m, [32m32 passed[0m[31m in 100.75s (0:01:40)[0m[31m ===================[0m |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sourcing python-remove-tests-dir-hook | |
Sourcing python-catch-conflicts-hook.sh | |
Sourcing python-remove-bin-bytecode-hook.sh | |
Sourcing pypa-build-hook | |
Using pypaBuildPhase | |
Sourcing python-runtime-deps-check-hook | |
Using pythonRuntimeDepsCheckHook | |
Sourcing pypa-install-hook | |
Using pypaInstallPhase | |
Sourcing python-imports-check-hook.sh | |
Using pythonImportsCheckPhase | |
Sourcing python-namespaces-hook | |
Sourcing python-catch-conflicts-hook.sh | |
Sourcing pytest-check-hook | |
Using pytestCheckPhase | |
Running phase: unpackPhase | |
@nix { "action": "setPhase", "phase": "unpackPhase" } | |
unpacking source archive /nix/store/yd85ay5h7n6ba7vjif5rdysyp1sjdmh7-source | |
source root is source | |
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/tests/test_pytest_plugin.py | |
Running phase: patchPhase | |
@nix { "action": "setPhase", "phase": "patchPhase" } | |
Running phase: updateAutotoolsGnuConfigScriptsPhase | |
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" } | |
Running phase: configurePhase | |
@nix { "action": "setPhase", "phase": "configurePhase" } | |
no configure script, doing nothing | |
Running phase: buildPhase | |
@nix { "action": "setPhase", "phase": "buildPhase" } | |
Executing pypaBuildPhase | |
Creating a wheel... | |
pypa build flags: --no-isolation --outdir dist/ --wheel | |
[1m* Getting build dependencies for wheel...[0m | |
[1m* Building wheel...[0m | |
[1m[92mSuccessfully built [4mnbmake-1.5.3-py3-none-any.whl[0m[1m[92m[0m | |
Finished creating a wheel... | |
/build/source/dist /build/source | |
Unpacking to: unpacked/nbmake-1.5.3...OK | |
Repacking wheel as ./nbmake-1.5.3-py3-none-any.whl...OK | |
/build/source | |
Finished executing pypaBuildPhase | |
Running phase: pythonRuntimeDepsCheckHook | |
@nix { "action": "setPhase", "phase": "pythonRuntimeDepsCheckHook" } | |
Executing pythonRuntimeDepsCheck | |
Checking runtime dependencies for nbmake-1.5.3-py3-none-any.whl | |
Finished executing pythonRuntimeDepsCheck | |
Running phase: installPhase | |
@nix { "action": "setPhase", "phase": "installPhase" } | |
Executing pypaInstallPhase | |
Successfully installed nbmake-1.5.3-py3-none-any.whl | |
Finished executing pypaInstallPhase | |
Running phase: pythonOutputDistPhase | |
@nix { "action": "setPhase", "phase": "pythonOutputDistPhase" } | |
Executing pythonOutputDistPhase | |
Finished executing pythonOutputDistPhase | |
Running phase: fixupPhase | |
@nix { "action": "setPhase", "phase": "fixupPhase" } | |
shrinking RPATHs of ELF executables and libraries in /nix/store/rx5f5x50zv7xnx6a3c0i0r9h97cfilly-python3.12-nbmake-1.5.4 | |
checking for references to /build/ in /nix/store/rx5f5x50zv7xnx6a3c0i0r9h97cfilly-python3.12-nbmake-1.5.4... | |
patching script interpreter paths in /nix/store/rx5f5x50zv7xnx6a3c0i0r9h97cfilly-python3.12-nbmake-1.5.4 | |
stripping (with command strip and flags -S -p) in /nix/store/rx5f5x50zv7xnx6a3c0i0r9h97cfilly-python3.12-nbmake-1.5.4/lib | |
shrinking RPATHs of ELF executables and libraries in /nix/store/lccw6fiy848lschh37cxw5fr86zm7d9s-python3.12-nbmake-1.5.4-dist | |
checking for references to /build/ in /nix/store/lccw6fiy848lschh37cxw5fr86zm7d9s-python3.12-nbmake-1.5.4-dist... | |
patching script interpreter paths in /nix/store/lccw6fiy848lschh37cxw5fr86zm7d9s-python3.12-nbmake-1.5.4-dist | |
Executing pythonRemoveTestsDir | |
Finished executing pythonRemoveTestsDir | |
Running phase: installCheckPhase | |
@nix { "action": "setPhase", "phase": "installCheckPhase" } | |
no Makefile or custom installCheckPhase, doing nothing | |
Running phase: pythonCatchConflictsPhase | |
@nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" } | |
Running phase: pythonRemoveBinBytecodePhase | |
@nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" } | |
Running phase: pythonImportsCheckPhase | |
@nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" } | |
Executing pythonImportsCheckPhase | |
Check whether the following modules can be imported: nbmake | |
Running phase: pytestXdistHook | |
@nix { "action": "setPhase", "phase": "pytestXdistHook" } | |
Running phase: pytestCheckPhase | |
@nix { "action": "setPhase", "phase": "pytestCheckPhase" } | |
Executing pytestCheckPhase | |
001 | |
[1m============================= test session starts ==============================[0m | |
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 | |
rootdir: /build/source | |
configfile: pytest.ini | |
testpaths: tests | |
plugins: nbmake-1.5.3, xdist-3.6.1 | |
[1m | |
created: 32/32 workers[0m[1m | |
initialized: 1/32 workers[0m[1m | |
initialized: 2/32 workers[0m[1m | |
initialized: 3/32 workers[0m[1m | |
initialized: 4/32 workers[0m[1m | |
initialized: 5/32 workers[0m[1m | |
initialized: 6/32 workers[0m[1m | |
initialized: 7/32 workers[0m[1m | |
initialized: 8/32 workers[0m[1m | |
initialized: 9/32 workers[0m[1m | |
initialized: 10/32 workers[0m[1m | |
initialized: 11/32 workers[0m[1m | |
initialized: 12/32 workers[0m[1m | |
initialized: 13/32 workers[0m[1m | |
initialized: 14/32 workers[0m[1m | |
initialized: 15/32 workers[0m[1m | |
initialized: 16/32 workers[0m[1m | |
initialized: 17/32 workers[0m[1m | |
initialized: 18/32 workers[0m[1m | |
initialized: 19/32 workers[0m[1m | |
initialized: 20/32 workers[0m[1m | |
initialized: 21/32 workers[0m[1m | |
initialized: 22/32 workers[0m[1m | |
initialized: 23/32 workers[0m[1m | |
initialized: 24/32 workers[0m[1m | |
initialized: 25/32 workers[0m[1m | |
initialized: 26/32 workers[0m[1m | |
initialized: 27/32 workers[0m[1m | |
initialized: 28/32 workers[0m[1m | |
initialized: 29/32 workers[0m[1m | |
initialized: 30/32 workers[0m[1m | |
initialized: 31/32 workers[0m[1m | |
initialized: 32/32 workers[0m[1m | |
ready: 1/32 workers [0m[1m | |
ready: 2/32 workers[0m[1m | |
collecting: 1/32 workers[0m[1m | |
collecting: 1/32 workers[0m[1m | |
collecting: 2/32 workers[0m[1m | |
collecting: 2/32 workers[0m[1m | |
collecting: 3/32 workers[0m[1m | |
collecting: 3/32 workers[0m[1m | |
collecting: 4/32 workers[0m[1m | |
collecting: 5/32 workers[0m[1m | |
collecting: 5/32 workers[0m[1m | |
collecting: 5/32 workers[0m[1m | |
collecting: 6/32 workers[0m[1m | |
collecting: 7/32 workers[0m[1m | |
collecting: 7/32 workers[0m[1m | |
collecting: 8/32 workers[0m[1m | |
collecting: 8/32 workers[0m[1m | |
collecting: 8/32 workers[0m[1m | |
collecting: 9/32 workers[0m[1m | |
collecting: 10/32 workers[0m[1m | |
collecting: 10/32 workers[0m[1m | |
collecting: 11/32 workers[0m[1m | |
collecting: 11/32 workers[0m[1m | |
collecting: 12/32 workers[0m[1m | |
collecting: 12/32 workers[0m[1m | |
collecting: 13/32 workers[0m[1m | |
collecting: 13/32 workers[0m[1m | |
collecting: 13/32 workers[0m[1m | |
collecting: 14/32 workers[0m[1m | |
collecting: 15/32 workers[0m[1m | |
collecting: 15/32 workers[0m[1m | |
collecting: 16/32 workers[0m[1m | |
collecting: 16/32 workers[0m[1m | |
collecting: 17/32 workers[0m[1m | |
collecting: 17/32 workers[0m[1m | |
collecting: 18/32 workers[0m[1m | |
collecting: 18/32 workers[0m[1m | |
collecting: 19/32 workers[0m[1m | |
collecting: 19/32 workers[0m[1m | |
collecting: 19/32 workers[0m[1m | |
collecting: 20/32 workers[0m[1m | |
collecting: 21/32 workers[0m[1m | |
collecting: 21/32 workers[0m[1m | |
collecting: 22/32 workers[0m[1m | |
collecting: 22/32 workers[0m[1m | |
collecting: 23/32 workers[0m[1m | |
collecting: 23/32 workers[0m[1m | |
collecting: 23/32 workers[0m[1m | |
collecting: 24/32 workers[0m[1m | |
collecting: 25/32 workers[0m[1m | |
collecting: 25/32 workers[0m[1m | |
collecting: 26/32 workers[0m[1m | |
collecting: 26/32 workers[0m[1m | |
collecting: 26/32 workers[0m[1m | |
collecting: 27/32 workers[0m[1m | |
collecting: 28/32 workers[0m[1m | |
collecting: 28/32 workers[0m[1m | |
collecting: 29/32 workers[0m[1m | |
collecting: 29/32 workers[0m[1m | |
collecting: 30/32 workers[0m[1m | |
collecting: 30/32 workers[0m[1m | |
collecting: 31/32 workers[0m[1m | |
collecting: 31/32 workers[0m[1m | |
32 workers [33 items] [0m | |
[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[31mF[0m[32m.[0m[32m.[0m[32m.[0m[31m [100%][0m | |
=================================== FAILURES =================================== | |
[31m[1m______________ TestNotebookRun.test_when_import_error_then_fails _______________[0m | |
[gw16] linux -- Python 3.12.7 /nix/store/g1zx5x7mmclk2gmwkbd3f33cmc8a6hz2-python3-3.12.7/bin/python3.12 | |
self = <tests.test_nb_run.TestNotebookRun object at 0x7ffff4672f00> | |
testdir2 = None | |
[0m[94mdef[39;49;00m [92mtest_when_import_error_then_fails[39;49;00m([96mself[39;49;00m, testdir2: Never):[90m[39;49;00m | |
nb = Path([91m__file__[39;49;00m).parent / [33m"[39;49;00m[33mresources[39;49;00m[33m"[39;49;00m / [33m"[39;49;00m[33mimport_errs.ipynb[39;49;00m[33m"[39;49;00m[90m[39;49;00m | |
run = NotebookRun(nb, [94m1[39;49;00m, find_import_errors=[94mTrue[39;49;00m)[90m[39;49;00m | |
res: NotebookResult = run.execute()[90m[39;49;00m | |
> [94massert[39;49;00m res.error [95mis[39;49;00m [95mnot[39;49;00m [94mNone[39;49;00m[90m[39;49;00m | |
[1m[31mE AssertionError: assert None is not None[0m | |
[1m[31mE + where None = NotebookResult(nb={'cells': [{'cell_type': 'code', 'execution_count': 1, 'metadata': {'execution': {'iopub.status.busy...'949777d72b0d2535278d3dc13498b2535136f6dfe0678499012e853ee9abcab1'}}}, 'nbformat': 4, 'nbformat_minor': 2}, error=None).error[0m | |
[1m[31m/build/source/tests/test_nb_run.py[0m:168: AssertionError | |
------------------------------ Captured log call ------------------------------- | |
ERROR traitlets:client.py:845 Timeout waiting for execute reply (1s). | |
ERROR traitlets:client.py:847 Interrupting kernel | |
ERROR traitlets:client.py:845 Timeout waiting for execute reply (1s). | |
ERROR traitlets:client.py:847 Interrupting kernel | |
ERROR traitlets:client.py:845 Timeout waiting for execute reply (1s). | |
ERROR traitlets:client.py:847 Interrupting kernel | |
ERROR traitlets:client.py:845 Timeout waiting for execute reply (1s). | |
ERROR traitlets:client.py:847 Interrupting kernel | |
[36m[1m=========================== short test summary info ============================[0m | |
[31mFAILED[0m tests/test_nb_run.py::[1mTestNotebookRun::test_when_import_error_then_fails[0m - AssertionError: assert None is not None | |
[31m======================== [31m[1m1 failed[0m, [32m32 passed[0m[31m in 35.99s[0m[31m =========================[0m |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sourcing python-remove-tests-dir-hook | |
Sourcing python-catch-conflicts-hook.sh | |
Sourcing python-remove-bin-bytecode-hook.sh | |
Sourcing pypa-build-hook | |
Using pypaBuildPhase | |
Sourcing python-runtime-deps-check-hook | |
Using pythonRuntimeDepsCheckHook | |
Sourcing pypa-install-hook | |
Using pypaInstallPhase | |
Sourcing python-imports-check-hook.sh | |
Using pythonImportsCheckPhase | |
Sourcing python-namespaces-hook | |
Sourcing python-catch-conflicts-hook.sh | |
Sourcing pytest-check-hook | |
Using pytestCheckPhase | |
Running phase: unpackPhase | |
@nix { "action": "setPhase", "phase": "unpackPhase" } | |
unpacking source archive /nix/store/yd85ay5h7n6ba7vjif5rdysyp1sjdmh7-source | |
source root is source | |
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/tests/test_pytest_plugin.py | |
Running phase: patchPhase | |
@nix { "action": "setPhase", "phase": "patchPhase" } | |
Running phase: updateAutotoolsGnuConfigScriptsPhase | |
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" } | |
Running phase: configurePhase | |
@nix { "action": "setPhase", "phase": "configurePhase" } | |
no configure script, doing nothing | |
Running phase: buildPhase | |
@nix { "action": "setPhase", "phase": "buildPhase" } | |
Executing pypaBuildPhase | |
Creating a wheel... | |
pypa build flags: --no-isolation --outdir dist/ --wheel | |
[1m* Getting build dependencies for wheel...[0m | |
[1m* Building wheel...[0m | |
[1m[92mSuccessfully built [4mnbmake-1.5.3-py3-none-any.whl[0m[1m[92m[0m | |
Finished creating a wheel... | |
/build/source/dist /build/source | |
Unpacking to: unpacked/nbmake-1.5.3...OK | |
Repacking wheel as ./nbmake-1.5.3-py3-none-any.whl...OK | |
/build/source | |
Finished executing pypaBuildPhase | |
Running phase: pythonRuntimeDepsCheckHook | |
@nix { "action": "setPhase", "phase": "pythonRuntimeDepsCheckHook" } | |
Executing pythonRuntimeDepsCheck | |
Checking runtime dependencies for nbmake-1.5.3-py3-none-any.whl | |
Finished executing pythonRuntimeDepsCheck | |
Running phase: installPhase | |
@nix { "action": "setPhase", "phase": "installPhase" } | |
Executing pypaInstallPhase | |
Successfully installed nbmake-1.5.3-py3-none-any.whl | |
Finished executing pypaInstallPhase | |
Running phase: pythonOutputDistPhase | |
@nix { "action": "setPhase", "phase": "pythonOutputDistPhase" } | |
Executing pythonOutputDistPhase | |
Finished executing pythonOutputDistPhase | |
Running phase: fixupPhase | |
@nix { "action": "setPhase", "phase": "fixupPhase" } | |
shrinking RPATHs of ELF executables and libraries in /nix/store/9ym48wbkbbx7gmfwqqaiymlwn22dhpzp-python3.12-nbmake-1.5.4 | |
checking for references to /build/ in /nix/store/9ym48wbkbbx7gmfwqqaiymlwn22dhpzp-python3.12-nbmake-1.5.4... | |
patching script interpreter paths in /nix/store/9ym48wbkbbx7gmfwqqaiymlwn22dhpzp-python3.12-nbmake-1.5.4 | |
stripping (with command strip and flags -S -p) in /nix/store/9ym48wbkbbx7gmfwqqaiymlwn22dhpzp-python3.12-nbmake-1.5.4/lib | |
shrinking RPATHs of ELF executables and libraries in /nix/store/fc66rpgn4hmlvp6jm4z4d3mcar18r6mw-python3.12-nbmake-1.5.4-dist | |
checking for references to /build/ in /nix/store/fc66rpgn4hmlvp6jm4z4d3mcar18r6mw-python3.12-nbmake-1.5.4-dist... | |
patching script interpreter paths in /nix/store/fc66rpgn4hmlvp6jm4z4d3mcar18r6mw-python3.12-nbmake-1.5.4-dist | |
Executing pythonRemoveTestsDir | |
Finished executing pythonRemoveTestsDir | |
Running phase: installCheckPhase | |
@nix { "action": "setPhase", "phase": "installCheckPhase" } | |
no Makefile or custom installCheckPhase, doing nothing | |
Running phase: pythonCatchConflictsPhase | |
@nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" } | |
Running phase: pythonRemoveBinBytecodePhase | |
@nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" } | |
Running phase: pythonImportsCheckPhase | |
@nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" } | |
Executing pythonImportsCheckPhase | |
Check whether the following modules can be imported: nbmake | |
Running phase: pytestXdistHook | |
@nix { "action": "setPhase", "phase": "pytestXdistHook" } | |
Running phase: pytestCheckPhase | |
@nix { "action": "setPhase", "phase": "pytestCheckPhase" } | |
Executing pytestCheckPhase | |
002 | |
[1m============================= test session starts ==============================[0m | |
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 | |
rootdir: /build/source | |
configfile: pytest.ini | |
testpaths: tests | |
plugins: nbmake-1.5.3, xdist-3.6.1 | |
[1m | |
created: 32/32 workers[0m[1m | |
initialized: 1/32 workers[0m[1m | |
initialized: 2/32 workers[0m[1m | |
initialized: 3/32 workers[0m[1m | |
initialized: 4/32 workers[0m[1m | |
initialized: 5/32 workers[0m[1m | |
initialized: 6/32 workers[0m[1m | |
initialized: 7/32 workers[0m[1m | |
initialized: 8/32 workers[0m[1m | |
initialized: 9/32 workers[0m[1m | |
initialized: 10/32 workers[0m[1m | |
initialized: 11/32 workers[0m[1m | |
initialized: 12/32 workers[0m[1m | |
initialized: 13/32 workers[0m[1m | |
initialized: 14/32 workers[0m[1m | |
initialized: 15/32 workers[0m[1m | |
initialized: 16/32 workers[0m[1m | |
initialized: 17/32 workers[0m[1m | |
initialized: 18/32 workers[0m[1m | |
initialized: 19/32 workers[0m[1m | |
initialized: 20/32 workers[0m[1m | |
initialized: 21/32 workers[0m[1m | |
initialized: 22/32 workers[0m[1m | |
initialized: 23/32 workers[0m[1m | |
initialized: 24/32 workers[0m[1m | |
initialized: 25/32 workers[0m[1m | |
initialized: 26/32 workers[0m[1m | |
initialized: 27/32 workers[0m[1m | |
initialized: 28/32 workers[0m[1m | |
initialized: 29/32 workers[0m[1m | |
initialized: 30/32 workers[0m[1m | |
initialized: 31/32 workers[0m[1m | |
initialized: 32/32 workers[0m[1m | |
ready: 1/32 workers [0m[1m | |
ready: 2/32 workers[0m[1m | |
collecting: 1/32 workers[0m[1m | |
collecting: 2/32 workers[0m[1m | |
collecting: 2/32 workers[0m[1m | |
collecting: 3/32 workers[0m[1m | |
collecting: 3/32 workers[0m[1m | |
collecting: 4/32 workers[0m[1m | |
collecting: 4/32 workers[0m[1m | |
collecting: 4/32 workers[0m[1m | |
collecting: 5/32 workers[0m[1m | |
collecting: 5/32 workers[0m[1m | |
collecting: 6/32 workers[0m[1m | |
collecting: 6/32 workers[0m[1m | |
collecting: 7/32 workers[0m[1m | |
collecting: 8/32 workers[0m[1m | |
collecting: 8/32 workers[0m[1m | |
collecting: 8/32 workers[0m[1m | |
collecting: 8/32 workers[0m[1m | |
collecting: 9/32 workers[0m[1m | |
collecting: 10/32 workers[0m[1m | |
collecting: 11/32 workers[0m[1m | |
collecting: 11/32 workers[0m[1m | |
collecting: 12/32 workers[0m[1m | |
collecting: 12/32 workers[0m[1m | |
collecting: 12/32 workers[0m[1m | |
collecting: 12/32 workers[0m[1m | |
collecting: 13/32 workers[0m[1m | |
collecting: 14/32 workers[0m[1m | |
collecting: 15/32 workers[0m[1m | |
collecting: 15/32 workers[0m[1m | |
collecting: 15/32 workers[0m[1m | |
collecting: 15/32 workers[0m[1m | |
collecting: 15/32 workers[0m[1m | |
collecting: 16/32 workers[0m[1m | |
collecting: 17/32 workers[0m[1m | |
collecting: 18/32 workers[0m[1m | |
collecting: 19/32 workers[0m[1m | |
collecting: 19/32 workers[0m[1m | |
collecting: 20/32 workers[0m[1m | |
collecting: 20/32 workers[0m[1m | |
collecting: 20/32 workers[0m[1m | |
collecting: 20/32 workers[0m[1m | |
collecting: 21/32 workers[0m[1m | |
collecting: 21/32 workers[0m[1m | |
collecting: 22/32 workers[0m[1m | |
collecting: 23/32 workers[0m[1m | |
collecting: 23/32 workers[0m[1m | |
collecting: 24/32 workers[0m[1m | |
collecting: 24/32 workers[0m[1m | |
collecting: 25/32 workers[0m[1m | |
collecting: 26/32 workers[0m[1m | |
collecting: 26/32 workers[0m[1m | |
collecting: 26/32 workers[0m[1m | |
collecting: 27/32 workers[0m[1m | |
collecting: 28/32 workers[0m[1m | |
collecting: 28/32 workers[0m[1m | |
collecting: 29/32 workers[0m[1m | |
collecting: 29/32 workers[0m[1m | |
collecting: 30/32 workers[0m[1m | |
collecting: 30/32 workers[0m[1m | |
collecting: 30/32 workers[0m[1m | |
collecting: 31/32 workers[0m[1m | |
32 workers [33 items] [0m | |
[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[31mF[0m[31m [100%][0mException ignored in atexit callback: <bound method run_sync.<locals>.wrapped of <nbclient.client.NotebookClient object at 0x7ffff4672d50>> | |
Traceback (most recent call last): | |
File "/nix/store/9crcl5py932s5gb34pzrwa93vcsyjw89-python3.12-jupyter-core-5.7.2/lib/python3.12/site-packages/jupyter_core/utils/__init__.py", line 165, in wrapped | |
return loop.run_until_complete(inner) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/nix/store/g1zx5x7mmclk2gmwkbd3f33cmc8a6hz2-python3-3.12.7/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete | |
return future.result() | |
^^^^^^^^^^^^^^^ | |
File "/nix/store/csshh1zi4824ap1rc0zhrw4rd5g77zmm-python3.12-nbclient-0.10.0/lib/python3.12/site-packages/nbclient/client.py", line 504, in _async_cleanup_kernel | |
assert self.km is not None | |
^^^^^^^^^^^^^^^^^^^ | |
AssertionError: | |
=================================== FAILURES =================================== | |
[31m[1m_______________ TestNotebookRun.test_when_magic_error_then_fails _______________[0m | |
[gw17] linux -- Python 3.12.7 /nix/store/g1zx5x7mmclk2gmwkbd3f33cmc8a6hz2-python3-3.12.7/bin/python3.12 | |
self = <tests.test_nb_run.TestNotebookRun object at 0x7ffff46725d0> | |
testdir2 = None | |
[0m[94mdef[39;49;00m [92mtest_when_magic_error_then_fails[39;49;00m([96mself[39;49;00m, testdir2: Never):[90m[39;49;00m | |
nb = Path([91m__file__[39;49;00m).parent / [33m"[39;49;00m[33mresources[39;49;00m[33m"[39;49;00m / [33m"[39;49;00m[33mmagic_error.ipynb[39;49;00m[33m"[39;49;00m[90m[39;49;00m | |
run = NotebookRun(nb, [94m300[39;49;00m)[90m[39;49;00m | |
> res: NotebookResult = run.execute()[90m[39;49;00m | |
[1m[31m/build/source/tests/test_nb_run.py[0m:155: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[1m[31m/nix/store/9ym48wbkbbx7gmfwqqaiymlwn22dhpzp-python3.12-nbmake-1.5.4/lib/python3.12/site-packages/nbmake/nb_run.py[0m:131: in execute | |
[0m[94mraise[39;49;00m err[90m[39;49;00m | |
[1m[31m/nix/store/9ym48wbkbbx7gmfwqqaiymlwn22dhpzp-python3.12-nbmake-1.5.4/lib/python3.12/site-packages/nbmake/nb_run.py[0m:113: in execute | |
[0mc.execute(cwd=[96mself[39;49;00m.filename.parent)[90m[39;49;00m | |
[1m[31m/nix/store/9crcl5py932s5gb34pzrwa93vcsyjw89-python3.12-jupyter-core-5.7.2/lib/python3.12/site-packages/jupyter_core/utils/__init__.py[0m:165: in wrapped | |
[0m[94mreturn[39;49;00m loop.run_until_complete(inner)[90m[39;49;00m | |
[1m[31m/nix/store/g1zx5x7mmclk2gmwkbd3f33cmc8a6hz2-python3-3.12.7/lib/python3.12/asyncio/base_events.py[0m:687: in run_until_complete | |
[0m[94mreturn[39;49;00m future.result()[90m[39;49;00m | |
[1m[31m/nix/store/csshh1zi4824ap1rc0zhrw4rd5g77zmm-python3.12-nbclient-0.10.0/lib/python3.12/site-packages/nbclient/client.py[0m:693: in async_execute | |
[0m[94masync[39;49;00m [94mwith[39;49;00m [96mself[39;49;00m.async_setup_kernel(**kwargs):[90m[39;49;00m | |
[1m[31m/nix/store/g1zx5x7mmclk2gmwkbd3f33cmc8a6hz2-python3-3.12.7/lib/python3.12/contextlib.py[0m:210: in __aenter__ | |
[0m[94mreturn[39;49;00m [94mawait[39;49;00m anext([96mself[39;49;00m.gen)[90m[39;49;00m | |
[1m[31m/nix/store/csshh1zi4824ap1rc0zhrw4rd5g77zmm-python3.12-nbclient-0.10.0/lib/python3.12/site-packages/nbclient/client.py[0m:651: in async_setup_kernel | |
[0m[94mawait[39;49;00m [96mself[39;49;00m.async_start_new_kernel_client()[90m[39;49;00m | |
[1m[31m/nix/store/csshh1zi4824ap1rc0zhrw4rd5g77zmm-python3.12-nbclient-0.10.0/lib/python3.12/site-packages/nbclient/client.py[0m:566: in async_start_new_kernel_client | |
[0m[94mawait[39;49;00m ensure_async([96mself[39;49;00m.kc.wait_for_ready(timeout=[96mself[39;49;00m.startup_timeout))[90m[39;49;00m | |
[1m[31m/nix/store/9crcl5py932s5gb34pzrwa93vcsyjw89-python3.12-jupyter-core-5.7.2/lib/python3.12/site-packages/jupyter_core/utils/__init__.py[0m:198: in ensure_async | |
[0mresult = [94mawait[39;49;00m obj[90m[39;49;00m | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <jupyter_client.asynchronous.client.AsyncKernelClient object at 0x7ffff40cc800> | |
timeout = 60 | |
[0m[94masync[39;49;00m [94mdef[39;49;00m [92m_async_wait_for_ready[39;49;00m([96mself[39;49;00m, timeout: t.Optional[[96mfloat[39;49;00m] = [94mNone[39;49;00m) -> [94mNone[39;49;00m:[90m[39;49;00m | |
[90m [39;49;00m[33m"""Waits for a response when a client is blocked[39;49;00m | |
[33m[39;49;00m | |
[33m - Sets future time for timeout[39;49;00m | |
[33m - Blocks on shell channel until a message is received[39;49;00m | |
[33m - Exit if the kernel has died[39;49;00m | |
[33m - If client times out before receiving a message from the kernel, send RuntimeError[39;49;00m | |
[33m - Flush the IOPub channel[39;49;00m | |
[33m """[39;49;00m[90m[39;49;00m | |
[94mif[39;49;00m timeout [95mis[39;49;00m [94mNone[39;49;00m:[90m[39;49;00m | |
timeout = [96mfloat[39;49;00m([33m"[39;49;00m[33minf[39;49;00m[33m"[39;49;00m)[90m[39;49;00m | |
abs_timeout = time.time() + timeout[90m[39;49;00m | |
[90m[39;49;00m | |
[94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mmanager[39;49;00m [94mimport[39;49;00m KernelManager[90m[39;49;00m | |
[90m[39;49;00m | |
[94mif[39;49;00m [95mnot[39;49;00m [96misinstance[39;49;00m([96mself[39;49;00m.parent, KernelManager):[90m[39;49;00m | |
[90m# This Client was not created by a KernelManager,[39;49;00m[90m[39;49;00m | |
[90m# so wait for kernel to become responsive to heartbeats[39;49;00m[90m[39;49;00m | |
[90m# before checking for kernel_info reply[39;49;00m[90m[39;49;00m | |
[94mwhile[39;49;00m [95mnot[39;49;00m [94mawait[39;49;00m [96mself[39;49;00m._async_is_alive():[90m[39;49;00m | |
[94mif[39;49;00m time.time() > abs_timeout:[90m[39;49;00m | |
[94mraise[39;49;00m [96mRuntimeError[39;49;00m([90m[39;49;00m | |
[33m"[39;49;00m[33mKernel didn[39;49;00m[33m'[39;49;00m[33mt respond to heartbeats in [39;49;00m[33m%d[39;49;00m[33m seconds and timed out[39;49;00m[33m"[39;49;00m % timeout[90m[39;49;00m | |
)[90m[39;49;00m | |
[94mawait[39;49;00m asyncio.sleep([94m0.2[39;49;00m)[90m[39;49;00m | |
[90m[39;49;00m | |
[90m# Wait for kernel info reply on shell channel[39;49;00m[90m[39;49;00m | |
[94mwhile[39;49;00m [94mTrue[39;49;00m:[90m[39;49;00m | |
[96mself[39;49;00m.kernel_info()[90m[39;49;00m | |
[94mtry[39;49;00m:[90m[39;49;00m | |
msg = [94mawait[39;49;00m ensure_async([96mself[39;49;00m.shell_channel.get_msg(timeout=[94m1[39;49;00m))[90m[39;49;00m | |
[94mexcept[39;49;00m Empty:[90m[39;49;00m | |
[94mpass[39;49;00m[90m[39;49;00m | |
[94melse[39;49;00m:[90m[39;49;00m | |
[94mif[39;49;00m msg[[33m"[39;49;00m[33mmsg_type[39;49;00m[33m"[39;49;00m] == [33m"[39;49;00m[33mkernel_info_reply[39;49;00m[33m"[39;49;00m:[90m[39;49;00m | |
[90m# Checking that IOPub is connected. If it is not connected, start over.[39;49;00m[90m[39;49;00m | |
[94mtry[39;49;00m:[90m[39;49;00m | |
[94mawait[39;49;00m ensure_async([96mself[39;49;00m.iopub_channel.get_msg(timeout=[94m0.2[39;49;00m))[90m[39;49;00m | |
[94mexcept[39;49;00m Empty:[90m[39;49;00m | |
[94mpass[39;49;00m[90m[39;49;00m | |
[94melse[39;49;00m:[90m[39;49;00m | |
[96mself[39;49;00m._handle_kernel_info_reply(msg)[90m[39;49;00m | |
[94mbreak[39;49;00m[90m[39;49;00m | |
[90m[39;49;00m | |
[94mif[39;49;00m [95mnot[39;49;00m [94mawait[39;49;00m [96mself[39;49;00m._async_is_alive():[90m[39;49;00m | |
msg = [33m"[39;49;00m[33mKernel died before replying to kernel_info[39;49;00m[33m"[39;49;00m[90m[39;49;00m | |
[94mraise[39;49;00m [96mRuntimeError[39;49;00m(msg)[90m[39;49;00m | |
[90m[39;49;00m | |
[90m# Check if current time is ready check time plus timeout[39;49;00m[90m[39;49;00m | |
[94mif[39;49;00m time.time() > abs_timeout:[90m[39;49;00m | |
> [94mraise[39;49;00m [96mRuntimeError[39;49;00m([33m"[39;49;00m[33mKernel didn[39;49;00m[33m'[39;49;00m[33mt respond in [39;49;00m[33m%d[39;49;00m[33m seconds[39;49;00m[33m"[39;49;00m % timeout)[90m[39;49;00m | |
[1m[31mE RuntimeError: Kernel didn't respond in 60 seconds[0m | |
[1m[31m/nix/store/m8i8li4hafiff2jl6d2g8r8i1myxqgdy-python3.12-jupyter-client-8.6.3/lib/python3.12/site-packages/jupyter_client/client.py[0m:207: RuntimeError | |
----------------------------- Captured stderr call ----------------------------- | |
Traceback (most recent call last): | |
File "<frozen runpy>", line 198, in _run_module_as_main | |
File "<frozen runpy>", line 88, in _run_code | |
File "/nix/store/pbz2lm69mrzxmdbxqvxp9x3j89a3r0z7-python3.12-ipykernel-6.29.5/lib/python3.12/site-packages/ipykernel_launcher.py", line 18, in <module> | |
app.launch_new_instance() | |
File "/nix/store/6hx5sfr1dr62nr2xc9szchclaqybi5v7-python3.12-traitlets-5.14.3/lib/python3.12/site-packages/traitlets/config/application.py", line 1074, in launch_instance | |
app.initialize(argv) | |
File "/nix/store/6hx5sfr1dr62nr2xc9szchclaqybi5v7-python3.12-traitlets-5.14.3/lib/python3.12/site-packages/traitlets/config/application.py", line 118, in inner | |
return method(app, *args, **kwargs) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/nix/store/pbz2lm69mrzxmdbxqvxp9x3j89a3r0z7-python3.12-ipykernel-6.29.5/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 692, in initialize | |
self.init_sockets() | |
File "/nix/store/pbz2lm69mrzxmdbxqvxp9x3j89a3r0z7-python3.12-ipykernel-6.29.5/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 346, in init_sockets | |
self.init_iopub(context) | |
File "/nix/store/pbz2lm69mrzxmdbxqvxp9x3j89a3r0z7-python3.12-ipykernel-6.29.5/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 375, in init_iopub | |
self.iopub_port = self._bind_socket(self.iopub_socket, self.iopub_port) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/nix/store/pbz2lm69mrzxmdbxqvxp9x3j89a3r0z7-python3.12-ipykernel-6.29.5/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 253, in _bind_socket | |
return self._try_bind_socket(s, port) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/nix/store/pbz2lm69mrzxmdbxqvxp9x3j89a3r0z7-python3.12-ipykernel-6.29.5/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 229, in _try_bind_socket | |
s.bind("tcp://%s:%i" % (self.ip, port)) | |
File "/nix/store/i0d9y5a5xpfph465fiwc67rh91n25z91-python3.12-pyzmq-26.2.0/lib/python3.12/site-packages/zmq/sugar/socket.py", line 311, in bind | |
super().bind(addr) | |
File "_zmq.py", line 917, in zmq.backend.cython._zmq.Socket.bind | |
File "_zmq.py", line 179, in zmq.backend.cython._zmq._check_rc | |
zmq.error.ZMQError: Address already in use (addr='tcp://127.0.0.1:55071') | |
Exception ignored in atexit callback: <bound method IPKernelApp.close of <ipykernel.kernelapp.IPKernelApp object at 0x7ffff73977d0>> | |
Traceback (most recent call last): | |
File "/nix/store/pbz2lm69mrzxmdbxqvxp9x3j89a3r0z7-python3.12-ipykernel-6.29.5/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 422, in close | |
self.context.term() | |
File "/nix/store/i0d9y5a5xpfph465fiwc67rh91n25z91-python3.12-pyzmq-26.2.0/lib/python3.12/site-packages/zmq/sugar/context.py", line 266, in term | |
super().term() | |
File "_zmq.py", line 564, in zmq.backend.cython._zmq.Context.term | |
File "_zmq.py", line 160, in zmq.backend.cython._zmq._check_rc | |
KeyboardInterrupt: | |
------------------------------ Captured log call ------------------------------- | |
ERROR traitlets:client.py:568 Error occurred while starting new kernel client for kernel 2b352581-3eb3-4b90-8d43-a6be2fbc36da: Kernel didn't respond in 60 seconds | |
[36m[1m=========================== short test summary info ============================[0m | |
[31mFAILED[0m tests/test_nb_run.py::[1mTestNotebookRun::test_when_magic_error_then_fails[0m - RuntimeError: Kernel didn't respond in 60 seconds | |
[31m=================== [31m[1m1 failed[0m, [32m32 passed[0m[31m in 83.21s (0:01:23)[0m[31m ====================[0m |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sourcing python-remove-tests-dir-hook | |
Sourcing python-catch-conflicts-hook.sh | |
Sourcing python-remove-bin-bytecode-hook.sh | |
Sourcing pypa-build-hook | |
Using pypaBuildPhase | |
Sourcing python-runtime-deps-check-hook | |
Using pythonRuntimeDepsCheckHook | |
Sourcing pypa-install-hook | |
Using pypaInstallPhase | |
Sourcing python-imports-check-hook.sh | |
Using pythonImportsCheckPhase | |
Sourcing python-namespaces-hook | |
Sourcing python-catch-conflicts-hook.sh | |
Sourcing pytest-check-hook | |
Using pytestCheckPhase | |
Running phase: unpackPhase | |
@nix { "action": "setPhase", "phase": "unpackPhase" } | |
unpacking source archive /nix/store/yd85ay5h7n6ba7vjif5rdysyp1sjdmh7-source | |
source root is source | |
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/tests/test_pytest_plugin.py | |
Running phase: patchPhase | |
@nix { "action": "setPhase", "phase": "patchPhase" } | |
Running phase: updateAutotoolsGnuConfigScriptsPhase | |
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" } | |
Running phase: configurePhase | |
@nix { "action": "setPhase", "phase": "configurePhase" } | |
no configure script, doing nothing | |
Running phase: buildPhase | |
@nix { "action": "setPhase", "phase": "buildPhase" } | |
Executing pypaBuildPhase | |
Creating a wheel... | |
pypa build flags: --no-isolation --outdir dist/ --wheel | |
[1m* Getting build dependencies for wheel...[0m | |
[1m* Building wheel...[0m | |
[1m[92mSuccessfully built [4mnbmake-1.5.3-py3-none-any.whl[0m[1m[92m[0m | |
Finished creating a wheel... | |
/build/source/dist /build/source | |
Unpacking to: unpacked/nbmake-1.5.3...OK | |
Repacking wheel as ./nbmake-1.5.3-py3-none-any.whl...OK | |
/build/source | |
Finished executing pypaBuildPhase | |
Running phase: pythonRuntimeDepsCheckHook | |
@nix { "action": "setPhase", "phase": "pythonRuntimeDepsCheckHook" } | |
Executing pythonRuntimeDepsCheck | |
Checking runtime dependencies for nbmake-1.5.3-py3-none-any.whl | |
Finished executing pythonRuntimeDepsCheck | |
Running phase: installPhase | |
@nix { "action": "setPhase", "phase": "installPhase" } | |
Executing pypaInstallPhase | |
Successfully installed nbmake-1.5.3-py3-none-any.whl | |
Finished executing pypaInstallPhase | |
Running phase: pythonOutputDistPhase | |
@nix { "action": "setPhase", "phase": "pythonOutputDistPhase" } | |
Executing pythonOutputDistPhase | |
Finished executing pythonOutputDistPhase | |
Running phase: fixupPhase | |
@nix { "action": "setPhase", "phase": "fixupPhase" } | |
shrinking RPATHs of ELF executables and libraries in /nix/store/rx5f5x50zv7xnx6a3c0i0r9h97cfilly-python3.12-nbmake-1.5.4 | |
checking for references to /build/ in /nix/store/rx5f5x50zv7xnx6a3c0i0r9h97cfilly-python3.12-nbmake-1.5.4... | |
patching script interpreter paths in /nix/store/rx5f5x50zv7xnx6a3c0i0r9h97cfilly-python3.12-nbmake-1.5.4 | |
stripping (with command strip and flags -S -p) in /nix/store/rx5f5x50zv7xnx6a3c0i0r9h97cfilly-python3.12-nbmake-1.5.4/lib | |
shrinking RPATHs of ELF executables and libraries in /nix/store/lccw6fiy848lschh37cxw5fr86zm7d9s-python3.12-nbmake-1.5.4-dist | |
checking for references to /build/ in /nix/store/lccw6fiy848lschh37cxw5fr86zm7d9s-python3.12-nbmake-1.5.4-dist... | |
patching script interpreter paths in /nix/store/lccw6fiy848lschh37cxw5fr86zm7d9s-python3.12-nbmake-1.5.4-dist | |
Executing pythonRemoveTestsDir | |
Finished executing pythonRemoveTestsDir | |
Running phase: installCheckPhase | |
@nix { "action": "setPhase", "phase": "installCheckPhase" } | |
no Makefile or custom installCheckPhase, doing nothing | |
Running phase: pythonCatchConflictsPhase | |
@nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" } | |
Running phase: pythonRemoveBinBytecodePhase | |
@nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" } | |
Running phase: pythonImportsCheckPhase | |
@nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" } | |
Executing pythonImportsCheckPhase | |
Check whether the following modules can be imported: nbmake | |
Running phase: pytestXdistHook | |
@nix { "action": "setPhase", "phase": "pytestXdistHook" } | |
Running phase: pytestCheckPhase | |
@nix { "action": "setPhase", "phase": "pytestCheckPhase" } | |
Executing pytestCheckPhase | |
001 | |
[1m============================= test session starts ==============================[0m | |
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 | |
rootdir: /build/source | |
configfile: pytest.ini | |
testpaths: tests | |
plugins: nbmake-1.5.3, xdist-3.6.1 | |
[1m | |
created: 32/32 workers[0m[1m | |
initialized: 1/32 workers[0m[1m | |
initialized: 2/32 workers[0m[1m | |
initialized: 3/32 workers[0m[1m | |
initialized: 4/32 workers[0m[1m | |
initialized: 5/32 workers[0m[1m | |
initialized: 6/32 workers[0m[1m | |
initialized: 7/32 workers[0m[1m | |
initialized: 8/32 workers[0m[1m | |
initialized: 9/32 workers[0m[1m | |
initialized: 10/32 workers[0m[1m | |
initialized: 11/32 workers[0m[1m | |
initialized: 12/32 workers[0m[1m | |
initialized: 13/32 workers[0m[1m | |
initialized: 14/32 workers[0m[1m | |
initialized: 15/32 workers[0m[1m | |
initialized: 16/32 workers[0m[1m | |
initialized: 17/32 workers[0m[1m | |
initialized: 18/32 workers[0m[1m | |
initialized: 19/32 workers[0m[1m | |
initialized: 20/32 workers[0m[1m | |
initialized: 21/32 workers[0m[1m | |
initialized: 22/32 workers[0m[1m | |
initialized: 23/32 workers[0m[1m | |
initialized: 24/32 workers[0m[1m | |
initialized: 25/32 workers[0m[1m | |
initialized: 26/32 workers[0m[1m | |
initialized: 27/32 workers[0m[1m | |
initialized: 28/32 workers[0m[1m | |
initialized: 29/32 workers[0m[1m | |
initialized: 30/32 workers[0m[1m | |
initialized: 31/32 workers[0m[1m | |
initialized: 32/32 workers[0m[1m | |
ready: 1/32 workers [0m[1m | |
ready: 2/32 workers[0m[1m | |
collecting: 1/32 workers[0m[1m | |
collecting: 1/32 workers[0m[1m | |
collecting: 2/32 workers[0m[1m | |
collecting: 2/32 workers[0m[1m | |
collecting: 3/32 workers[0m[1m | |
collecting: 4/32 workers[0m[1m | |
collecting: 4/32 workers[0m[1m | |
collecting: 5/32 workers[0m[1m | |
collecting: 5/32 workers[0m[1m | |
collecting: 6/32 workers[0m[1m | |
collecting: 6/32 workers[0m[1m | |
collecting: 7/32 workers[0m[1m | |
collecting: 7/32 workers[0m[1m | |
collecting: 8/32 workers[0m[1m | |
collecting: 8/32 workers[0m[1m | |
collecting: 8/32 workers[0m[1m | |
collecting: 8/32 workers[0m[1m | |
collecting: 9/32 workers[0m[1m | |
collecting: 9/32 workers[0m[1m | |
collecting: 10/32 workers[0m[1m | |
collecting: 11/32 workers[0m[1m | |
collecting: 12/32 workers[0m[1m | |
collecting: 12/32 workers[0m[1m | |
collecting: 13/32 workers[0m[1m | |
collecting: 13/32 workers[0m[1m | |
collecting: 14/32 workers[0m[1m | |
collecting: 14/32 workers[0m[1m | |
collecting: 14/32 workers[0m[1m | |
collecting: 14/32 workers[0m[1m | |
collecting: 14/32 workers[0m[1m | |
collecting: 14/32 workers[0m[1m | |
collecting: 15/32 workers[0m[1m | |
collecting: 16/32 workers[0m[1m | |
collecting: 17/32 workers[0m[1m | |
collecting: 18/32 workers[0m[1m | |
collecting: 19/32 workers[0m[1m | |
collecting: 19/32 workers[0m[1m | |
collecting: 20/32 workers[0m[1m | |
collecting: 20/32 workers[0m[1m | |
collecting: 21/32 workers[0m[1m | |
collecting: 21/32 workers[0m[1m | |
collecting: 22/32 workers[0m[1m | |
collecting: 22/32 workers[0m[1m | |
collecting: 22/32 workers[0m[1m | |
collecting: 23/32 workers[0m[1m | |
collecting: 24/32 workers[0m[1m | |
collecting: 24/32 workers[0m[1m | |
collecting: 25/32 workers[0m[1m | |
collecting: 25/32 workers[0m[1m | |
collecting: 26/32 workers[0m[1m | |
collecting: 26/32 workers[0m[1m | |
collecting: 26/32 workers[0m[1m | |
collecting: 27/32 workers[0m[1m | |
collecting: 27/32 workers[0m[1m | |
collecting: 27/32 workers[0m[1m | |
collecting: 28/32 workers[0m[1m | |
collecting: 29/32 workers[0m[1m | |
collecting: 29/32 workers[0m[1m | |
collecting: 30/32 workers[0m[1m | |
collecting: 31/32 workers[0m[1m | |
collecting: 31/32 workers[0m[1m | |
32 workers [33 items] [0m | |
[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[31mF[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[31m [100%][0mException ignored in atexit callback: <bound method run_sync.<locals>.wrapped of <nbclient.client.NotebookClient object at 0x7ffff46dcf80>> | |
Traceback (most recent call last): | |
File "/nix/store/9crcl5py932s5gb34pzrwa93vcsyjw89-python3.12-jupyter-core-5.7.2/lib/python3.12/site-packages/jupyter_core/utils/__init__.py", line 165, in wrapped | |
return loop.run_until_complete(inner) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/nix/store/g1zx5x7mmclk2gmwkbd3f33cmc8a6hz2-python3-3.12.7/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete | |
return future.result() | |
^^^^^^^^^^^^^^^ | |
File "/nix/store/csshh1zi4824ap1rc0zhrw4rd5g77zmm-python3.12-nbclient-0.10.0/lib/python3.12/site-packages/nbclient/client.py", line 504, in _async_cleanup_kernel | |
assert self.km is not None | |
^^^^^^^^^^^^^^^^^^^ | |
AssertionError: | |
=================================== FAILURES =================================== | |
[31m[1m____________ TestNotebookRun.test_when_passing_then_no_failing_cell ____________[0m | |
[gw2] linux -- Python 3.12.7 /nix/store/g1zx5x7mmclk2gmwkbd3f33cmc8a6hz2-python3-3.12.7/bin/python3.12 | |
self = <tests.test_nb_run.TestNotebookRun object at 0x7ffff4786360> | |
testdir2 = None | |
[0m[94mdef[39;49;00m [92mtest_when_passing_then_no_failing_cell[39;49;00m([96mself[39;49;00m, testdir2: Never):[90m[39;49;00m | |
write_nb(passing_nb, filename)[90m[39;49;00m | |
[90m[39;49;00m | |
run = NotebookRun(filename, [94m300[39;49;00m)[90m[39;49;00m | |
> res: NotebookResult = run.execute()[90m[39;49;00m | |
[1m[31m/build/source/tests/test_nb_run.py[0m:25: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[1m[31m/nix/store/rx5f5x50zv7xnx6a3c0i0r9h97cfilly-python3.12-nbmake-1.5.4/lib/python3.12/site-packages/nbmake/nb_run.py[0m:131: in execute | |
[0m[94mraise[39;49;00m err[90m[39;49;00m | |
[1m[31m/nix/store/rx5f5x50zv7xnx6a3c0i0r9h97cfilly-python3.12-nbmake-1.5.4/lib/python3.12/site-packages/nbmake/nb_run.py[0m:113: in execute | |
[0mc.execute(cwd=[96mself[39;49;00m.filename.parent)[90m[39;49;00m | |
[1m[31m/nix/store/9crcl5py932s5gb34pzrwa93vcsyjw89-python3.12-jupyter-core-5.7.2/lib/python3.12/site-packages/jupyter_core/utils/__init__.py[0m:165: in wrapped | |
[0m[94mreturn[39;49;00m loop.run_until_complete(inner)[90m[39;49;00m | |
[1m[31m/nix/store/g1zx5x7mmclk2gmwkbd3f33cmc8a6hz2-python3-3.12.7/lib/python3.12/asyncio/base_events.py[0m:687: in run_until_complete | |
[0m[94mreturn[39;49;00m future.result()[90m[39;49;00m | |
[1m[31m/nix/store/csshh1zi4824ap1rc0zhrw4rd5g77zmm-python3.12-nbclient-0.10.0/lib/python3.12/site-packages/nbclient/client.py[0m:693: in async_execute | |
[0m[94masync[39;49;00m [94mwith[39;49;00m [96mself[39;49;00m.async_setup_kernel(**kwargs):[90m[39;49;00m | |
[1m[31m/nix/store/g1zx5x7mmclk2gmwkbd3f33cmc8a6hz2-python3-3.12.7/lib/python3.12/contextlib.py[0m:210: in __aenter__ | |
[0m[94mreturn[39;49;00m [94mawait[39;49;00m anext([96mself[39;49;00m.gen)[90m[39;49;00m | |
[1m[31m/nix/store/csshh1zi4824ap1rc0zhrw4rd5g77zmm-python3.12-nbclient-0.10.0/lib/python3.12/site-packages/nbclient/client.py[0m:651: in async_setup_kernel | |
[0m[94mawait[39;49;00m [96mself[39;49;00m.async_start_new_kernel_client()[90m[39;49;00m | |
[1m[31m/nix/store/csshh1zi4824ap1rc0zhrw4rd5g77zmm-python3.12-nbclient-0.10.0/lib/python3.12/site-packages/nbclient/client.py[0m:566: in async_start_new_kernel_client | |
[0m[94mawait[39;49;00m ensure_async([96mself[39;49;00m.kc.wait_for_ready(timeout=[96mself[39;49;00m.startup_timeout))[90m[39;49;00m | |
[1m[31m/nix/store/9crcl5py932s5gb34pzrwa93vcsyjw89-python3.12-jupyter-core-5.7.2/lib/python3.12/site-packages/jupyter_core/utils/__init__.py[0m:198: in ensure_async | |
[0mresult = [94mawait[39;49;00m obj[90m[39;49;00m | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <jupyter_client.asynchronous.client.AsyncKernelClient object at 0x7fffefcd4980> | |
timeout = 60 | |
[0m[94masync[39;49;00m [94mdef[39;49;00m [92m_async_wait_for_ready[39;49;00m([96mself[39;49;00m, timeout: t.Optional[[96mfloat[39;49;00m] = [94mNone[39;49;00m) -> [94mNone[39;49;00m:[90m[39;49;00m | |
[90m [39;49;00m[33m"""Waits for a response when a client is blocked[39;49;00m | |
[33m[39;49;00m | |
[33m - Sets future time for timeout[39;49;00m | |
[33m - Blocks on shell channel until a message is received[39;49;00m | |
[33m - Exit if the kernel has died[39;49;00m | |
[33m - If client times out before receiving a message from the kernel, send RuntimeError[39;49;00m | |
[33m - Flush the IOPub channel[39;49;00m | |
[33m """[39;49;00m[90m[39;49;00m | |
[94mif[39;49;00m timeout [95mis[39;49;00m [94mNone[39;49;00m:[90m[39;49;00m | |
timeout = [96mfloat[39;49;00m([33m"[39;49;00m[33minf[39;49;00m[33m"[39;49;00m)[90m[39;49;00m | |
abs_timeout = time.time() + timeout[90m[39;49;00m | |
[90m[39;49;00m | |
[94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mmanager[39;49;00m [94mimport[39;49;00m KernelManager[90m[39;49;00m | |
[90m[39;49;00m | |
[94mif[39;49;00m [95mnot[39;49;00m [96misinstance[39;49;00m([96mself[39;49;00m.parent, KernelManager):[90m[39;49;00m | |
[90m# This Client was not created by a KernelManager,[39;49;00m[90m[39;49;00m | |
[90m# so wait for kernel to become responsive to heartbeats[39;49;00m[90m[39;49;00m | |
[90m# before checking for kernel_info reply[39;49;00m[90m[39;49;00m | |
[94mwhile[39;49;00m [95mnot[39;49;00m [94mawait[39;49;00m [96mself[39;49;00m._async_is_alive():[90m[39;49;00m | |
[94mif[39;49;00m time.time() > abs_timeout:[90m[39;49;00m | |
[94mraise[39;49;00m [96mRuntimeError[39;49;00m([90m[39;49;00m | |
[33m"[39;49;00m[33mKernel didn[39;49;00m[33m'[39;49;00m[33mt respond to heartbeats in [39;49;00m[33m%d[39;49;00m[33m seconds and timed out[39;49;00m[33m"[39;49;00m % timeout[90m[39;49;00m | |
)[90m[39;49;00m | |
[94mawait[39;49;00m asyncio.sleep([94m0.2[39;49;00m)[90m[39;49;00m | |
[90m[39;49;00m | |
[90m# Wait for kernel info reply on shell channel[39;49;00m[90m[39;49;00m | |
[94mwhile[39;49;00m [94mTrue[39;49;00m:[90m[39;49;00m | |
[96mself[39;49;00m.kernel_info()[90m[39;49;00m | |
[94mtry[39;49;00m:[90m[39;49;00m | |
msg = [94mawait[39;49;00m ensure_async([96mself[39;49;00m.shell_channel.get_msg(timeout=[94m1[39;49;00m))[90m[39;49;00m | |
[94mexcept[39;49;00m Empty:[90m[39;49;00m | |
[94mpass[39;49;00m[90m[39;49;00m | |
[94melse[39;49;00m:[90m[39;49;00m | |
[94mif[39;49;00m msg[[33m"[39;49;00m[33mmsg_type[39;49;00m[33m"[39;49;00m] == [33m"[39;49;00m[33mkernel_info_reply[39;49;00m[33m"[39;49;00m:[90m[39;49;00m | |
[90m# Checking that IOPub is connected. If it is not connected, start over.[39;49;00m[90m[39;49;00m | |
[94mtry[39;49;00m:[90m[39;49;00m | |
[94mawait[39;49;00m ensure_async([96mself[39;49;00m.iopub_channel.get_msg(timeout=[94m0.2[39;49;00m))[90m[39;49;00m | |
[94mexcept[39;49;00m Empty:[90m[39;49;00m | |
[94mpass[39;49;00m[90m[39;49;00m | |
[94melse[39;49;00m:[90m[39;49;00m | |
[96mself[39;49;00m._handle_kernel_info_reply(msg)[90m[39;49;00m | |
[94mbreak[39;49;00m[90m[39;49;00m | |
[90m[39;49;00m | |
[94mif[39;49;00m [95mnot[39;49;00m [94mawait[39;49;00m [96mself[39;49;00m._async_is_alive():[90m[39;49;00m | |
msg = [33m"[39;49;00m[33mKernel died before replying to kernel_info[39;49;00m[33m"[39;49;00m[90m[39;49;00m | |
> [94mraise[39;49;00m [96mRuntimeError[39;49;00m(msg)[90m[39;49;00m | |
[1m[31mE RuntimeError: Kernel died before replying to kernel_info[0m | |
[1m[31m/nix/store/m8i8li4hafiff2jl6d2g8r8i1myxqgdy-python3.12-jupyter-client-8.6.3/lib/python3.12/site-packages/jupyter_client/client.py[0m:203: RuntimeError | |
----------------------------- Captured stderr call ----------------------------- | |
Traceback (most recent call last): | |
File "<frozen runpy>", line 198, in _run_module_as_main | |
File "<frozen runpy>", line 88, in _run_code | |
File "/nix/store/pbz2lm69mrzxmdbxqvxp9x3j89a3r0z7-python3.12-ipykernel-6.29.5/lib/python3.12/site-packages/ipykernel_launcher.py", line 18, in <module> | |
app.launch_new_instance() | |
File "/nix/store/6hx5sfr1dr62nr2xc9szchclaqybi5v7-python3.12-traitlets-5.14.3/lib/python3.12/site-packages/traitlets/config/application.py", line 1074, in launch_instance | |
app.initialize(argv) | |
File "/nix/store/6hx5sfr1dr62nr2xc9szchclaqybi5v7-python3.12-traitlets-5.14.3/lib/python3.12/site-packages/traitlets/config/application.py", line 118, in inner | |
return method(app, *args, **kwargs) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/nix/store/pbz2lm69mrzxmdbxqvxp9x3j89a3r0z7-python3.12-ipykernel-6.29.5/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 692, in initialize | |
self.init_sockets() | |
File "/nix/store/pbz2lm69mrzxmdbxqvxp9x3j89a3r0z7-python3.12-ipykernel-6.29.5/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 336, in init_sockets | |
self.stdin_port = self._bind_socket(self.stdin_socket, self.stdin_port) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/nix/store/pbz2lm69mrzxmdbxqvxp9x3j89a3r0z7-python3.12-ipykernel-6.29.5/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 253, in _bind_socket | |
return self._try_bind_socket(s, port) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/nix/store/pbz2lm69mrzxmdbxqvxp9x3j89a3r0z7-python3.12-ipykernel-6.29.5/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 229, in _try_bind_socket | |
s.bind("tcp://%s:%i" % (self.ip, port)) | |
File "/nix/store/i0d9y5a5xpfph465fiwc67rh91n25z91-python3.12-pyzmq-26.2.0/lib/python3.12/site-packages/zmq/sugar/socket.py", line 311, in bind | |
super().bind(addr) | |
File "_zmq.py", line 917, in zmq.backend.cython._zmq.Socket.bind | |
File "_zmq.py", line 179, in zmq.backend.cython._zmq._check_rc | |
zmq.error.ZMQError: Address already in use (addr='tcp://127.0.0.1:41105') | |
------------------------------ Captured log call ------------------------------- | |
ERROR traitlets:client.py:568 Error occurred while starting new kernel client for kernel 491ce33c-410d-49c7-afb3-e4939c67e7b5: Kernel died before replying to kernel_info | |
[36m[1m=========================== short test summary info ============================[0m | |
[31mFAILED[0m tests/test_nb_run.py::[1mTestNotebookRun::test_when_passing_then_no_failing_cell[0m - RuntimeError: Kernel died before replying to kernel_info | |
[31m======================== [31m[1m1 failed[0m, [32m32 passed[0m[31m in 45.95s[0m[31m =========================[0m |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sourcing python-remove-tests-dir-hook | |
Sourcing python-catch-conflicts-hook.sh | |
Sourcing python-remove-bin-bytecode-hook.sh | |
Sourcing pypa-build-hook | |
Using pypaBuildPhase | |
Sourcing python-runtime-deps-check-hook | |
Using pythonRuntimeDepsCheckHook | |
Sourcing pypa-install-hook | |
Using pypaInstallPhase | |
Sourcing python-imports-check-hook.sh | |
Using pythonImportsCheckPhase | |
Sourcing python-namespaces-hook | |
Sourcing python-catch-conflicts-hook.sh | |
Sourcing pytest-check-hook | |
Using pytestCheckPhase | |
Running phase: unpackPhase | |
@nix { "action": "setPhase", "phase": "unpackPhase" } | |
unpacking source archive /nix/store/yd85ay5h7n6ba7vjif5rdysyp1sjdmh7-source | |
source root is source | |
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/tests/test_pytest_plugin.py | |
Running phase: patchPhase | |
@nix { "action": "setPhase", "phase": "patchPhase" } | |
Running phase: updateAutotoolsGnuConfigScriptsPhase | |
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" } | |
Running phase: configurePhase | |
@nix { "action": "setPhase", "phase": "configurePhase" } | |
no configure script, doing nothing | |
Running phase: buildPhase | |
@nix { "action": "setPhase", "phase": "buildPhase" } | |
Executing pypaBuildPhase | |
Creating a wheel... | |
pypa build flags: --no-isolation --outdir dist/ --wheel | |
[1m* Getting build dependencies for wheel...[0m | |
[1m* Building wheel...[0m | |
[1m[92mSuccessfully built [4mnbmake-1.5.3-py3-none-any.whl[0m[1m[92m[0m | |
Finished creating a wheel... | |
/build/source/dist /build/source | |
Unpacking to: unpacked/nbmake-1.5.3...OK | |
Repacking wheel as ./nbmake-1.5.3-py3-none-any.whl...OK | |
/build/source | |
Finished executing pypaBuildPhase | |
Running phase: pythonRuntimeDepsCheckHook | |
@nix { "action": "setPhase", "phase": "pythonRuntimeDepsCheckHook" } | |
Executing pythonRuntimeDepsCheck | |
Checking runtime dependencies for nbmake-1.5.3-py3-none-any.whl | |
Finished executing pythonRuntimeDepsCheck | |
Running phase: installPhase | |
@nix { "action": "setPhase", "phase": "installPhase" } | |
Executing pypaInstallPhase | |
Successfully installed nbmake-1.5.3-py3-none-any.whl | |
Finished executing pypaInstallPhase | |
Running phase: pythonOutputDistPhase | |
@nix { "action": "setPhase", "phase": "pythonOutputDistPhase" } | |
Executing pythonOutputDistPhase | |
Finished executing pythonOutputDistPhase | |
Running phase: fixupPhase | |
@nix { "action": "setPhase", "phase": "fixupPhase" } | |
shrinking RPATHs of ELF executables and libraries in /nix/store/713mi47qwskg4pci7bxpn3w6ssh3r4nh-python3.12-nbmake-1.5.4 | |
checking for references to /build/ in /nix/store/713mi47qwskg4pci7bxpn3w6ssh3r4nh-python3.12-nbmake-1.5.4... | |
patching script interpreter paths in /nix/store/713mi47qwskg4pci7bxpn3w6ssh3r4nh-python3.12-nbmake-1.5.4 | |
stripping (with command strip and flags -S -p) in /nix/store/713mi47qwskg4pci7bxpn3w6ssh3r4nh-python3.12-nbmake-1.5.4/lib | |
shrinking RPATHs of ELF executables and libraries in /nix/store/9w4l7g7vp9f174lq4lkamgzl0ll08vzk-python3.12-nbmake-1.5.4-dist | |
checking for references to /build/ in /nix/store/9w4l7g7vp9f174lq4lkamgzl0ll08vzk-python3.12-nbmake-1.5.4-dist... | |
patching script interpreter paths in /nix/store/9w4l7g7vp9f174lq4lkamgzl0ll08vzk-python3.12-nbmake-1.5.4-dist | |
Executing pythonRemoveTestsDir | |
Finished executing pythonRemoveTestsDir | |
Running phase: installCheckPhase | |
@nix { "action": "setPhase", "phase": "installCheckPhase" } | |
no Makefile or custom installCheckPhase, doing nothing | |
Running phase: pythonCatchConflictsPhase | |
@nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" } | |
Running phase: pythonRemoveBinBytecodePhase | |
@nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" } | |
Running phase: pythonImportsCheckPhase | |
@nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" } | |
Executing pythonImportsCheckPhase | |
Check whether the following modules can be imported: nbmake | |
Running phase: pytestXdistHook | |
@nix { "action": "setPhase", "phase": "pytestXdistHook" } | |
Running phase: pytestCheckPhase | |
@nix { "action": "setPhase", "phase": "pytestCheckPhase" } | |
Executing pytestCheckPhase | |
005 | |
[1m============================= test session starts ==============================[0m | |
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 | |
rootdir: /build/source | |
configfile: pytest.ini | |
testpaths: tests | |
plugins: nbmake-1.5.3, xdist-3.6.1 | |
[1m | |
created: 32/32 workers[0m[1m | |
initialized: 1/32 workers[0m[1m | |
initialized: 2/32 workers[0m[1m | |
initialized: 3/32 workers[0m[1m | |
initialized: 4/32 workers[0m[1m | |
initialized: 5/32 workers[0m[1m | |
initialized: 6/32 workers[0m[1m | |
initialized: 7/32 workers[0m[1m | |
initialized: 8/32 workers[0m[1m | |
initialized: 9/32 workers[0m[1m | |
initialized: 10/32 workers[0m[1m | |
initialized: 11/32 workers[0m[1m | |
initialized: 12/32 workers[0m[1m | |
initialized: 13/32 workers[0m[1m | |
initialized: 14/32 workers[0m[1m | |
initialized: 15/32 workers[0m[1m | |
initialized: 16/32 workers[0m[1m | |
initialized: 17/32 workers[0m[1m | |
initialized: 18/32 workers[0m[1m | |
initialized: 19/32 workers[0m[1m | |
initialized: 20/32 workers[0m[1m | |
initialized: 21/32 workers[0m[1m | |
initialized: 22/32 workers[0m[1m | |
initialized: 23/32 workers[0m[1m | |
initialized: 24/32 workers[0m[1m | |
initialized: 25/32 workers[0m[1m | |
initialized: 26/32 workers[0m[1m | |
initialized: 27/32 workers[0m[1m | |
initialized: 28/32 workers[0m[1m | |
initialized: 29/32 workers[0m[1m | |
initialized: 30/32 workers[0m[1m | |
initialized: 31/32 workers[0m[1m | |
initialized: 32/32 workers[0m[1m | |
ready: 1/32 workers [0m[1m | |
ready: 2/32 workers[0m[1m | |
collecting: 1/32 workers[0m[1m | |
collecting: 1/32 workers[0m[1m | |
collecting: 2/32 workers[0m[1m | |
collecting: 3/32 workers[0m[1m | |
collecting: 3/32 workers[0m[1m | |
collecting: 4/32 workers[0m[1m | |
collecting: 4/32 workers[0m[1m | |
collecting: 4/32 workers[0m[1m | |
collecting: 5/32 workers[0m[1m | |
collecting: 6/32 workers[0m[1m | |
collecting: 6/32 workers[0m[1m | |
collecting: 6/32 workers[0m[1m | |
collecting: 7/32 workers[0m[1m | |
collecting: 8/32 workers[0m[1m | |
collecting: 8/32 workers[0m[1m | |
collecting: 8/32 workers[0m[1m | |
collecting: 9/32 workers[0m[1m | |
collecting: 10/32 workers[0m[1m | |
collecting: 10/32 workers[0m[1m | |
collecting: 10/32 workers[0m[1m | |
collecting: 10/32 workers[0m[1m | |
collecting: 11/32 workers[0m[1m | |
collecting: 11/32 workers[0m[1m | |
collecting: 12/32 workers[0m[1m | |
collecting: 12/32 workers[0m[1m | |
collecting: 13/32 workers[0m[1m | |
collecting: 14/32 workers[0m[1m | |
collecting: 15/32 workers[0m[1m | |
collecting: 15/32 workers[0m[1m | |
collecting: 15/32 workers[0m[1m | |
collecting: 15/32 workers[0m[1m | |
collecting: 16/32 workers[0m[1m | |
collecting: 17/32 workers[0m[1m | |
collecting: 18/32 workers[0m[1m | |
collecting: 18/32 workers[0m[1m | |
collecting: 19/32 workers[0m[1m | |
collecting: 19/32 workers[0m[1m | |
collecting: 20/32 workers[0m[1m | |
collecting: 20/32 workers[0m[1m | |
collecting: 20/32 workers[0m[1m | |
collecting: 21/32 workers[0m[1m | |
collecting: 21/32 workers[0m[1m | |
collecting: 22/32 workers[0m[1m | |
collecting: 23/32 workers[0m[1m | |
collecting: 23/32 workers[0m[1m | |
collecting: 23/32 workers[0m[1m | |
collecting: 24/32 workers[0m[1m | |
collecting: 25/32 workers[0m[1m | |
collecting: 25/32 workers[0m[1m | |
collecting: 26/32 workers[0m[1m | |
collecting: 26/32 workers[0m[1m | |
collecting: 27/32 workers[0m[1m | |
collecting: 27/32 workers[0m[1m | |
collecting: 28/32 workers[0m[1m | |
collecting: 28/32 workers[0m[1m | |
collecting: 28/32 workers[0m[1m | |
collecting: 29/32 workers[0m[1m | |
collecting: 29/32 workers[0m[1m | |
collecting: 30/32 workers[0m[1m | |
collecting: 31/32 workers[0m[1m | |
collecting: 31/32 workers[0m[1m | |
32 workers [33 items] [0m | |
[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[31mF[0m[32m.[0m[31mF[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[31m [100%][0mException ignored in atexit callback: <bound method run_sync.<locals>.wrapped of <nbclient.client.NotebookClient object at 0x7ffff4646360>> | |
Traceback (most recent call last): | |
File "/nix/store/9crcl5py932s5gb34pzrwa93vcsyjw89-python3.12-jupyter-core-5.7.2/lib/python3.12/site-packages/jupyter_core/utils/__init__.py", line 165, in wrapped | |
return loop.run_until_complete(inner) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/nix/store/g1zx5x7mmclk2gmwkbd3f33cmc8a6hz2-python3-3.12.7/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete | |
return future.result() | |
^^^^^^^^^^^^^^^ | |
File "/nix/store/csshh1zi4824ap1rc0zhrw4rd5g77zmm-python3.12-nbclient-0.10.0/lib/python3.12/site-packages/nbclient/client.py", line 504, in _async_cleanup_kernel | |
assert self.km is not None | |
^^^^^^^^^^^^^^^^^^^ | |
AssertionError: | |
Exception ignored in atexit callback: <bound method run_sync.<locals>.wrapped of <nbclient.client.NotebookClient object at 0x7ffff5947fe0>> | |
Traceback (most recent call last): | |
File "/nix/store/9crcl5py932s5gb34pzrwa93vcsyjw89-python3.12-jupyter-core-5.7.2/lib/python3.12/site-packages/jupyter_core/utils/__init__.py", line 165, in wrapped | |
return loop.run_until_complete(inner) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/nix/store/g1zx5x7mmclk2gmwkbd3f33cmc8a6hz2-python3-3.12.7/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete | |
return future.result() | |
^^^^^^^^^^^^^^^ | |
File "/nix/store/csshh1zi4824ap1rc0zhrw4rd5g77zmm-python3.12-nbclient-0.10.0/lib/python3.12/site-packages/nbclient/client.py", line 504, in _async_cleanup_kernel | |
assert self.km is not None | |
^^^^^^^^^^^^^^^^^^^ | |
AssertionError: | |
=================================== FAILURES =================================== | |
[31m[1m________________ TestNotebookRun.test_when_empty_then_succeeds _________________[0m | |
[gw14] linux -- Python 3.12.7 /nix/store/g1zx5x7mmclk2gmwkbd3f33cmc8a6hz2-python3-3.12.7/bin/python3.12 | |
self = <tests.test_nb_run.TestNotebookRun object at 0x7ffff4672a50> | |
testdir2 = None | |
[0m[94mdef[39;49;00m [92mtest_when_empty_then_succeeds[39;49;00m([96mself[39;49;00m, testdir2: Never):[90m[39;49;00m | |
nb = Path([91m__file__[39;49;00m).parent / [33m"[39;49;00m[33mresources[39;49;00m[33m"[39;49;00m / [33m"[39;49;00m[33mempty.ipynb[39;49;00m[33m"[39;49;00m[90m[39;49;00m | |
run = NotebookRun(nb, [94m300[39;49;00m)[90m[39;49;00m | |
> res: NotebookResult = run.execute()[90m[39;49;00m | |
[1m[31m/build/source/tests/test_nb_run.py[0m:161: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[1m[31m/nix/store/713mi47qwskg4pci7bxpn3w6ssh3r4nh-python3.12-nbmake-1.5.4/lib/python3.12/site-packages/nbmake/nb_run.py[0m:131: in execute | |
[0m[94mraise[39;49;00m err[90m[39;49;00m | |
[1m[31m/nix/store/713mi47qwskg4pci7bxpn3w6ssh3r4nh-python3.12-nbmake-1.5.4/lib/python3.12/site-packages/nbmake/nb_run.py[0m:113: in execute | |
[0mc.execute(cwd=[96mself[39;49;00m.filename.parent)[90m[39;49;00m | |
[1m[31m/nix/store/9crcl5py932s5gb34pzrwa93vcsyjw89-python3.12-jupyter-core-5.7.2/lib/python3.12/site-packages/jupyter_core/utils/__init__.py[0m:165: in wrapped | |
[0m[94mreturn[39;49;00m loop.run_until_complete(inner)[90m[39;49;00m | |
[1m[31m/nix/store/g1zx5x7mmclk2gmwkbd3f33cmc8a6hz2-python3-3.12.7/lib/python3.12/asyncio/base_events.py[0m:687: in run_until_complete | |
[0m[94mreturn[39;49;00m future.result()[90m[39;49;00m | |
[1m[31m/nix/store/csshh1zi4824ap1rc0zhrw4rd5g77zmm-python3.12-nbclient-0.10.0/lib/python3.12/site-packages/nbclient/client.py[0m:693: in async_execute | |
[0m[94masync[39;49;00m [94mwith[39;49;00m [96mself[39;49;00m.async_setup_kernel(**kwargs):[90m[39;49;00m | |
[1m[31m/nix/store/g1zx5x7mmclk2gmwkbd3f33cmc8a6hz2-python3-3.12.7/lib/python3.12/contextlib.py[0m:210: in __aenter__ | |
[0m[94mreturn[39;49;00m [94mawait[39;49;00m anext([96mself[39;49;00m.gen)[90m[39;49;00m | |
[1m[31m/nix/store/csshh1zi4824ap1rc0zhrw4rd5g77zmm-python3.12-nbclient-0.10.0/lib/python3.12/site-packages/nbclient/client.py[0m:651: in async_setup_kernel | |
[0m[94mawait[39;49;00m [96mself[39;49;00m.async_start_new_kernel_client()[90m[39;49;00m | |
[1m[31m/nix/store/csshh1zi4824ap1rc0zhrw4rd5g77zmm-python3.12-nbclient-0.10.0/lib/python3.12/site-packages/nbclient/client.py[0m:566: in async_start_new_kernel_client | |
[0m[94mawait[39;49;00m ensure_async([96mself[39;49;00m.kc.wait_for_ready(timeout=[96mself[39;49;00m.startup_timeout))[90m[39;49;00m | |
[1m[31m/nix/store/9crcl5py932s5gb34pzrwa93vcsyjw89-python3.12-jupyter-core-5.7.2/lib/python3.12/site-packages/jupyter_core/utils/__init__.py[0m:198: in ensure_async | |
[0mresult = [94mawait[39;49;00m obj[90m[39;49;00m | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <jupyter_client.asynchronous.client.AsyncKernelClient object at 0x7ffff57156d0> | |
timeout = 60 | |
[0m[94masync[39;49;00m [94mdef[39;49;00m [92m_async_wait_for_ready[39;49;00m([96mself[39;49;00m, timeout: t.Optional[[96mfloat[39;49;00m] = [94mNone[39;49;00m) -> [94mNone[39;49;00m:[90m[39;49;00m | |
[90m [39;49;00m[33m"""Waits for a response when a client is blocked[39;49;00m | |
[33m[39;49;00m | |
[33m - Sets future time for timeout[39;49;00m | |
[33m - Blocks on shell channel until a message is received[39;49;00m | |
[33m - Exit if the kernel has died[39;49;00m | |
[33m - If client times out before receiving a message from the kernel, send RuntimeError[39;49;00m | |
[33m - Flush the IOPub channel[39;49;00m | |
[33m """[39;49;00m[90m[39;49;00m | |
[94mif[39;49;00m timeout [95mis[39;49;00m [94mNone[39;49;00m:[90m[39;49;00m | |
timeout = [96mfloat[39;49;00m([33m"[39;49;00m[33minf[39;49;00m[33m"[39;49;00m)[90m[39;49;00m | |
abs_timeout = time.time() + timeout[90m[39;49;00m | |
[90m[39;49;00m | |
[94mfrom[39;49;00m [04m[96m.[39;49;00m[04m[96mmanager[39;49;00m [94mimport[39;49;00m KernelManager[90m[39;49;00m | |
[90m[39;49;00m | |
[94mif[39;49;00m [95mnot[39;49;00m [96misinstance[39;49;00m([96mself[39;49;00m.parent, KernelManager):[90m[39;49;00m | |
[90m# This Client was not created by a KernelManager,[39;49;00m[90m[39;49;00m | |
[90m# so wait for kernel to become responsive to heartbeats[39;49;00m[90m[39;49;00m | |
[90m# before checking for kernel_info reply[39;49;00m[90m[39;49;00m | |
[94mwhile[39;49;00m [95mnot[39;49;00m [94mawait[39;49;00m [96mself[39;49;00m._async_is_alive():[90m[39;49;00m | |
[94mif[39;49;00m time.time() > abs_timeout:[90m[39;49;00m | |
[94mraise[39;49;00m [96mRuntimeError[39;49;00m([90m[39;49;00m | |
[33m"[39;49;00m[33mKernel didn[39;49;00m[33m'[39;49;00m[33mt respond to heartbeats in [39;49;00m[33m%d[39;49;00m[33m seconds and timed out[39;49;00m[33m"[39;49;00m % timeout[90m[39;49;00m | |
)[90m[39;49;00m | |
[94mawait[39;49;00m asyncio.sleep([94m0.2[39;49;00m)[90m[39;49;00m | |
[90m[39;49;00m | |
[90m# Wait for kernel info reply on shell channel[39;49;00m[90m[39;49;00m | |
[94mwhile[39;49;00m [94mTrue[39;49;00m:[90m[39;49;00m | |
[96mself[39;49;00m.kernel_info()[90m[39;49;00m | |
[94mtry[39;49;00m:[90m[39;49;00m | |
msg = [94mawait[39;49;00m ensure_async([96mself[39;49;00m.shell_channel.get_msg(timeout=[94m1[39;49;00m))[90m[39;49;00m | |
[94mexcept[39;49;00m Empty:[90m[39;49;00m | |
[94mpass[39;49;00m[90m[39;49;00m | |
[94melse[39;49;00m:[90m[39;49;00m | |
[94mif[39;49;00m msg[[33m"[39;49;00m[33mmsg_type[39;49;00m[33m"[39;49;00m] == [33m"[39;49;00m[33mkernel_info_reply[39;49;00m[33m"[39;49;00m:[90m[39;49;00m | |
[90m# Checking that IOPub is connected. If it is not connected, start over.[39;49;00m[90m[39;49;00m | |
[94mtry[39;49;00m:[90m[39;49;00m | |
[94mawait[39;49;00m ensure_async([96mself[39;49;00m.iopub_channel.get_msg(timeout=[94m0.2[39;49;00m))[90m[39;49;00m | |
[94mexcept[39;49;00m Empty:[90m[39;49;00m | |
[94mpass[39;49;00m[90m[39;49;00m | |
[94melse[39;49;00m:[90m[39;49;00m | |
[96mself[39;49;00m._handle_kernel_info_reply(msg)[90m[39;49;00m | |
[94mbreak[39;49;00m[90m[39;49;00m | |
[90m[39;49;00m | |
[94mif[39;49;00m [95mnot[39;49;00m [94mawait[39;49;00m [96mself[39;49;00m._async_is_alive():[90m[39;49;00m | |
msg = [33m"[39;49;00m[33mKernel died before replying to kernel_info[39;49;00m[33m"[39;49;00m[90m[39;49;00m | |
> [94mraise[39;49;00m [96mRuntimeError[39;49;00m(msg)[90m[39;49;00m | |
[1m[31mE RuntimeError: Kernel died before replying to kernel_info[0m | |
[1m[31m/nix/store/m8i8li4hafiff2jl6d2g8r8i1myxqgdy-python3.12-jupyter-client-8.6.3/lib/python3.12/site-packages/jupyter_client/client.py[0m:203: RuntimeError | |
----------------------------- Captured stderr call ----------------------------- | |
Traceback (most recent call last): | |
File "<frozen runpy>", line 198, in _run_module_as_main | |
File "<frozen runpy>", line 88, in _run_code | |
File "/nix/store/pbz2lm69mrzxmdbxqvxp9x3j89a3r0z7-python3.12-ipykernel-6.29.5/lib/python3.12/site-packages/ipykernel_launcher.py", line 18, in <module> | |
app.launch_new_instance() | |
File "/nix/store/6hx5sfr1dr62nr2xc9szchclaqybi5v7-python3.12-traitlets-5.14.3/lib/python3.12/site-packages/traitlets/config/application.py", line 1074, in launch_instance | |
app.initialize(argv) | |
File "/nix/store/6hx5sfr1dr62nr2xc9szchclaqybi5v7-python3.12-traitlets-5.14.3/lib/python3.12/site-packages/traitlets/config/application.py", line 118, in inner | |
return method(app, *args, **kwargs) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/nix/store/pbz2lm69mrzxmdbxqvxp9x3j89a3r0z7-python3.12-ipykernel-6.29.5/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 692, in initialize | |
self.init_sockets() | |
File "/nix/store/pbz2lm69mrzxmdbxqvxp9x3j89a3r0z7-python3.12-ipykernel-6.29.5/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 345, in init_sockets | |
self.init_control(context) | |
File "/nix/store/pbz2lm69mrzxmdbxqvxp9x3j89a3r0z7-python3.12-ipykernel-6.29.5/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 352, in init_control | |
self.control_port = self._bind_socket(self.control_socket, self.control_port) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/nix/store/pbz2lm69mrzxmdbxqvxp9x3j89a3r0z7-python3.12-ipykernel-6.29.5/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 253, in _bind_socket | |
return self._try_bind_socket(s, port) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/nix/store/pbz2lm69mrzxmdbxqvxp9x3j89a3r0z7-python3.12-ipykernel-6.29.5/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 229, in _try_bind_socket | |
s.bind("tcp://%s:%i" % (self.ip, port)) | |
File "/nix/store/i0d9y5a5xpfph465fiwc67rh91n25z91-python3.12-pyzmq-26.2.0/lib/python3.12/site-packages/zmq/sugar/socket.py", line 311, in bind | |
super().bind(addr) | |
File "_zmq.py", line 917, in zmq.backend.cython._zmq.Socket.bind | |
File "_zmq.py", line 179, in zmq.backend.cython._zmq._check_rc | |
zmq.error.ZMQError: Address already in use (addr='tcp://127.0.0.1:39979') | |
------------------------------ Captured log call ------------------------------- | |
ERROR traitlets:client.py:568 Error occurred while starting new kernel client for kernel adc4c111-bc12-4220-bdff-c96f9f926e52: Kernel died before replying to kernel_info | |
[31m[1m__________________________ test_when_init_then_passes __________________________[0m | |
[gw26] linux -- Python 3.12.7 /nix/store/g1zx5x7mmclk2gmwkbd3f33cmc8a6hz2-python3-3.12.7/bin/python3.12 | |
pytester = <Pytester PosixPath('/build/pytest-of-nixbld/pytest-0/popen-gw26/test_when_init_then_passes0')> | |
testdir2 = None | |
[0m[94mdef[39;49;00m [92mtest_when_init_then_passes[39;49;00m(pytester: Pytester, testdir2: Never):[90m[39;49;00m | |
example_dir = Path(pytester.path) / [33m"[39;49;00m[33mexample[39;49;00m[33m"[39;49;00m[90m[39;49;00m | |
example_dir.mkdir()[90m[39;49;00m | |
write_nb(passing_nb, example_dir / [33m"[39;49;00m[33ma.ipynb[39;49;00m[33m"[39;49;00m)[90m[39;49;00m | |
(example_dir / [33m"[39;49;00m[33m__init__.py[39;49;00m[33m"[39;49;00m).write_text([33m"[39;49;00m[33m"[39;49;00m)[90m[39;49;00m | |
[90m[39;49;00m | |
hook_recorder = pytester.inline_run([33m"[39;49;00m[33m--nbmake[39;49;00m[33m"[39;49;00m)[90m[39;49;00m | |
[90m[39;49;00m | |
> [94massert[39;49;00m hook_recorder.ret == ExitCode.OK[90m[39;49;00m | |
[1m[31mE assert <ExitCode.TESTS_FAILED: 1> == <ExitCode.OK: 0>[0m | |
[1m[31mE + where <ExitCode.TESTS_FAILED: 1> = <_pytest.pytester.HookRecorder object at 0x7ffff4503ce0>.ret[0m | |
[1m[31mE + and <ExitCode.OK: 0> = ExitCode.OK[0m | |
[1m[31m/build/source/tests/test_pytest_plugin.py[0m:142: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
============================= test session starts ============================== | |
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 | |
rootdir: /build/pytest-of-nixbld/pytest-0/popen-gw26/test_when_init_then_passes0 | |
plugins: nbmake-1.5.3, xdist-3.6.1 | |
collected 1 item | |
example/a.ipynb F [100%] | |
=================================== FAILURES =================================== | |
_ /build/pytest-of-nixbld/pytest-0/popen-gw26/test_when_init_then_passes0/example/a.ipynb _ | |
NBMAKE INTERNAL ERROR | |
Kernel died before replying to kernel_info | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/runner.py"[39m, line [38;2;102;102;102m341[39m, in from_call | |
[38;2;187;187;187m [39mresult: TResult [38;2;102;102;102m|[39m [38;2;0;128;0;01mNone[39;00m [38;2;102;102;102m=[39m func() | |
[38;2;187;187;187m [39m^^^^^^ | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/runner.py"[39m, line [38;2;102;102;102m242[39m, in <lambda> | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mlambda[39;00m: runtest_hook(item[38;2;102;102;102m=[39mitem, [38;2;102;102;102m*[39m[38;2;102;102;102m*[39mkwds), when[38;2;102;102;102m=[39mwhen, reraise[38;2;102;102;102m=[39mreraise | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/i21y6qanjlmnvyxpj9g2i664qrj81jgf-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_hooks.py"[39m, line [38;2;102;102;102m513[39m, in __call__ | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mreturn[39;00m [38;2;0;128;0mself[39m[38;2;102;102;102m.[39m_hookexec([38;2;0;128;0mself[39m[38;2;102;102;102m.[39mname, [38;2;0;128;0mself[39m[38;2;102;102;102m.[39m_hookimpls[38;2;102;102;102m.[39mcopy(), kwargs, firstresult) | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/i21y6qanjlmnvyxpj9g2i664qrj81jgf-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_manager.py"[39m, line [38;2;102;102;102m120[39m, in _hookexec | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mreturn[39;00m [38;2;0;128;0mself[39m[38;2;102;102;102m.[39m_inner_hookexec(hook_name, methods, kwargs, firstresult) | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/i21y6qanjlmnvyxpj9g2i664qrj81jgf-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_manager.py"[39m, line [38;2;102;102;102m480[39m, in traced_hookexec | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mreturn[39;00m outcome[38;2;102;102;102m.[39mget_result() | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/i21y6qanjlmnvyxpj9g2i664qrj81jgf-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_result.py"[39m, line [38;2;102;102;102m100[39m, in get_result | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mraise[39;00m exc[38;2;102;102;102m.[39mwith_traceback(exc[38;2;102;102;102m.[39m__traceback__) | |
File [38;2;0;128;0m"/nix/store/i21y6qanjlmnvyxpj9g2i664qrj81jgf-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_result.py"[39m, line [38;2;102;102;102m62[39m, in from_call | |
[38;2;187;187;187m [39mresult [38;2;102;102;102m=[39m func() | |
[38;2;187;187;187m [39m^^^^^^ | |
File [38;2;0;128;0m"/nix/store/i21y6qanjlmnvyxpj9g2i664qrj81jgf-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_manager.py"[39m, line [38;2;102;102;102m477[39m, in <lambda> | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mlambda[39;00m: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/i21y6qanjlmnvyxpj9g2i664qrj81jgf-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py"[39m, line [38;2;102;102;102m139[39m, in _multicall | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mraise[39;00m exception[38;2;102;102;102m.[39mwith_traceback(exception[38;2;102;102;102m.[39m__traceback__) | |
File [38;2;0;128;0m"/nix/store/i21y6qanjlmnvyxpj9g2i664qrj81jgf-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py"[39m, line [38;2;102;102;102m122[39m, in _multicall | |
[38;2;187;187;187m [39mteardown[38;2;102;102;102m.[39mthrow(exception) [38;2;61;123;123;03m# type: ignore[union-attr][39;00m | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/threadexception.py"[39m, line [38;2;102;102;102m92[39m, in pytest_runtest_call | |
[38;2;187;187;187m [39m[38;2;0;128;0;01myield from[39;00m thread_exception_runtest_hook() | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/threadexception.py"[39m, line [38;2;102;102;102m68[39m, in thread_exception_runtest_hook | |
[38;2;187;187;187m [39m[38;2;0;128;0;01myield[39;00m | |
File [38;2;0;128;0m"/nix/store/i21y6qanjlmnvyxpj9g2i664qrj81jgf-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py"[39m, line [38;2;102;102;102m122[39m, in _multicall | |
[38;2;187;187;187m [39mteardown[38;2;102;102;102m.[39mthrow(exception) [38;2;61;123;123;03m# type: ignore[union-attr][39;00m | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/unraisableexception.py"[39m, line [38;2;102;102;102m95[39m, in pytest_runtest_call | |
[38;2;187;187;187m [39m[38;2;0;128;0;01myield from[39;00m unraisable_exception_runtest_hook() | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/unraisableexception.py"[39m, line [38;2;102;102;102m70[39m, in unraisable_exception_runtest_hook | |
[38;2;187;187;187m [39m[38;2;0;128;0;01myield[39;00m | |
File [38;2;0;128;0m"/nix/store/i21y6qanjlmnvyxpj9g2i664qrj81jgf-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py"[39m, line [38;2;102;102;102m122[39m, in _multicall | |
[38;2;187;187;187m [39mteardown[38;2;102;102;102m.[39mthrow(exception) [38;2;61;123;123;03m# type: ignore[union-attr][39;00m | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/logging.py"[39m, line [38;2;102;102;102m846[39m, in pytest_runtest_call | |
[38;2;187;187;187m [39m[38;2;0;128;0;01myield from[39;00m [38;2;0;128;0mself[39m[38;2;102;102;102m.[39m_runtest_for(item, [38;2;186;33;33m"[39m[38;2;186;33;33mcall[39m[38;2;186;33;33m"[39m) | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/logging.py"[39m, line [38;2;102;102;102m829[39m, in _runtest_for | |
[38;2;187;187;187m [39m[38;2;0;128;0;01myield[39;00m | |
File [38;2;0;128;0m"/nix/store/i21y6qanjlmnvyxpj9g2i664qrj81jgf-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py"[39m, line [38;2;102;102;102m122[39m, in _multicall | |
[38;2;187;187;187m [39mteardown[38;2;102;102;102m.[39mthrow(exception) [38;2;61;123;123;03m# type: ignore[union-attr][39;00m | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/capture.py"[39m, line [38;2;102;102;102m880[39m, in pytest_runtest_call | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mreturn[39;00m ([38;2;0;128;0;01myield[39;00m) | |
[38;2;187;187;187m [39m^^^^^ | |
File [38;2;0;128;0m"/nix/store/i21y6qanjlmnvyxpj9g2i664qrj81jgf-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py"[39m, line [38;2;102;102;102m122[39m, in _multicall | |
[38;2;187;187;187m [39mteardown[38;2;102;102;102m.[39mthrow(exception) [38;2;61;123;123;03m# type: ignore[union-attr][39;00m | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/skipping.py"[39m, line [38;2;102;102;102m257[39m, in pytest_runtest_call | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mreturn[39;00m ([38;2;0;128;0;01myield[39;00m) | |
[38;2;187;187;187m [39m^^^^^ | |
File [38;2;0;128;0m"/nix/store/i21y6qanjlmnvyxpj9g2i664qrj81jgf-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py"[39m, line [38;2;102;102;102m103[39m, in _multicall | |
[38;2;187;187;187m [39mres [38;2;102;102;102m=[39m hook_impl[38;2;102;102;102m.[39mfunction([38;2;102;102;102m*[39margs) | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/h9vvz9bwrk2fqdhgijlhpvcgxbmf4rdw-python3.12-pytest-8.3.3/lib/python3.12/site-packages/_pytest/runner.py"[39m, line [38;2;102;102;102m174[39m, in pytest_runtest_call | |
[38;2;187;187;187m [39mitem[38;2;102;102;102m.[39mruntest() | |
File [38;2;0;128;0m"/nix/store/713mi47qwskg4pci7bxpn3w6ssh3r4nh-python3.12-nbmake-1.5.4/lib/python3.12/site-packages/nbmake/pytest_items.py"[39m, line [38;2;102;102;102m54[39m, in runtest | |
[38;2;187;187;187m [39mres: NotebookResult [38;2;102;102;102m=[39m run[38;2;102;102;102m.[39mexecute() | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/713mi47qwskg4pci7bxpn3w6ssh3r4nh-python3.12-nbmake-1.5.4/lib/python3.12/site-packages/nbmake/nb_run.py"[39m, line [38;2;102;102;102m131[39m, in execute | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mraise[39;00m err | |
File [38;2;0;128;0m"/nix/store/713mi47qwskg4pci7bxpn3w6ssh3r4nh-python3.12-nbmake-1.5.4/lib/python3.12/site-packages/nbmake/nb_run.py"[39m, line [38;2;102;102;102m113[39m, in execute | |
[38;2;187;187;187m [39mc[38;2;102;102;102m.[39mexecute(cwd[38;2;102;102;102m=[39m[38;2;0;128;0mself[39m[38;2;102;102;102m.[39mfilename[38;2;102;102;102m.[39mparent) | |
File [38;2;0;128;0m"/nix/store/9crcl5py932s5gb34pzrwa93vcsyjw89-python3.12-jupyter-core-5.7.2/lib/python3.12/site-packages/jupyter_core/utils/__init__.py"[39m, line [38;2;102;102;102m165[39m, in wrapped | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mreturn[39;00m loop[38;2;102;102;102m.[39mrun_until_complete(inner) | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/g1zx5x7mmclk2gmwkbd3f33cmc8a6hz2-python3-3.12.7/lib/python3.12/asyncio/base_events.py"[39m, line [38;2;102;102;102m687[39m, in run_until_complete | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mreturn[39;00m future[38;2;102;102;102m.[39mresult() | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/csshh1zi4824ap1rc0zhrw4rd5g77zmm-python3.12-nbclient-0.10.0/lib/python3.12/site-packages/nbclient/client.py"[39m, line [38;2;102;102;102m693[39m, in async_execute | |
[38;2;187;187;187m [39m[38;2;0;128;0;01masync[39;00m [38;2;0;128;0;01mwith[39;00m [38;2;0;128;0mself[39m[38;2;102;102;102m.[39masync_setup_kernel([38;2;102;102;102m*[39m[38;2;102;102;102m*[39mkwargs): | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/g1zx5x7mmclk2gmwkbd3f33cmc8a6hz2-python3-3.12.7/lib/python3.12/contextlib.py"[39m, line [38;2;102;102;102m210[39m, in __aenter__ | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mreturn[39;00m [38;2;0;128;0;01mawait[39;00m anext([38;2;0;128;0mself[39m[38;2;102;102;102m.[39mgen) | |
[38;2;187;187;187m [39m^^^^^^^^^^^^^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/csshh1zi4824ap1rc0zhrw4rd5g77zmm-python3.12-nbclient-0.10.0/lib/python3.12/site-packages/nbclient/client.py"[39m, line [38;2;102;102;102m651[39m, in async_setup_kernel | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mawait[39;00m [38;2;0;128;0mself[39m[38;2;102;102;102m.[39masync_start_new_kernel_client() | |
File [38;2;0;128;0m"/nix/store/csshh1zi4824ap1rc0zhrw4rd5g77zmm-python3.12-nbclient-0.10.0/lib/python3.12/site-packages/nbclient/client.py"[39m, line [38;2;102;102;102m566[39m, in async_start_new_kernel_client | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mawait[39;00m ensure_async([38;2;0;128;0mself[39m[38;2;102;102;102m.[39mkc[38;2;102;102;102m.[39mwait_for_ready(timeout[38;2;102;102;102m=[39m[38;2;0;128;0mself[39m[38;2;102;102;102m.[39mstartup_timeout)) | |
File [38;2;0;128;0m"/nix/store/9crcl5py932s5gb34pzrwa93vcsyjw89-python3.12-jupyter-core-5.7.2/lib/python3.12/site-packages/jupyter_core/utils/__init__.py"[39m, line [38;2;102;102;102m198[39m, in ensure_async | |
[38;2;187;187;187m [39mresult [38;2;102;102;102m=[39m [38;2;0;128;0;01mawait[39;00m obj | |
[38;2;187;187;187m [39m^^^^^^^^^ | |
File [38;2;0;128;0m"/nix/store/m8i8li4hafiff2jl6d2g8r8i1myxqgdy-python3.12-jupyter-client-8.6.3/lib/python3.12/site-packages/jupyter_client/client.py"[39m, line [38;2;102;102;102m203[39m, in _async_wait_for_ready | |
[38;2;187;187;187m [39m[38;2;0;128;0;01mraise[39;00m [38;2;203;63;56;01mRuntimeError[39;00m(msg) | |
----------------------------- Captured stderr call ----------------------------- | |
Traceback (most recent call last): | |
File "<frozen runpy>", line 198, in _run_module_as_main | |
File "<frozen runpy>", line 88, in _run_code | |
File "/nix/store/pbz2lm69mrzxmdbxqvxp9x3j89a3r0z7-python3.12-ipykernel-6.29.5/lib/python3.12/site-packages/ipykernel_launcher.py", line 18, in <module> | |
app.launch_new_instance() | |
File "/nix/store/6hx5sfr1dr62nr2xc9szchclaqybi5v7-python3.12-traitlets-5.14.3/lib/python3.12/site-packages/traitlets/config/application.py", line 1074, in launch_instance | |
app.initialize(argv) | |
File "/nix/store/6hx5sfr1dr62nr2xc9szchclaqybi5v7-python3.12-traitlets-5.14.3/lib/python3.12/site-packages/traitlets/config/application.py", line 118, in inner | |
return method(app, *args, **kwargs) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/nix/store/pbz2lm69mrzxmdbxqvxp9x3j89a3r0z7-python3.12-ipykernel-6.29.5/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 692, in initialize | |
self.init_sockets() | |
File "/nix/store/pbz2lm69mrzxmdbxqvxp9x3j89a3r0z7-python3.12-ipykernel-6.29.5/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 331, in init_sockets | |
self.shell_port = self._bind_socket(self.shell_socket, self.shell_port) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/nix/store/pbz2lm69mrzxmdbxqvxp9x3j89a3r0z7-python3.12-ipykernel-6.29.5/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 253, in _bind_socket | |
return self._try_bind_socket(s, port) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/nix/store/pbz2lm69mrzxmdbxqvxp9x3j89a3r0z7-python3.12-ipykernel-6.29.5/lib/python3.12/site-packages/ipykernel/kernelapp.py", line 229, in _try_bind_socket | |
s.bind("tcp://%s:%i" % (self.ip, port)) | |
File "/nix/store/i0d9y5a5xpfph465fiwc67rh91n25z91-python3.12-pyzmq-26.2.0/lib/python3.12/site-packages/zmq/sugar/socket.py", line 311, in bind | |
super().bind(addr) | |
File "_zmq.py", line 917, in zmq.backend.cython._zmq.Socket.bind | |
File "_zmq.py", line 179, in zmq.backend.cython._zmq._check_rc | |
zmq.error.ZMQError: Address already in use (addr='tcp://127.0.0.1:35623') | |
------------------------------ Captured log call ------------------------------- | |
ERROR traitlets:client.py:568 Error occurred while starting new kernel client for kernel 457109ab-6880-44dc-a944-00a0c8989d76: Kernel died before replying to kernel_info | |
Learn more about nbmake at https://github.com/treebeardtech/nbmake | |
=========================== short test summary info ============================ | |
FAILED example/a.ipynb:: - NBMAKE INTERNAL ERROR | |
============================== 1 failed in 9.21s =============================== | |
------------------------------ Captured log call ------------------------------- | |
ERROR traitlets:client.py:568 Error occurred while starting new kernel client for kernel 457109ab-6880-44dc-a944-00a0c8989d76: Kernel died before replying to kernel_info | |
[36m[1m=========================== short test summary info ============================[0m | |
[31mFAILED[0m tests/test_nb_run.py::[1mTestNotebookRun::test_when_empty_then_succeeds[0m - RuntimeError: Kernel died before replying to kernel_info | |
[31mFAILED[0m tests/test_pytest_plugin.py::[1mtest_when_init_then_passes[0m - assert <ExitCode.TESTS_FAILED: 1> == <ExitCode.OK: 0> | |
[31m======================== [31m[1m2 failed[0m, [32m31 passed[0m[31m in 47.07s[0m[31m =========================[0m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment