python3.13-deploykit
checks.aarch64-linux.package-deploykit
· build #2
· raw
1elastic-arm-a5092f90: building 90zjl5vxy910pc0bwy0wkijvdzk77ypl-python3.13-deploykit.drv2Sourcing python-remove-tests-dir-hook3Sourcing python-catch-conflicts-hook.sh4Sourcing python-remove-bin-bytecode-hook.sh5Sourcing pypa-build-hook6Using pypaBuildPhase7Sourcing python-runtime-deps-check-hook8Using pythonRuntimeDepsCheckHook9Sourcing pypa-install-hook10Using pypaInstallPhase11Sourcing python-imports-check-hook.sh12Using pythonImportsCheckPhase13Sourcing python-namespaces-hook14Sourcing python-catch-conflicts-hook.sh15Sourcing pytest-check-hook16Using pytestCheckPhase
unpackPhase
17unpacking source archive /nix/store/6f12rxkz9dax8s86hv3jk63pk23nzlnw-gif16mrg3ywhfz4f89c28f2xhf9g08n5-source18source root is gif16mrg3ywhfz4f89c28f2xhf9g08n5-source19setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "gif16mrg3ywhfz4f89c28f2xhf9g08n5-source/treefmt.nix"configurePhase
20no configure script, doing nothingbuildPhase
21Executing pypaBuildPhase22Creating a wheel...23pypa build flags: --no-isolation --outdir dist/ --wheel24* Getting build dependencies for wheel...25* Building wheel...26Successfully built deploykit-1.2.1-py3-none-any.whl27Finished creating a wheel...28Finished executing pypaBuildPhasepythonRuntimeDepsCheckHook
29Executing pythonRuntimeDepsCheck30Checking runtime dependencies for deploykit-1.2.1-py3-none-any.whl31Finished executing pythonRuntimeDepsCheckinstallPhase
32Executing pypaInstallPhase33Successfully installed deploykit-1.2.1-py3-none-any.whl34Finished executing pypaInstallPhasepythonOutputDistPhase
35Executing pythonOutputDistPhase36Finished executing pythonOutputDistPhasefixupPhase
37shrinking RPATHs of ELF executables and libraries in /nix/store/n7ws5x5z0nvq56x38haas01v5kkpqllm-python3.13-deploykit38checking for references to /build/ in /nix/store/n7ws5x5z0nvq56x38haas01v5kkpqllm-python3.13-deploykit...39patching script interpreter paths in /nix/store/n7ws5x5z0nvq56x38haas01v5kkpqllm-python3.13-deploykit40stripping (with command strip and flags -S -p) in /nix/store/n7ws5x5z0nvq56x38haas01v5kkpqllm-python3.13-deploykit/lib41shrinking RPATHs of ELF executables and libraries in /nix/store/7r17d96cjsr5zcp5j2vn3yhir45x0wdv-python3.13-deploykit-dist42checking for references to /build/ in /nix/store/7r17d96cjsr5zcp5j2vn3yhir45x0wdv-python3.13-deploykit-dist...43patching script interpreter paths in /nix/store/7r17d96cjsr5zcp5j2vn3yhir45x0wdv-python3.13-deploykit-dist44Executing pythonRemoveTestsDir45Finished executing pythonRemoveTestsDirinstallCheckPhase
46no Makefile or custom installCheckPhase, doing nothingpythonImportsCheckPhase
47Executing pythonImportsCheckPhasepytestCheckPhase
48Executing pytestCheckPhase49pytest flags: -m pytest -s50============================= test session starts ==============================51platform linux -- Python 3.13.9, pytest-8.4.2, pluggy-1.6.052rootdir: /build/gif16mrg3ywhfz4f89c28f2xhf9g08n5-source53configfile: pyproject.toml54collected 18 items 5556tests/test_local.py $ echo hello57hello58.$ exit 159$ exit 160.$ echo $env_var61[some_host] $ 'echo $env_var'62[some_host] $ env63.$ echo $hello64.$ echo 1; echo 2 >&265.[some_host] $ 'echo hello'66[some_host] hello67.[some_host] $ 'sleep 10'68Command '['sleep 10']' timed out after 0 seconds69Traceback (most recent call last):70 File "/build/gif16mrg3ywhfz4f89c28f2xhf9g08n5-source/deploykit/__init__.py", line 634, in _run_local71 proc = host.run_local(72 cmd,73 ...<5 lines>...74 timeout=timeout,75 )76 File "/build/gif16mrg3ywhfz4f89c28f2xhf9g08n5-source/deploykit/__init__.py", line 457, in run_local77 return self._run(78 ~~~~~~~~~^79 cmd,80 ^^^^81 ...<7 lines>...82 timeout=timeout,83 ^^^^^^^^^^^^^^^^84 )85 ^86 File "/build/gif16mrg3ywhfz4f89c28f2xhf9g08n5-source/deploykit/__init__.py", line 398, in _run87 ret = p.wait(timeout=max(0, timeout - (time.time() - start)))88 File "/nix/store/0g7r3dpgv4ad902bbmv9c4bxxnch6qlk-python3-3.13.9/lib/python3.13/subprocess.py", line 1280, in wait89 return self._wait(timeout=timeout)90 ~~~~~~~~~~^^^^^^^^^^^^^^^^^91 File "/nix/store/0g7r3dpgv4ad902bbmv9c4bxxnch6qlk-python3-3.13.9/lib/python3.13/subprocess.py", line 2058, in _wait92 raise TimeoutExpired(self.args, timeout)93subprocess.TimeoutExpired: Command '['sleep 10']' timed out after 0 seconds94[some_host] failed with: Command '['sleep 10']' timed out after 0 seconds95.[some_host] $ 'echo hello'96.[some_host] $ 'exit 1'97Command '['exit 1']' returned non-zero exit status 1.98Traceback (most recent call last):99 File "/build/gif16mrg3ywhfz4f89c28f2xhf9g08n5-source/deploykit/__init__.py", line 634, in _run_local100 proc = host.run_local(101 cmd,102 ...<5 lines>...103 timeout=timeout,104 )105 File "/build/gif16mrg3ywhfz4f89c28f2xhf9g08n5-source/deploykit/__init__.py", line 457, in run_local106 return self._run(107 ~~~~~~~~~^108 cmd,109 ^^^^110 ...<7 lines>...111 timeout=timeout,112 ^^^^^^^^^^^^^^^^113 )114 ^115 File "/build/gif16mrg3ywhfz4f89c28f2xhf9g08n5-source/deploykit/__init__.py", line 403, in _run116 raise subprocess.CalledProcessError(117 ...<4 lines>...118 )119subprocess.CalledProcessError: Command '['exit 1']' returned non-zero exit status 1.120[some_host] failed with: Command '['exit 1']' returned non-zero exit status 1.121.[some_host] $ 'exit 1'122Command '['exit 1']' returned non-zero exit status 1.123Traceback (most recent call last):124 File "/build/gif16mrg3ywhfz4f89c28f2xhf9g08n5-source/deploykit/__init__.py", line 605, in _worker125 results[idx] = HostResult(host, func(host))126 ~~~~^^^^^^127 File "/build/gif16mrg3ywhfz4f89c28f2xhf9g08n5-source/tests/test_local.py", line 81, in some_func128 h.run_local("exit 1")129 ~~~~~~~~~~~^^^^^^^^^^130 File "/build/gif16mrg3ywhfz4f89c28f2xhf9g08n5-source/deploykit/__init__.py", line 457, in run_local131 return self._run(132 ~~~~~~~~~^133 cmd,134 ^^^^135 ...<7 lines>...136 timeout=timeout,137 ^^^^^^^^^^^^^^^^138 )139 ^140 File "/build/gif16mrg3ywhfz4f89c28f2xhf9g08n5-source/deploykit/__init__.py", line 403, in _run141 raise subprocess.CalledProcessError(142 ...<4 lines>...143 )144subprocess.CalledProcessError: Command '['exit 1']' returned non-zero exit status 1.145[some_host] failed with: Command '['exit 1']' returned non-zero exit status 1.146.[some_host] $ echo 1147.148tests/test_ssh.py Generating public/private ed25519 key pair.149Your identification has been saved in /build/gif16mrg3ywhfz4f89c28f2xhf9g08n5-source/tmp6syrspwm/host_ssh_host_ed25519_key150Your public key has been saved in /build/gif16mrg3ywhfz4f89c28f2xhf9g08n5-source/tmp6syrspwm/host_ssh_host_ed25519_key.pub151The key fingerprint is:152SHA256:/1SBC2xaP9fcnkshJ5o6JMcyqPNAjegeDYTEwtAH/aA nixbld@localhost153The key's randomart image is:154+--[ED25519 256]--+155|=o.o |156|+o. + . . |157|o. o o = . . |158|. E o . + o . +.|159| o o .. S +ooo+|160|. + . + = o++.o|161| o o. * .o. o.|162|. .o. ..o . .|163| . o. .. . . |164+----[SHA256]-----+165166167168[127.0.0.1] $ echo hello169170171172173174[127.0.0.1] $ export env_var=true; echo $env_var175176177[127.0.0.1] $ export env_var=true; env178179180181182[127.0.0.1] $ echo '$hello'183184185186187188[127.0.0.1] $ echo hello189190191192193194[127.0.0.1] $ sleep 10195196Command '['ssh', 'nixbld@127.0.0.1', '-p', '36383', '-i', '/build/gif16mrg3ywhfz4f89c28f2xhf9g08n5-source/tmp6syrspwm/host_ssh_host_ed25519_key', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '--', "bash -c 'sleep 10' -- "]' timed out after 0 seconds197Traceback (most recent call last):198 File "/build/gif16mrg3ywhfz4f89c28f2xhf9g08n5-source/deploykit/__init__.py", line 664, in _run_remote199 proc = host.run(200 cmd,201 ...<6 lines>...202 timeout=timeout,203 )204 File "/build/gif16mrg3ywhfz4f89c28f2xhf9g08n5-source/deploykit/__init__.py", line 557, in run205 return self._run(206 ~~~~~~~~~^207 ssh_cmd,208 ^^^^^^^^209 ...<6 lines>...210 timeout=timeout,211 ^^^^^^^^^^^^^^^^212 )213 ^214 File "/build/gif16mrg3ywhfz4f89c28f2xhf9g08n5-source/deploykit/__init__.py", line 398, in _run215 ret = p.wait(timeout=max(0, timeout - (time.time() - start)))216 File "/nix/store/0g7r3dpgv4ad902bbmv9c4bxxnch6qlk-python3-3.13.9/lib/python3.13/subprocess.py", line 1280, in wait217 return self._wait(timeout=timeout)218 ~~~~~~~~~~^^^^^^^^^^^^^^^^^219 File "/nix/store/0g7r3dpgv4ad902bbmv9c4bxxnch6qlk-python3-3.13.9/lib/python3.13/subprocess.py", line 2058, in _wait220 raise TimeoutExpired(self.args, timeout)221subprocess.TimeoutExpired: Command '['ssh', 'nixbld@127.0.0.1', '-p', '36383', '-i', '/build/gif16mrg3ywhfz4f89c28f2xhf9g08n5-source/tmp6syrspwm/host_ssh_host_ed25519_key', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '--', "bash -c 'sleep 10' -- "]' timed out after 0 seconds222[127.0.0.1] failed with: Command '['ssh', 'nixbld@127.0.0.1', '-p', '36383', '-i', '/build/gif16mrg3ywhfz4f89c28f2xhf9g08n5-source/tmp6syrspwm/host_ssh_host_ed25519_key', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '--', "bash -c 'sleep 10' -- "]' timed out after 0 seconds223224225226[127.0.0.1] $ exit 1227228229[127.0.0.1] [Command failed: 1] exit 1230[127.0.0.1] $ exit 1231232233Command '['ssh', 'nixbld@127.0.0.1', '-p', '37577', '-i', '/build/gif16mrg3ywhfz4f89c28f2xhf9g08n5-source/tmp6syrspwm/host_ssh_host_ed25519_key', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '--', "bash -c 'exit 1' -- "]' returned non-zero exit status 1.234Traceback (most recent call last):235 File "/build/gif16mrg3ywhfz4f89c28f2xhf9g08n5-source/deploykit/__init__.py", line 664, in _run_remote236 proc = host.run(237 cmd,238 ...<6 lines>...239 timeout=timeout,240 )241 File "/build/gif16mrg3ywhfz4f89c28f2xhf9g08n5-source/deploykit/__init__.py", line 557, in run242 return self._run(243 ~~~~~~~~~^244 ssh_cmd,245 ^^^^^^^^246 ...<6 lines>...247 timeout=timeout,248 ^^^^^^^^^^^^^^^^249 )250 ^251 File "/build/gif16mrg3ywhfz4f89c28f2xhf9g08n5-source/deploykit/__init__.py", line 403, in _run252 raise subprocess.CalledProcessError(253 ...<4 lines>...254 )255subprocess.CalledProcessError: Command '['ssh', 'nixbld@127.0.0.1', '-p', '37577', '-i', '/build/gif16mrg3ywhfz4f89c28f2xhf9g08n5-source/tmp6syrspwm/host_ssh_host_ed25519_key', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '--', "bash -c 'exit 1' -- "]' returned non-zero exit status 1.256[127.0.0.1] failed with: Command '['ssh', 'nixbld@127.0.0.1', '-p', '37577', '-i', '/build/gif16mrg3ywhfz4f89c28f2xhf9g08n5-source/tmp6syrspwm/host_ssh_host_ed25519_key', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '--', "bash -c 'exit 1' -- "]' returned non-zero exit status 1.257258259[127.0.0.1] $ 'exit 1'260Command '['exit 1']' returned non-zero exit status 1.261Traceback (most recent call last):262 File "/build/gif16mrg3ywhfz4f89c28f2xhf9g08n5-source/deploykit/__init__.py", line 605, in _worker263 results[idx] = HostResult(host, func(host))264 ~~~~^^^^^^265 File "/build/gif16mrg3ywhfz4f89c28f2xhf9g08n5-source/tests/test_ssh.py", line 73, in some_func266 return h.run_local("exit 1")267 ~~~~~~~~~~~^^^^^^^^^^268 File "/build/gif16mrg3ywhfz4f89c28f2xhf9g08n5-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/gif16mrg3ywhfz4f89c28f2xhf9g08n5-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.31s ==============================287Finished executing pytestCheckPhase