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/6jjfsa8xrcmbn3q3jfhrzi12lg3237aj-python3.13-sh-2.2.2 checking for references to /build/ in /nix/store/6jjfsa8xrcmbn3q3jfhrzi12lg3237aj-python3.13-sh-2.2.2... patching script interpreter paths in /nix/store/6jjfsa8xrcmbn3q3jfhrzi12lg3237aj-python3.13-sh-2.2.2 stripping (with command strip and flags -S -p) in /nix/store/6jjfsa8xrcmbn3q3jfhrzi12lg3237aj-python3.13-sh-2.2.2/lib shrinking RPATHs of ELF executables and libraries in /nix/store/d87x24j5q0wri9anccd7ad8jpkxlaafp-python3.13-sh-2.2.2-dist checking for references to /build/ in /nix/store/d87x24j5q0wri9anccd7ad8jpkxlaafp-python3.13-sh-2.2.2-dist... patching script interpreter paths in /nix/store/d87x24j5q0wri9anccd7ad8jpkxlaafp-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\) ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-8.4.2, pluggy-1.6.0 rootdir: /build/source configfile: pyproject.toml collected 183 items / 5 deselected / 178 selected tests/sh_test.py ....................................................... [ 30%] ..................................................................s..... [ 71%] ................................................... [100%] =============================== warnings summary =============================== tests/sh_test.py::FunctionalTests::test_signal_exception /nix/store/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 218 Traceback (most recent call last): File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/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/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/bin/python3.13 /build/tmppadr3e2r 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: 70 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_bad_sig_raise_exception /nix/store/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 268 Traceback (most recent call last): File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/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/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/bin/python3.13 /build/tmpscv0a_hq 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/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 263 Traceback (most recent call last): File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/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/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/bin/python3.13 /build/tmpscv0a_hq 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/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 258 Traceback (most recent call last): File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/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/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/bin/python3.13 /build/tmpscv0a_hq 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/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 253 Traceback (most recent call last): File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/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/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/bin/python3.13 /build/tmpscv0a_hq 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/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 248 Traceback (most recent call last): File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/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/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/bin/python3.13 /build/tmpscv0a_hq 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/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 243 Traceback (most recent call last): File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/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/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/bin/python3.13 /build/tmpscv0a_hq STDOUT: STDERR: Traceback (most recent call last): File "/build/tmpscv0a_hq", 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/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 238 Traceback (most recent call last): File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/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/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/bin/python3.13 /build/tmpscv0a_hq 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/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 233 Traceback (most recent call last): File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/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/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/bin/python3.13 /build/tmpscv0a_hq 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/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 228 Traceback (most recent call last): File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/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/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/bin/python3.13 /build/tmpscv0a_hq 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/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 223 Traceback (most recent call last): File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/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/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/bin/python3.13 /build/tmpscv0a_hq 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_kill /nix/store/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 273 Traceback (most recent call last): File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/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/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/bin/python3.13 -u /build/tmp8ih6ez56 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/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 339 Traceback (most recent call last): File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/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/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/bin/python3.13 /build/tmpsl4jr6e8 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_pipeline_failure /nix/store/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/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/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/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/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/bin/python3.13 /build/tmpwb1aamtw 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/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread STDIN thread for pid 577 Traceback (most recent call last): File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/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/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/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_signal_group /nix/store/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 764 Traceback (most recent call last): File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/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/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/bin/python3.13 /build/tmp2sknj2b_ STDOUT: 768 764 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_grandchild_no_sighup /nix/store/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 773 Traceback (most recent call last): File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/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/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/bin/python3.13 /build/tmp2sknj2b_ STDOUT: 777 773 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/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 832 Traceback (most recent call last): File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/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/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/bin/python3.13 /build/tmpi8sdsqvy 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/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 869 Traceback (most recent call last): File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/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/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/bin/python3.13 -u /build/tmpa24utg_9 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_done_cb_exc /nix/store/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 884 Traceback (most recent call last): File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/lib/python3.13/threading.py", line 1044, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/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/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/bin/python3.13 /build/tmptvswo2br 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)) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ===== 177 passed, 1 skipped, 5 deselected, 90 warnings in 65.44s (0:01:05) ===== Finished executing pytestCheckPhase pytestCheckPhase completed in 1 minutes 6 seconds Running phase: pytestcachePhase Running phase: pytestRemoveBytecodePhase