python3.13-deploykit
checks.x86_64-linux.package-deploykit
· build #3
· raw
1Sourcing python-remove-tests-dir-hook2Sourcing python-catch-conflicts-hook.sh3Sourcing python-remove-bin-bytecode-hook.sh4Sourcing pypa-build-hook5Using pypaBuildPhase6Sourcing python-runtime-deps-check-hook7Using pythonRuntimeDepsCheckHook8Sourcing pypa-install-hook9Using pypaInstallPhase10Sourcing python-imports-check-hook.sh11Using pythonImportsCheckPhase12Sourcing python-namespaces-hook13Sourcing python-catch-conflicts-hook.sh14Sourcing pytest-check-hook15Using pytestCheckPhase
unpackPhase
16unpacking source archive /nix/store/ls4zyws499lkn2zgklvkbajnbw5gf8a5-source17source root is source18setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/treefmt.nix"configurePhase
19no configure script, doing nothingbuildPhase
20Executing pypaBuildPhase21Creating a wheel...22pypa build flags: --no-isolation --outdir dist/ --wheel23* Getting build dependencies for wheel...24* Building wheel...25Successfully built deploykit-1.2.1-py3-none-any.whl26Finished creating a wheel...27Finished executing pypaBuildPhasepythonRuntimeDepsCheckHook
28Executing pythonRuntimeDepsCheck29Checking runtime dependencies for deploykit-1.2.1-py3-none-any.whl30Finished executing pythonRuntimeDepsCheckinstallPhase
31Executing pypaInstallPhase32Successfully installed deploykit-1.2.1-py3-none-any.whl33Finished executing pypaInstallPhasepythonOutputDistPhase
34Executing pythonOutputDistPhase35Finished executing pythonOutputDistPhasefixupPhase
36shrinking RPATHs of ELF executables and libraries in /nix/store/8ry6fyp07b0kkiskhj9gn5pa90cdrj1f-python3.13-deploykit37checking for references to /build/ in /nix/store/8ry6fyp07b0kkiskhj9gn5pa90cdrj1f-python3.13-deploykit...38patching script interpreter paths in /nix/store/8ry6fyp07b0kkiskhj9gn5pa90cdrj1f-python3.13-deploykit39stripping (with command strip and flags -S -p) in /nix/store/8ry6fyp07b0kkiskhj9gn5pa90cdrj1f-python3.13-deploykit/lib40shrinking RPATHs of ELF executables and libraries in /nix/store/2vw8xyxj2ri6rbl4mxyzmi5qdjprvb2z-python3.13-deploykit-dist41checking for references to /build/ in /nix/store/2vw8xyxj2ri6rbl4mxyzmi5qdjprvb2z-python3.13-deploykit-dist...42patching script interpreter paths in /nix/store/2vw8xyxj2ri6rbl4mxyzmi5qdjprvb2z-python3.13-deploykit-dist43Executing pythonRemoveTestsDir44Finished executing pythonRemoveTestsDirinstallCheckPhase
45no Makefile or custom installCheckPhase, doing nothingpythonImportsCheckPhase
46Executing pythonImportsCheckPhasepytestCheckPhase
47Executing pytestCheckPhase48pytest flags: -m pytest -s49============================= test session starts ==============================50platform linux -- Python 3.13.9, pytest-8.4.2, pluggy-1.6.051rootdir: /build/source52configfile: pyproject.toml53collected 18 items 5455tests/test_local.py $ echo hello56hello57.$ exit 158$ exit 159.$ echo $env_var60[some_host] $ 'echo $env_var'61[some_host] $ env62.$ echo $hello63.$ echo 1; echo 2 >&264.[some_host] $ 'echo hello'65[some_host] hello66.[some_host] $ 'sleep 10'67Command '['sleep 10']' timed out after 0 seconds68Traceback (most recent call last):69 File "/build/source/deploykit/__init__.py", line 634, in _run_local70 proc = host.run_local(71 cmd,72 ...<5 lines>...73 timeout=timeout,74 )75 File "/build/source/deploykit/__init__.py", line 457, in run_local76 return self._run(77 ~~~~~~~~~^78 cmd,79 ^^^^80 ...<7 lines>...81 timeout=timeout,82 ^^^^^^^^^^^^^^^^83 )84 ^85 File "/build/source/deploykit/__init__.py", line 398, in _run86 ret = p.wait(timeout=max(0, timeout - (time.time() - start)))87 File "/nix/store/7gl4khq26h625mpqzkiiqsify3hclar1-python3-3.13.9/lib/python3.13/subprocess.py", line 1280, in wait88 return self._wait(timeout=timeout)89 ~~~~~~~~~~^^^^^^^^^^^^^^^^^90 File "/nix/store/7gl4khq26h625mpqzkiiqsify3hclar1-python3-3.13.9/lib/python3.13/subprocess.py", line 2058, in _wait91 raise TimeoutExpired(self.args, timeout)92subprocess.TimeoutExpired: Command '['sleep 10']' timed out after 0 seconds93[some_host] failed with: Command '['sleep 10']' timed out after 0 seconds94.[some_host] $ 'echo hello'95.[some_host] $ 'exit 1'96Command '['exit 1']' returned non-zero exit status 1.97Traceback (most recent call last):98 File "/build/source/deploykit/__init__.py", line 634, in _run_local99 proc = host.run_local(100 cmd,101 ...<5 lines>...102 timeout=timeout,103 )104 File "/build/source/deploykit/__init__.py", line 457, in run_local105 return self._run(106 ~~~~~~~~~^107 cmd,108 ^^^^109 ...<7 lines>...110 timeout=timeout,111 ^^^^^^^^^^^^^^^^112 )113 ^114 File "/build/source/deploykit/__init__.py", line 403, in _run115 raise subprocess.CalledProcessError(116 ...<4 lines>...117 )118subprocess.CalledProcessError: Command '['exit 1']' returned non-zero exit status 1.119[some_host] failed with: Command '['exit 1']' returned non-zero exit status 1.120.[some_host] $ 'exit 1'121Command '['exit 1']' returned non-zero exit status 1.122Traceback (most recent call last):123 File "/build/source/deploykit/__init__.py", line 605, in _worker124 results[idx] = HostResult(host, func(host))125 ~~~~^^^^^^126 File "/build/source/tests/test_local.py", line 81, in some_func127 h.run_local("exit 1")128 ~~~~~~~~~~~^^^^^^^^^^129 File "/build/source/deploykit/__init__.py", line 457, in run_local130 return self._run(131 ~~~~~~~~~^132 cmd,133 ^^^^134 ...<7 lines>...135 timeout=timeout,136 ^^^^^^^^^^^^^^^^137 )138 ^139 File "/build/source/deploykit/__init__.py", line 403, in _run140 raise subprocess.CalledProcessError(141 ...<4 lines>...142 )143subprocess.CalledProcessError: Command '['exit 1']' returned non-zero exit status 1.144[some_host] failed with: Command '['exit 1']' returned non-zero exit status 1.145.[some_host] $ echo 1146.147tests/test_ssh.py Generating public/private ed25519 key pair.148Your identification has been saved in /build/source/tmp2grnffx0/host_ssh_host_ed25519_key149Your public key has been saved in /build/source/tmp2grnffx0/host_ssh_host_ed25519_key.pub150The key fingerprint is:151SHA256:6w2U42HKr/ih/Y0YcVCJOENrhevHdYbdYEfUG5v5r9Y nixbld@localhost152The key's randomart image is:153+--[ED25519 256]--+154| ..o.... oo. |155| =o... o . o |156| o+. + + * |157| .. .o.+ . = |158| . ...So . |159| ..oB + .|160| .= + ..|161| + * = . E|162| o.=o= o ... |163+----[SHA256]-----+164165166[127.0.0.1] $ echo hello167168169170171172[127.0.0.1] $ export env_var=true; echo $env_var173174175[127.0.0.1] $ export env_var=true; env176177178179180181[127.0.0.1] $ echo '$hello'182183184185186187[127.0.0.1] $ echo hello188189190191192193[127.0.0.1] $ sleep 10194195Command '['ssh', 'nixbld@127.0.0.1', '-p', '55509', '-i', '/build/source/tmp2grnffx0/host_ssh_host_ed25519_key', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '--', "bash -c 'sleep 10' -- "]' timed out after 0 seconds196Traceback (most recent call last):197 File "/build/source/deploykit/__init__.py", line 664, in _run_remote198 proc = host.run(199 cmd,200 ...<6 lines>...201 timeout=timeout,202 )203 File "/build/source/deploykit/__init__.py", line 557, in run204 return self._run(205 ~~~~~~~~~^206 ssh_cmd,207 ^^^^^^^^208 ...<6 lines>...209 timeout=timeout,210 ^^^^^^^^^^^^^^^^211 )212 ^213 File "/build/source/deploykit/__init__.py", line 398, in _run214 ret = p.wait(timeout=max(0, timeout - (time.time() - start)))215 File "/nix/store/7gl4khq26h625mpqzkiiqsify3hclar1-python3-3.13.9/lib/python3.13/subprocess.py", line 1280, in wait216 return self._wait(timeout=timeout)217 ~~~~~~~~~~^^^^^^^^^^^^^^^^^218 File "/nix/store/7gl4khq26h625mpqzkiiqsify3hclar1-python3-3.13.9/lib/python3.13/subprocess.py", line 2058, in _wait219 raise TimeoutExpired(self.args, timeout)220subprocess.TimeoutExpired: Command '['ssh', 'nixbld@127.0.0.1', '-p', '55509', '-i', '/build/source/tmp2grnffx0/host_ssh_host_ed25519_key', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '--', "bash -c 'sleep 10' -- "]' timed out after 0 seconds221[127.0.0.1] failed with: Command '['ssh', 'nixbld@127.0.0.1', '-p', '55509', '-i', '/build/source/tmp2grnffx0/host_ssh_host_ed25519_key', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '--', "bash -c 'sleep 10' -- "]' timed out after 0 seconds222223224225[127.0.0.1] $ exit 1226227228[127.0.0.1] [Command failed: 1] exit 1229[127.0.0.1] $ exit 1230231232Command '['ssh', 'nixbld@127.0.0.1', '-p', '33839', '-i', '/build/source/tmp2grnffx0/host_ssh_host_ed25519_key', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '--', "bash -c 'exit 1' -- "]' returned non-zero exit status 1.233Traceback (most recent call last):234 File "/build/source/deploykit/__init__.py", line 664, in _run_remote235 proc = host.run(236 cmd,237 ...<6 lines>...238 timeout=timeout,239 )240 File "/build/source/deploykit/__init__.py", line 557, in run241 return self._run(242 ~~~~~~~~~^243 ssh_cmd,244 ^^^^^^^^245 ...<6 lines>...246 timeout=timeout,247 ^^^^^^^^^^^^^^^^248 )249 ^250 File "/build/source/deploykit/__init__.py", line 403, in _run251 raise subprocess.CalledProcessError(252 ...<4 lines>...253 )254subprocess.CalledProcessError: Command '['ssh', 'nixbld@127.0.0.1', '-p', '33839', '-i', '/build/source/tmp2grnffx0/host_ssh_host_ed25519_key', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '--', "bash -c 'exit 1' -- "]' returned non-zero exit status 1.255[127.0.0.1] failed with: Command '['ssh', 'nixbld@127.0.0.1', '-p', '33839', '-i', '/build/source/tmp2grnffx0/host_ssh_host_ed25519_key', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '--', "bash -c 'exit 1' -- "]' returned non-zero exit status 1.256257258259[127.0.0.1] $ 'exit 1'260Command '['exit 1']' returned non-zero exit status 1.261Traceback (most recent call last):262 File "/build/source/deploykit/__init__.py", line 605, in _worker263 results[idx] = HostResult(host, func(host))264 ~~~~^^^^^^265 File "/build/source/tests/test_ssh.py", line 73, in some_func266 return h.run_local("exit 1")267 ~~~~~~~~~~~^^^^^^^^^^268 File "/build/source/deploykit/__init__.py", line 457, in run_local269 return self._run(270 ~~~~~~~~~^271 cmd,272 ^^^^273 ...<7 lines>...274 timeout=timeout,275 ^^^^^^^^^^^^^^^^276 )277 ^278 File "/build/source/deploykit/__init__.py", line 403, in _run279 raise subprocess.CalledProcessError(280 ...<4 lines>...281 )282subprocess.CalledProcessError: Command '['exit 1']' returned non-zero exit status 1.283[127.0.0.1] failed with: Command '['exit 1']' returned non-zero exit status 1.284.285286============================== 18 passed in 2.55s ==============================287Finished executing pytestCheckPhase