nixbot

builds

failed python3.14-nixbot-tests checks.aarch64-darwin.nixbot-tests · build #392 · 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/z0k5i2qscw8lsdl7528sb1k01a0asxdq-nixbot17source root is nixbot18setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "nixbot/pyproject.toml"
configurePhase
19no configure script, doing nothing
buildPhase
20Executing pypaBuildPhase21Creating a wheel...22pypa build flags: --no-isolation --outdir dist/ --wheel23* Getting build dependencies for wheel...24* Building wheel...25Successfully built nixbot-0.0.1-py3-none-any.whl26Finished creating a wheel...27Finished executing pypaBuildPhase
pythonRuntimeDepsCheckHook
28Executing pythonRuntimeDepsCheck29Checking runtime dependencies for nixbot-0.0.1-py3-none-any.whl30Finished executing pythonRuntimeDepsCheck
installPhase
31Executing pypaInstallPhase32Successfully installed nixbot-0.0.1-py3-none-any.whl33Finished executing pypaInstallPhase
pythonOutputDistPhase
34Executing pythonOutputDistPhase35Finished executing pythonOutputDistPhase
fixupPhase
36checking for references to /nix/var/nix/builds/nix-97339-2883513894/ in /nix/store/12w85hnighwkbpbg6dm0j62xpsgb2yxb-python3.14-nixbot-tests...37patching script interpreter paths in /nix/store/12w85hnighwkbpbg6dm0j62xpsgb2yxb-python3.14-nixbot-tests38stripping (with command strip and flags -S) in /nix/store/12w85hnighwkbpbg6dm0j62xpsgb2yxb-python3.14-nixbot-tests/lib /nix/store/12w85hnighwkbpbg6dm0j62xpsgb2yxb-python3.14-nixbot-tests/bin39checking for references to /nix/var/nix/builds/nix-97339-2883513894/ in /nix/store/vy4pi8mip3a46f3n0381z26jd03zqadx-python3.14-nixbot-tests-dist...40patching script interpreter paths in /nix/store/vy4pi8mip3a46f3n0381z26jd03zqadx-python3.14-nixbot-tests-dist41Rewriting #!/nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 to #!/nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.642wrapping `/nix/store/12w85hnighwkbpbg6dm0j62xpsgb2yxb-python3.14-nixbot-tests/bin/nixbot'...43Executing pythonRemoveTestsDir44Finished executing pythonRemoveTestsDir
installCheckPhase
45no Makefile or custom installCheckPhase, doing nothing
pythonImportsCheckPhase
46Executing pythonImportsCheckPhase
pytestCheckPhase
47Executing pytestCheckPhase48pytest flags: -m pytest --numprocesses=1049/nix/store/kfbmrm2rads9m3za8am89kll1xmzlbra-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.50 warner(PytestBenchmarkWarning(text))51============================= test session starts ==============================52platform darwin -- Python 3.14.6, pytest-9.1.1, pluggy-1.6.053benchmark: 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)54rootdir: /nix/var/nix/builds/nix-97339-2883513894/nixbot55configfile: pyproject.toml56plugins: asyncio-1.4.0, timeout-2.4.0, xdist-3.8.0, benchmark-5.2.3, anyio-4.14.257asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function58timeout: 60.0s59timeout method: signal60timeout func_only: False61initialized: 7/10 workers/nix/store/kfbmrm2rads9m3za8am89kll1xmzlbra-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.62 warner(PytestBenchmarkWarning(text))63initialized: 8/10 workers/nix/store/kfbmrm2rads9m3za8am89kll1xmzlbra-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.64 warner(PytestBenchmarkWarning(text))65initialized: 10/10 workers/nix/store/kfbmrm2rads9m3za8am89kll1xmzlbra-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.66 warner(PytestBenchmarkWarning(text))67ready: 3/10 workers/nix/store/kfbmrm2rads9m3za8am89kll1xmzlbra-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.68 warner(PytestBenchmarkWarning(text))69ready: 4/10 workers/nix/store/kfbmrm2rads9m3za8am89kll1xmzlbra-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.70 warner(PytestBenchmarkWarning(text))71ready: 5/10 workers/nix/store/kfbmrm2rads9m3za8am89kll1xmzlbra-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.72 warner(PytestBenchmarkWarning(text))73/nix/store/kfbmrm2rads9m3za8am89kll1xmzlbra-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.74 warner(PytestBenchmarkWarning(text))75ready: 7/10 workers/nix/store/kfbmrm2rads9m3za8am89kll1xmzlbra-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.76 warner(PytestBenchmarkWarning(text))77/nix/store/kfbmrm2rads9m3za8am89kll1xmzlbra-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.78 warner(PytestBenchmarkWarning(text))79ready: 9/10 workers/nix/store/kfbmrm2rads9m3za8am89kll1xmzlbra-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.80 warner(PytestBenchmarkWarning(text))8110 workers [845 items] 82.............s....ssssssss.............................................. [ 8%]83........................................................................ [ 17%]84........................................................................ [ 25%]85...........................s............................................ [ 34%]86.........s.............................................................. [ 42%]87........................................................................ [ 51%]88....................................................ssssssssssss........ [ 59%]89........................................................................ [ 68%]90........................................................................ [ 76%]91..........................ssss.......................................s.. [ 85%]92......................................................................F. [ 93%]93.......................F.......................F..... [100%]94=================================== FAILURES ===================================95__________________ test_inflight_share_fans_out_final_status ___________________96[gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.149798make_env = <function make_env.<locals>.make at 0x10e52d010>99upstream = PosixPath('/nix/var/nix/builds/nix-97339-2883513894/pytest-of-_nixbld1/pytest-0/popen-gw1/test_inflight_share_fans_out_f0/upstream')100101 async def test_inflight_share_fans_out_final_status(102 make_env: EnvFactory, upstream: Path103 ) -> None:104 sha = add_commit(upstream, "share")105 git(upstream, "branch", "copy", "main")106 executor = FakeExecutor(gate=asyncio.Event())107 orchestrator, reporter, project = await make_env(108 FakeEvalRunner([mk_job("a")]),109 executor,110 "share",111 )112 task = asyncio.create_task(113 orchestrator.handle_change_event(114 ChangeEvent(repo=project, branch="main", commit_sha=sha)115 )116 )117 await asyncio.wait_for(executor.started.wait(), timeout=10)118 build2 = await orchestrator.handle_change_event(119 ChangeEvent(repo=project, branch="copy", commit_sha=sha)120 )121 assert executor.gate is not None122 executor.gate.set()123 build1 = await task124 assert build1 is not None125 assert build2 is not None126 assert build1.id_ == build2.id_127 finished = [e for e in reporter.events if e[0] == "finished"]128> assert len(finished) == 2 # one final status per context129 ^^^^^^^^^^^^^^^^^^^^^^^^^130E AssertionError: assert 1 == 2131E + where 1 = len([('finished', 27, 'succeeded', 1)])132133nixbot/tests/test_orchestrator.py:1047: AssertionError134------------------------------ Captured log call -------------------------------135WARNING nixbot.memory:memory.py:99 could not read memory info, using conservative estimates136_________________ test_linked_context_reported_on_eval_failure _________________137[gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14138139make_env = <function make_env.<locals>.make at 0x10e52ca90>140upstream = PosixPath('/nix/var/nix/builds/nix-97339-2883513894/pytest-of-_nixbld1/pytest-0/popen-gw1/test_linked_context_reported_o0/upstream')141142 async def test_linked_context_reported_on_eval_failure(143 make_env: EnvFactory, upstream: Path144 ) -> None:145 sha = add_commit(upstream, "lef")146 git(upstream, "branch", "lef-copy", "main")147 148 eval_runner = FakeEvalRunner([], block=asyncio.Event(), error=EvalError("boom"))149 orchestrator, reporter, project = await make_env(eval_runner, FakeExecutor(), "lef")150 task = asyncio.create_task(151 orchestrator.handle_change_event(152 ChangeEvent(repo=project, branch="main", commit_sha=sha)153 )154 )155 await asyncio.wait_for(eval_runner.started.wait(), timeout=10)156 build2 = await orchestrator.handle_change_event(157 ChangeEvent(repo=project, branch="lef-copy", commit_sha=sha)158 )159 assert eval_runner.block is not None160 eval_runner.block.set()161 build1 = await task162 assert build1 is not None163 assert build2 is not None164 assert build1.id_ == build2.id_165 finished = [e for e in reporter.events if e[0] == "finished"]166> assert len(finished) == 2167E AssertionError: assert 1 == 2168E + where 1 = len([('finished', 43, 'failed', 0)])169170nixbot/tests/test_orchestrator.py:1505: AssertionError171------------------------------ Captured log call -------------------------------172WARNING nixbot.memory:memory.py:99 could not read memory info, using conservative estimates173WARNING nixbot.build_run:build_run.py:162 evaluation failed174____________ test_cancel_during_eval_resolves_linked_eval_contexts _____________175[gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14176177make_env = <function make_env.<locals>.make at 0x10e19ecf0>178upstream = PosixPath('/nix/var/nix/builds/nix-97339-2883513894/pytest-of-_nixbld1/pytest-0/popen-gw1/test_cancel_during_eval_resolv0/upstream')179180 async def test_cancel_during_eval_resolves_linked_eval_contexts(181 make_env: EnvFactory, upstream: Path182 ) -> None:183 """Cancelling a build mid-eval must resolve the nix-eval context of184 every linked event, not only the primary one."""185 186 add_commit(upstream, "linked-cancel")187 sha = git(upstream, "rev-parse", "HEAD")188 eval_runner = FakeEvalRunner([mk_job("a")], block=asyncio.Event())189 orchestrator, reporter, project = await make_env(190 eval_runner,191 FakeExecutor(),192 name="linked-cancel",193 )194 task1 = asyncio.create_task(195 orchestrator.handle_change_event(196 ChangeEvent(repo=project, branch="main", commit_sha=sha)197 )198 )199 await eval_runner.started.wait()200 build2 = await orchestrator.handle_change_event(201 ChangeEvent(repo=project, branch="main", commit_sha=sha, pr_number=4)202 )203 assert build2 is not None204 orchestrator.cancel_events[build2.id_].set()205 await task1206 cancelled_evals = [e for e in reporter.events if e[0] == "eval-cancelled"]207 assert len(cancelled_evals) == 2208 finished = [e for e in reporter.events if e[0] == "finished"]209> assert len(finished) == 2210E AssertionError: assert 1 == 2211E + where 1 = len([('finished', 69, 'cancelled', 0)])212213nixbot/tests/test_orchestrator.py:2403: AssertionError214------------------------------ Captured log call -------------------------------215WARNING nixbot.memory:memory.py:99 could not read memory info, using conservative estimates216=========================== short test summary info ============================217FAILED nixbot/tests/test_orchestrator.py::test_inflight_share_fans_out_final_status - AssertionError: assert 1 == 2218FAILED nixbot/tests/test_orchestrator.py::test_linked_context_reported_on_eval_failure - AssertionError: assert 1 == 2219FAILED nixbot/tests/test_orchestrator.py::test_cancel_during_eval_resolves_linked_eval_contexts - AssertionError: assert 1 == 2220================== 3 failed, 814 passed, 28 skipped in 27.87s ==================