nixbot

builds

failed python3.14-nixbot-tests checks.aarch64-linux.nixbot-tests · build #472 · raw

1tribuchet: building on eliza2Sourcing 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/81f2yb7gxy4npivfkq1qb7adz6xcs944-nixbot18source root is nixbot19setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "nixbot/pyproject.toml"
configurePhase
20no configure script, doing nothing
buildPhase
21Executing pypaBuildPhase22Creating a wheel...23pypa build flags: --no-isolation --outdir dist/ --wheel24* Getting build dependencies for wheel...25* Building wheel...26Successfully built nixbot-0.0.1-py3-none-any.whl27Finished creating a wheel...28Finished executing pypaBuildPhase
pythonRuntimeDepsCheckHook
29Executing pythonRuntimeDepsCheck30Checking runtime dependencies for nixbot-0.0.1-py3-none-any.whl31Finished executing pythonRuntimeDepsCheck
installPhase
32Executing pypaInstallPhase33Successfully installed nixbot-0.0.1-py3-none-any.whl34Finished executing pypaInstallPhase
pythonOutputDistPhase
35Executing pythonOutputDistPhase36Finished executing pythonOutputDistPhase
fixupPhase
37shrinking RPATHs of ELF executables and libraries in /nix/store/4dpsw7jp0r216kdfbhhpd91n1gip901m-python3.14-nixbot-tests38checking for references to /build/ in /nix/store/4dpsw7jp0r216kdfbhhpd91n1gip901m-python3.14-nixbot-tests...39patching script interpreter paths in /nix/store/4dpsw7jp0r216kdfbhhpd91n1gip901m-python3.14-nixbot-tests40stripping (with command strip and flags -S -p) in /nix/store/4dpsw7jp0r216kdfbhhpd91n1gip901m-python3.14-nixbot-tests/lib /nix/store/4dpsw7jp0r216kdfbhhpd91n1gip901m-python3.14-nixbot-tests/bin41shrinking RPATHs of ELF executables and libraries in /nix/store/8qzfbkfif4dqbvm4qp9kxbzx2snqkamj-python3.14-nixbot-tests-dist42checking for references to /build/ in /nix/store/8qzfbkfif4dqbvm4qp9kxbzx2snqkamj-python3.14-nixbot-tests-dist...43patching script interpreter paths in /nix/store/8qzfbkfif4dqbvm4qp9kxbzx2snqkamj-python3.14-nixbot-tests-dist44Rewriting #!/nix/store/41m77i1296n33p6liin8ynr6wh3h6b7m-python3-3.14.6/bin/python3.14 to #!/nix/store/41m77i1296n33p6liin8ynr6wh3h6b7m-python3-3.14.645wrapping `/nix/store/4dpsw7jp0r216kdfbhhpd91n1gip901m-python3.14-nixbot-tests/bin/nixbot'...46Executing pythonRemoveTestsDir47Finished executing pythonRemoveTestsDir
installCheckPhase
48no Makefile or custom installCheckPhase, doing nothing
pythonImportsCheckPhase
49Executing pythonImportsCheckPhase
pytestCheckPhase
50Executing pytestCheckPhase51pytest flags: -m pytest --numprocesses=2452/nix/store/2xp5r99cnys85h806mpdw43bz48y05ds-python3.14-pytest-benchmark-5.2.3/lib/python3.14/site-packages/pytest_benchmark/logger.py:44: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.53 warner(PytestBenchmarkWarning(text))54/nix/store/2xp5r99cnys85h806mpdw43bz48y05ds-python3.14-pytest-benchmark-5.2.3/lib/python3.14/site-packages/pytest_benchmark/logger.py:44: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.55 warner(PytestBenchmarkWarning(text))56/nix/store/2xp5r99cnys85h806mpdw43bz48y05ds-python3.14-pytest-benchmark-5.2.3/lib/python3.14/site-packages/pytest_benchmark/logger.py:44: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.57 warner(PytestBenchmarkWarning(text))58/nix/store/2xp5r99cnys85h806mpdw43bz48y05ds-python3.14-pytest-benchmark-5.2.3/lib/python3.14/site-packages/pytest_benchmark/logger.py:44: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.59 warner(PytestBenchmarkWarning(text))60/nix/store/2xp5r99cnys85h806mpdw43bz48y05ds-python3.14-pytest-benchmark-5.2.3/lib/python3.14/site-packages/pytest_benchmark/logger.py:44: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.61 warner(PytestBenchmarkWarning(text))62/nix/store/2xp5r99cnys85h806mpdw43bz48y05ds-python3.14-pytest-benchmark-5.2.3/lib/python3.14/site-packages/pytest_benchmark/logger.py:44: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.63 warner(PytestBenchmarkWarning(text))64/nix/store/2xp5r99cnys85h806mpdw43bz48y05ds-python3.14-pytest-benchmark-5.2.3/lib/python3.14/site-packages/pytest_benchmark/logger.py:44: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.65 warner(PytestBenchmarkWarning(text))66/nix/store/2xp5r99cnys85h806mpdw43bz48y05ds-python3.14-pytest-benchmark-5.2.3/lib/python3.14/site-packages/pytest_benchmark/logger.py:44: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.67 warner(PytestBenchmarkWarning(text))68/nix/store/2xp5r99cnys85h806mpdw43bz48y05ds-python3.14-pytest-benchmark-5.2.3/lib/python3.14/site-packages/pytest_benchmark/logger.py:44: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.69 warner(PytestBenchmarkWarning(text))70/nix/store/2xp5r99cnys85h806mpdw43bz48y05ds-python3.14-pytest-benchmark-5.2.3/lib/python3.14/site-packages/pytest_benchmark/logger.py:44: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.71 warner(PytestBenchmarkWarning(text))72/nix/store/2xp5r99cnys85h806mpdw43bz48y05ds-python3.14-pytest-benchmark-5.2.3/lib/python3.14/site-packages/pytest_benchmark/logger.py:44: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.73 warner(PytestBenchmarkWarning(text))74/nix/store/2xp5r99cnys85h806mpdw43bz48y05ds-python3.14-pytest-benchmark-5.2.3/lib/python3.14/site-packages/pytest_benchmark/logger.py:44: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.75 warner(PytestBenchmarkWarning(text))76/nix/store/2xp5r99cnys85h806mpdw43bz48y05ds-python3.14-pytest-benchmark-5.2.3/lib/python3.14/site-packages/pytest_benchmark/logger.py:44: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.77 warner(PytestBenchmarkWarning(text))78/nix/store/2xp5r99cnys85h806mpdw43bz48y05ds-python3.14-pytest-benchmark-5.2.3/lib/python3.14/site-packages/pytest_benchmark/logger.py:44: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.79 warner(PytestBenchmarkWarning(text))80/nix/store/2xp5r99cnys85h806mpdw43bz48y05ds-python3.14-pytest-benchmark-5.2.3/lib/python3.14/site-packages/pytest_benchmark/logger.py:44: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.81 warner(PytestBenchmarkWarning(text))82/nix/store/2xp5r99cnys85h806mpdw43bz48y05ds-python3.14-pytest-benchmark-5.2.3/lib/python3.14/site-packages/pytest_benchmark/logger.py:44: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.83 warner(PytestBenchmarkWarning(text))84/nix/store/2xp5r99cnys85h806mpdw43bz48y05ds-python3.14-pytest-benchmark-5.2.3/lib/python3.14/site-packages/pytest_benchmark/logger.py:44: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.85 warner(PytestBenchmarkWarning(text))86/nix/store/2xp5r99cnys85h806mpdw43bz48y05ds-python3.14-pytest-benchmark-5.2.3/lib/python3.14/site-packages/pytest_benchmark/logger.py:44: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.87 warner(PytestBenchmarkWarning(text))88/nix/store/2xp5r99cnys85h806mpdw43bz48y05ds-python3.14-pytest-benchmark-5.2.3/lib/python3.14/site-packages/pytest_benchmark/logger.py:44: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.89 warner(PytestBenchmarkWarning(text))90/nix/store/2xp5r99cnys85h806mpdw43bz48y05ds-python3.14-pytest-benchmark-5.2.3/lib/python3.14/site-packages/pytest_benchmark/logger.py:44: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.91 warner(PytestBenchmarkWarning(text))92/nix/store/2xp5r99cnys85h806mpdw43bz48y05ds-python3.14-pytest-benchmark-5.2.3/lib/python3.14/site-packages/pytest_benchmark/logger.py:44: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.93 warner(PytestBenchmarkWarning(text))94/nix/store/2xp5r99cnys85h806mpdw43bz48y05ds-python3.14-pytest-benchmark-5.2.3/lib/python3.14/site-packages/pytest_benchmark/logger.py:44: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.95 warner(PytestBenchmarkWarning(text))96/nix/store/2xp5r99cnys85h806mpdw43bz48y05ds-python3.14-pytest-benchmark-5.2.3/lib/python3.14/site-packages/pytest_benchmark/logger.py:44: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.97 warner(PytestBenchmarkWarning(text))98/nix/store/2xp5r99cnys85h806mpdw43bz48y05ds-python3.14-pytest-benchmark-5.2.3/lib/python3.14/site-packages/pytest_benchmark/logger.py:44: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.99 warner(PytestBenchmarkWarning(text))100/nix/store/2xp5r99cnys85h806mpdw43bz48y05ds-python3.14-pytest-benchmark-5.2.3/lib/python3.14/site-packages/pytest_benchmark/logger.py:44: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.101 warner(PytestBenchmarkWarning(text))102============================= test session starts ==============================103platform linux -- Python 3.14.6, pytest-9.1.1, pluggy-1.6.0104benchmark: 5.2.3 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)105rootdir: /build/nixbot106configfile: pyproject.toml107plugins: asyncio-1.4.0, timeout-2.4.0, xdist-3.8.0, benchmark-5.2.3, anyio-4.14.2108asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function109timeout: 60.0s110timeout method: signal111timeout func_only: False112created: 24/24 workers11324 workers [873 items]114115.............................................................sssssssss.. [ 8%]116........................................................................ [ 16%]117........................................................................ [ 24%]118........................................................................ [ 32%]119.................................................................s...... [ 41%]120..........F............................................................. [ 49%]121..................................................s..................... [ 57%]122............................................s........................... [ 65%]123........................................................................ [ 74%]124........................................................................ [ 82%]125........................................................................ [ 90%]126.............s.......................................................... [ 98%]127......... [100%]128=================================== FAILURES ===================================129__________________________ test_prefetch_integration ___________________________130[gw3] linux -- Python 3.14.6 /nix/store/41m77i1296n33p6liin8ynr6wh3h6b7m-python3-3.14.6/bin/python3.14131132tmp_path = PosixPath('/build/pytest-of-nixbld/pytest-0/popen-gw3/test_prefetch_integration0')133134 @needs_nix135 async def test_prefetch_integration(tmp_path: Path) -> None:136 """A locked git input is copied to the store and gc-rooted; after137 the input's source repo is gone, evaluation still succeeds purely138 from the store (the sandboxed eval has no credentials for private139 inputs)."""140 dep = init_upstream(141 tmp_path / "dep",142 {"flake.nix": '{ outputs = { self }: { greeting = "hello"; }; }'},143 )144 repo = init_upstream(145 tmp_path / "repo",146 {147 "flake.nix": f"""148 {{149 inputs.dep.url = "git+file://{dep}";150 outputs = {{ self, dep }}: {{151 checks.x86_64-linux.ok = derivation {{152 name = "ok-" + dep.greeting;153 system = "x86_64-linux";154 builder = "/bin/sh";155 args = [ "-c" "echo ok > $out" ];156 }};157 }};158 }}159 """160 },161 )162 _nix_flake_lock(repo)163 164 gcroots = tmp_path / "gcroots"165 await prefetch_flake_inputs(repo, BranchConfig(), gcroots)166 167 roots = list((gcroots / "inputs").iterdir())168 assert len(roots) == 1169 assert roots[0].is_symlink()170 assert roots[0].resolve().is_dir()171 172 # The eval must not need the input's origin anymore.173 shutil.rmtree(dep)174 175 if shutil.which("nix-eval-jobs") is None:176 pytest.skip("nix-eval-jobs not available")177 settings = EvalSettings(178 gc_roots_dir=tmp_path / "eval-gcroots", sandbox=False, systemd_scope=False179 )180> result = await EvalRunner().run(repo, BranchConfig(), settings)181 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^182183nixbot/tests/test_flake_prefetch.py:147: 184_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 185nixbot/nix_eval.py:615: in run186 return await self._spawn(187_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 188189self = <nixbot.nix_eval.EvalRunner object at 0xffffeca7d160>190worktree_path = PosixPath('/build/pytest-of-nixbld/pytest-0/popen-gw3/test_prefetch_integration0/repo')191branch_config = BranchConfig(flake_dir='.', lock_file='flake.lock', attribute='checks', effects_on_pull_requests=False, effects_branches=[], build_branches=None, require_approval=True)192settings = EvalSettings(gc_roots_dir=PosixPath('/build/pytest-of-nixbld/pytest-0/popen-gw3/test_prefetch_integration0/eval-gcroot...attr_prefix=False, build_store_url=None, build_store_token_file=None, build_store_credential_env='NIX_GRPC_TOKEN_FILE')193preexec_fn = None, on_jobs = None, on_stderr_line = None, eval_cgroup = None194195 async def _spawn( # noqa: PLR0913196 self,197 worktree_path: Path,198 branch_config: BranchConfig,199 settings: EvalSettings,200 preexec_fn: Callable[[], None] | None = None,201 on_jobs: JobBatchCallback | None = None,202 on_stderr_line: StderrLineCallback | None = None,203 eval_cgroup: Path | None = None,204 ) -> EvalResult:205 cmd = build_full_command(worktree_path, branch_config, settings)206 logger.info(207 "starting evaluation",208 extra={"worktree": str(worktree_path), "argv0": cmd[0]},209 )210 t0 = time.monotonic()211 proc = await asyncio.create_subprocess_exec(212 *cmd,213 cwd=worktree_path,214 stdout=asyncio.subprocess.PIPE,215 stderr=asyncio.subprocess.PIPE,216 preexec_fn=preexec_fn,217 # Own process group so a timeout can kill the whole tree.218 start_new_session=True,219 limit=STREAM_LIMIT,220 # Proxy/TLS/NIX_* must reach the evaluator: flake input221 # fetching fails in proxy/custom-CA deployments otherwise.222 env={223 **passthrough_env(),224 "CLICOLOR_FORCE": "1",225 "PATH": os.environ.get("PATH", "/usr/bin:/bin"),226 # Fallback to /tmp when no `bwrap`227 "HOME": os.environ.get("HOME", "/tmp"), # noqa: S108228 },229 )230 assert proc.stdout is not None # noqa: S101231 assert proc.stderr is not None # noqa: S101232 233 jobs: list[NixEvalJob] = []234 parse_errors: list[str] = []235 236 try:237 async with asyncio.timeout(settings.timeout):238 _, stderr_bytes = await asyncio.gather(239 _read_job_stream(proc.stdout, jobs, parse_errors, on_jobs),240 _read_stderr_tail(proc.stderr, on_line=on_stderr_line),241 )242 returncode = await proc.wait()243 duration_ms = int((time.monotonic() - t0) * 1000)244 except BaseException as e:245 # Timeout, cancellation, or a reader bug: kill the evaluator246 # instead of leaking it (possibly blocked on a full pipe).247 _kill_process_tree(proc)248 await proc.wait()249 if isinstance(e, TimeoutError):250 msg = f"evaluation timed out after {settings.timeout:.0f} seconds"251 raise EvalError(msg) from None252 raise253 stderr_text = stderr_bytes.decode(errors="replace")254 255 if returncode != 0:256 tail = "\n".join(stderr_text.splitlines()[-50:])257 # No stderr substring match: that would misclassify evals258 # whose trace merely mentions "out of memory".259 if returncode in OOM_RETURN_CODES or cgroup_oom_killed(eval_cgroup):260 msg = (261 "evaluation ran out of memory (cgroup limit "262 f"{settings.memory_limit_mib} MiB, "263 f"{settings.worker_count} x {settings.max_memory_size_mib} "264 "MiB workers); this is a permanent failure, reduce "265 f"evaluation memory usage:\n{tail}"266 )267 raise EvalOOMError(msg)268 msg = f"{settings.command[0]} failed with exit code {returncode}:\n{tail}"269> raise EvalError(msg)270E nixbot.nix_eval.EvalError: nix-eval-jobs failed with exit code 1:271E warning: Git tree '/build/pytest-of-nixbld/pytest-0/popen-gw3/test_prefetch_integration0/repo' is dirty272E warning: unable to download 'https://cache.nixos.org/nix-cache-info': Could not resolve hostname (6) Could not resolve host: cache.nixos.org; retrying in 7 ms (attempt 1/5)273E warning: unable to download 'https://cache.nixos.org/nix-cache-info': Could not resolve hostname (6) Could not resolve host: cache.nixos.org; retrying in 159 ms (attempt 2/5)274E warning: unable to download 'https://cache.nixos.org/nix-cache-info': Could not resolve hostname (6) Could not resolve host: cache.nixos.org; retrying in 307 ms (attempt 3/5)275E warning: unable to download 'https://cache.nixos.org/nix-cache-info': Could not resolve hostname (6) Could not resolve host: cache.nixos.org; retrying in 205 ms (attempt 4/5)276E warning: unable to download 'https://cache.nixos.org/nix-cache-info': Could not resolve hostname (6) Could not resolve host: cache.nixos.org277E warning: Git tree '/build/pytest-of-nixbld/pytest-0/popen-gw3/test_prefetch_integration0/repo' is dirty278E error: while starting worker, evaluation worker crashed with signal 7 (Bus error); enable coredumps for a backtrace279280nixbot/nix_eval.py:702: EvalError281----------------------------- Captured stderr call -----------------------------282warning: you don't have Internet access; disabling some network-dependent features283warning: creating lock file "/build/pytest-of-nixbld/pytest-0/popen-gw3/test_prefetch_integration0/repo/flake.lock": 284• Added input 'dep':285 'git+file:///build/pytest-of-nixbld/pytest-0/popen-gw3/test_prefetch_integration0/dep?ref=refs/heads/main&rev=a54fc7be22b2aceba94107f35f5f2d22427a71ff' (2026-10-25)286=========================== short test summary info ============================287FAILED nixbot/tests/test_flake_prefetch.py::test_prefetch_integration - nixbo...288================== 1 failed, 859 passed, 13 skipped in 32.01s ==================