elastic-arm-99e59b18: building qlaybjdldmba4a4kz52fhnn24pa05aa7-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 shrinking RPATHs of ELF executables and libraries in /nix/store/0vmjimm3pfw0g9vra4ikrxmqlzp9w12x-python3.13-deploykit checking for references to /build/ in /nix/store/0vmjimm3pfw0g9vra4ikrxmqlzp9w12x-python3.13-deploykit... patching script interpreter paths in /nix/store/0vmjimm3pfw0g9vra4ikrxmqlzp9w12x-python3.13-deploykit stripping (with command strip and flags -S -p) in /nix/store/0vmjimm3pfw0g9vra4ikrxmqlzp9w12x-python3.13-deploykit/lib shrinking RPATHs of ELF executables and libraries in /nix/store/z2wq2plk5rs5gpzicgi4y2vqxcy959q2-python3.13-deploykit-dist checking for references to /build/ in /nix/store/z2wq2plk5rs5gpzicgi4y2vqxcy959q2-python3.13-deploykit-dist... patching script interpreter paths in /nix/store/z2wq2plk5rs5gpzicgi4y2vqxcy959q2-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 -s ============================= test session starts ============================== platform linux -- Python 3.13.9, pytest-8.4.2, pluggy-1.6.0 rootdir: /build/source configfile: pyproject.toml collected 18 items 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 "/build/source/deploykit/__init__.py", line 634, in _run_local proc = host.run_local( cmd, ...<5 lines>... timeout=timeout, ) File "/build/source/deploykit/__init__.py", line 457, in run_local return self._run( ~~~~~~~~~^ cmd, ^^^^ ...<7 lines>... timeout=timeout, ^^^^^^^^^^^^^^^^ ) ^ File "/build/source/deploykit/__init__.py", line 398, in _run ret = p.wait(timeout=max(0, timeout - (time.time() - start))) File "/nix/store/0g7r3dpgv4ad902bbmv9c4bxxnch6qlk-python3-3.13.9/lib/python3.13/subprocess.py", line 1280, in wait return self._wait(timeout=timeout) ~~~~~~~~~~^^^^^^^^^^^^^^^^^ File "/nix/store/0g7r3dpgv4ad902bbmv9c4bxxnch6qlk-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 "/build/source/deploykit/__init__.py", line 634, in _run_local proc = host.run_local( cmd, ...<5 lines>... timeout=timeout, ) File "/build/source/deploykit/__init__.py", line 457, in run_local return self._run( ~~~~~~~~~^ cmd, ^^^^ ...<7 lines>... timeout=timeout, ^^^^^^^^^^^^^^^^ ) ^ File "/build/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 "/build/source/deploykit/__init__.py", line 605, in _worker results[idx] = HostResult(host, func(host)) ~~~~^^^^^^ File "/build/source/tests/test_local.py", line 81, in some_func h.run_local("exit 1") ~~~~~~~~~~~^^^^^^^^^^ File "/build/source/deploykit/__init__.py", line 457, in run_local return self._run( ~~~~~~~~~^ cmd, ^^^^ ...<7 lines>... timeout=timeout, ^^^^^^^^^^^^^^^^ ) ^ File "/build/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 . tests/test_ssh.py Generating public/private ed25519 key pair. Your identification has been saved in /build/source/tmp2wm6npcn/host_ssh_host_ed25519_key Your public key has been saved in /build/source/tmp2wm6npcn/host_ssh_host_ed25519_key.pub The key fingerprint is: SHA256:xcdZik3tM/bD6R6VEGey5QN1OhOZcBHdY9AFS00LC3k nixbld@localhost The key's randomart image is: +--[ED25519 256]--+ | .+O%#*| | . *.E/B*| | + B=*+.| | . . *oo| | S ..=o| | +o| | ...| | ..| | .. | +----[SHA256]-----+ [127.0.0.1] $ echo hello [127.0.0.1] $ export env_var=true; echo $env_var [127.0.0.1] $ export env_var=true; env [127.0.0.1] $ echo '$hello' [127.0.0.1] $ echo hello [127.0.0.1] $ sleep 10 Command '['ssh', 'nixbld@127.0.0.1', '-p', '54813', '-i', '/build/source/tmp2wm6npcn/host_ssh_host_ed25519_key', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '--', "bash -c 'sleep 10' -- "]' timed out after 0 seconds Traceback (most recent call last): File "/build/source/deploykit/__init__.py", line 664, in _run_remote proc = host.run( cmd, ...<6 lines>... timeout=timeout, ) File "/build/source/deploykit/__init__.py", line 557, in run return self._run( ~~~~~~~~~^ ssh_cmd, ^^^^^^^^ ...<6 lines>... timeout=timeout, ^^^^^^^^^^^^^^^^ ) ^ File "/build/source/deploykit/__init__.py", line 398, in _run ret = p.wait(timeout=max(0, timeout - (time.time() - start))) File "/nix/store/0g7r3dpgv4ad902bbmv9c4bxxnch6qlk-python3-3.13.9/lib/python3.13/subprocess.py", line 1280, in wait return self._wait(timeout=timeout) ~~~~~~~~~~^^^^^^^^^^^^^^^^^ File "/nix/store/0g7r3dpgv4ad902bbmv9c4bxxnch6qlk-python3-3.13.9/lib/python3.13/subprocess.py", line 2058, in _wait raise TimeoutExpired(self.args, timeout) subprocess.TimeoutExpired: Command '['ssh', 'nixbld@127.0.0.1', '-p', '54813', '-i', '/build/source/tmp2wm6npcn/host_ssh_host_ed25519_key', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '--', "bash -c 'sleep 10' -- "]' timed out after 0 seconds [127.0.0.1] failed with: Command '['ssh', 'nixbld@127.0.0.1', '-p', '54813', '-i', '/build/source/tmp2wm6npcn/host_ssh_host_ed25519_key', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '--', "bash -c 'sleep 10' -- "]' timed out after 0 seconds [127.0.0.1] $ exit 1 [127.0.0.1] [Command failed: 1] exit 1 [127.0.0.1] $ exit 1 Command '['ssh', 'nixbld@127.0.0.1', '-p', '49173', '-i', '/build/source/tmp2wm6npcn/host_ssh_host_ed25519_key', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '--', "bash -c 'exit 1' -- "]' returned non-zero exit status 1. Traceback (most recent call last): File "/build/source/deploykit/__init__.py", line 664, in _run_remote proc = host.run( cmd, ...<6 lines>... timeout=timeout, ) File "/build/source/deploykit/__init__.py", line 557, in run return self._run( ~~~~~~~~~^ ssh_cmd, ^^^^^^^^ ...<6 lines>... timeout=timeout, ^^^^^^^^^^^^^^^^ ) ^ File "/build/source/deploykit/__init__.py", line 403, in _run raise subprocess.CalledProcessError( ...<4 lines>... ) subprocess.CalledProcessError: Command '['ssh', 'nixbld@127.0.0.1', '-p', '49173', '-i', '/build/source/tmp2wm6npcn/host_ssh_host_ed25519_key', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '--', "bash -c 'exit 1' -- "]' returned non-zero exit status 1. [127.0.0.1] failed with: Command '['ssh', 'nixbld@127.0.0.1', '-p', '49173', '-i', '/build/source/tmp2wm6npcn/host_ssh_host_ed25519_key', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '--', "bash -c 'exit 1' -- "]' returned non-zero exit status 1. [127.0.0.1] $ 'exit 1' Command '['exit 1']' returned non-zero exit status 1. Traceback (most recent call last): File "/build/source/deploykit/__init__.py", line 605, in _worker results[idx] = HostResult(host, func(host)) ~~~~^^^^^^ File "/build/source/tests/test_ssh.py", line 73, in some_func return h.run_local("exit 1") ~~~~~~~~~~~^^^^^^^^^^ File "/build/source/deploykit/__init__.py", line 457, in run_local return self._run( ~~~~~~~~~^ cmd, ^^^^ ...<7 lines>... timeout=timeout, ^^^^^^^^^^^^^^^^ ) ^ File "/build/source/deploykit/__init__.py", line 403, in _run raise subprocess.CalledProcessError( ...<4 lines>... ) subprocess.CalledProcessError: Command '['exit 1']' returned non-zero exit status 1. [127.0.0.1] failed with: Command '['exit 1']' returned non-zero exit status 1. . ============================== 18 passed in 2.11s ============================== Finished executing pytestCheckPhase Running phase: pytestcachePhase Running phase: pytestRemoveBytecodePhase