python3.14-nixbot-tests
checks.x86_64-linux.nixbot-tests
· build #392
· raw
1tribuchet: building on jamie2Sourcing 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/z0k5i2qscw8lsdl7528sb1k01a0asxdq-nixbot18source root is nixbot19setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "nixbot/pyproject.toml"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 nixbot-0.0.1-py3-none-any.whl27Finished creating a wheel...28Finished executing pypaBuildPhasepythonRuntimeDepsCheckHook
29Executing pythonRuntimeDepsCheck30Checking runtime dependencies for nixbot-0.0.1-py3-none-any.whl31Finished executing pythonRuntimeDepsCheckinstallPhase
32Executing pypaInstallPhase33Successfully installed nixbot-0.0.1-py3-none-any.whl34Finished executing pypaInstallPhasepythonOutputDistPhase
35Executing pythonOutputDistPhase36Finished executing pythonOutputDistPhasefixupPhase
37shrinking RPATHs of ELF executables and libraries in /nix/store/vq1da4x3rzvj9rzw2vprzc4wqh2xy2sp-python3.14-nixbot-tests38checking for references to /build/ in /nix/store/vq1da4x3rzvj9rzw2vprzc4wqh2xy2sp-python3.14-nixbot-tests...39patching script interpreter paths in /nix/store/vq1da4x3rzvj9rzw2vprzc4wqh2xy2sp-python3.14-nixbot-tests40stripping (with command strip and flags -S -p) in /nix/store/vq1da4x3rzvj9rzw2vprzc4wqh2xy2sp-python3.14-nixbot-tests/lib /nix/store/vq1da4x3rzvj9rzw2vprzc4wqh2xy2sp-python3.14-nixbot-tests/bin41shrinking RPATHs of ELF executables and libraries in /nix/store/0fvqq631gddm7v8qwr2nbcqqzpvl3hc9-python3.14-nixbot-tests-dist42checking for references to /build/ in /nix/store/0fvqq631gddm7v8qwr2nbcqqzpvl3hc9-python3.14-nixbot-tests-dist...43patching script interpreter paths in /nix/store/0fvqq631gddm7v8qwr2nbcqqzpvl3hc9-python3.14-nixbot-tests-dist44Rewriting #!/nix/store/gxzhl7aaiid7zp3y47jqqiq7zg5mqpwp-python3-3.14.6/bin/python3.14 to #!/nix/store/gxzhl7aaiid7zp3y47jqqiq7zg5mqpwp-python3-3.14.645wrapping `/nix/store/vq1da4x3rzvj9rzw2vprzc4wqh2xy2sp-python3.14-nixbot-tests/bin/nixbot'...46Executing pythonRemoveTestsDir47Finished executing pythonRemoveTestsDirinstallCheckPhase
48no Makefile or custom installCheckPhase, doing nothingpythonImportsCheckPhase
49Executing pythonImportsCheckPhasepytestCheckPhase
50Executing pytestCheckPhase51pytest flags: -m pytest --numprocesses=2452/nix/store/bw67hssv9ybvq4mg5kdzhxh36hg2rw53-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/bw67hssv9ybvq4mg5kdzhxh36hg2rw53-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/bw67hssv9ybvq4mg5kdzhxh36hg2rw53-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/bw67hssv9ybvq4mg5kdzhxh36hg2rw53-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/bw67hssv9ybvq4mg5kdzhxh36hg2rw53-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/bw67hssv9ybvq4mg5kdzhxh36hg2rw53-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/bw67hssv9ybvq4mg5kdzhxh36hg2rw53-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/bw67hssv9ybvq4mg5kdzhxh36hg2rw53-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/bw67hssv9ybvq4mg5kdzhxh36hg2rw53-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/bw67hssv9ybvq4mg5kdzhxh36hg2rw53-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/bw67hssv9ybvq4mg5kdzhxh36hg2rw53-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/bw67hssv9ybvq4mg5kdzhxh36hg2rw53-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/bw67hssv9ybvq4mg5kdzhxh36hg2rw53-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/bw67hssv9ybvq4mg5kdzhxh36hg2rw53-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/bw67hssv9ybvq4mg5kdzhxh36hg2rw53-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/bw67hssv9ybvq4mg5kdzhxh36hg2rw53-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/bw67hssv9ybvq4mg5kdzhxh36hg2rw53-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/bw67hssv9ybvq4mg5kdzhxh36hg2rw53-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/bw67hssv9ybvq4mg5kdzhxh36hg2rw53-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/bw67hssv9ybvq4mg5kdzhxh36hg2rw53-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/bw67hssv9ybvq4mg5kdzhxh36hg2rw53-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/bw67hssv9ybvq4mg5kdzhxh36hg2rw53-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/bw67hssv9ybvq4mg5kdzhxh36hg2rw53-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/bw67hssv9ybvq4mg5kdzhxh36hg2rw53-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/bw67hssv9ybvq4mg5kdzhxh36hg2rw53-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 [845 items]114115........................................................................ [ 8%]116........................................sssssssss....................... [ 17%]117........................................................................ [ 25%]118........................................................................ [ 34%]119..........................................................s............. [ 42%]120........................................................................ [ 51%]121...................................s.................................... [ 59%]122..................................s..................................... [ 68%]123........................................................................ [ 76%]124........................................................................ [ 85%]125...................................................F.................... [ 93%]126..................F............................F..... [100%]127=================================== FAILURES ===================================128__________________ test_inflight_share_fans_out_final_status ___________________129[gw1] linux -- Python 3.14.6 /nix/store/gxzhl7aaiid7zp3y47jqqiq7zg5mqpwp-python3-3.14.6/bin/python3.14130131make_env = <function make_env.<locals>.make at 0x7fffee038b40>132upstream = PosixPath('/build/pytest-of-nixbld/pytest-0/popen-gw1/test_inflight_share_fans_out_f0/upstream')133134 async def test_inflight_share_fans_out_final_status(135 make_env: EnvFactory, upstream: Path136 ) -> None:137 sha = add_commit(upstream, "share")138 git(upstream, "branch", "copy", "main")139 executor = FakeExecutor(gate=asyncio.Event())140 orchestrator, reporter, project = await make_env(141 FakeEvalRunner([mk_job("a")]),142 executor,143 "share",144 )145 task = asyncio.create_task(146 orchestrator.handle_change_event(147 ChangeEvent(repo=project, branch="main", commit_sha=sha)148 )149 )150 await asyncio.wait_for(executor.started.wait(), timeout=10)151 build2 = await orchestrator.handle_change_event(152 ChangeEvent(repo=project, branch="copy", commit_sha=sha)153 )154 assert executor.gate is not None155 executor.gate.set()156 build1 = await task157 assert build1 is not None158 assert build2 is not None159 assert build1.id_ == build2.id_160 finished = [e for e in reporter.events if e[0] == "finished"]161> assert len(finished) == 2 # one final status per context162 ^^^^^^^^^^^^^^^^^^^^^^^^^163E AssertionError: assert 1 == 2164E + where 1 = len([('finished', 27, 'succeeded', 1)])165166nixbot/tests/test_orchestrator.py:1047: AssertionError167_________________ test_linked_context_reported_on_eval_failure _________________168[gw1] linux -- Python 3.14.6 /nix/store/gxzhl7aaiid7zp3y47jqqiq7zg5mqpwp-python3-3.14.6/bin/python3.14169170make_env = <function make_env.<locals>.make at 0x7fffed2f6f00>171upstream = PosixPath('/build/pytest-of-nixbld/pytest-0/popen-gw1/test_linked_context_reported_o0/upstream')172173 async def test_linked_context_reported_on_eval_failure(174 make_env: EnvFactory, upstream: Path175 ) -> None:176 sha = add_commit(upstream, "lef")177 git(upstream, "branch", "lef-copy", "main")178 179 eval_runner = FakeEvalRunner([], block=asyncio.Event(), error=EvalError("boom"))180 orchestrator, reporter, project = await make_env(eval_runner, FakeExecutor(), "lef")181 task = asyncio.create_task(182 orchestrator.handle_change_event(183 ChangeEvent(repo=project, branch="main", commit_sha=sha)184 )185 )186 await asyncio.wait_for(eval_runner.started.wait(), timeout=10)187 build2 = await orchestrator.handle_change_event(188 ChangeEvent(repo=project, branch="lef-copy", commit_sha=sha)189 )190 assert eval_runner.block is not None191 eval_runner.block.set()192 build1 = await task193 assert build1 is not None194 assert build2 is not None195 assert build1.id_ == build2.id_196 finished = [e for e in reporter.events if e[0] == "finished"]197> assert len(finished) == 2198E AssertionError: assert 1 == 2199E + where 1 = len([('finished', 43, 'failed', 0)])200201nixbot/tests/test_orchestrator.py:1505: AssertionError202------------------------------ Captured log call -------------------------------203WARNING nixbot.build_run:build_run.py:162 evaluation failed204____________ test_cancel_during_eval_resolves_linked_eval_contexts _____________205[gw1] linux -- Python 3.14.6 /nix/store/gxzhl7aaiid7zp3y47jqqiq7zg5mqpwp-python3-3.14.6/bin/python3.14206207make_env = <function make_env.<locals>.make at 0x7fffed2f7950>208upstream = PosixPath('/build/pytest-of-nixbld/pytest-0/popen-gw1/test_cancel_during_eval_resolv0/upstream')209210 async def test_cancel_during_eval_resolves_linked_eval_contexts(211 make_env: EnvFactory, upstream: Path212 ) -> None:213 """Cancelling a build mid-eval must resolve the nix-eval context of214 every linked event, not only the primary one."""215 216 add_commit(upstream, "linked-cancel")217 sha = git(upstream, "rev-parse", "HEAD")218 eval_runner = FakeEvalRunner([mk_job("a")], block=asyncio.Event())219 orchestrator, reporter, project = await make_env(220 eval_runner,221 FakeExecutor(),222 name="linked-cancel",223 )224 task1 = asyncio.create_task(225 orchestrator.handle_change_event(226 ChangeEvent(repo=project, branch="main", commit_sha=sha)227 )228 )229 await eval_runner.started.wait()230 build2 = await orchestrator.handle_change_event(231 ChangeEvent(repo=project, branch="main", commit_sha=sha, pr_number=4)232 )233 assert build2 is not None234 orchestrator.cancel_events[build2.id_].set()235 await task1236 cancelled_evals = [e for e in reporter.events if e[0] == "eval-cancelled"]237 assert len(cancelled_evals) == 2238 finished = [e for e in reporter.events if e[0] == "finished"]239> assert len(finished) == 2240E AssertionError: assert 1 == 2241E + where 1 = len([('finished', 69, 'cancelled', 0)])242243nixbot/tests/test_orchestrator.py:2403: AssertionError244=========================== short test summary info ============================245FAILED nixbot/tests/test_orchestrator.py::test_inflight_share_fans_out_final_status246FAILED nixbot/tests/test_orchestrator.py::test_linked_context_reported_on_eval_failure247FAILED nixbot/tests/test_orchestrator.py::test_cancel_during_eval_resolves_linked_eval_contexts248================== 3 failed, 830 passed, 12 skipped in 25.22s ==================