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 unpacking source archive /nix/store/pll4yik7ddkll2p754801ns503vc8pnj-source source root is source setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/tox.ini" Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase Executing pypaBuildPhase Creating a wheel... pypa build flags: --no-isolation --outdir dist/ --wheel * Getting build dependencies for wheel... * Building wheel... Successfully built sh-2.2.2-py3-none-any.whl Finished creating a wheel... Finished executing pypaBuildPhase Running phase: pythonRuntimeDepsCheckHook Executing pythonRuntimeDepsCheck Checking runtime dependencies for sh-2.2.2-py3-none-any.whl Finished executing pythonRuntimeDepsCheck Running phase: installPhase Executing pypaInstallPhase Successfully installed sh-2.2.2-py3-none-any.whl Finished executing pypaInstallPhase Running phase: pythonOutputDistPhase Executing pythonOutputDistPhase Finished executing pythonOutputDistPhase Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/3qw658a2qqiiq0i3yyl08kvsf1idgzv9-python3.13-sh-2.2.2 checking for references to /build/ in /nix/store/3qw658a2qqiiq0i3yyl08kvsf1idgzv9-python3.13-sh-2.2.2... patching script interpreter paths in /nix/store/3qw658a2qqiiq0i3yyl08kvsf1idgzv9-python3.13-sh-2.2.2 stripping (with command strip and flags -S -p) in /nix/store/3qw658a2qqiiq0i3yyl08kvsf1idgzv9-python3.13-sh-2.2.2/lib shrinking RPATHs of ELF executables and libraries in /nix/store/p8a7pjk41c1rdk6kb060whrswh8a0wms-python3.13-sh-2.2.2-dist checking for references to /build/ in /nix/store/p8a7pjk41c1rdk6kb060whrswh8a0wms-python3.13-sh-2.2.2-dist... patching script interpreter paths in /nix/store/p8a7pjk41c1rdk6kb060whrswh8a0wms-python3.13-sh-2.2.2-dist Executing pythonRemoveTestsDir Finished executing pythonRemoveTestsDir Running phase: installCheckPhase no Makefile or custom installCheckPhase, doing nothing Running phase: pythonCatchConflictsPhase Running phase: pythonRemoveBinBytecodePhase Running phase: pythonImportsCheckPhase Executing pythonImportsCheckPhase Running phase: pytestCheckPhase Executing pytestCheckPhase pytest flags: -m pytest tests -k not\ \(test_no_fd_leak\)\ and\ not\ \(test_piped_exception1\)\ and\ not\ \(test_piped_exception2\)\ and\ not\ \(test_unicode_path\)\ and\ not\ \(test_environment\)\ and\ not\ \(test_general_signal\)\ and\ not\ \(test_done_callback_no_deadlock\)\ and\ not\ \(test_timeout_overstep\) ============================= test session starts ============================== platform linux -- Python 3.13.17, pytest-9.0.3, pluggy-1.6.0 rootdir: /build/source configfile: pyproject.toml collected 183 items / 7 deselected / 176 selected tests/sh_test.py ...........................................s........... [ 31%] ........................................................................ [ 72%] ................................................. [100%] =============================== warnings summary =============================== tests/sh_test.py: 55 warnings /build/source/sh.py:1986: DeprecationWarning: This process (pid=172) is multi-threaded, use of fork() may lead to deadlocks in the child. self.pid = os.fork() tests/sh_test.py::FunctionalTests::test_unchecked_pipeline_failure /nix/store/p99y2m706vgalai9nnkdvpnlk521n981-python3.13-pytest-9.0.3/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 183 Traceback (most recent call last): File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 995, in run self._target(*self._args, **self._kwargs) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 1642, in wrap fn(*rgs, **kwargs) ~~^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 2647, in background_thread handle_exit_code(exit_code) ~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 2338, in fn return self.command.handle_command_exit_code(exit_code) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 823, in handle_command_exit_code raise exc sh.ErrorReturnCode_2: RAN: /nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/bin/python3.13 /build/tmpyc5o_kcn STDOUT: STDERR: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/sh_test.py::FunctionalTests::test_unchecked_producer_failure /nix/store/p99y2m706vgalai9nnkdvpnlk521n981-python3.13-pytest-9.0.3/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 207 Traceback (most recent call last): File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 995, in run self._target(*self._args, **self._kwargs) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 1642, in wrap fn(*rgs, **kwargs) ~~^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 2647, in background_thread handle_exit_code(exit_code) ~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 2338, in fn return self.command.handle_command_exit_code(exit_code) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 823, in handle_command_exit_code raise exc sh.ErrorReturnCode_2: RAN: /nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/bin/python3.13 /build/tmpzqx0rajq STDOUT: STDERR: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/sh_test.py::FunctionalTests::test_exit_code_with_hasattr /nix/store/p99y2m706vgalai9nnkdvpnlk521n981-python3.13-pytest-9.0.3/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 353 Traceback (most recent call last): File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 995, in run self._target(*self._args, **self._kwargs) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 1642, in wrap fn(*rgs, **kwargs) ~~^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 2647, in background_thread handle_exit_code(exit_code) ~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 2338, in fn return self.command.handle_command_exit_code(exit_code) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 823, in handle_command_exit_code raise exc sh.ErrorReturnCode_3: RAN: /nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/bin/python3.13 /build/tmp0mh0hbp8 STDOUT: STDERR: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/sh_test.py::FunctionalTests::test_bad_sig_raise_exception /nix/store/p99y2m706vgalai9nnkdvpnlk521n981-python3.13-pytest-9.0.3/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 449 Traceback (most recent call last): File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 995, in run self._target(*self._args, **self._kwargs) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 1642, in wrap fn(*rgs, **kwargs) ~~^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 2647, in background_thread handle_exit_code(exit_code) ~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 2338, in fn return self.command.handle_command_exit_code(exit_code) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 823, in handle_command_exit_code raise exc sh.SignalException_SIGSYS: RAN: /nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/bin/python3.13 /build/tmpqqyxe9n1 STDOUT: STDERR: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/sh_test.py::FunctionalTests::test_bad_sig_raise_exception /nix/store/p99y2m706vgalai9nnkdvpnlk521n981-python3.13-pytest-9.0.3/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 444 Traceback (most recent call last): File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 995, in run self._target(*self._args, **self._kwargs) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 1642, in wrap fn(*rgs, **kwargs) ~~^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 2647, in background_thread handle_exit_code(exit_code) ~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 2338, in fn return self.command.handle_command_exit_code(exit_code) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 823, in handle_command_exit_code raise exc sh.SignalException_SIGTERM: RAN: /nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/bin/python3.13 /build/tmpqqyxe9n1 STDOUT: STDERR: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/sh_test.py::FunctionalTests::test_bad_sig_raise_exception /nix/store/p99y2m706vgalai9nnkdvpnlk521n981-python3.13-pytest-9.0.3/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 439 Traceback (most recent call last): File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 995, in run self._target(*self._args, **self._kwargs) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 1642, in wrap fn(*rgs, **kwargs) ~~^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 2647, in background_thread handle_exit_code(exit_code) ~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 2338, in fn return self.command.handle_command_exit_code(exit_code) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 823, in handle_command_exit_code raise exc sh.SignalException_SIGSEGV: RAN: /nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/bin/python3.13 /build/tmpqqyxe9n1 STDOUT: STDERR: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/sh_test.py::FunctionalTests::test_bad_sig_raise_exception /nix/store/p99y2m706vgalai9nnkdvpnlk521n981-python3.13-pytest-9.0.3/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 434 Traceback (most recent call last): File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 995, in run self._target(*self._args, **self._kwargs) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 1642, in wrap fn(*rgs, **kwargs) ~~^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 2647, in background_thread handle_exit_code(exit_code) ~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 2338, in fn return self.command.handle_command_exit_code(exit_code) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 823, in handle_command_exit_code raise exc sh.SignalException_SIGQUIT: RAN: /nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/bin/python3.13 /build/tmpqqyxe9n1 STDOUT: STDERR: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/sh_test.py::FunctionalTests::test_bad_sig_raise_exception /nix/store/p99y2m706vgalai9nnkdvpnlk521n981-python3.13-pytest-9.0.3/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 429 Traceback (most recent call last): File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 995, in run self._target(*self._args, **self._kwargs) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 1642, in wrap fn(*rgs, **kwargs) ~~^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 2647, in background_thread handle_exit_code(exit_code) ~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 2338, in fn return self.command.handle_command_exit_code(exit_code) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 823, in handle_command_exit_code raise exc sh.SignalException_SIGKILL: RAN: /nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/bin/python3.13 /build/tmpqqyxe9n1 STDOUT: STDERR: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/sh_test.py::FunctionalTests::test_bad_sig_raise_exception /nix/store/p99y2m706vgalai9nnkdvpnlk521n981-python3.13-pytest-9.0.3/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 424 Traceback (most recent call last): File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 995, in run self._target(*self._args, **self._kwargs) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 1642, in wrap fn(*rgs, **kwargs) ~~^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 2647, in background_thread handle_exit_code(exit_code) ~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 2338, in fn return self.command.handle_command_exit_code(exit_code) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 823, in handle_command_exit_code raise exc sh.SignalException_SIGINT: RAN: /nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/bin/python3.13 /build/tmpqqyxe9n1 STDOUT: STDERR: Traceback (most recent call last): File "/build/tmpqqyxe9n1", line 5, in time.sleep(2) ~~~~~~~~~~^^^ KeyboardInterrupt Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/sh_test.py::FunctionalTests::test_bad_sig_raise_exception /nix/store/p99y2m706vgalai9nnkdvpnlk521n981-python3.13-pytest-9.0.3/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 419 Traceback (most recent call last): File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 995, in run self._target(*self._args, **self._kwargs) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 1642, in wrap fn(*rgs, **kwargs) ~~^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 2647, in background_thread handle_exit_code(exit_code) ~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 2338, in fn return self.command.handle_command_exit_code(exit_code) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 823, in handle_command_exit_code raise exc sh.SignalException_SIGILL: RAN: /nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/bin/python3.13 /build/tmpqqyxe9n1 STDOUT: STDERR: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/sh_test.py::FunctionalTests::test_bad_sig_raise_exception /nix/store/p99y2m706vgalai9nnkdvpnlk521n981-python3.13-pytest-9.0.3/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 414 Traceback (most recent call last): File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 995, in run self._target(*self._args, **self._kwargs) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 1642, in wrap fn(*rgs, **kwargs) ~~^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 2647, in background_thread handle_exit_code(exit_code) ~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 2338, in fn return self.command.handle_command_exit_code(exit_code) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 823, in handle_command_exit_code raise exc sh.SignalException_SIGFPE: RAN: /nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/bin/python3.13 /build/tmpqqyxe9n1 STDOUT: STDERR: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/sh_test.py::FunctionalTests::test_bad_sig_raise_exception /nix/store/p99y2m706vgalai9nnkdvpnlk521n981-python3.13-pytest-9.0.3/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 409 Traceback (most recent call last): File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 995, in run self._target(*self._args, **self._kwargs) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 1642, in wrap fn(*rgs, **kwargs) ~~^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 2647, in background_thread handle_exit_code(exit_code) ~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 2338, in fn return self.command.handle_command_exit_code(exit_code) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 823, in handle_command_exit_code raise exc sh.SignalException_SIGBUS: RAN: /nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/bin/python3.13 /build/tmpqqyxe9n1 STDOUT: STDERR: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/sh_test.py::FunctionalTests::test_bad_sig_raise_exception /nix/store/p99y2m706vgalai9nnkdvpnlk521n981-python3.13-pytest-9.0.3/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 404 Traceback (most recent call last): File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 995, in run self._target(*self._args, **self._kwargs) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 1642, in wrap fn(*rgs, **kwargs) ~~^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 2647, in background_thread handle_exit_code(exit_code) ~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 2338, in fn return self.command.handle_command_exit_code(exit_code) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 823, in handle_command_exit_code raise exc sh.SignalException_SIGABRT: RAN: /nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/bin/python3.13 /build/tmpqqyxe9n1 STDOUT: STDERR: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/sh_test.py::FunctionalTests::test_signal_exception /nix/store/p99y2m706vgalai9nnkdvpnlk521n981-python3.13-pytest-9.0.3/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 484 Traceback (most recent call last): File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 995, in run self._target(*self._args, **self._kwargs) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 1642, in wrap fn(*rgs, **kwargs) ~~^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 2647, in background_thread handle_exit_code(exit_code) ~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 2338, in fn return self.command.handle_command_exit_code(exit_code) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 823, in handle_command_exit_code raise exc sh.SignalException_SIGTERM: RAN: /nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/bin/python3.13 /build/tmpwgehpymn STDOUT: STDERR: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/sh_test.py::FunctionalTests::test_stdout_callback_terminate /nix/store/p99y2m706vgalai9nnkdvpnlk521n981-python3.13-pytest-9.0.3/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 595 Traceback (most recent call last): File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 995, in run self._target(*self._args, **self._kwargs) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 1642, in wrap fn(*rgs, **kwargs) ~~^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 2647, in background_thread handle_exit_code(exit_code) ~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 2338, in fn return self.command.handle_command_exit_code(exit_code) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 823, in handle_command_exit_code raise exc sh.SignalException_SIGTERM: RAN: /nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/bin/python3.13 -u /build/tmpf2o3qoas STDOUT: STDERR: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/sh_test.py::FunctionalTests::test_fg_alternative /nix/store/p99y2m706vgalai9nnkdvpnlk521n981-python3.13-pytest-9.0.3/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread STDIN thread for pid 758 Traceback (most recent call last): File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 995, in run self._target(*self._args, **self._kwargs) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 1642, in wrap fn(*rgs, **kwargs) ~~^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 2597, in input_thread done = stdin.write() File "/build/source/sh.py", line 2910, in write chunk = self.get_chunk() File "/build/source/sh.py", line 2851, in fn chunk = stdin.read(bufsize) File "/nix/store/p99y2m706vgalai9nnkdvpnlk521n981-python3.13-pytest-9.0.3/lib/python3.13/site-packages/_pytest/capture.py", line 229, in read raise OSError( "pytest: reading from stdin while output is captured! Consider using `-s`." ) OSError: pytest: reading from stdin while output is captured! Consider using `-s`. Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/sh_test.py::FunctionalTests::test_stdout_callback_kill /nix/store/p99y2m706vgalai9nnkdvpnlk521n981-python3.13-pytest-9.0.3/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 870 Traceback (most recent call last): File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 995, in run self._target(*self._args, **self._kwargs) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 1642, in wrap fn(*rgs, **kwargs) ~~^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 2647, in background_thread handle_exit_code(exit_code) ~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 2338, in fn return self.command.handle_command_exit_code(exit_code) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 823, in handle_command_exit_code raise exc sh.SignalException_SIGKILL: RAN: /nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/bin/python3.13 -u /build/tmpm4z8gwym STDOUT: STDERR: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/sh_test.py::FunctionalTests::test_signal_group /nix/store/p99y2m706vgalai9nnkdvpnlk521n981-python3.13-pytest-9.0.3/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1052 Traceback (most recent call last): File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 995, in run self._target(*self._args, **self._kwargs) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 1642, in wrap fn(*rgs, **kwargs) ~~^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 2647, in background_thread handle_exit_code(exit_code) ~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 2338, in fn return self.command.handle_command_exit_code(exit_code) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 823, in handle_command_exit_code raise exc sh.SignalException_SIGKILL: RAN: /nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/bin/python3.13 /build/tmp6p728dq1 STDOUT: 1056 1052 STDERR: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/sh_test.py::FunctionalTests::test_done_cb_exc /nix/store/p99y2m706vgalai9nnkdvpnlk521n981-python3.13-pytest-9.0.3/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1098 Traceback (most recent call last): File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 995, in run self._target(*self._args, **self._kwargs) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 1642, in wrap fn(*rgs, **kwargs) ~~^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 2647, in background_thread handle_exit_code(exit_code) ~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 2338, in fn return self.command.handle_command_exit_code(exit_code) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 823, in handle_command_exit_code raise exc sh.ErrorReturnCode_1: RAN: /nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/bin/python3.13 /build/tmp44om34yy STDOUT: STDERR: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/sh_test.py::FunctionalTests::test_cwd_fg /nix/store/p99y2m706vgalai9nnkdvpnlk521n981-python3.13-pytest-9.0.3/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1061 Traceback (most recent call last): File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/lib/python3.13/threading.py", line 995, in run self._target(*self._args, **self._kwargs) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 1642, in wrap fn(*rgs, **kwargs) ~~^^^^^^^^^^^^^^^^ File "/build/source/sh.py", line 2647, in background_thread handle_exit_code(exit_code) ~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 2338, in fn return self.command.handle_command_exit_code(exit_code) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/source/sh.py", line 823, in handle_command_exit_code raise exc sh.SignalException_SIGKILL: RAN: /nix/store/rw8h5xwslwh5czjsfpxr3z7hmxcb28pn-python3-3.13.17/bin/python3.13 /build/tmp6p728dq1 STDOUT: 1065 1061 STDERR: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ===== 175 passed, 1 skipped, 7 deselected, 75 warnings in 65.67s (0:01:05) ===== Finished executing pytestCheckPhase pytestCheckPhase completed in 1 minutes 7 seconds Running phase: pytestcachePhase Running phase: pytestRemoveBytecodePhase