mac02: building dvw6g8222pls11856y0agi5x9r8xqj4b-python3.13-deploykit.drv 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/ls4zyws499lkn2zgklvkbajnbw5gf8a5-source source root is source setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/treefmt.nix" 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 deploykit-1.2.1-py3-none-any.whl Finished creating a wheel... Finished executing pypaBuildPhase Running phase: pythonRuntimeDepsCheckHook Executing pythonRuntimeDepsCheck Checking runtime dependencies for deploykit-1.2.1-py3-none-any.whl Finished executing pythonRuntimeDepsCheck Running phase: installPhase Executing pypaInstallPhase Successfully installed deploykit-1.2.1-py3-none-any.whl Finished executing pypaInstallPhase Running phase: pythonOutputDistPhase Executing pythonOutputDistPhase Finished executing pythonOutputDistPhase Running phase: fixupPhase checking for references to /nix/var/nix/builds/nix-22330-1620269754/ in /nix/store/gvk1w1crhlzc1d1gpmfbvxc4zn3bqzry-python3.13-deploykit... patching script interpreter paths in /nix/store/gvk1w1crhlzc1d1gpmfbvxc4zn3bqzry-python3.13-deploykit stripping (with command strip and flags -S) in /nix/store/gvk1w1crhlzc1d1gpmfbvxc4zn3bqzry-python3.13-deploykit/lib checking for references to /nix/var/nix/builds/nix-22330-1620269754/ in /nix/store/49sr1yq0sfg0ha2ddwy655s0xvr2kyjk-python3.13-deploykit-dist... patching script interpreter paths in /nix/store/49sr1yq0sfg0ha2ddwy655s0xvr2kyjk-python3.13-deploykit-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 -k not\ \(test_ssh\) -s ============================= test session starts ============================== platform darwin -- Python 3.13.9, pytest-8.4.2, pluggy-1.6.0 rootdir: /nix/var/nix/builds/nix-22330-1620269754/source configfile: pyproject.toml collected 18 items / 7 deselected / 11 selected tests/test_local.py $ echo hello hello .$ exit 1 $ exit 1 .$ echo $env_var [some_host] $ 'echo $env_var' [some_host] $ env .$ echo $hello .$ echo 1; echo 2 >&2 .[some_host] $ 'echo hello' [some_host] hello .[some_host] $ 'sleep 10' Command '['sleep 10']' timed out after 0 seconds Traceback (most recent call last): File "/nix/var/nix/builds/nix-22330-1620269754/source/deploykit/__init__.py", line 634, in _run_local proc = host.run_local( cmd, ...<5 lines>... timeout=timeout, ) File "/nix/var/nix/builds/nix-22330-1620269754/source/deploykit/__init__.py", line 457, in run_local return self._run( ~~~~~~~~~^ cmd, ^^^^ ...<7 lines>... timeout=timeout, ^^^^^^^^^^^^^^^^ ) ^ File "/nix/var/nix/builds/nix-22330-1620269754/source/deploykit/__init__.py", line 398, in _run ret = p.wait(timeout=max(0, timeout - (time.time() - start))) File "/nix/store/hv7qldswrqvg1sjys1lmgjg875hkffng-python3-3.13.9/lib/python3.13/subprocess.py", line 1280, in wait return self._wait(timeout=timeout) ~~~~~~~~~~^^^^^^^^^^^^^^^^^ File "/nix/store/hv7qldswrqvg1sjys1lmgjg875hkffng-python3-3.13.9/lib/python3.13/subprocess.py", line 2058, in _wait raise TimeoutExpired(self.args, timeout) subprocess.TimeoutExpired: Command '['sleep 10']' timed out after 0 seconds [some_host] failed with: Command '['sleep 10']' timed out after 0 seconds .[some_host] $ 'echo hello' .[some_host] $ 'exit 1' Command '['exit 1']' returned non-zero exit status 1. Traceback (most recent call last): File "/nix/var/nix/builds/nix-22330-1620269754/source/deploykit/__init__.py", line 634, in _run_local proc = host.run_local( cmd, ...<5 lines>... timeout=timeout, ) File "/nix/var/nix/builds/nix-22330-1620269754/source/deploykit/__init__.py", line 457, in run_local return self._run( ~~~~~~~~~^ cmd, ^^^^ ...<7 lines>... timeout=timeout, ^^^^^^^^^^^^^^^^ ) ^ File "/nix/var/nix/builds/nix-22330-1620269754/source/deploykit/__init__.py", line 403, in _run raise subprocess.CalledProcessError( ...<4 lines>... ) subprocess.CalledProcessError: Command '['exit 1']' returned non-zero exit status 1. [some_host] failed with: Command '['exit 1']' returned non-zero exit status 1. .[some_host] $ 'exit 1' Command '['exit 1']' returned non-zero exit status 1. Traceback (most recent call last): File "/nix/var/nix/builds/nix-22330-1620269754/source/deploykit/__init__.py", line 605, in _worker results[idx] = HostResult(host, func(host)) ~~~~^^^^^^ File "/nix/var/nix/builds/nix-22330-1620269754/source/tests/test_local.py", line 81, in some_func h.run_local("exit 1") ~~~~~~~~~~~^^^^^^^^^^ File "/nix/var/nix/builds/nix-22330-1620269754/source/deploykit/__init__.py", line 457, in run_local return self._run( ~~~~~~~~~^ cmd, ^^^^ ...<7 lines>... timeout=timeout, ^^^^^^^^^^^^^^^^ ) ^ File "/nix/var/nix/builds/nix-22330-1620269754/source/deploykit/__init__.py", line 403, in _run raise subprocess.CalledProcessError( ...<4 lines>... ) subprocess.CalledProcessError: Command '['exit 1']' returned non-zero exit status 1. [some_host] failed with: Command '['exit 1']' returned non-zero exit status 1. .[some_host] $ echo 1 . ======================= 11 passed, 7 deselected in 0.15s ======================= Finished executing pytestCheckPhase Running phase: pytestcachePhase Running phase: pytestRemoveBytecodePhase